aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2011-12-16 12:57:54 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2011-12-16 12:57:54 +0000
commitc1c49dc2fafd1f2d90b9e74c6d0bbe82da1a04b4 (patch)
treec42024d32e8c039cc38b72358260f5b452ae4dfc /net-mgmt
parent1ca2194bc1be5ef362f910629681fa3322f0c36a (diff)
downloadports-c1c49dc2fafd1f2d90b9e74c6d0bbe82da1a04b4.tar.gz
ports-c1c49dc2fafd1f2d90b9e74c6d0bbe82da1a04b4.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/net-snmp/Makefile2
-rw-r--r--net-mgmt/net-snmp/files/patch-agent__mibgroup__host__data_access__swrun_kinfo.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 9f918f9ed5d7..b7ac7b5d55e3 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.7.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt ipv6
MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= net-
diff --git a/net-mgmt/net-snmp/files/patch-agent__mibgroup__host__data_access__swrun_kinfo.c b/net-mgmt/net-snmp/files/patch-agent__mibgroup__host__data_access__swrun_kinfo.c
new file mode 100644
index 000000000000..a2ebd9efe63d
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-agent__mibgroup__host__data_access__swrun_kinfo.c
@@ -0,0 +1,11 @@
+--- ./agent/mibgroup/host/data_access/swrun_kinfo.c.orig 2011-12-16 07:32:47.000000000 -0500
++++ ./agent/mibgroup/host/data_access/swrun_kinfo.c 2011-12-16 07:32:40.000000000 -0500
+@@ -183,7 +183,7 @@
+ #if HAVE_KVM_GETPROC2
+ argv = kvm_getargv2( kd, &(proc_table[i]), 0);
+ #else
+- argv = kvm_getargv( kd, &(proc_table[i]), 0);
++ argv = kvm_getargv( kd, &(proc_table[i]), BUFSIZ);
+ #endif
+
+ entry->hrSWRunName_len = snprintf(entry->hrSWRunName,