[pkg-ntp-maintainers] [pkg-ntp] 02/03: Build ntp reproducibly

Bernhard Schmidt berni at moszumanska.debian.org
Wed Mar 15 22:35:21 UTC 2017


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

berni pushed a commit to branch berni-wip
in repository pkg-ntp.

commit 3c7a9c30aa1f4ebe7f7b2276723d9288a3d92557
Author: Bernhard Schmidt <berni at debian.org>
Date:   Wed Mar 15 22:45:39 2017 +0100

    Build ntp reproducibly
    
    Closes: #828989
    Thanks: Reiner Herrmann
---
 debian/patches/reproducible-build.patch | 11 +++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..9c8e34a
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,11 @@
+--- a/scripts/build/mkver.in
++++ b/scripts/build/mkver.in
+@@ -15,8 +15,6 @@
+  *) ConfStr="${ConfStr}- at VER_SUFFIX@" ;;
+ esac
+ 
+-ConfStr="$ConfStr `LC_TIME=C TZ=UTC date`"
+-
+ if [ ! -f .version ]; then
+   echo 0 > .version
+ fi
diff --git a/debian/patches/series b/debian/patches/series
index 7c22fd7..fd76e7d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@ ntpdate-ipv6.patch
 ntpd-linux-caps-runtime.patch
 openssl-disable-check.patch
 libedit.patch
+reproducible-build.patch

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



More information about the pkg-ntp-maintainers mailing list