Source: mpack
Version: 1.6-8
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that mpack could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, mpack can be built reproducibly in our current experimental
framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
diff -urNad mpack.orig/mpack-1.6/debian/rules mpack/mpack-1.6/debian/rules
--- mpack.orig/mpack-1.6/debian/rules   2015-02-07 19:09:51.722749266 +0000
+++ mpack/mpack-1.6/debian/rules        2015-02-07 19:11:54.428253027 +0000
@@ -54,12 +54,12 @@
        install -d ${MANDIR}/man1
        install -p -m 644 unixpk.man ${MANDIR}/man1/mpack.1
        install -p -m 644 unixunpk.man ${MANDIR}/man1/munpack.1
-       gzip -9 ${MANDIR}/man1/*.1
+       gzip -9n ${MANDIR}/man1/*.1
 # documentation
        install -d ${DOCDIR}
        install -p -m 644 README.unix ${DOCDIR}
        install -p -m 644 debian/changelog ${DOCDIR}/changelog.Debian
-       gzip -9 ${DOCDIR}/*
+       gzip -9n ${DOCDIR}/*
        install -p -m 644 debian/copyright ${DOCDIR}
 # control files
        install -d ${DEBDIR}

Reply via email to