--- a/debian/control 2016-08-03 18:45:47.592784395 -0400 --- b/debian/control 2016-08-03 19:10:42.845894375 -0400 @@ -3,7 +3,7 @@ Section: net Maintainer: OFED and Debian Developement and Discussion Uploaders: Ana Beatriz Guerrero Lopez -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 --- a/debian/patches/0003-reproducible-build.patch 1969-12-31 19:00:00.000000000 -0500 --- b/debian/patches/0003-reproducible-build.patch 2016-08-03 19:07:55.795936660 -0400 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb +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 + --- a/debian/patches/series 2016-08-03 18:45:47.592784395 -0400 --- b/debian/patches/series 2016-08-03 19:07:54.187916559 -0400 @@ -1,2 +1,3 @@ 0001-Fix-typos-unkown-unknown.patch 0002-typos-manpages.patch +0003-reproducible-build.patch --- a/debian/rules 2016-08-03 18:45:47.592784395 -0400 --- b/debian/rules 2016-08-03 19:10:33.165786669 -0400 @@ -4,4 +4,4 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: - dh $@ --with autotools-dev + dh $@ --with autotools-dev,autoreconf