[oe-commits] [meta-openembedded] branch master-next updated: net-snmp: fix reproducibilty issues in net-snmp-config
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 7 07:32:32 UTC 2020
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
The following commit(s) were added to refs/heads/master-next by this push:
new cd6b342 net-snmp: fix reproducibilty issues in net-snmp-config
cd6b342 is described below
commit cd6b342f18e3b65283596fd87eab47a7234a7051
Author: Jeremy Puhlman <jpuhlman at mvista.com>
AuthorDate: Fri Mar 6 20:06:07 2020 -0800
net-snmp: fix reproducibilty issues in net-snmp-config
Both STAGING_HOST_DIR and -fmacro-prefix-map path to WORKDIR were
encoded in the config.
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
index 9c2ffb2..5466649 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
@@ -124,11 +124,14 @@ do_install_append() {
-i ${D}${bindir}/net-snmp-create-v3-user
sed -e 's@^NSC_SRCDIR=.*@NSC_SRCDIR=. at g' \
-e 's@[^ ]*-fdebug-prefix-map=[^ "]*@@g' \
+ -e 's@[^ ]*-fmacro-prefix-map=[^ "]*@@g' \
-e 's@[^ ]*--sysroot=[^ "]*@@g' \
-e 's@[^ ]*--with-libtool-sysroot=[^ "]*@@g' \
-e 's@[^ ]*--with-install-prefix=[^ "]*@@g' \
-e 's@[^ ]*PKG_CONFIG_PATH=[^ "]*@@g' \
-e 's@[^ ]*PKG_CONFIG_LIBDIR=[^ "]*@@g' \
+ -e 's at -L${STAGING_DIR_HOST}${libdir}@@g' \
+ -e 's at -I${STAGING_DIR_HOST}${includedir}@@g' \
-i ${D}${bindir}/net-snmp-config
if [ "${HAS_PERL}" = "1" ]; then
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list