* [Buildroot] [PATCH] netsnmp: bump to version 5.7.3
@ 2014-12-09 19:48 Gustavo Zacarias
2014-12-10 17:16 ` Vicente Olivert Riera
2014-12-10 20:52 ` Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2014-12-09 19:48 UTC (permalink / raw)
To: buildroot
Security patch now upstream so remove.
Add hash file.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/netsnmp/netsnmp-001-CVE-2014-2285.patch | 31 -------------------------
package/netsnmp/netsnmp.hash | 4 ++++
package/netsnmp/netsnmp.mk | 2 +-
3 files changed, 5 insertions(+), 32 deletions(-)
delete mode 100644 package/netsnmp/netsnmp-001-CVE-2014-2285.patch
create mode 100644 package/netsnmp/netsnmp.hash
diff --git a/package/netsnmp/netsnmp-001-CVE-2014-2285.patch b/package/netsnmp/netsnmp-001-CVE-2014-2285.patch
deleted file mode 100644
index d7a3057..0000000
--- a/package/netsnmp/netsnmp-001-CVE-2014-2285.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Fix for CVE-2014-2285 from upstream:
-http://sourceforge.net/p/net-snmp/patches/1275/
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
---- net-snmp-5.7.3.pre3/perl/TrapReceiver/TrapReceiver.xs.null 2014-02-25 21:50:16.000000000 +0100
-+++ net-snmp-5.7.3.pre3/perl/TrapReceiver/TrapReceiver.xs 2014-03-03 18:59:20.261766270 +0100
-@@ -81,18 +81,18 @@ int perl_trapd_handler( netsnmp_pdu
- STOREPDUi("securitymodel", pdu->securityModel);
- STOREPDUi("securitylevel", pdu->securityLevel);
- STOREPDU("contextName",
-- newSVpv(pdu->contextName, pdu->contextNameLen));
-+ newSVpv(pdu->contextName ? pdu->contextName : "", pdu->contextNameLen));
- STOREPDU("contextEngineID",
-- newSVpv((char *) pdu->contextEngineID,
-+ newSVpv(pdu->contextEngineID ? (char *) pdu->contextEngineID : "",
- pdu->contextEngineIDLen));
- STOREPDU("securityEngineID",
-- newSVpv((char *) pdu->securityEngineID,
-+ newSVpv(pdu->securityEngineID ? (char *) pdu->securityEngineID : "",
- pdu->securityEngineIDLen));
- STOREPDU("securityName",
-- newSVpv((char *) pdu->securityName, pdu->securityNameLen));
-+ newSVpv(pdu->securityName ? (char *) pdu->securityName : "", pdu->securityNameLen));
- } else {
- STOREPDU("community",
-- newSVpv((char *) pdu->community, pdu->community_len));
-+ newSVpv(pdu->community ? (char *) pdu->community : "", pdu->community_len));
- }
-
- if (transport && transport->f_fmtaddr) {
diff --git a/package/netsnmp/netsnmp.hash b/package/netsnmp/netsnmp.hash
new file mode 100644
index 0000000..2c18441
--- /dev/null
+++ b/package/netsnmp/netsnmp.hash
@@ -0,0 +1,4 @@
+# From http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.3/
+md5 d4a3459e1577d0efa8d96ca70a885e53 net-snmp-5.7.3.tar.gz
+sha1 97dc25077257680815de44e34128d365c76bd839 net-snmp-5.7.3.tar.gz
+
diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk
index d20ce50..1897478 100644
--- a/package/netsnmp/netsnmp.mk
+++ b/package/netsnmp/netsnmp.mk
@@ -4,7 +4,7 @@
#
################################################################################
-NETSNMP_VERSION = 5.7.2.1
+NETSNMP_VERSION = 5.7.3
NETSNMP_SITE = http://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION)
NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz
NETSNMP_LICENSE = Various BSD-like
--
2.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* [Buildroot] [PATCH] netsnmp: bump to version 5.7.3
2014-12-09 19:48 [Buildroot] [PATCH] netsnmp: bump to version 5.7.3 Gustavo Zacarias
@ 2014-12-10 17:16 ` Vicente Olivert Riera
2014-12-10 20:52 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Vicente Olivert Riera @ 2014-12-10 17:16 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
- Built fine for MIPS
- Hash checking OK
- Files installed in the right place and built for the right
architecture
net-snmp-5.7.3.tar.gz: OK (md5: d4a3459e1577d0efa8d96ca70a885e53)
net-snmp-5.7.3.tar.gz: OK (sha1: 97dc25077257680815de44e34128d365c76bd839)
$ file output/target/usr/lib/libnetsnmp.so.30.0.3
output/target/usr/lib/libnetsnmp.so.30.0.3: ELF 32-bit MSB shared
object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, with
unknown capability 0x41000000 = 0xf676e75, with unknown capability
0x10000 = 0x70403, stripped
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Best regards,
--
Vicente Olivert Riera
Graduate Software Engineer, MIPS Platforms
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] netsnmp: bump to version 5.7.3
2014-12-09 19:48 [Buildroot] [PATCH] netsnmp: bump to version 5.7.3 Gustavo Zacarias
2014-12-10 17:16 ` Vicente Olivert Riera
@ 2014-12-10 20:52 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2014-12-10 20:52 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Tue, 9 Dec 2014 16:48:33 -0300, Gustavo Zacarias wrote:
> Security patch now upstream so remove.
> Add hash file.
>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> package/netsnmp/netsnmp-001-CVE-2014-2285.patch | 31 -------------------------
> package/netsnmp/netsnmp.hash | 4 ++++
> package/netsnmp/netsnmp.mk | 2 +-
> 3 files changed, 5 insertions(+), 32 deletions(-)
> delete mode 100644 package/netsnmp/netsnmp-001-CVE-2014-2285.patch
> create mode 100644 package/netsnmp/netsnmp.hash
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-10 20:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-09 19:48 [Buildroot] [PATCH] netsnmp: bump to version 5.7.3 Gustavo Zacarias
2014-12-10 17:16 ` Vicente Olivert Riera
2014-12-10 20:52 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox