Source: debarchiver
Version: 0.10.3
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 debarchiver could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, debarchiver 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 debarchiver.orig/debarchiver-0.10.3/po4a/Makefile 
debarchiver/debarchiver-0.10.3/po4a/Makefile
--- debarchiver.orig/debarchiver-0.10.3/po4a/Makefile   2015-02-04 
00:05:50.291089779 +0000
+++ debarchiver/debarchiver-0.10.3/po4a/Makefile        2015-02-04 
00:25:24.571273092 +0000
@@ -16,7 +16,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 # MA 02110-1301 USA.
 
-export DDATE=`LANG=C date`
+export DDATE=`cd .. && dpkg-parsechangelog --show-field --Date`
 
 all: debarchiver.1.gz debarchiver.fr.1.gz debarchiver.de.1.gz 
debarchiver.pt.1.gz
 
@@ -64,7 +64,7 @@
                $^ > $@
 
 %.1.gz: %.1
-       gzip -9 -c $^ > $@
+       gzip -9n -c $^ > $@
 
 install:
        mkdir -p $(DESTDIR)/usr/share/man/man1
_______________________________________________
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