Source: debirf
Version: 0.36
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
--- a/Makefile  2017-04-01 22:03:00.844834773 +0100
--- b/Makefile  2017-04-01 22:06:51.953940509 +0100
@@ -24,7 +24,7 @@
        for m in $(shell cat $<); do ln -s /usr/share/debirf/modules/$$m $@/; 
done
 
 doc/example-profiles/%.tgz: doc/example-profiles/% 
doc/example-profiles/%/modules
-       (cd doc/example-profiles && tar c --mtime="$(BUILD_DATE)" --owner=0 
--group=0 --numeric-owner --mode=u=rwX,go=rX --exclude='*~' $(notdir $<)) | 
gzip -9 -n > "$@"
+       (cd doc/example-profiles && tar c --sort --mtime="$(BUILD_DATE)" 
--owner=0 --group=0 --numeric-owner --mode=u=rwX,go=rX --exclude='*~' $(notdir 
$<)) | gzip -9 -n > "$@"
 
 install: installman profiles
        mkdir -p $(DESTDIR)$(PREFIX)/bin
--- a/debian/control    2017-04-01 22:03:00.844834773 +0100
--- b/debian/control    2017-04-01 22:07:14.270047446 +0100
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Jameson Graef Rollins <jroll...@finestructure.net>
 Uploaders: Daniel Kahn Gillmor <d...@fifthhorseman.net>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9), tar (>= 1.28)
 Standards-Version: 3.9.8
 Homepage: http://cmrg.fifthhorseman.net/wiki/debirf
 Vcs-Git: https://anonscm.debian.org/git/collab-maint/debirf

Reply via email to