[apr] 01/01: tweak libtool for reproducible builds
Stefan Fritsch
sf at moszumanska.debian.org
Sun Aug 16 11:13:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
sf pushed a commit to branch master
in repository apr.
commit d6ceeab743d3368e1532b3168a4f9d28252234c1
Author: Stefan Fritsch <sf at sfritsch.de>
Date: Sun Aug 16 09:29:39 2015 +0200
tweak libtool for reproducible builds
---
debian/changelog | 6 ++++++
debian/rules | 2 ++
2 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ee6b651..683f692 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+apr (1.5.2-2) UNRELEASED; urgency=medium
+
+ * Remove the buildhost's hostname from libtool for reproducible builds.
+
+ -- Stefan Fritsch <sf at debian.org> Sun, 16 Aug 2015 09:28:50 +0200
+
apr (1.5.2-1) unstable; urgency=medium
* New upstream version
diff --git a/debian/rules b/debian/rules
index d67f634..7080f8b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -138,6 +138,8 @@ endif
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
perl -p -i -e "s,^dependency_libs=.*,dependency_libs=''," debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libapr-1.la
+ # Remove hostname to make build reproducible
+ perl -p -i -e 's/Libtool was configured on host.*//' debian/tmp/usr/share/apr-1.0/build/libtool
if ! head -n 1 debian/tmp/usr/share/apr-1.0/build/libtool | grep -q /bin/bash ; then \
echo ERROR: The built libtool uses /bin/sh instead of /bin/bash ; \
exit 1 ; \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apr.git
More information about the Pkg-apache-commits
mailing list