Source: flow-tools
Version: 1:0.68-12.3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps hostname
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [0], we have noticed
that flow-tools could not be built reproducibly.
The attached patch removes timestamps and hostnames from the build
system. Once applied, flow-tools can be built reproducibly in our
reproducible toolchain.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2015-08-30 18:00:36.920663168 +0100
--- b/debian/rules 2015-08-30 18:53:26.295894861 +0100
@@ -49,6 +49,7 @@
--localstatedir=/etc/flow-tools \
--with-mysql --with-pgsql CFLAGS="$(CFLAGS)"
cd $(CF) && $(PERL) Makefile.PL INSTALLDIRS=vendor
+ echo "#define FT_PROG_BUILD \"debian $(shell dpkg-parsechangelog
-SVersion)\"" > src/ftbuild.h
touch $@
build: patch build-stamp