aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2006-08-18 09:10:33 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2006-08-18 09:10:33 +0000
commitb6c3dc9b0f5595456570babc4f2de27b5391ca47 (patch)
treed176fa82c073dcb78bacd3f2e20c99167c3cc6b9 /net-mgmt
parentf34d452231f0d29b7fc229d9981411c776a2126f (diff)
downloadports-b6c3dc9b0f5595456570babc4f2de27b5391ca47.tar.gz
ports-b6c3dc9b0f5595456570babc4f2de27b5391ca47.zip
Update to 2.14.5.
Notes
Notes: svn path=/head/; revision=170930
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/mrtg/Makefile6
-rw-r--r--net-mgmt/mrtg/distinfo6
-rw-r--r--net-mgmt/mrtg/files/patch-bin_mrtg10
-rw-r--r--net-mgmt/mrtg/pkg-plist3
4 files changed, 11 insertions, 14 deletions
diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile
index 54945b2f3b28..d931f1f34a0c 100644
--- a/net-mgmt/mrtg/Makefile
+++ b/net-mgmt/mrtg/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mrtg
-PORTVERSION= 2.13.2
+PORTVERSION= 2.14.5
PORTEPOCH= 1
CATEGORIES= net-mgmt ipv6
MASTER_SITES= http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/ \
@@ -61,8 +61,8 @@ do-install:
${MKDIR} -m 755 ${DATADIR}
.if !defined(NOPORTDOCS)
${MKDIR} -m 755 ${DOCSDIR}
- for file in ANNOUNCE CHANGES COPYRIGHT MANIFEST README \
- doc/*.pod doc/*.txt doc/*wml doc/*.png ; do \
+ for file in CHANGES COPYRIGHT MANIFEST README \
+ doc/*.pod doc/*.txt doc/*.png ; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCSDIR}; \
done
.endif
diff --git a/net-mgmt/mrtg/distinfo b/net-mgmt/mrtg/distinfo
index dc4bdf62c1e2..40c38f122d1d 100644
--- a/net-mgmt/mrtg/distinfo
+++ b/net-mgmt/mrtg/distinfo
@@ -1,3 +1,3 @@
-MD5 (mrtg-2.13.2.tar.gz) = daab44b14d608cda831b4dc481cec38a
-SHA256 (mrtg-2.13.2.tar.gz) = 2e73ac3bdd5b417878ba1bde48ef95ad0e346d0858435b15fab2d5ec94602138
-SIZE (mrtg-2.13.2.tar.gz) = 1107214
+MD5 (mrtg-2.14.5.tar.gz) = 2840275a76ad9ce1f00c07047814b0a4
+SHA256 (mrtg-2.14.5.tar.gz) = 8274d440165d3b6d6daaf976a9b240d311184f7fa86cd1b3a72b39834bc949f1
+SIZE (mrtg-2.14.5.tar.gz) = 1100574
diff --git a/net-mgmt/mrtg/files/patch-bin_mrtg b/net-mgmt/mrtg/files/patch-bin_mrtg
index f4e928aa2198..1632c4dd6ba9 100644
--- a/net-mgmt/mrtg/files/patch-bin_mrtg
+++ b/net-mgmt/mrtg/files/patch-bin_mrtg
@@ -1,10 +1,10 @@
---- bin/mrtg.old Fri Feb 3 07:33:33 2006
-+++ bin/mrtg Mon Apr 3 11:30:45 2006
-@@ -172,11 +172,17 @@
+--- bin/mrtg.old Fri Aug 18 13:02:42 2006
++++ bin/mrtg Fri Aug 18 13:04:08 2006
+@@ -174,11 +174,17 @@
my $gid = $(;
if (defined $opts{group}) {
-- $gid = getgrnam($opts{group}) or die "ERROR: Unknown Group: $opts{group})\n";
+- $gid = getgrnam($opts{group}) or die "$NOW: ERROR: Unknown Group: $opts{group})\n";
+ $gid = getgrnam($opts{group});
+ if( $gid =~ /^$/ ) {
+ die "ERROR: Unknown Group: $opts{group}\n";
@@ -12,7 +12,7 @@
}
if (defined $opts{user}) {
-- $uid = getpwnam($opts{user}) or die "ERROR: Unknown User: $opts{user})\n";
+- $uid = getpwnam($opts{user}) or die "$NOW: ERROR: Unknown User: $opts{user})\n";
+ $uid = getpwnam($opts{user});
+ if( $uid =~ /^$/ ) {
+ die "ERROR: Unknown User: $opts{user}\n";
diff --git a/net-mgmt/mrtg/pkg-plist b/net-mgmt/mrtg/pkg-plist
index bac2da41b91c..5ab1ced9d15d 100644
--- a/net-mgmt/mrtg/pkg-plist
+++ b/net-mgmt/mrtg/pkg-plist
@@ -6,15 +6,12 @@ etc/mrtg/mrtg.cfg.sample
%%SITE_PERL%%/MRTG_lib.pm
%%SITE_PERL%%/Net_SNMP_util.pm
%%SITE_PERL%%/locales_mrtg.pm
-%%PORTDOCS%%%%DOCSDIR%%/ANNOUNCE
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
%%PORTDOCS%%%%DOCSDIR%%/MANIFEST
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/cfgmaker.pod
%%PORTDOCS%%%%DOCSDIR%%/cfgmaker.txt
-%%PORTDOCS%%%%DOCSDIR%%/index.txt
-%%PORTDOCS%%%%DOCSDIR%%/index.wml
%%PORTDOCS%%%%DOCSDIR%%/indexmaker.pod
%%PORTDOCS%%%%DOCSDIR%%/indexmaker.txt
%%PORTDOCS%%%%DOCSDIR%%/mrtg-contrib.pod