Source: module-assistant Version: 0.11.8 Severity: wishlist Tags: patch User: [email protected] Usertags: fileordering X-Debbugs-Cc: [email protected]
Hi! While working on the "reproducible builds" effort [1], we have noticed that module-assistant could not be built reproducibly. The order of files inside an eample tarball differs. The attached patch fixes this by using tar's --sort=name option. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/control b/debian/control index 25d9b58..e09b833 100644 --- a/debian/control +++ b/debian/control @@ -9,6 +9,7 @@ Build-Depends: debhelper (>= 9), docbook-utils, docbook, bash-completion (>= 1:2.1-4.2~), + tar (>= 1.28), Standards-Version: 3.9.6 Vcs-Git: git://anonscm.debian.org/collab-maint/module-assistant.git Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/module-assistant.git diff --git a/debian/rules b/debian/rules index 193ea27..664e4a5 100755 --- a/debian/rules +++ b/debian/rules @@ -82,7 +82,7 @@ pristine-tar-commit: override_dh_auto_build: dh_auto_build # Build the templates tarball: - tar cfj templates-debian-dir.tar.bz2 --owner=root --group=root --mode=go=rX,u+rw,a-s templates + tar cfj templates-debian-dir.tar.bz2 --sort=name --owner=root --group=root --mode=go=rX,u+rw,a-s templates override_dh_auto_clean: dh_auto_clean
signature.asc
Description: Digital signature

