Source: p3scan
Version: 2:2.3.2-8.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 p3scan could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, p3scan can be built reproducibly in our reproducible
toolchain.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff -urNad p3scan.orig/p3scan-2.3.2/debian/rules 
p3scan/p3scan-2.3.2/debian/rules
--- p3scan.orig/p3scan-2.3.2/debian/rules       2015-02-14 22:27:27.112472418 
+0000
+++ p3scan/p3scan-2.3.2/debian/rules    2015-02-14 22:28:46.417118962 +0000
@@ -68,12 +68,12 @@
           $(CURDIR)/debian/p3scan/usr/share/doc/p3scan/changelog
        for FILE in AUTHORS changelog CONTRIBUTERS README README-ripmime 
TODO.list \
                    spamfaq.html; do \
-               gzip -9 $(CURDIR)/debian/p3scan/usr/share/doc/p3scan/$$FILE; \
+               gzip -9n $(CURDIR)/debian/p3scan/usr/share/doc/p3scan/$$FILE; \
        done
        # replace with our fixed man pages
-       cat p3scan.8 | gzip -9 - \
+       cat p3scan.8 | gzip -9n - \
                > $(CURDIR)/debian/p3scan/usr/share/man/man8/p3scan.8.gz
-       cat p3scan_readme.8 | gzip -9 - \
+       cat p3scan_readme.8 | gzip -9n - \
                > $(CURDIR)/debian/p3scan/usr/share/man/man8/p3scan_readme.8.gz
        # remove extra license file - information is in package copyright
        rm -f $(CURDIR)/debian/p3scan/usr/share/doc/p3scan/LICENSE.OpenSSL*
_______________________________________________
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