summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-10-06 09:35:21 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-10-06 09:35:21 +0000
commita7352efa097263af4ae579266af861fd2b458841 (patch)
tree223326f5628c72543fb656842a4611f2ff679a2b /net-mgmt/net-snmp-devel/files
parentUnbreak this port by correcting REINPLACE_CMD invocations. (diff)
Upgrade to 5.0.6.
Notes
Notes: svn path=/head/; revision=67473
Diffstat (limited to 'net-mgmt/net-snmp-devel/files')
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-Makefile.top15
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-snmpTCPIPv6Domain.c10
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c12
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-snmp_agent.c10
4 files changed, 34 insertions, 13 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-Makefile.top b/net-mgmt/net-snmp-devel/files/patch-Makefile.top
index 7bb0b8a79ac8..0645bba3426a 100644
--- a/net-mgmt/net-snmp-devel/files/patch-Makefile.top
+++ b/net-mgmt/net-snmp-devel/files/patch-Makefile.top
@@ -1,5 +1,16 @@
---- Makefile.top.orig Sat Apr 20 16:29:56 2002
-+++ Makefile.top Tue Apr 23 08:53:54 2002
+--- Makefile.top.orig Sun Oct 6 06:09:32 2002
++++ Makefile.top Sun Oct 6 18:09:19 2002
+@@ -37,8 +37,8 @@
+ LN_S = @LN_S@
+ #AUTOCONF = @AUTOCONF@
+ #AUTOHEADER = @AUTOHEADER@
+-AUTOCONF = autoconf
+-AUTOHEADER = autoheader
++AUTOCONF = autoconf213
++AUTOHEADER = autoheader213
+
+ #
+ # Compiler arguments
@@ -60,7 +60,7 @@
# generally, LIBCURRENT should stay the same unless major changes occur.
# Increment REVISION every release.
diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpTCPIPv6Domain.c b/net-mgmt/net-snmp-devel/files/patch-snmpTCPIPv6Domain.c
index fcfc1e672d9d..9a6e083a98bc 100644
--- a/net-mgmt/net-snmp-devel/files/patch-snmpTCPIPv6Domain.c
+++ b/net-mgmt/net-snmp-devel/files/patch-snmpTCPIPv6Domain.c
@@ -1,12 +1,12 @@
---- snmplib/snmpTCPIPv6Domain.c.orig Wed Jul 17 03:20:43 2002
-+++ snmplib/snmpTCPIPv6Domain.c Thu Jul 25 19:55:47 2002
+--- snmplib/snmpTCPIPv6Domain.c.orig Fri Aug 9 22:57:43 2002
++++ snmplib/snmpTCPIPv6Domain.c Sun Oct 6 01:07:12 2002
@@ -62,13 +62,21 @@
if (to == NULL) {
return strdup("TCP/IPv6: unknown");
} else {
-- char addr[INET6_ADDRSTRLEN];
-- char tmp[INET6_ADDRSTRLEN + 8];
-+ char tmp[NI_MAXHOST];
+- char addr[INET6_ADDRSTRLEN];
+- char tmp[INET6_ADDRSTRLEN + 8];
++ char tmp[NI_MAXHOST];
- sprintf(tmp, "[%s]:%hd",
- inet_ntop(AF_INET6, (void *) &(to->sin6_addr), addr,
diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c b/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c
index 33b240f33d1c..6f1f6c4caeed 100644
--- a/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c
+++ b/net-mgmt/net-snmp-devel/files/patch-snmpUCDIPv6Domain.c
@@ -1,12 +1,12 @@
---- snmplib/snmpUDPIPv6Domain.c.orig Mon Jul 8 11:03:05 2002
-+++ snmplib/snmpUDPIPv6Domain.c Thu Jul 25 19:31:27 2002
-@@ -59,13 +59,21 @@
+--- snmplib/snmpUDPIPv6Domain.c.orig Fri Aug 9 22:57:43 2002
++++ snmplib/snmpUDPIPv6Domain.c Sun Oct 6 18:03:18 2002
+@@ -62,13 +62,21 @@
if (to == NULL) {
return strdup("UDP/IPv6: unknown");
} else {
-- char addr[INET6_ADDRSTRLEN];
-- char tmp[INET6_ADDRSTRLEN + 8];
-+ char tmp[NI_MAXHOST];
+- char addr[INET6_ADDRSTRLEN];
+- char tmp[INET6_ADDRSTRLEN + 8];
++ char tmp[NI_MAXHOST];
- sprintf(tmp, "[%s]:%hd",
- inet_ntop(AF_INET6, (void *) &(to->sin6_addr), addr,
diff --git a/net-mgmt/net-snmp-devel/files/patch-snmp_agent.c b/net-mgmt/net-snmp-devel/files/patch-snmp_agent.c
new file mode 100644
index 000000000000..4d0442f4d8be
--- /dev/null
+++ b/net-mgmt/net-snmp-devel/files/patch-snmp_agent.c
@@ -0,0 +1,10 @@
+--- agent/snmp_agent.c.orig Sun Oct 6 05:41:58 2002
++++ agent/snmp_agent.c Sun Oct 6 18:19:12 2002
+@@ -71,6 +71,7 @@
+
+ #ifdef USE_LIBWRAP
+ #include <tcpd.h>
++#include <syslog.h>
+ int allow_severity = LOG_INFO;
+ int deny_severity = LOG_WARNING;
+ #endif