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

The attached patch removes timestamps from the build system. Once
applied, uucpsend 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 uucpsend.orig/uucpsend-1.1/debian/rules 
uucpsend/uucpsend-1.1/debian/rules
--- uucpsend.orig/uucpsend-1.1/debian/rules     2015-02-04 00:00:12.644058233 
+0000
+++ uucpsend/uucpsend-1.1/debian/rules  2015-02-04 00:00:40.469296912 +0000
@@ -62,7 +62,7 @@
        $(installdoc) debian/changelog 
debian/tmp/usr/share/doc/$(package)/changelog.Debian
        $(installdoc) debian/copyright 
debian/tmp/usr/share/doc/$(package)/copyright
        $(installdoc) readme debian/tmp/usr/share/doc/$(package)/
-       gzip -9f debian/tmp/usr/share/doc/$(package)/changelog.Debian
+       gzip -9fn debian/tmp/usr/share/doc/$(package)/changelog.Debian
        #
        install -d -g news -o news -m 755  -d debian/tmp/etc/news
        $(installdoc) uucpsend.ctl debian/tmp/etc/news
@@ -70,7 +70,7 @@
        install -d -g news -o news -m 755  -d debian/tmp/usr/lib/news/bin
        $(MAKE) DEST=debian/tmp MAN=root STRIP="$(STRIP)" install
        mv debian/tmp/usr/man debian/tmp/usr/share/man
-       gzip -9f debian/tmp/usr/share/man/man?/*
+       gzip -9fn debian/tmp/usr/share/man/man?/*
        dpkg-shlibdeps debian/tmp/usr/lib/news/bin/uucpsend
        dpkg-gencontrol -isp
        dpkg --build debian/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