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

The attached patch removes timestamps from the build system. Once
applied, rsbackup 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 rsbackup.orig/rsbackup-1.1/debian/rules 
rsbackup/rsbackup-1.1/debian/rules
--- rsbackup.orig/rsbackup-1.1/debian/rules     2015-02-07 19:08:48.711922812 
+0000
+++ rsbackup/rsbackup-1.1/debian/rules  2015-02-07 19:17:26.843160486 +0000
@@ -60,12 +60,12 @@
        cp debian/doc.rsbackup debian/${PACKAGE}/usr/share/doc-base/rsbackup
        cp README.md debian/${PACKAGE}/usr/share/doc/${PACKAGE}/.
        lynx -dump -nolist doc/CHANGES.html > 
debian/${PACKAGE}/usr/share/doc/${PACKAGE}/changelog
-       gzip -9v debian/${PACKAGE}/usr/share/doc/${PACKAGE}/*
+       gzip -9nv debian/${PACKAGE}/usr/share/doc/${PACKAGE}/*
        cp doc/*.html doc/*.css debian/${PACKAGE}/usr/share/doc/${PACKAGE}/.
        cp debian/copyright debian/${PACKAGE}/usr/share/doc/${PACKAGE}/.
        $(MAKE) DESTDIR=`pwd`/debian/${PACKAGE} install
        strip --remove-section=.comment debian/${PACKAGE}/usr/bin/rsbackup
-       gzip -9v debian/${PACKAGE}/usr/share/man/man*/*
+       gzip -9nv debian/${PACKAGE}/usr/share/man/man*/*
        dpkg-shlibdeps -Tdebian/substvars.rsbackup \
                debian/rsbackup/usr/bin/*
        cd debian/${PACKAGE} && \
_______________________________________________
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