Source: rockdodger
Version: 1.0.0-1
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 rockdodger could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, rockdodger 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 rockdodger.orig/rockdodger-1.0.0/debian/patches/make.diff 
rockdodger/rockdodger-1.0.0/debian/patches/make.diff
--- rockdodger.orig/rockdodger-1.0.0/debian/patches/make.diff   2015-02-12 
02:58:43.001564667 +0000
+++ rockdodger/rockdodger-1.0.0/debian/patches/make.diff        2015-02-12 
03:01:21.571305918 +0000
@@ -23,7 +23,7 @@
        chmod g+rw $(gamesdir)/rockdodger.scores
        mkdir -p $(mandir)/man6
 -      gzip  < $(MANPAGE) > $(mandir)/man6/$(MANPAGE).gz
-+      gzip -9 < $(MANPAGE) > $(mandir)/man6/$(MANPAGE).gz
++      gzip -9n < $(MANPAGE) > $(mandir)/man6/$(MANPAGE).gz
  
  uninstall:
        rm -f $(gamesdir)/rockdodger.scores
diff -urNad rockdodger.orig/rockdodger-1.0.0/debian/rules 
rockdodger/rockdodger-1.0.0/debian/rules
--- rockdodger.orig/rockdodger-1.0.0/debian/rules       2015-02-12 
02:58:43.001564667 +0000
+++ rockdodger/rockdodger-1.0.0/debian/rules    2015-02-12 02:59:35.219452014 
+0000
@@ -46,7 +46,7 @@
        install -D -p -m 0644 rockdodger.desktop 
debian/tmp/usr/share/applications/rockdodger.desktop
 
        install -D -p -m 0644 debian/changelog 
debian/tmp/usr/share/doc/rockdodger/changelog.Debian
-       gzip -9 debian/tmp/usr/share/doc/rockdodger/changelog.Debian
+       gzip -9n debian/tmp/usr/share/doc/rockdodger/changelog.Debian
        install -p -m 0644 debian/copyright debian/tmp/usr/share/doc/rockdodger
 
        install -d -m 0755 debian/tmp/DEBIAN
diff -urNad rockdodger.orig/rockdodger-1.0.0/Makefile 
rockdodger/rockdodger-1.0.0/Makefile
--- rockdodger.orig/rockdodger-1.0.0/Makefile   2015-02-12 02:58:43.013565094 
+0000
+++ rockdodger/rockdodger-1.0.0/Makefile        2015-02-12 03:01:24.055396094 
+0000
@@ -107,7 +107,7 @@
        -chgrp games $(gamesdir)/rockdodger.scores
        chmod g+rw $(gamesdir)/rockdodger.scores
        mkdir -p $(mandir)/man6
-       gzip -9 < $(MANPAGE) > $(mandir)/man6/$(MANPAGE).gz
+       gzip -9n < $(MANPAGE) > $(mandir)/man6/$(MANPAGE).gz
 
 uninstall:
        rm -f $(gamesdir)/rockdodger.scores
_______________________________________________
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