summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/openldap
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/openldap')
-rw-r--r--meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch12
-rw-r--r--meta-oe/recipes-support/openldap/openldap_2.4.46.bb1
2 files changed, 13 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch b/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch
new file mode 100644
index 000000000..478a680ca
--- /dev/null
+++ b/meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch
@@ -0,0 +1,12 @@
1diff -ru openldap-2.4.46.original/build/mkversion openldap-2.4.46/build/mkversion
2--- openldap-2.4.46.original/build/mkversion 2018-03-23 04:44:27.000000000 +1300
3+++ openldap-2.4.46/build/mkversion 2018-10-09 14:34:51.152684040 +1300
4@@ -50,7 +50,7 @@
5 fi
6
7 APPLICATION=$1
8-WHOWHERE="$USER@`uname -n`:`pwd`"
9+WHOWHERE="${SOURCE_DATE_EPOCH:-$USER@`uname -n`:`pwd`}"
10
11 cat << __EOF__
12 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.46.bb b/meta-oe/recipes-support/openldap/openldap_2.4.46.bb
index 0c2550671..7fe9fb0d7 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.4.46.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.46.bb
@@ -23,6 +23,7 @@ SRC_URI = "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${BP}.tgz \
23 file://slapd.service \ 23 file://slapd.service \
24 file://thread_stub.patch \ 24 file://thread_stub.patch \
25 file://openldap-CVE-2015-3276.patch \ 25 file://openldap-CVE-2015-3276.patch \
26 file://remove-user-host-pwd-from-version.patch \
26" 27"
27 28
28SRC_URI[md5sum] = "829016c5a9f45c51adc50073ac6f9fd7" 29SRC_URI[md5sum] = "829016c5a9f45c51adc50073ac6f9fd7"