From da5b2e81fa8f9536897bcc8dc77f6191a77ae67b Mon Sep 17 00:00:00 2001 From: fgsch Date: Tue, 29 Jan 2008 18:46:27 +0000 Subject: [PATCH] Fix mrtg + snmpv3. bump package. reported and tested by Daniel . --- net/mrtg/Makefile | 11 ++++++----- net/mrtg/pkg/PLIST | 3 ++- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile index 68703dcd351..1fd6a46af68 100644 --- a/net/mrtg/Makefile +++ b/net/mrtg/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.57 2007/12/28 02:09:07 fgsch Exp $ +# $OpenBSD: Makefile,v 1.58 2008/01/29 18:46:27 fgsch Exp $ COMMENT= multi-router traffic grapher DISTNAME= mrtg-2.15.2 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 CATEGORIES= net HOMEPAGE= http://oss.oetiker.ch/mrtg/ @@ -19,7 +19,8 @@ WANTLIB= c jpeg m png z MASTER_SITES= ${HOMEPAGE}pub/ \ ${HOMEPAGE}pub/old -RUN_DEPENDS= ::net/p5-SNMP_Session +RUN_DEPENDS= ::net/p5-Net-SNMP \ + ::net/p5-SNMP_Session LIB_DEPENDS= gd.>=18::graphics/gd USE_X11= Yes @@ -47,8 +48,8 @@ do-install: ${PREFIX}/share/doc/mrtg cd ${WRKSRC}/bin; ${INSTALL_SCRIPT} cfgmaker indexmaker mrtg \ ${PREFIX}/bin - cd ${WRKSRC}/lib/mrtg2; ${INSTALL_DATA} MRTG_lib.pm locales_mrtg.pm \ - ${PREFIX}/libdata/perl5/site_perl/ + cd ${WRKSRC}/lib/mrtg2; ${INSTALL_DATA} MRTG_lib.pm Net_SNMP_util.pm \ + locales_mrtg.pm ${PREFIX}/libdata/perl5/site_perl/ cd ${WRKSRC}/lib/mrtg2/Pod; ${INSTALL_DATA} *.pm \ ${PREFIX}/libdata/perl5/site_perl/Pod ${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg \ diff --git a/net/mrtg/pkg/PLIST b/net/mrtg/pkg/PLIST index 4a28534238f..b968f4c3fd5 100644 --- a/net/mrtg/pkg/PLIST +++ b/net/mrtg/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.21 2007/12/19 08:58:03 fgsch Exp $ +@comment $OpenBSD: PLIST,v 1.22 2008/01/29 18:46:27 fgsch Exp $ @newgroup _mrtg:578 @newuser _mrtg:578:578:daemon:MRTG account:/var/empty:/sbin/nologin bin/cfgmaker @@ -6,6 +6,7 @@ bin/indexmaker bin/mrtg bin/rateup libdata/perl5/site_perl/MRTG_lib.pm +libdata/perl5/site_perl/Net_SNMP_util.pm libdata/perl5/site_perl/Pod/ libdata/perl5/site_perl/Pod/InputObjects.pm libdata/perl5/site_perl/Pod/Parser.pm