Source: runawk Version: 1.6.0-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: locale X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi! While working on the "reproducible builds" effort [1], we have noticed that runawk could not be built reproducibly. The order of sections inside the manpage differs, as the list is generated in a locale-dependent way. The attached patch fixes this by listing the files with the C locale. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch new file mode 100644 index 0000000..35c1cc2 --- /dev/null +++ b/debian/patches/reproducible-build.patch @@ -0,0 +1,11 @@ +From: Reiner Herrmann <rei...@reiner-h.de> +Subject: sort files locale-independently to get reproducible build + +--- a/modules/Makefile ++++ b/modules/Makefile +@@ -1,4 +1,4 @@ +-MODULES != cd ${.CURDIR}; echo *.awk gawk/*.awk ++MODULES != cd ${.CURDIR}; LC_ALL=C ls *.awk gawk/*.awk + + FILES = ${MODULES} + FILESDIR = ${MODULESDIR} diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..55077d0 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +reproducible-build.patch
signature.asc
Description: PGP signature