[Pkg-voip-commits] [dahdi-linux] 04/12: tar --sort=name for reproducible build

tzafrir at debian.org tzafrir at debian.org
Wed Jan 10 22:42:26 UTC 2018


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master
in repository dahdi-linux.

commit f1703085448a3eaa9f7432cf707d969ad6cb1f35
Author: Tzafrir Cohen <tzafrir at debian.org>
Date:   Mon Jan 8 04:04:09 2018 +0200

    tar --sort=name for reproducible build
    
    Make sure files in the dahdi-source tarball are in a reproducible order.
    
    Only supported by tar >= 1.28 (already in Stable)
---
 debian/control | 3 ++-
 debian/rules   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 478b0c3..e9c180c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,8 @@ Section: comm
 Priority: optional
 Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
 Uploaders: Tzafrir Cohen <tzafrir at debian.org>, Mark Purcell <msp at debian.org>
-Build-Depends: debhelper (>=  10), bzip2, asciidoc-base | asciidoc
+Build-Depends: debhelper (>=  10), bzip2, asciidoc-base | asciidoc,
+ tar (>= 1.28)
 Standards-Version: 3.9.8
 Homepage: http://www.asterisk.org/
 Vcs-Git: https://anonscm.debian.org/git/pkg-voip/dahdi-linux.git
diff --git a/debian/rules b/debian/rules
index a24bbb4..6d98a33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -106,6 +106,7 @@ override_dh_install:
 	  $(TARDIR)/debian/
 	
 	tar cjf debian/$(SKPG)/usr/src/$(PREFIX).tar.bz2 \
+	  --sort=name \
 	  -C $(TARPARDIR) modules --mtime="$(BUILD_DATE)"
 
 print-version:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-linux.git



More information about the Pkg-voip-commits mailing list