Fix mrtg + snmpv3. bump package.

reported and tested by Daniel <leva at az dot isten dot hu>.
This commit is contained in:
fgsch 2008-01-29 18:46:27 +00:00
parent ad9bf2c351
commit da5b2e81fa
2 changed files with 8 additions and 6 deletions

View File

@ -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 \

View File

@ -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