aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/net-snmp-devel/Makefile1
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-interface_ioctl.c13
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-snmpusm.c11
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-transform_oids.h11
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-ucd_snmp.h11
-rw-r--r--net-mgmt/net-snmp/Makefile1
-rw-r--r--net-mgmt/net-snmp/files/patch-interface_ioctl.c13
-rw-r--r--net-mgmt/net-snmp/files/patch-snmpusm.c11
-rw-r--r--net-mgmt/net-snmp/files/patch-transform_oids.h11
-rw-r--r--net-mgmt/net-snmp/files/patch-ucd_snmp.h11
-rw-r--r--net-mgmt/net-snmp53/Makefile1
-rw-r--r--net-mgmt/net-snmp53/files/patch-interface_ioctl.c13
-rw-r--r--net-mgmt/net-snmp53/files/patch-snmpusm.c11
-rw-r--r--net-mgmt/net-snmp53/files/patch-transform_oids.h11
-rw-r--r--net-mgmt/net-snmp53/files/patch-ucd_snmp.h11
15 files changed, 141 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile
index 660aa4a4a227..a62f8905957a 100644
--- a/net-mgmt/net-snmp-devel/Makefile
+++ b/net-mgmt/net-snmp-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.2
+PORTREVISION= 1
PKGNAMEPREFIX= net-
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
diff --git a/net-mgmt/net-snmp-devel/files/patch-interface_ioctl.c b/net-mgmt/net-snmp-devel/files/patch-interface_ioctl.c
new file mode 100644
index 000000000000..4939166949be
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-interface_ioctl.c
@@ -0,0 +1,13 @@
+--- ./agent/mibgroup/if-mib/data_access/interface_ioctl.c.orig Mon Oct 25 12:57:23 2004
++++ ./agent/mibgroup/if-mib/data_access/interface_ioctl.c Mon Oct 25 12:56:33 2004
+@@ -385,6 +385,10 @@
+ if (rc < 0)
+ return 0;
+
++#if defined(__FreeBSD__)
++ return ifrq.ifr_index;
++#else
+ return ifrq.ifr_ifindex;
++#endif
+ #endif /* SIOCGIFINDEX */
+ }
diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpusm.c b/net-mgmt/net-snmp-devel/files/patch-snmpusm.c
new file mode 100644
index 000000000000..7b0ced219ae5
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-snmpusm.c
@@ -0,0 +1,11 @@
+--- snmplib/snmpusm.c.orig Wed Dec 8 19:32:52 2004
++++ snmplib/snmpusm.c Wed Dec 8 19:33:30 2004
+@@ -89,6 +89,8 @@
+ oid usmAESPrivProtocol[10] = { 1, 3, 6, 1, 6, 3, 10, 1, 2, 4 };
+ /* backwards compat */
+ oid *usmAES128PrivProtocol = usmAESPrivProtocol;
++oid *usmAES192PrivProtocol = usmAESPrivProtocol;
++oid *usmAES256PrivProtocol = usmAESPrivProtocol;
+
+ static u_int dummy_etime, dummy_eboot; /* For ISENGINEKNOWN(). */
+
diff --git a/net-mgmt/net-snmp-devel/files/patch-transform_oids.h b/net-mgmt/net-snmp-devel/files/patch-transform_oids.h
new file mode 100644
index 000000000000..874acac2f086
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-transform_oids.h
@@ -0,0 +1,11 @@
+--- include/net-snmp/library/transform_oids.h.orig Wed Dec 8 19:34:06 2004
++++ include/net-snmp/library/transform_oids.h Wed Dec 8 19:34:34 2004
+@@ -23,6 +23,8 @@
+ /* XXX: OIDs not defined yet */
+ extern oid usmAESPrivProtocol[10]; /* == { 1,3,6,1,6,3,10,1,2,4 }; */
+ extern oid *usmAES128PrivProtocol; /* backwards compat */
++extern oid *usmAES192PrivProtocol; /* backwards compat */
++extern oid *usmAES256PrivProtocol; /* backwards compat */
+
+ #define USM_AUTH_PROTO_NOAUTH_LEN 10
+ #define USM_AUTH_PROTO_MD5_LEN 10
diff --git a/net-mgmt/net-snmp-devel/files/patch-ucd_snmp.h b/net-mgmt/net-snmp-devel/files/patch-ucd_snmp.h
new file mode 100644
index 000000000000..2690553112a1
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-ucd_snmp.h
@@ -0,0 +1,11 @@
+--- agent/mibgroup/ucd_snmp.h.orig Mon Oct 25 21:36:55 2004
++++ agent/mibgroup/ucd_snmp.h Mon Oct 25 21:37:20 2004
+@@ -39,6 +39,8 @@
+ config_arch_require(freebsd4, ucd-snmp/memory_freebsd2)
+ config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2)
+ config_arch_require(freebsd5, ucd-snmp/memory_freebsd2)
++config_arch_require(freebsd6, ucd-snmp/vmstat_freebsd2)
++config_arch_require(freebsd6, ucd-snmp/memory_freebsd2)
+ config_arch_require(netbsd1, ucd-snmp/vmstat_netbsd1)
+ config_arch_require(netbsd1, ucd-snmp/memory_netbsd1)
+ config_arch_require(openbsd2, ucd-snmp/vmstat_netbsd1)
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 660aa4a4a227..a62f8905957a 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -7,6 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.2
+PORTREVISION= 1
PKGNAMEPREFIX= net-
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
diff --git a/net-mgmt/net-snmp/files/patch-interface_ioctl.c b/net-mgmt/net-snmp/files/patch-interface_ioctl.c
new file mode 100644
index 000000000000..4939166949be
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-interface_ioctl.c
@@ -0,0 +1,13 @@
+--- ./agent/mibgroup/if-mib/data_access/interface_ioctl.c.orig Mon Oct 25 12:57:23 2004
++++ ./agent/mibgroup/if-mib/data_access/interface_ioctl.c Mon Oct 25 12:56:33 2004
+@@ -385,6 +385,10 @@
+ if (rc < 0)
+ return 0;
+
++#if defined(__FreeBSD__)
++ return ifrq.ifr_index;
++#else
+ return ifrq.ifr_ifindex;
++#endif
+ #endif /* SIOCGIFINDEX */
+ }
diff --git a/net-mgmt/net-snmp/files/patch-snmpusm.c b/net-mgmt/net-snmp/files/patch-snmpusm.c
new file mode 100644
index 000000000000..7b0ced219ae5
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-snmpusm.c
@@ -0,0 +1,11 @@
+--- snmplib/snmpusm.c.orig Wed Dec 8 19:32:52 2004
++++ snmplib/snmpusm.c Wed Dec 8 19:33:30 2004
+@@ -89,6 +89,8 @@
+ oid usmAESPrivProtocol[10] = { 1, 3, 6, 1, 6, 3, 10, 1, 2, 4 };
+ /* backwards compat */
+ oid *usmAES128PrivProtocol = usmAESPrivProtocol;
++oid *usmAES192PrivProtocol = usmAESPrivProtocol;
++oid *usmAES256PrivProtocol = usmAESPrivProtocol;
+
+ static u_int dummy_etime, dummy_eboot; /* For ISENGINEKNOWN(). */
+
diff --git a/net-mgmt/net-snmp/files/patch-transform_oids.h b/net-mgmt/net-snmp/files/patch-transform_oids.h
new file mode 100644
index 000000000000..874acac2f086
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-transform_oids.h
@@ -0,0 +1,11 @@
+--- include/net-snmp/library/transform_oids.h.orig Wed Dec 8 19:34:06 2004
++++ include/net-snmp/library/transform_oids.h Wed Dec 8 19:34:34 2004
+@@ -23,6 +23,8 @@
+ /* XXX: OIDs not defined yet */
+ extern oid usmAESPrivProtocol[10]; /* == { 1,3,6,1,6,3,10,1,2,4 }; */
+ extern oid *usmAES128PrivProtocol; /* backwards compat */
++extern oid *usmAES192PrivProtocol; /* backwards compat */
++extern oid *usmAES256PrivProtocol; /* backwards compat */
+
+ #define USM_AUTH_PROTO_NOAUTH_LEN 10
+ #define USM_AUTH_PROTO_MD5_LEN 10
diff --git a/net-mgmt/net-snmp/files/patch-ucd_snmp.h b/net-mgmt/net-snmp/files/patch-ucd_snmp.h
new file mode 100644
index 000000000000..2690553112a1
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-ucd_snmp.h
@@ -0,0 +1,11 @@
+--- agent/mibgroup/ucd_snmp.h.orig Mon Oct 25 21:36:55 2004
++++ agent/mibgroup/ucd_snmp.h Mon Oct 25 21:37:20 2004
+@@ -39,6 +39,8 @@
+ config_arch_require(freebsd4, ucd-snmp/memory_freebsd2)
+ config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2)
+ config_arch_require(freebsd5, ucd-snmp/memory_freebsd2)
++config_arch_require(freebsd6, ucd-snmp/vmstat_freebsd2)
++config_arch_require(freebsd6, ucd-snmp/memory_freebsd2)
+ config_arch_require(netbsd1, ucd-snmp/vmstat_netbsd1)
+ config_arch_require(netbsd1, ucd-snmp/memory_netbsd1)
+ config_arch_require(openbsd2, ucd-snmp/vmstat_netbsd1)
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile
index 660aa4a4a227..a62f8905957a 100644
--- a/net-mgmt/net-snmp53/Makefile
+++ b/net-mgmt/net-snmp53/Makefile
@@ -7,6 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.2
+PORTREVISION= 1
PKGNAMEPREFIX= net-
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
diff --git a/net-mgmt/net-snmp53/files/patch-interface_ioctl.c b/net-mgmt/net-snmp53/files/patch-interface_ioctl.c
new file mode 100644
index 000000000000..4939166949be
--- /dev/null
+++ b/net-mgmt/net-snmp53/files/patch-interface_ioctl.c
@@ -0,0 +1,13 @@
+--- ./agent/mibgroup/if-mib/data_access/interface_ioctl.c.orig Mon Oct 25 12:57:23 2004
++++ ./agent/mibgroup/if-mib/data_access/interface_ioctl.c Mon Oct 25 12:56:33 2004
+@@ -385,6 +385,10 @@
+ if (rc < 0)
+ return 0;
+
++#if defined(__FreeBSD__)
++ return ifrq.ifr_index;
++#else
+ return ifrq.ifr_ifindex;
++#endif
+ #endif /* SIOCGIFINDEX */
+ }
diff --git a/net-mgmt/net-snmp53/files/patch-snmpusm.c b/net-mgmt/net-snmp53/files/patch-snmpusm.c
new file mode 100644
index 000000000000..7b0ced219ae5
--- /dev/null
+++ b/net-mgmt/net-snmp53/files/patch-snmpusm.c
@@ -0,0 +1,11 @@
+--- snmplib/snmpusm.c.orig Wed Dec 8 19:32:52 2004
++++ snmplib/snmpusm.c Wed Dec 8 19:33:30 2004
+@@ -89,6 +89,8 @@
+ oid usmAESPrivProtocol[10] = { 1, 3, 6, 1, 6, 3, 10, 1, 2, 4 };
+ /* backwards compat */
+ oid *usmAES128PrivProtocol = usmAESPrivProtocol;
++oid *usmAES192PrivProtocol = usmAESPrivProtocol;
++oid *usmAES256PrivProtocol = usmAESPrivProtocol;
+
+ static u_int dummy_etime, dummy_eboot; /* For ISENGINEKNOWN(). */
+
diff --git a/net-mgmt/net-snmp53/files/patch-transform_oids.h b/net-mgmt/net-snmp53/files/patch-transform_oids.h
new file mode 100644
index 000000000000..874acac2f086
--- /dev/null
+++ b/net-mgmt/net-snmp53/files/patch-transform_oids.h
@@ -0,0 +1,11 @@
+--- include/net-snmp/library/transform_oids.h.orig Wed Dec 8 19:34:06 2004
++++ include/net-snmp/library/transform_oids.h Wed Dec 8 19:34:34 2004
+@@ -23,6 +23,8 @@
+ /* XXX: OIDs not defined yet */
+ extern oid usmAESPrivProtocol[10]; /* == { 1,3,6,1,6,3,10,1,2,4 }; */
+ extern oid *usmAES128PrivProtocol; /* backwards compat */
++extern oid *usmAES192PrivProtocol; /* backwards compat */
++extern oid *usmAES256PrivProtocol; /* backwards compat */
+
+ #define USM_AUTH_PROTO_NOAUTH_LEN 10
+ #define USM_AUTH_PROTO_MD5_LEN 10
diff --git a/net-mgmt/net-snmp53/files/patch-ucd_snmp.h b/net-mgmt/net-snmp53/files/patch-ucd_snmp.h
new file mode 100644
index 000000000000..2690553112a1
--- /dev/null
+++ b/net-mgmt/net-snmp53/files/patch-ucd_snmp.h
@@ -0,0 +1,11 @@
+--- agent/mibgroup/ucd_snmp.h.orig Mon Oct 25 21:36:55 2004
++++ agent/mibgroup/ucd_snmp.h Mon Oct 25 21:37:20 2004
+@@ -39,6 +39,8 @@
+ config_arch_require(freebsd4, ucd-snmp/memory_freebsd2)
+ config_arch_require(freebsd5, ucd-snmp/vmstat_freebsd2)
+ config_arch_require(freebsd5, ucd-snmp/memory_freebsd2)
++config_arch_require(freebsd6, ucd-snmp/vmstat_freebsd2)
++config_arch_require(freebsd6, ucd-snmp/memory_freebsd2)
+ config_arch_require(netbsd1, ucd-snmp/vmstat_netbsd1)
+ config_arch_require(netbsd1, ucd-snmp/memory_netbsd1)
+ config_arch_require(openbsd2, ucd-snmp/vmstat_netbsd1)