Source: nftables
Version: 0.9.3-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
nftables could not be built reproducibly.

This is because it ships an example Makefile that embeds the absolute
build path. Patch attached that simply does not install this file; it
likely doesn't work on end-user systems anyway due to the "wrong"
paths.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/debian/rules      2019-12-07 09:22:49.625583357 +0000
--- b/debian/rules      2019-12-07 09:48:33.492605920 +0000
@@ -27,7 +27,7 @@
        dh_installinit -n
 
 override_dh_installexamples:
-       dh_installexamples
+       dh_installexamples -XMakefile
        # upstream examples are installed in by the 'install' target to 
'/etc/nftables'
        mv debian/tmp/etc/nftables/*.nft 
debian/nftables/usr/share/doc/nftables/examples/
        rm -rf debian/nftables/etc/nftables

Reply via email to