Skip to content

Commit

Permalink
xfce4-panel-profiles:fix tar error
Browse files Browse the repository at this point in the history
Backport patch to fix tar errors:

  tar: value 1762430260 out of uid_t range 0..2097151

Signed-off-by: Kai Kang <[email protected]>
Signed-off-by: Haixiao Yan <[email protected]>
Signed-off-by: Armin Kuster <[email protected]>
  • Loading branch information
kkang-wr authored and akuster committed Jul 18, 2024
1 parent f5f4a46 commit 4052c97
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Upstream-Status: Backport [https://gitlab.xfce.org/apps/xfce4-panel-profiles/-/commit/1b853cf]

Signed-off-by: Kai Kang <[email protected]>

From 1b853cf45b63c67ef52fc1288afb19b18542bb21 Mon Sep 17 00:00:00 2001
From: Akbarkhon Variskhanov <[email protected]>
Date: Thu, 3 Nov 2022 10:29:52 +0500
Subject: [PATCH] Makefile.in.in: Pass arguments to tar to make build
reproducible regardless of user or umask

---
Makefile.in.in | 2 ++
1 file changed, 2 insertions(+)

diff --git a/Makefile.in.in b/Makefile.in.in
index 84b12cb..cdb05c6 100644
--- a/Makefile.in.in
+++ b/Makefile.in.in
@@ -31,6 +31,8 @@ pot:

ifeq ($(shell tar --help|grep -o sort=),sort=)
TAROPTS := --sort=name --format ustar
+ TAROPTS += --owner=0 --group=0 --numeric-owner
+ TAROPTS += --mode=u=wrX,og=
endif
layouts:
cd data/layouts/cupertino; tar $(TAROPTS) -cvjf "../Cupertino.tar.bz2" *
--
GitLab

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ DEPENDS += "intltool-native"

SRC_URI = "http://archive.xfce.org/src/apps/${BPN}/1.0/${BP}.tar.bz2 \
file://not-create-link-to-locale.patch \
file://0001-Makefile.in.in-Pass-arguments-to-tar.patch \
"
SRC_URI[sha256sum] = "bc387c13f94109422dc72b0fcb919b0dc11619ba589d03e492252b0d2513b170"

Expand Down

0 comments on commit 4052c97

Please sign in to comment.