aboutsummaryrefslogtreecommitdiff
path: root/libs/openldap/patches/110-reproducible-builds.patch
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-12-10 00:28:34 +0100
committerAlexander Couzens <lynxis@fe80.eu>2017-12-10 03:03:40 +0100
commit9f370263d08a48d063b16f05e3c9eeb426dd4702 (patch)
treefd44916ff25760fefc2e1bdd153bc3f4cb44284e /libs/openldap/patches/110-reproducible-builds.patch
parent170fb34883249057ab5e90cc645948317dc0b7da (diff)
openldap: remove build host/user/timestamp
Such information from the build system break reproducible builds. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'libs/openldap/patches/110-reproducible-builds.patch')
1 files changed, 21 insertions, 0 deletions
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 <http://www.openldap.org/>.
+@@ -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__