Subject: pkg/23769: mrtg package is not installed with IPv6 support
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/15/2003 22:46:42
>Number:         23769
>Category:       pkg
>Synopsis:       mrtg package is not installed with IPv6 support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 15 22:47:00 UTC 2003
>Originator:     Adrian Portelli
>Release:        1.6.1 i386
NetBSD 1.6.1 NetBSD 1.6.1 (OTTO) #0: Fri Oct 31 16:40:09 GMT 2003 i386
The current version of mrtg in pkgsrc (2.10.11) has the functionality to monitor devices over IPv6.  To do this it needs two addtional perl packages installed: p5-Socket6 (0.12) and p5-INET6 (2.00).

I've submitted the changes to bump p5-Socket6 to version 0.12 
(PR# pkg/23764) and I've also commited p5-INET6 into pkgsrc-wip.

The following patch will pull in the required dependencies to enable IPv6 in mrtg.  
Install mrtg and run mrtgcfgmaker with --enable-ipv6:

[adrianp@otto ~/bin ]$ mrtgcfgmaker --enable-ipv6 public@localhost
WARNING: IPv6 libraries not found, IPv6 disabled.
--base: Get Device Info on public@localhost: 
Bump p5-Socket6 to version 0.12 (See PR# pkg/23764)
Pull p5-INET6 from pkgsrc-wip into pkgsrc

Index: Makefile
RCS file: /cvsroot/pkgsrc/net/mrtg/Makefile,v
retrieving revision 1.44
diff -u -r1.44 Makefile
--- Makefile    2003/12/07 13:53:32     1.44
+++ Makefile    2003/12/15 22:39:36
@@ -26,11 +26,16 @@
 COMMENT=       The Multi-Router Traffic Grapher
+DEPENDS+=       p5-Socket6>=0.12:../../net/p5-Socket6
+DEPENDS+=       p5-INET6>=2.00:../../wip/p5-INET6
 PERL5_REQD=    5.6.1
 USE_X11=       YES
 .include "../../mk/"