Source: maildirsync Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: umask username fileordering X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
The username, uid, group name, gid and umask are embedded in the example tarball of mailbalance: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/maildirsync.html /usr/share/doc/maildirsync/examples/mailbalance-0.2.0.tar.gz drwxr-xr-x···0·pbuilder1··(1111)·pbuilder1··(1111)········0·2010-11-01·18:38:55.000000·mailbalance-0.2.0/ vs. drwxrwxr-x···0·pbuilder2··(2222)·pbuilder2··(2222)········0·2010-11-01·18:38:55.000000·mailbalance-0.2.0/ The attached patch fixes this by instead including the files in the examples directory directly. The files are not particularly large and dpkg does various forms of normalization on it. Thanks for maintaining maildirsync! live well, vagrant
From f3bdf22ca846a2ba42e2f80d42a99e9b004bfc0c Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Tue, 28 Sep 2021 00:35:35 +0000 Subject: [PATCH] Install mailbalance example directly into examples. The way the tarball was built embeds various information from the build environment (username, groupname, uid, gid, umask) and the ordering of the files was unpredictible. The tarball only saves a small amount of additional space, so instead just install the files directly. https://tests.reproducible-builds.org/debian/issues/different_due_to_umask_issue.html https://tests.reproducible-builds.org/debian/issues/users_and_groups_in_tarball_issue.html https://tests.reproducible-builds.org/debian/issues/random_order_in_tarball_issue.html --- debian/examples | 1 + debian/rules | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/debian/examples b/debian/examples index e0e9a33..615a8f0 100644 --- a/debian/examples +++ b/debian/examples @@ -1 +1,2 @@ sample.sh +contrib/mailbalance-0.2.0 diff --git a/debian/rules b/debian/rules index 34e0cbb..1bdefc4 100755 --- a/debian/rules +++ b/debian/rules @@ -11,6 +11,3 @@ execute_after_dh_auto_clean: execute_after_dh_auto_install: cp maildirsync.pl debian/maildirsync/usr/bin/maildirsync - -execute_after_dh_installexamples: - cd contrib && tar -cf - mailbalance-0.2.0 | gzip -n -9 > ../debian/maildirsync/usr/share/doc/maildirsync/examples/mailbalance-0.2.0.tar.gz -- 2.33.0
signature.asc
Description: PGP signature