Source: magicfilter
Version: 1.2-64
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 magicfilter could not be built reproducibly.

The attached patch removes timestamps from the build system. Once
applied, magicfilter 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 magicfilter.orig/magicfilter-1.2/debian/rules 
magicfilter/magicfilter-1.2/debian/rules
--- magicfilter.orig/magicfilter-1.2/debian/rules       2015-02-08 
10:36:29.051703934 +0000
+++ magicfilter/magicfilter-1.2/debian/rules    2015-02-08 10:38:12.804344302 
+0000
@@ -59,10 +59,10 @@
        cd filters && install -p -m 755 *-filter ../$(tmp)/etc/magicfilter
        install -p -m 644 debian/changelog $(tmp)/$(doc)/changelog.Debian
        install -p -m 644 ChangeLog $(tmp)/$(doc)/changelog
-       cd $(tmp)/$(doc) && gzip -9f changelog.Debian README* changelog
+       cd $(tmp)/$(doc) && gzip -9nf changelog.Debian README* changelog
        install -p -m 644 debian/copyright $(tmp)/$(doc)
        install -p -m 644 magicfilterconfig.8 $(tmp)/$(man)
-       gzip -9f $(tmp)/$(man)/*
+       gzip -9nf $(tmp)/$(man)/*
        dpkg-shlibdeps $(tmp)/usr/sbin/$(package)
        install -d $(tmp)/DEBIAN
        cd $(tmp) &&\
_______________________________________________
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