diff options
| author | douglas.royds <douglas.royds@taitradio.com> | 2018-11-21 13:52:15 +1300 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-11-26 09:38:14 -0800 |
| commit | 11b685bf00900513933558d6440369a0b413a775 (patch) | |
| tree | 892f7aaa8a7aa1e5b7a21a14be0df07fb01ec9d6 /meta-networking/recipes-protocols | |
| parent | 2a2cd85a341b55641af8624ba738c8d671b04d5d (diff) | |
| download | meta-openembedded-11b685bf00900513933558d6440369a0b413a775.tar.gz | |
Revert "net-snmp: improve reproducibility"
This reverts commit 57d8e2c673d5f5686bbf411333f1d39c3e29690e.
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
| -rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch | 42 | ||||
| -rw-r--r-- | meta-networking/recipes-protocols/net-snmp/net-snmp_5.8.bb | 7 |
2 files changed, 0 insertions, 49 deletions
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch deleted file mode 100644 index 2d540967e5..0000000000 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-remove-configure-options-from-versioninfo.patch +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | From f592398b1c659f84168f5c84f63af3b71454b8f5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 3 | Date: Fri, 28 Sep 2018 22:59:23 +0800 | ||
| 4 | Subject: [PATCH] remove configure options from versioninfo | ||
| 5 | |||
| 6 | Configure options contains host build paths which breaks | ||
| 7 | binary reproducibility. | ||
| 8 | |||
| 9 | It is no harm to remove it from version info. | ||
| 10 | |||
| 11 | Upstream-Status: Inappropriate [cross compile specific] | ||
| 12 | |||
| 13 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 14 | --- | ||
| 15 | agent/mibgroup/ucd-snmp/versioninfo.c | 4 ++-- | ||
| 16 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 17 | |||
| 18 | diff --git a/agent/mibgroup/ucd-snmp/versioninfo.c b/agent/mibgroup/ucd-snmp/versioninfo.c | ||
| 19 | index a5151c1..1160382 100644 | ||
| 20 | --- a/agent/mibgroup/ucd-snmp/versioninfo.c | ||
| 21 | +++ b/agent/mibgroup/ucd-snmp/versioninfo.c | ||
| 22 | @@ -92,7 +92,7 @@ var_extensible_version(struct variable *vp, | ||
| 23 | static char errmsg[300]; | ||
| 24 | char *cptr; | ||
| 25 | time_t curtime; | ||
| 26 | -#ifdef NETSNMP_CONFIGURE_OPTIONS | ||
| 27 | +#if 0 | ||
| 28 | static char config_opts[] = NETSNMP_CONFIGURE_OPTIONS; | ||
| 29 | #endif | ||
| 30 | |||
| 31 | @@ -126,7 +126,7 @@ var_extensible_version(struct variable *vp, | ||
| 32 | *var_len = strlen(errmsg); | ||
| 33 | return ((u_char *) errmsg); | ||
| 34 | case VERCONFIG: | ||
| 35 | -#ifdef NETSNMP_CONFIGURE_OPTIONS | ||
| 36 | +#if 0 | ||
| 37 | *var_len = strlen(config_opts); | ||
| 38 | if (*var_len > 1024) | ||
| 39 | *var_len = 1024; /* mib imposed restriction */ | ||
| 40 | -- | ||
| 41 | 2.7.4 | ||
| 42 | |||
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 d47f9e4a3d..a32d09d775 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,7 +24,6 @@ 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 \ | ||
| 28 | " | 27 | " |
| 29 | SRC_URI[md5sum] = "6aae5948df7efde626613d6a4b3cd9d4" | 28 | SRC_URI[md5sum] = "6aae5948df7efde626613d6a4b3cd9d4" |
| 30 | SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477a56042" | 29 | SRC_URI[sha256sum] = "c6291385b8ed84f05890fe4197005daf7e7ee7b082c2e390fa114a9477a56042" |
| @@ -169,12 +168,6 @@ net_snmp_sysroot_preprocess () { | |||
| 169 | fi | 168 | fi |
| 170 | } | 169 | } |
| 171 | 170 | ||
| 172 | PACKAGE_PREPROCESS_FUNCS += "net_snmp_package_preprocess" | ||
| 173 | net_snmp_package_preprocess () { | ||
| 174 | sed -e 's@${RECIPE_SYSROOT}@@g' \ | ||
| 175 | -i ${PKGD}${bindir}/net-snmp-config | ||
| 176 | } | ||
| 177 | |||
| 178 | PACKAGES += "${PN}-libs ${PN}-mibs ${PN}-server ${PN}-client \ | 171 | PACKAGES += "${PN}-libs ${PN}-mibs ${PN}-server ${PN}-client \ |
| 179 | ${PN}-server-snmpd ${PN}-server-snmptrapd \ | 172 | ${PN}-server-snmpd ${PN}-server-snmptrapd \ |
| 180 | ${PN}-lib-netsnmp ${PN}-lib-agent ${PN}-lib-helpers \ | 173 | ${PN}-lib-netsnmp ${PN}-lib-agent ${PN}-lib-helpers \ |
