Source: dput
Version: 0.9.6.4
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that dput could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, dput can be built reproducibly in our current experimental
framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff -urNad dput.orig/dput-0.9.6.4/debian/rules dput/dput-0.9.6.4/debian/rules
--- dput.orig/dput-0.9.6.4/debian/rules 2015-02-07 19:10:03.399273020 +0000
+++ dput/dput-0.9.6.4/debian/rules      2015-02-07 19:11:41.235661316 +0000
@@ -53,9 +53,9 @@
        install --mode=0644 THANKS $(TMPDIR)/usr/share/doc/$(PACKAGE)
        install --mode=0644 debian/changelog $(TMPDIR)/usr/share/doc/$(PACKAGE)
        install --mode=0644 bash_completion 
$(TMPDIR)/etc/bash_completion.d/$(PACKAGE)
-       gzip -9 $(TMPDIR)/usr/share/man/man1/*
-       gzip -9 $(TMPDIR)/usr/share/man/man5/*
-       gzip -9 $(TMPDIR)/usr/share/doc/$(PACKAGE)/changelog
+       gzip -9n $(TMPDIR)/usr/share/man/man1/*
+       gzip -9n $(TMPDIR)/usr/share/man/man5/*
+       gzip -9n $(TMPDIR)/usr/share/doc/$(PACKAGE)/changelog
        cd $(TMPDIR); find -type f \! -regex '.*/DEBIAN/.*' -printf '%P\0' | 
xargs -r0 md5sum > DEBIAN/md5sums
        install --mode=0644 debian/conffiles $(TMPDIR)/DEBIAN
        install --mode=0755 debian/prerm $(TMPDIR)/DEBIAN
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to