[Pkg-voip-commits] [dahdi-linux] 07/12: rep. build: sources tarball at build date

tzafrir at debian.org tzafrir at debian.org
Mon Oct 31 08:09:11 UTC 2016


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

tzafrir pushed a commit to annotated tag debian/1%2.11.1_dfsg-1
in repository dahdi-linux.

commit a6928c4a064a56cd28ef82376e0f223a378dbc69
Author: Chris Lamb <lamby at debian.org>
Date:   Sat Feb 7 16:14:17 2015 +0000

    rep. build: sources tarball at build date
    
    In order to make build reproducible, create the tarball of the module
    sources with a time of the package's build time (from changelog).
    
    Closes #776622 (The rest was already fixed earlier upstream).
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index c1fd5e6..a24bbb4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -36,6 +36,7 @@ URL := http://downloads.asterisk.org/pub/telephony/$(PACKAGE_SRC)/releases/$(PAC
 # around problems with bilding stuff with HOSTCC by simply providing 
 # the generated headers as part of the source:
 GENERATED_SOURCES := include/dahdi/version.h
+BUILD_DATE=$(shell dpkg-parsechangelog --show-field Date)
 
 %:
 	dh $@
@@ -105,7 +106,7 @@ override_dh_install:
 	  $(TARDIR)/debian/
 	
 	tar cjf debian/$(SKPG)/usr/src/$(PREFIX).tar.bz2 \
-	  -C $(TARPARDIR) modules
+	  -C $(TARPARDIR) modules --mtime="$(BUILD_DATE)"
 
 print-version:
 	@@echo "Debian version:          $(DEBVERSION)"

-- 
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