From 9f370263d08a48d063b16f05e3c9eeb426dd4702 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sun, 10 Dec 2017 00:28:34 +0100 Subject: openldap: remove build host/user/timestamp Such information from the build system break reproducible builds. Signed-off-by: Alexander Couzens --- libs/openldap/patches/110-reproducible-builds.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libs/openldap/patches/110-reproducible-builds.patch (limited to 'libs/openldap/patches/110-reproducible-builds.patch') diff --git a/libs/openldap/patches/110-reproducible-builds.patch b/libs/openldap/patches/110-reproducible-builds.patch new file mode 100644 index 000000000..2cdce8e5c --- /dev/null +++ b/libs/openldap/patches/110-reproducible-builds.patch @@ -0,0 +1,21 @@ +Index: openldap-2.4.45/build/mkversion +=================================================================== +--- openldap-2.4.45.orig/build/mkversion ++++ openldap-2.4.45/build/mkversion +@@ -50,7 +50,6 @@ if test $# != 1 ; then + fi + + APPLICATION=$1 +-WHOWHERE="$USER@`uname -n`:`pwd`" + + cat << __EOF__ + /* This work is part of OpenLDAP Software . +@@ -72,7 +71,6 @@ static const char copyright[] = + "COPYING RESTRICTIONS APPLY\n"; + + $static $const char $SYMBOL[] = +-"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n" +-"\t$WHOWHERE\n"; ++"@(#) \$$PACKAGE: $APPLICATION $VERSION\$\n"; + + __EOF__ -- cgit v1.2.3