[Pkg-voip-commits] [asterisk] 01/05: also set KERNEL and MACHINE for reproducible builds

Bernhard Schmidt berni at moszumanska.debian.org
Fri Oct 6 21:47:40 UTC 2017


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

berni pushed a commit to branch master
in repository asterisk.

commit b759f05b53b3663a81163598d7a97502a3a8b844
Author: Bernhard Schmidt <berni at debian.org>
Date:   Thu Oct 5 09:31:39 2017 +0200

    also set KERNEL and MACHINE for reproducible builds
---
 debian/patches/build-reproducibly | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/patches/build-reproducibly b/debian/patches/build-reproducibly
index 6532542..89dd14d 100644
--- a/debian/patches/build-reproducibly
+++ b/debian/patches/build-reproducibly
@@ -1,12 +1,14 @@
 --- a/build_tools/make_build_h
 +++ b/build_tools/make_build_h
-@@ -5,6 +5,12 @@
+@@ -5,6 +5,14 @@
  OS=`uname -s`
  USER=`id | awk -F")" '{print $1}'| awk -F"(" '{print $2}' | sed 's/\\\\/\\\\\\\\/g'`
  DATE=`date -u "+%Y-%m-%d %H:%M:%S"`
 +if [ -n "${SOURCE_DATE_EPOCH}" ]; then
 +	# building reproducibly, faking some data
 +	HOSTNAME='buildd.debian.org'
++	KERNEL='unknown'
++	MACHINE='unknown'
 +	USER='nobody'
 +	DATE=`date -u "+%Y-%m-%d %H:%M:%S" -d @${SOURCE_DATE_EPOCH}`
 +fi

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



More information about the Pkg-voip-commits mailing list