Source: mauve Version: 20140821-3 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 mauve 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 10654f4..72f35d7 100755 --- a/debian/rules +++ b/debian/rules @@ -36,6 +36,7 @@ install: build LC_ALL="C" sort --zero-terminated | \ GZIP="-9n" tar --create --gzip --null --files-from=- \ --file $(CURDIR)/debian/mauve/usr/src/mauve.tar.gz \ + --mode=go=rX,u+rw,a-s \ --mtime="$(BUILD_DATE)" rm -rf debian/mauve/usr/src/mauve
signature.asc
Description: OpenPGP digital signature