Source: allegro4.4 Version: 2:4.4.2-6 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: umask X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that allegro4.4 could not be built reproducibly. The permissions inside a tarball vary because of different umasks. The attached patch tells tar to normalize the permissions. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules index 1635ff2..a9ba95b 100755 --- a/debian/rules +++ b/debian/rules @@ -58,7 +58,7 @@ override_dh_auto_install: # Create examples source tar.gz rm -rf build/tmp; mkdir build/tmp cp examples/*.c examples/*.h examples/*.dat examples/*.pcx examples/*.txt examples/*.ini tests/*.c build/tmp/ - cd build/tmp; GZIP="-9n" tar zcvf source.tar.gz --mtime="$(BUILD_DATE)" * + cd build/tmp; GZIP="-9n" tar zcvf source.tar.gz --mtime="$(BUILD_DATE)" --mode=go=rX,u+rw,a-s * cp build/tmp/source.tar.gz $(CURDIR)/debian/tmp/$(DOC_EXAMPLES_DIR) override_dh_makeshlibs:
signature.asc
Description: OpenPGP digital signature