Source: lrzsz Version: 0.12.21-8 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: XXXXX X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that lrzsz could not be built reproducibly. The md5sums file contains files in an unsorted order. The attached patch fixes this. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/rules b/debian/rules index d71055f..cc63d30 100755 --- a/debian/rules +++ b/debian/rules @@ -72,7 +72,7 @@ endif install -d -m 0755 debian/tmp/DEBIAN install -p -m 0644 debian/control debian/tmp/DEBIAN - cd debian/tmp && find usr -type f -print0 | xargs -0 md5sum > DEBIAN/md5sums + cd debian/tmp && find usr -type f -print0 | LC_ALL=C sort -z | xargs -0 md5sum > DEBIAN/md5sums chown -R root:root debian/tmp chmod -R go=u-w debian/tmp
signature.asc
Description: Digital signature