diff options
Diffstat (limited to 'net/mrtg')
-rw-r--r-- | net/mrtg/Makefile | 6 | ||||
-rw-r--r-- | net/mrtg/distinfo | 10 | ||||
-rw-r--r-- | net/mrtg/options.mk | 4 | ||||
-rw-r--r-- | net/mrtg/patches/patch-ae | 32 |
4 files changed, 38 insertions, 14 deletions
diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile index 451cd5ed6bb..dfb5772a19f 100644 --- a/net/mrtg/Makefile +++ b/net/mrtg/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.101 2011/04/22 13:44:25 obache Exp $ +# $NetBSD: Makefile,v 1.102 2011/08/06 11:52:16 tron Exp $ -DISTNAME= mrtg-2.16.4 -PKGREVISION= 2 +DISTNAME= mrtg-2.17.2 CATEGORIES= net MASTER_SITES= http://oss.oetiker.ch/mrtg/pub/ \ http://oss.oetiker.ch/mrtg/pub/old/ @@ -14,6 +13,7 @@ LICENSE= gnu-gpl-v2 PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= perl:run +PERL5_REQD= 5.14.1 GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-gd=${BUILDLINK_PREFIX.gd} CONFIGURE_ARGS+= --with-png=${BUILDLINK_PREFIX.png} diff --git a/net/mrtg/distinfo b/net/mrtg/distinfo index 151e9ad24f1..ce0ab6b8a48 100644 --- a/net/mrtg/distinfo +++ b/net/mrtg/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.30 2010/07/09 08:45:33 adam Exp $ +$NetBSD: distinfo,v 1.31 2011/08/06 11:52:16 tron Exp $ -SHA1 (mrtg-2.16.4.tar.gz) = 8d810487585c929bf48246311512f88077e10e55 -RMD160 (mrtg-2.16.4.tar.gz) = 9d7f2573fded09b16cd5b108271b9dd68d78bc18 -Size (mrtg-2.16.4.tar.gz) = 1089068 bytes +SHA1 (mrtg-2.17.2.tar.gz) = dc591cc92ee664d4049333c19becc6a88e162008 +RMD160 (mrtg-2.17.2.tar.gz) = 8159376e1682bcabf41b73a3f7ede5a302216115 +Size (mrtg-2.17.2.tar.gz) = 1095721 bytes SHA1 (patch-aa) = 2874cd59371db10fbc4ff6c29e3a917a4b8eec55 SHA1 (patch-ab) = bf367e6c43030a9cb64a88336b66932d7e05025c SHA1 (patch-ac) = 24ae08714f896ca0f1724454b8ad47c32412c018 -SHA1 (patch-ae) = 38793e3bd13570d18006a016c65a4cc3c3f5e1b5 +SHA1 (patch-ae) = 7ba301b01d575f4ff18f082c9f3baaaa2c6e8332 diff --git a/net/mrtg/options.mk b/net/mrtg/options.mk index aa87036e329..263076e8b5f 100644 --- a/net/mrtg/options.mk +++ b/net/mrtg/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.3 2010/07/09 08:45:33 adam Exp $ +# $NetBSD: options.mk,v 1.4 2011/08/06 11:52:16 tron Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mrtg PKG_SUPPORTED_OPTIONS= inet6 mrtg-snmpv3 @@ -16,5 +16,5 @@ DEPENDS+= p5-Net-SNMP-[0-9]*:../../net/p5-Net-SNMP ### Support for IPv6 enabled devices ### .if !empty(PKG_OPTIONS:Minet6) -DEPENDS+= p5-IO-Socket-INET6>=2.00:../../net/p5-IO-Socket-INET6 +DEPENDS+= p5-IO-Socket-INET6>=2.67:../../net/p5-IO-Socket-INET6 .endif diff --git a/net/mrtg/patches/patch-ae b/net/mrtg/patches/patch-ae index 573c1e232dd..db734381085 100644 --- a/net/mrtg/patches/patch-ae +++ b/net/mrtg/patches/patch-ae @@ -1,8 +1,14 @@ -$NetBSD: patch-ae,v 1.5 2008/02/13 12:05:26 martti Exp $ +$NetBSD: patch-ae,v 1.6 2011/08/06 11:52:16 tron Exp $ ---- lib/mrtg2/SNMP_Session.pm.orig 2008-02-06 16:35:49.000000000 +0200 -+++ lib/mrtg2/SNMP_Session.pm 2008-02-13 13:57:53.000000000 +0200 -@@ -110,7 +110,7 @@ +Fix two problems: +1.) Avoid negative request ids (default_avoid_negative_request_ids=1) as + this might cause problems with some devices. Solution provided by + Tobias Oetiker in a private mail. +2.) Avoid redefinition of "SNMP_Session::pack_sockaddr_in6". + +--- lib/mrtg2/SNMP_Session.pm.orig 2011-02-20 22:33:38.000000000 +0000 ++++ lib/mrtg2/SNMP_Session.pm 2011-08-06 12:38:35.000000000 +0100 +@@ -111,7 +111,7 @@ ### some agents erroneously encode the response ID as an unsigned, ### which prevents this code from matching such responses to requests. ### @@ -11,3 +17,21 @@ $NetBSD: patch-ae,v 1.5 2008/02/13 12:05:26 martti Exp $ ### Default value for "use_16bit_request_ids". ### +@@ -146,7 +146,7 @@ + + if (eval {local $SIG{__DIE__};require Socket6;} && + eval {local $SIG{__DIE__};require IO::Socket::INET6; IO::Socket::INET6->VERSION("1.26");}) { +- Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo)); ++ Socket6->import(qw(inet_pton getaddrinfo)); + $ipv6_addr_len = length(pack_sockaddr_in6(161, inet_pton(AF_INET6(), "::1"))); + $SNMP_Session::ipv6available = 1; + } +@@ -601,7 +601,7 @@ + BEGIN { + if($SNMP_Session::ipv6available) { + import IO::Socket::INET6; +- Socket6->import(qw(pack_sockaddr_in6 inet_pton getaddrinfo)); ++ Socket6->import(qw(inet_pton getaddrinfo)); + } + } + |