summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorshattered <shattered@pkgsrc.org>2011-10-17 19:40:26 +0000
committershattered <shattered@pkgsrc.org>2011-10-17 19:40:26 +0000
commit6a8b5f21ee64da037d572d56dbb0ea28efa4161f (patch)
treeb97066eb44af7b0076a55bad9c136e49b9a8a65d /net
parent43d8d13cfcb2ba2ab38d8a6b34ce2c5cbf9b3c12 (diff)
downloadpkgsrc-6a8b5f21ee64da037d572d56dbb0ea28efa4161f.tar.gz
PR/44479 -- disable use of nlist() if we're using sysctl() to get IP stats.
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/distinfo4
-rw-r--r--net/net-snmp/patches/patch-fa8
2 files changed, 8 insertions, 4 deletions
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo
index 29ce95b160f..dcb7594d228 100644
--- a/net/net-snmp/distinfo
+++ b/net/net-snmp/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.63 2011/10/16 09:30:39 obache Exp $
+$NetBSD: distinfo,v 1.64 2011/10/17 19:40:26 shattered Exp $
SHA1 (net-snmp-5.6.1.1.tar.gz) = ec88ba3e0dff4d1b3d342ccebb48ea84c9fa6fa9
RMD160 (net-snmp-5.6.1.1.tar.gz) = 9a4a83f7fe9431a0694b5fee33866ccea80fcab4
@@ -47,7 +47,7 @@ SHA1 (patch-ew) = 503c4db9c3e784a16854a6b5aa40a79798f2e381
SHA1 (patch-ex) = 911c5ca0186ef806f0ffb9e7cfbc0e14f79d9e62
SHA1 (patch-ey) = b96fd2f4abb53bc1233753623128fe2e7f99089c
SHA1 (patch-ez) = a2d8ed3f0895b1f5908b8f311ad86dd79a7ffe04
-SHA1 (patch-fa) = d50f9e03c200185745b0b6edcac41c3436185a0f
+SHA1 (patch-fa) = f0102bf99b003b143fa3279e2187616b89e3b678
SHA1 (patch-fb) = 64d97a51d82488ef4d3ea5dd40278501975d58fb
SHA1 (patch-fc) = 4e0b9841cbff0da02748efc9105096ffcbe58e81
SHA1 (patch-fd) = 6411ba28f0e9a9b66e22f3fbc71ca207cfd6bdd7
diff --git a/net/net-snmp/patches/patch-fa b/net/net-snmp/patches/patch-fa
index 86268ce5aeb..941a697972b 100644
--- a/net/net-snmp/patches/patch-fa
+++ b/net/net-snmp/patches/patch-fa
@@ -1,13 +1,17 @@
-$NetBSD: patch-fa,v 1.3 2011/05/27 10:55:26 adam Exp $
+$NetBSD: patch-fa,v 1.4 2011/10/17 19:40:26 shattered Exp $
--- include/net-snmp/system/netbsd.h.orig 2009-04-09 08:48:32.000000000 +0000
+++ include/net-snmp/system/netbsd.h
-@@ -38,6 +38,10 @@
+@@ -38,6 +38,14 @@
# define netbsd1 netbsd1
#endif
+#if __NetBSD_Version__ >= 499005800
+#define NETBSD_STATS_VIA_SYSCTL
++#undef IPSTAT_SYMBOL
++#undef ICMPSTAT_SYMBOL
++#undef TCPSTAT_SYMBOL
++#undef UDPSTAT_SYMBOL
+#endif /* __NetBSD_Version__ >= 499005800 */
+
/* define the extra mib modules that are supported */