summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/net-snmp-devel/Makefile2
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c11
-rw-r--r--net-mgmt/net-snmp/Makefile2
-rw-r--r--net-mgmt/net-snmp/files/patch-memory_freebsd2.c11
-rw-r--r--net-mgmt/net-snmp53/Makefile2
-rw-r--r--net-mgmt/net-snmp53/files/patch-memory_freebsd2.c11
6 files changed, 36 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile
index 83964517c081..9bfc68e0f934 100644
--- a/net-mgmt/net-snmp-devel/Makefile
+++ b/net-mgmt/net-snmp-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.3.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
diff --git a/net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c
new file mode 100644
index 000000000000..310cad53506e
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-memory_freebsd2.c
@@ -0,0 +1,11 @@
+--- agent/mibgroup/ucd-snmp/memory_freebsd2.c Sat Mar 3 19:40:34 2007
++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Sat Mar 3 19:39:57 2007
+@@ -256,7 +256,7 @@
+
+ u_long phys_mem;
+ size_t phys_mem_size = sizeof(phys_mem);
+- int phys_mem_mib[] = { CTL_HW, HW_USERMEM };
++ int phys_mem_mib[] = { CTL_HW, HW_PHYSMEM };
+
+ #ifdef BUFSPACE_SYMBOL
+ long bufspace;
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 83964517c081..9bfc68e0f934 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.3.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
diff --git a/net-mgmt/net-snmp/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp/files/patch-memory_freebsd2.c
new file mode 100644
index 000000000000..310cad53506e
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-memory_freebsd2.c
@@ -0,0 +1,11 @@
+--- agent/mibgroup/ucd-snmp/memory_freebsd2.c Sat Mar 3 19:40:34 2007
++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Sat Mar 3 19:39:57 2007
+@@ -256,7 +256,7 @@
+
+ u_long phys_mem;
+ size_t phys_mem_size = sizeof(phys_mem);
+- int phys_mem_mib[] = { CTL_HW, HW_USERMEM };
++ int phys_mem_mib[] = { CTL_HW, HW_PHYSMEM };
+
+ #ifdef BUFSPACE_SYMBOL
+ long bufspace;
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile
index 83964517c081..9bfc68e0f934 100644
--- a/net-mgmt/net-snmp53/Makefile
+++ b/net-mgmt/net-snmp53/Makefile
@@ -7,7 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.3.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
diff --git a/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c b/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c
new file mode 100644
index 000000000000..310cad53506e
--- /dev/null
+++ b/net-mgmt/net-snmp53/files/patch-memory_freebsd2.c
@@ -0,0 +1,11 @@
+--- agent/mibgroup/ucd-snmp/memory_freebsd2.c Sat Mar 3 19:40:34 2007
++++ agent/mibgroup/ucd-snmp/memory_freebsd2.c.orig Sat Mar 3 19:39:57 2007
+@@ -256,7 +256,7 @@
+
+ u_long phys_mem;
+ size_t phys_mem_size = sizeof(phys_mem);
+- int phys_mem_mib[] = { CTL_HW, HW_USERMEM };
++ int phys_mem_mib[] = { CTL_HW, HW_PHYSMEM };
+
+ #ifdef BUFSPACE_SYMBOL
+ long bufspace;