Source: openldap Version: 2.4.44+dfsg-1 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: username hostname buildpath
Hi! While working on the “reproducible builds” effort [1], we have noticed that openldap could not be built reproducibly [2]. The attached patch removes variable information from the build. Cheers, Daniel [1]: https://wiki.debian.org/ReproducibleBuilds [2]: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/openldap.html
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..641f155 --- /dev/null +++ b/debian/patches/set-maintainer-name @@ -0,0 +1,18 @@ +Description: Point the maintainer name at the package vendor + The buildd local username isn't useful. +Author: Daniel Shahaf <danie...@apache.org> +Bug-Debian: https://bugs.debian.org/-1 +Forwarded: not-needed +Last-Update: 2016-08-01 + +--- openldap-2.4.44+dfsg.orig/build/mkversion ++++ openldap-2.4.44+dfsg/build/mkversion +@@ -50,7 +50,7 @@ if test $# != 1 ; then + fi + + APPLICATION=$1 +-WHOWHERE="$USER@`uname -n`:`pwd`" ++WHOWHERE="$(dpkg-vendor --query vendor) package version $(dpkg-parsechangelog -SVersion)" + + cat << __EOF__ + /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds