[Pkg-openldap-devel] [openldap] 01/01: Apply reproducible build patch (#833179)

Ryan Tandy rtandy-guest at moszumanska.debian.org
Sat Aug 6 17:58:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

rtandy-guest pushed a commit to branch master
in repository openldap.

commit 8ae0f150eb97a310e37bb7a92aaf8350e7e84540
Author: Ryan Tandy <ryan at nardis.ca>
Date:   Tue Aug 2 19:50:51 2016 -0700

    Apply reproducible build patch (#833179)
---
 debian/changelog                   |  3 +++
 debian/patches/series              |  1 +
 debian/patches/set-maintainer-name | 11 +++++++++++
 3 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index dda3812..ecca829 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,9 @@ openldap (2.4.44+dfsg-1) UNRELEASED; urgency=medium
     copyright notices have been retained to preserve attribution.
   * On upgrade, if the cn=config database contains the ppolicy schema, add the 
     new pwdMaxRecordedFailure attribute to it.
+  * Add debian/patches/set-maintainer-name to omit the builder's username and 
+    working directory from version strings and thereby make the build 
+    reproducible. Thanks to Daniel Shahaf for the patch. (Closes: #833179)
 
   [ Helmut Grohne ]
   * Fix policy 8.2 violation (Closes: #330695)
diff --git a/debian/patches/series b/debian/patches/series
index e39010c..bbf6c8b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -23,3 +23,4 @@ switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.diff
 no-bdb-ABI-second-guessing
 heimdal-fix
 ITS6035-olcauthzregex-needs-restart.patch
+set-maintainer-name
diff --git a/debian/patches/set-maintainer-name b/debian/patches/set-maintainer-name
new file mode 100644
index 0000000..6434be0
--- /dev/null
+++ b/debian/patches/set-maintainer-name
@@ -0,0 +1,11 @@
+--- a/build/mkversion
++++ b/build/mkversion
+@@ -50,7 +50,7 @@
+ fi
+ 
+ APPLICATION=$1
+-WHOWHERE="$USER@`uname -n`:`pwd`"
++WHOWHERE="Debian OpenLDAP Maintainers <pkg-openldap-devel at lists.alioth.debian.org>"
+ 
+ cat << __EOF__
+ /* This work is part of OpenLDAP Software <http://www.openldap.org/>.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list