resend with s/s[u]b/less-than/ to make it past ports@ mimedefang (-:
support/fixes for various switches in cfgmaker (hp, foundry).
less-than-1-minute polling possible (when using rrdtool not rateup).
new mrtg-traffic-sum tool to analyse rateup .log files.
optional email alerts upon reaching thresholds.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/mrtg/Makefile,v
retrieving revision 1.53
diff -u -p -u -r1.53 Makefile
--- Makefile 3 Apr 2007 14:52:29 -0000 1.53
+++ Makefile 26 Jun 2007 01:16:24 -0000
@@ -2,11 +2,10 @@
COMMENT= "multi-router traffic grapher"
-DISTNAME= mrtg-2.12.2
-PKGNAME= ${DISTNAME}p4
+DISTNAME= mrtg-2.15.2
CATEGORIES= net
-MASTER_SITES= ${HOMEPAGE}pub/old/
+MASTER_SITES= ${HOMEPAGE}pub/
HOMEPAGE= http://oss.oetiker.ch/mrtg/
@@ -25,7 +24,7 @@ PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m png jpeg z
CONFIGURE_STYLE= autoconf
-AUTOCONF_VERSION= 2.57
+AUTOCONF_VERSION= 2.59
CONFIGURE_ARGS= --with-gd-inc="${LOCALBASE}/include" \
--with-gd-lib="${LOCALBASE}/lib" \
--with-png-inc="${LOCALBASE}/include" \
@@ -43,10 +42,10 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/share/mrtg
${INSTALL_MAN} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/bin/rateup ${PREFIX}/bin
- cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.pod *.txt *.png *.wml \
+ cd ${WRKSRC}/doc; ${INSTALL_DATA} *.pod *.txt \
${PREFIX}/share/doc/mrtg
cd ${WRKSRC}/bin; ${INSTALL_SCRIPT} cfgmaker indexmaker mrtg \
- ${PREFIX}/bin
+ mrtg-traffic-sum ${PREFIX}/bin
cd ${WRKSRC}/lib/mrtg2; ${INSTALL_DATA} MRTG_lib.pm locales_mrtg.pm \
${PREFIX}/libdata/perl5/site_perl/
cd ${WRKSRC}/lib/mrtg2/Pod; ${INSTALL_DATA} *.pm \
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/mrtg/distinfo,v
retrieving revision 1.5
diff -u -p -u -r1.5 distinfo
--- distinfo 5 Apr 2007 16:20:11 -0000 1.5
+++ distinfo 26 Jun 2007 01:16:24 -0000
@@ -1,5 +1,5 @@
-MD5 (mrtg-2.12.2.tar.gz) = 3XTE8orFlJONFdwWt/iL0g==
-RMD160 (mrtg-2.12.2.tar.gz) = 586rJIkJNpwekoB88SGm0+7gif8=
-SHA1 (mrtg-2.12.2.tar.gz) = uWior8qLwSpRZN4PhpQiuy0BVqU=
-SHA256 (mrtg-2.12.2.tar.gz) = nSvekdNMgm0aiKTZ8MpiM8tfjzespVhYUcZQqUvsSXo=
-SIZE (mrtg-2.12.2.tar.gz) = 1135438
+MD5 (mrtg-2.15.2.tar.gz) = WCcXXdXulBwq6JQ2nwyQcQ==
+RMD160 (mrtg-2.15.2.tar.gz) = zyHP615osA/sdVK1jGCtIqDEfkc=
+SHA1 (mrtg-2.15.2.tar.gz) = HYFN/uqnf4Og5sIMS5pfncvSQIk=
+SHA256 (mrtg-2.15.2.tar.gz) = NFbzWMHqWuUYIVMWnD7/0s1LBxxNEvNuA5R6Yjcvh6s=
+SIZE (mrtg-2.15.2.tar.gz) = 1070900
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/mrtg/pkg/PLIST,v
retrieving revision 1.20
diff -u -p -u -r1.20 PLIST
--- pkg/PLIST 29 Dec 2006 13:37:24 -0000 1.20
+++ pkg/PLIST 26 Jun 2007 01:16:24 -0000
@@ -4,6 +4,7 @@
bin/cfgmaker
bin/indexmaker
bin/mrtg
+bin/mrtg-traffic-sum
bin/rateup
libdata/perl5/site_perl/MRTG_lib.pm
libdata/perl5/site_perl/Pod/InputObjects.pm
@@ -30,62 +31,38 @@ libdata/perl5/site_perl/locales_mrtg.pm
@man man/man1/mrtg.1
@man man/man1/mrtglib.1
share/doc/mrtg/
-share/doc/mrtg/cfgmaker.html
share/doc/mrtg/cfgmaker.pod
share/doc/mrtg/cfgmaker.txt
-share/doc/mrtg/index.html
-share/doc/mrtg/index.txt
-share/doc/mrtg/index.wml
-share/doc/mrtg/indexmaker.html
share/doc/mrtg/indexmaker.pod
share/doc/mrtg/indexmaker.txt
-share/doc/mrtg/mrtg-contrib.html
share/doc/mrtg/mrtg-contrib.pod
share/doc/mrtg/mrtg-contrib.txt
-share/doc/mrtg/mrtg-faq.html
share/doc/mrtg/mrtg-faq.pod
share/doc/mrtg/mrtg-faq.txt
-share/doc/mrtg/mrtg-forum.html
share/doc/mrtg/mrtg-forum.pod
share/doc/mrtg/mrtg-forum.txt
-share/doc/mrtg/mrtg-ipv6.html
share/doc/mrtg/mrtg-ipv6.pod
share/doc/mrtg/mrtg-ipv6.txt
-share/doc/mrtg/mrtg-l.png
-share/doc/mrtg/mrtg-logfile.html
share/doc/mrtg/mrtg-logfile.pod
share/doc/mrtg/mrtg-logfile.txt
-share/doc/mrtg/mrtg-m.png
-share/doc/mrtg/mrtg-mibhelp.html
share/doc/mrtg/mrtg-mibhelp.pod
share/doc/mrtg/mrtg-mibhelp.txt
-share/doc/mrtg/mrtg-nt-guide.html
share/doc/mrtg/mrtg-nt-guide.pod
share/doc/mrtg/mrtg-nt-guide.txt
-share/doc/mrtg/mrtg-nw-guide.html
share/doc/mrtg/mrtg-nw-guide.pod
share/doc/mrtg/mrtg-nw-guide.txt
-share/doc/mrtg/mrtg-r.png
-share/doc/mrtg/mrtg-reference.html
share/doc/mrtg/mrtg-reference.pod
share/doc/mrtg/mrtg-reference.txt
-share/doc/mrtg/mrtg-rrd.html
share/doc/mrtg/mrtg-rrd.pod
share/doc/mrtg/mrtg-rrd.txt
-share/doc/mrtg/mrtg-squid.html
share/doc/mrtg/mrtg-squid.pod
share/doc/mrtg/mrtg-squid.txt
-share/doc/mrtg/mrtg-ti.png
-share/doc/mrtg/mrtg-unix-guide.html
share/doc/mrtg/mrtg-unix-guide.pod
share/doc/mrtg/mrtg-unix-guide.txt
-share/doc/mrtg/mrtg-webserver.html
share/doc/mrtg/mrtg-webserver.pod
share/doc/mrtg/mrtg-webserver.txt
-share/doc/mrtg/mrtg.html
share/doc/mrtg/mrtg.pod
share/doc/mrtg/mrtg.txt
-share/doc/mrtg/mrtglib.html
share/doc/mrtg/mrtglib.pod
share/doc/mrtg/mrtglib.txt
share/examples/mrtg/