summaryrefslogtreecommitdiff
path: root/net/net-snmp/patches/patch-aj
diff options
context:
space:
mode:
authorghen <ghen>2008-06-16 08:51:43 +0000
committerghen <ghen>2008-06-16 08:51:43 +0000
commit94b27377a92c6abb3fa6cdf1be465ef6df1f9f03 (patch)
treeaa05f33b165c83ab881558ece53c138d42c76761 /net/net-snmp/patches/patch-aj
parent45ecc7955461ecba225aef2b65e5998e66175757 (diff)
downloadpkgsrc-94b27377a92c6abb3fa6cdf1be465ef6df1f9f03.tar.gz
Pullup ticket 2424 - requested by tron
security patch + build fixes for net-snmp - pkgsrc/net/net-snmp/Makefile 1.69-1.70 - pkgsrc/net/net-snmp/distinfo 1.44-1.46 - pkgsrc/net/net-snmp/files/cpu_dragonfly.c 1.3 - pkgsrc/net/net-snmp/patches/patch-ai 1.4-1.5 - pkgsrc/net/net-snmp/patches/patch-aj 1.5 - pkgsrc/net/net-snmp/patches/patch-ak 1.4 - pkgsrc/net/net-snmp/patches/patch-am 1.7 - pkgsrc/net/net-snmp/patches/patch-de 1.5 - pkgsrc/net/net-snmp/patches/patch-dk removed - pkgsrc/net/net-snmp/patches/patch-ep 1.3 Module Name: pkgsrc Committed By: christos Date: Thu Jun 5 19:09:41 UTC 2008 Modified Files: pkgsrc/net/net-snmp: Makefile distinfo pkgsrc/net/net-snmp/files: cpu_dragonfly.c pkgsrc/net/net-snmp/patches: patch-am patch-de Added Files: pkgsrc/net/net-snmp/patches: patch-ai patch-aj patch-ak Log Message: PR/36978: Hasso Tepper: Make net-snmp work on dragonfly. While I am here make it run again on NetBSD (hi clown boy) --- Module Name: pkgsrc Committed By: tron Date: Fri Jun 6 16:18:04 UTC 2008 Modified Files: pkgsrc/net/net-snmp: distinfo pkgsrc/net/net-snmp/patches: patch-ai Removed Files: pkgsrc/net/net-snmp/patches: patch-dk Log Message: Combine the to patches for "agent/mibgroup/mibII/ip.c" to make this actually build. --- Module Name: pkgsrc Committed By: tron Date: Thu Jun 12 13:32:24 UTC 2008 Modified Files: pkgsrc/net/net-snmp: Makefile distinfo pkgsrc/net/net-snmp/patches: patch-ep Log Message: Add patch for CVE-2008-0960 from the Net-SNMP project page on Sourceforge.
Diffstat (limited to 'net/net-snmp/patches/patch-aj')
-rw-r--r--net/net-snmp/patches/patch-aj17
1 files changed, 17 insertions, 0 deletions
diff --git a/net/net-snmp/patches/patch-aj b/net/net-snmp/patches/patch-aj
new file mode 100644
index 00000000000..c30cd17ad58
--- /dev/null
+++ b/net/net-snmp/patches/patch-aj
@@ -0,0 +1,17 @@
+$NetBSD: patch-aj,v 1.4.6.1 2008/06/16 08:51:43 ghen Exp $
+
+--- agent/mibgroup/mibII/udp.c.orig 2007-07-16 19:59:44.000000000 -0400
++++ agent/mibgroup/mibII/udp.c 2008-06-04 19:46:27.000000000 -0400
+@@ -159,6 +159,12 @@
+ #define USES_TRADITIONAL_UDPSTAT
+ #endif
+
++#ifdef UDP_NSTATS
++typedef struct udpstat {
++ uint64_t st[UDP_NSTATS];
++};
++#define UDP_STAT_STRUCTURE struct udpstat
++#endif
+
+ #if !defined(UDP_STAT_STRUCTURE)
+ #define UDP_STAT_STRUCTURE struct udpstat