diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-10-06 09:35:21 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-10-06 09:35:21 +0000 |
commit | a7352efa097263af4ae579266af861fd2b458841 (patch) | |
tree | 223326f5628c72543fb656842a4611f2ff679a2b /net/net-snmp | |
parent | Unbreak this port by correcting REINPLACE_CMD invocations. (diff) |
Upgrade to 5.0.6.
Notes
Notes:
svn path=/head/; revision=67473
Diffstat (limited to 'net/net-snmp')
-rw-r--r-- | net/net-snmp/Makefile | 3 | ||||
-rw-r--r-- | net/net-snmp/distinfo | 2 | ||||
-rw-r--r-- | net/net-snmp/files/patch-Makefile.top | 15 | ||||
-rw-r--r-- | net/net-snmp/files/patch-snmpTCPIPv6Domain.c | 10 | ||||
-rw-r--r-- | net/net-snmp/files/patch-snmpUCDIPv6Domain.c | 12 | ||||
-rw-r--r-- | net/net-snmp/files/patch-snmp_agent.c | 10 | ||||
-rw-r--r-- | net/net-snmp/pkg-plist | 1 |
7 files changed, 37 insertions, 16 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile index a44dec58eb36..613403bd60a0 100644 --- a/net/net-snmp/Makefile +++ b/net/net-snmp/Makefile @@ -6,8 +6,7 @@ # PORTNAME= net-snmp -PORTVERSION= 5.0.3 -PORTREVISION= 2 +PORTVERSION= 5.0.6 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \ diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo index 3327ed8daeef..1cc50ef8dc15 100644 --- a/net/net-snmp/distinfo +++ b/net/net-snmp/distinfo @@ -1 +1 @@ -MD5 (net-snmp-5.0.3.tar.gz) = eeff459accb24645eb7a0d7298c04e90 +MD5 (net-snmp-5.0.6.tar.gz) = 8c67aae0d7d8fa00625361cece1a2138 diff --git a/net/net-snmp/files/patch-Makefile.top b/net/net-snmp/files/patch-Makefile.top index 7bb0b8a79ac8..0645bba3426a 100644 --- a/net/net-snmp/files/patch-Makefile.top +++ b/net/net-snmp/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/net-snmp/files/patch-snmpTCPIPv6Domain.c b/net/net-snmp/files/patch-snmpTCPIPv6Domain.c index fcfc1e672d9d..9a6e083a98bc 100644 --- a/net/net-snmp/files/patch-snmpTCPIPv6Domain.c +++ b/net/net-snmp/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/net-snmp/files/patch-snmpUCDIPv6Domain.c b/net/net-snmp/files/patch-snmpUCDIPv6Domain.c index 33b240f33d1c..6f1f6c4caeed 100644 --- a/net/net-snmp/files/patch-snmpUCDIPv6Domain.c +++ b/net/net-snmp/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/net-snmp/files/patch-snmp_agent.c b/net/net-snmp/files/patch-snmp_agent.c new file mode 100644 index 000000000000..4d0442f4d8be --- /dev/null +++ b/net/net-snmp/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 diff --git a/net/net-snmp/pkg-plist b/net/net-snmp/pkg-plist index 8c7ef94d8d3d..b8492066e08d 100644 --- a/net/net-snmp/pkg-plist +++ b/net/net-snmp/pkg-plist @@ -171,6 +171,7 @@ share/snmp/mib2c.column_enums.conf share/snmp/mib2c.conf share/snmp/mib2c.create-dataset.conf share/snmp/mib2c.iterate.conf +share/snmp/mib2c.old-api.conf share/snmp/mibs/AGENTX-MIB.txt share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt share/snmp/mibs/DISMAN-SCRIPT-MIB.txt |