Source: p0f
Version: 2.0.8-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, p0f 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 p0f.orig/p0f-2.0.8/debian/rules p0f/p0f-2.0.8/debian/rules
--- p0f.orig/p0f-2.0.8/debian/rules     2015-02-05 22:38:19.039955070 +0000
+++ p0f/p0f-2.0.8/debian/rules  2015-02-05 22:38:41.268707603 +0000
@@ -42,12 +42,12 @@
 
        $(install_dir) debian/tmp/usr/share/man/man1/
        $(install_file) p0f.1 debian/tmp/usr/share/man/man1/
-       gzip -9v debian/tmp/usr/share/man/man1/*
+       gzip -9vn debian/tmp/usr/share/man/man1/*
 
        $(install_dir) debian/tmp/usr/share/doc/p0f/
        $(install_file) README doc/CREDITS doc/KNOWN_BUGS doc/TODO 
debian/tmp/usr/share/doc/p0f/
        $(install_file) debian/changelog 
debian/tmp/usr/share/doc/p0f/changelog.Debian
-       gzip -9v debian/tmp/usr/share/doc/p0f/*
+       gzip -9vn debian/tmp/usr/share/doc/p0f/*
        $(install_file) debian/copyright debian/tmp/usr/share/doc/p0f/
 
        $(install_dir) debian/tmp/usr/share/doc/p0f/examples/

Reply via email to