diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2017-12-10 12:05:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 12:05:36 +0200 |
commit | 9355832f6b6d8cade6f4328ab47fec7da22fb0b7 (patch) | |
tree | fd44916ff25760fefc2e1bdd153bc3f4cb44284e | |
parent | 170fb34883249057ab5e90cc645948317dc0b7da (diff) | |
parent | 9f370263d08a48d063b16f05e3c9eeb426dd4702 (diff) |
Merge pull request #5256 from lynxis/rb_openldap
openldap: remove build host/user/timestamp
-rw-r--r-- | libs/openldap/Makefile | 2 | ||||
-rw-r--r-- | libs/openldap/patches/110-reproducible-builds.patch | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/libs/openldap/Makefile b/libs/openldap/Makefile index 8f978a793..7269cf67a 100644 --- a/libs/openldap/Makefile +++ b/libs/openldap/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openldap PKG_VERSION:=2.4.45 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE_URL:=ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/ \ 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__ |