[Pkg-ofed-commits] [dapl] 01/01: Make dapl to build reproducibly
Ana Beatriz Guerrero López
ana at moszumanska.debian.org
Thu Aug 4 01:13:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
ana pushed a commit to branch master
in repository dapl.
commit 8aca5be1c090990ddb47bb4b2ea56d111baf0343
Author: Ana Beatriz Guerrero Lopez <ana at debian.org>
Date: Thu Aug 4 03:05:07 2016 +0200
Make dapl to build reproducibly
---
debian/changelog | 10 ++++++++++
debian/control | 2 +-
debian/patches/0003-reproducible-build.patch | 15 +++++++++++++++
debian/patches/series | 1 +
debian/rules | 2 +-
5 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d8c71d9..c425df4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+dapl (2.1.8-2) unstable; urgency=medium
+
+ * Make dapl to build reproducibly:
+ - add patch 0003-reproducible-build.patch
+ - Update generated configuration files: add build-depends on dh-autoreconf
+ and call dh-autoreconf in debian/rules.
+ - Many thanks to Chris Lamb (closes: #833410)
+
+ -- Ana Beatriz Guerrero Lopez <ana at debian.org> Thu, 04 Aug 2016 03:04:56 +0200
+
dapl (2.1.8-1) unstable; urgency=medium
* New upstream release:
diff --git a/debian/control b/debian/control
index 7810fab..b8b05d8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Priority: extra
Section: net
Maintainer: OFED and Debian Developement and Discussion <pkg-ofed-devel at lists.alioth.debian.org>
Uploaders: Ana Beatriz Guerrero Lopez <ana at debian.org>
-Build-Depends: debhelper (>= 9), librdmacm-dev, libibverbs-dev (>= 1.1.2), autotools-dev
+Build-Depends: debhelper (>= 9), librdmacm-dev, libibverbs-dev (>= 1.1.2), autotools-dev, dh-autoreconf
Standards-Version: 3.9.7
Vcs-Git: git://anonscm.debian.org/pkg-ofed/dapl.git
Vcs-Browser: https://anonscm.debian.org/gitweb/?p=pkg-ofed/dapl.git
diff --git a/debian/patches/0003-reproducible-build.patch b/debian/patches/0003-reproducible-build.patch
new file mode 100644
index 0000000..145bf87
--- /dev/null
+++ b/debian/patches/0003-reproducible-build.patch
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby at debian.org>
+Last-Update: 2016-08-03
+
+--- dapl-2.1.8.orig/Makefile.am
++++ dapl-2.1.8/Makefile.am
+@@ -48,7 +48,7 @@ AM_CFLAGS = -g -Wall -D_GNU_SOURCE -DDAT
+ endif
+
+ AM_CFLAGS += -DMPXYD_CONF="\"$(sysconfdir)/mpxyd.conf\""
+-AM_CFLAGS += -DPACKAGE_DATE=$$(date +'%Y%m%d')
++AM_CFLAGS += -DPACKAGE_DATE=$$(date --utc --date="@$${SOURCE_DATE_EPOCH:-$$(date +%s)}" +'%Y%m%d')
+
+ sysconf_DATA = doc/dat.conf
+
diff --git a/debian/patches/series b/debian/patches/series
index 124295c..5d4af32 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
0001-Fix-typos-unkown-unknown.patch
0002-typos-manpages.patch
+0003-reproducible-build.patch
diff --git a/debian/rules b/debian/rules
index 2a3a49a..9df96a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,4 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
- dh $@ --with autotools-dev
+ dh $@ --with autotools-dev,autoreconf
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/dapl.git
More information about the Pkg-ofed-commits
mailing list