diff options
author | douglas.royds <douglas.royds@taitradio.com> | 2018-10-09 17:55:20 +1300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-10-09 19:08:25 -0700 |
commit | ed5c1c19963546f09201747b11b94b71729b0bcd (patch) | |
tree | 7bcff245a123bf3e1afa90560e2a41a0f5c7c08c /meta-oe/recipes-support/openldap | |
parent | 8a71561246b12ba9b8d850fbf62b295dcf5b435f (diff) | |
download | meta-openembedded-ed5c1c19963546f09201747b11b94b71729b0bcd.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-support/openldap')
-rw-r--r-- | meta-oe/recipes-support/openldap/openldap/remove-user-host-pwd-from-version.patch | 12 | ||||
-rw-r--r-- | meta-oe/recipes-support/openldap/openldap_2.4.46.bb | 1 |
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 @@ | |||
1 | diff -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 | ||
28 | SRC_URI[md5sum] = "829016c5a9f45c51adc50073ac6f9fd7" | 29 | SRC_URI[md5sum] = "829016c5a9f45c51adc50073ac6f9fd7" |