Source: rungetty
Version: 1.2-15
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 rungetty could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, rungetty 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 rungetty.orig/rungetty-1.2/debian/rules 
rungetty/rungetty-1.2/debian/rules
--- rungetty.orig/rungetty-1.2/debian/rules     2015-02-08 10:36:10.670881885 
+0000
+++ rungetty/rungetty-1.2/debian/rules  2015-02-08 10:36:59.573068983 +0000
@@ -59,7 +59,7 @@
        $(INSTALL_FILE) README THANKS $(TMP)/usr/share/doc/$(PKG)
        $(INSTALL_FILE) CHANGELOG \
                $(TMP)/usr/share/doc/$(PKG)/changelog
-       gzip -9 $(TMP)/usr/share/doc/$(PKG)/changelog \
+       gzip -9n $(TMP)/usr/share/doc/$(PKG)/changelog \
                $(TMP)/usr/share/man/man8/rungetty.8
        touch install-stamp
 
@@ -78,7 +78,7 @@
                $(TMP)/usr/share/doc/$(PKG)
        $(INSTALL_FILE) debian/changelog \
                $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
-       gzip -9 $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
+       gzip -9n $(TMP)/usr/share/doc/$(PKG)/changelog.Debian
        dpkg-shlibdeps -Tdebian/substvars -dDepends $(TMP)/sbin/rungetty
        dpkg-gencontrol -ldebian/changelog -isp -Tdebian/substvars \
                -p$(PKG) -P$(TMP)
_______________________________________________
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