Source: amavisd-milter
Version: 1.7.1-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
amavisd-milter could not be built reproducibly.
This is because it was generating the Autotools PACKAGE_VERSION from
the current date which then was embedded in the binary.
Patch attached that exports AMAVISD_MILTER_VERSION from debian/changelog
instead as upstream's configure.ac supports this.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2020-11-27 09:47:43.994172799 +0000
--- b/debian/rules 2020-11-27 09:54:41.896380138 +0000
@@ -4,7 +4,8 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-include /usr/share/dpkg/buildflags.mk
+include /usr/share/dpkg/default.mk
+export AMAVISD_MILTER_VERSION = $(DEB_VERSION)
%:
dh $@