summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-09-28 23:24:40 +0800
committerKhem Raj <raj.khem@gmail.com>2018-09-29 02:10:12 -0700
commit57d8e2c673d5f5686bbf411333f1d39c3e29690e (patch)
treea1d2c3200d41970495bf46fba9b92942cd638323 /meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb
parentb769242d90ab38c4aa113f16581a378e0b5bb400 (diff)
downloadmeta-openembedded-57d8e2c673d5f5686bbf411333f1d39c3e29690e.tar.gz
net-snmp: improve reproducibility
- Remoe prefix ${RECIPE_SYSROOT} from net-snmp-config - Remove configure options from versioninfo Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb')
-rw-r--r--meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb7
1 files changed, 7 insertions, 0 deletions
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 a32d09d77..d47f9e4a3 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
@@ -24,6 +24,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \
24 file://0004-configure-fix-incorrect-variable.patch \ 24 file://0004-configure-fix-incorrect-variable.patch \
25 file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \ 25 file://net-snmp-5.7.2-fix-engineBoots-value-on-SIGHUP.patch \
26 file://net-snmp-fix-for-disable-des.patch \ 26 file://net-snmp-fix-for-disable-des.patch \
27 file://0001-remove-configure-options-from-versioninfo.patch \
27 " 28 "
28SRC_URI[md5sum] = "6aae5948df7efde626613d6a4b3cd9d4" 29SRC_URI[md5sum] = "6aae5948df7efde626613d6a4b3cd9d4"
29SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477a56042" 30SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477a56042"
@@ -168,6 +169,12 @@ net_snmp_sysroot_preprocess () {
168 fi 169 fi
169} 170}
170 171
172PACKAGE_PREPROCESS_FUNCS += "net_snmp_package_preprocess"
173net_snmp_package_preprocess () {
174 sed -e 's@${RECIPE_SYSROOT}@@g' \
175 -i ${PKGD}${bindir}/net-snmp-config
176}
177
171PACKAGES += "${PN}-libs ${PN}-mibs ${PN}-server ${PN}-client \ 178PACKAGES += "${PN}-libs ${PN}-mibs ${PN}-server ${PN}-client \
172 ${PN}-server-snmpd ${PN}-server-snmptrapd \ 179 ${PN}-server-snmpd ${PN}-server-snmptrapd \
173 ${PN}-lib-netsnmp ${PN}-lib-agent ${PN}-lib-helpers \ 180 ${PN}-lib-netsnmp ${PN}-lib-agent ${PN}-lib-helpers \