mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
openldap: Reproducibility: Remove user, hostname, pwd from version string
Upstream-Status: Pending Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
diff -ru openldap-2.4.46.original/build/mkversion openldap-2.4.46/build/mkversion
|
||||||
|
--- openldap-2.4.46.original/build/mkversion 2018-03-23 04:44:27.000000000 +1300
|
||||||
|
+++ openldap-2.4.46/build/mkversion 2018-10-09 14:34:51.152684040 +1300
|
||||||
|
@@ -50,7 +50,7 @@
|
||||||
|
fi
|
||||||
|
|
||||||
|
APPLICATION=$1
|
||||||
|
-WHOWHERE="$USER@`uname -n`:`pwd`"
|
||||||
|
+WHOWHERE="${SOURCE_DATE_EPOCH:-$USER@`uname -n`:`pwd`}"
|
||||||
|
|
||||||
|
cat << __EOF__
|
||||||
|
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
||||||
@@ -23,6 +23,7 @@ SRC_URI = "ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${BP}.tgz \
|
|||||||
file://slapd.service \
|
file://slapd.service \
|
||||||
file://thread_stub.patch \
|
file://thread_stub.patch \
|
||||||
file://openldap-CVE-2015-3276.patch \
|
file://openldap-CVE-2015-3276.patch \
|
||||||
|
file://remove-user-host-pwd-from-version.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "829016c5a9f45c51adc50073ac6f9fd7"
|
SRC_URI[md5sum] = "829016c5a9f45c51adc50073ac6f9fd7"
|
||||||
|
|||||||
Reference in New Issue
Block a user