Subject: pkg/23769: mrtg package is not installed with IPv6 support
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <adrianp@stindustries.net>
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
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Portelli
>Release:        1.6.1 i386
>Organization:
STIndustries
>Environment:
NetBSD otto.stindustries.org.uk 1.6.1 NetBSD 1.6.1 (OTTO) #0: Fri Oct 31 16:40:09 GMT 2003     root@otto.stindustries.org.uk:/usr/src/sys/arch/i386/compile/OTTO i386
>Description:
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.  
>How-To-Repeat:
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: 
>Fix:
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 @@
 HOMEPAGE=      http://ee-staff.ethz.ch/~oetiker/webtools/mrtg/mrtg.html
 COMMENT=       The Multi-Router Traffic Grapher
 
+DEPENDS+=       p5-Socket6>=0.12:../../net/p5-Socket6
+DEPENDS+=       p5-INET6>=2.00:../../wip/p5-INET6
+
 USE_BUILDLINK2=        YES
 USE_PERL5=     YES
 PERL5_REQD=    5.6.1
 USE_X11=       YES
 GNU_CONFIGURE= YES
+
+BUILD_DEFS+=   USE_INET6
 
 .include "../../mk/bsd.prefs.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: