Source: wims-modules-es
Version: 3.64-1
Severity: wishlist
Tags: patch
Usertags: timestamps fileordering


While working on Debian's “reproducible builds” effort [1], we have
noticed that wims-modules-es doesn't build reproducibly.
It updates debian/copyright at build time with a timestamp
and random file order.

The attached patch fixes this. Once applied, wims-modules-es can be
built reproducibly in our current experimental framework.



diff --git a/ b/
index 55acfb8..8dde084 100644
--- a/
+++ b/
@@ -29,12 +29,12 @@ Here is the automatically generated list:
-echo "This list was generated on "$(date) >> debian/copyright
+echo "This list was generated on "$(dpkg-parsechangelog --show-field Date) >> debian/copyright
 echo "-------------------------------------------------------------" >> debian/copyright
 echo >> debian/copyright
-    for f in $(find modules/ -type f -name INDEX); do 
+    for f in $(find modules/ -type f -name INDEX | LC_ALL=C sort); do
 	echo -n "$(dirname $f) "; 
 	grep COPYING $f | sed -e 's%\(.*\)&copy;\(.*\)<a.*COPYING>\(.*\)</a>\(.*\)%\1\2\3\4%'| sed -e 's/copyright= /(c)/'; 
 	grep author $f; 

Attachment: signature.asc
Description: OpenPGP digital signature

Reproducible-builds mailing list

Reply via email to