Source: bible-kjv
Version: 4.26
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 bible-kjv could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, bible-kjv 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 bible-kjv.orig/bible-kjv-4.26/debian/rules 
bible-kjv/bible-kjv-4.26/debian/rules
--- bible-kjv.orig/bible-kjv-4.26/debian/rules  2015-02-07 11:08:20.889005039 
+0000
+++ bible-kjv/bible-kjv-4.26/debian/rules       2015-02-07 11:09:30.556074529 
+0000
@@ -41,8 +41,8 @@
        cp debian/copyright debian/bible-kjv-text/usr/share/doc/bible-kjv-text
        cp debian/changelog 
debian/bible-kjv-text/usr/share/doc/bible-kjv-text/changelog
        cp debian/text.readme 
debian/bible-kjv-text/usr/share/doc/bible-kjv-text/Debian.README
-       gzip --best 
debian/bible-kjv-text/usr/share/doc/bible-kjv-text/Debian.README
-       gzip --best debian/bible-kjv-text/usr/share/doc/bible-kjv-text/changelog
+       gzip --best -n 
debian/bible-kjv-text/usr/share/doc/bible-kjv-text/Debian.README
+       gzip --best -n 
debian/bible-kjv-text/usr/share/doc/bible-kjv-text/changelog
        cd debian/tmp && \
                mv `cat ../bible-kjv-text.files` ../bible-kjv-text/usr/lib
        dpkg-gencontrol -pbible-kjv-text -Pdebian/bible-kjv-text -isp
@@ -80,9 +80,9 @@
        install -m 755 -d debian/tmp/usr/lib/menu
        install -m 644 debian/menu     debian/tmp/usr/lib/menu/$(package)
        chmod a+r debian/tmp/usr/share/doc/$(package)/*
-       gzip -9 debian/tmp/usr/share/doc/$(package)/*
+       gzip -9n debian/tmp/usr/share/doc/$(package)/*
        gunzip -9 debian/tmp/usr/share/doc/$(package)/copyright.gz
-       gzip -9 debian/tmp/usr/share/man/man1/*
+       gzip -9n debian/tmp/usr/share/man/man1/*
        cd debian/tmp && \
                rm `cat ../bible-kjv-text.files`
        dpkg-shlibdeps bible
_______________________________________________
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