ports/149358: [MANTAINER UPDATE] net-mgmt/nagiosgraph to 1.4.3
Ildar Hizbulin
hizel at vyborg.ru
Tue Aug 17 05:26:12 UTC 2010
> Is there a reason to move the groupdb file from
> %%PREFIX%%/etc/ to /etc ?
oops, is a mistake, fixed now
>
> It also looks like the path for the RRDs has changed.
> Are the old RRD files no longer compatible? Or should
> they moved to the new location?
RRDs compatible, is a mistake in the previous PR :-[
but, tuning nagios is not trivial, and users have their own settings
and port does not create this directory
diff -ruN net-mgmt/nagiosgraph/Makefile hizel/nagiosgraph/Makefile
--- net-mgmt/nagiosgraph/Makefile 2010-05-02 16:11:04.000000000 +0400
+++ hizel/nagiosgraph/Makefile 2010-08-06 14:42:55.000000000 +0400
@@ -6,7 +6,7 @@
#
PORTNAME= nagiosgraph
-PORTVERSION= 1.4.2
+PORTVERSION= 1.4.3
CATEGORIES= net-mgmt
MASTER_SITES= SF
@@ -30,14 +30,14 @@
PLIST_SUB= NAGIOSWWWDIR=${NAGIOSWWWDIR} PORTNAME=${PORTNAME}
post-patch:
- ${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!' ${WRKSRC}/etc/nagiosgraph.conf
+ @${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!' ${WRKSRC}/etc/nagiosgraph.conf
.for i in ${CGIFILES}
- ${REINPLACE_CMD} -e 's!/usr/bin/perl!${PERL}!g' -e 's!/usr/local!${PREFIX}!g' \
+ @${REINPLACE_CMD} -e 's!/usr/bin/perl!${PERL}!g' -e 's!/usr/local!${PREFIX}!g' \
-e 's!/opt/nagiosgraph/etc!${PREFIX}/etc/nagios/nagiosgraph!g' ${WRKSRC}/cgi/$i
.endfor
.for i in ${LIBFILES}
- ${REINPLACE_CMD} -e 's!/usr/bin/perl!${PERL}!g' -e 's!/usr/local!${PREFIX}!g' \
+ @${REINPLACE_CMD} -e 's!/usr/bin/perl!${PERL}!g' -e 's!/usr/local!${PREFIX}!g' \
-e 's!/opt/nagiosgraph/etc!${PREFIX}/etc/nagios/nagiosgraph!g' ${WRKSRC}/lib/$i
.endfor
diff -ruN net-mgmt/nagiosgraph/distinfo hizel/nagiosgraph/distinfo
--- net-mgmt/nagiosgraph/distinfo 2010-05-02 16:11:04.000000000 +0400
+++ hizel/nagiosgraph/distinfo 2010-08-06 14:42:55.000000000 +0400
@@ -1,3 +1,3 @@
-MD5 (nagiosgraph-1.4.2.tar.gz) = 085c01c1f2534d050b21815af1986282
-SHA256 (nagiosgraph-1.4.2.tar.gz) = 798509946bbfc0d4f63fbf0d988dde4a40dcea9c5f935ee9c1ebd27158dff210
-SIZE (nagiosgraph-1.4.2.tar.gz) = 108561
+MD5 (nagiosgraph-1.4.3.tar.gz) = e00ac92d9d51a7605e08617d19b64080
+SHA256 (nagiosgraph-1.4.3.tar.gz) = f5c75abc782020d150c99417316dc838b640480be6b481cdd791b528954cd74f
+SIZE (nagiosgraph-1.4.3.tar.gz) = 113534
diff -ruN net-mgmt/nagiosgraph/files/patch-etc-nagiosgraph.conf.in hizel/nagiosgraph/files/patch-etc-nagiosgraph.conf.in
--- net-mgmt/nagiosgraph/files/patch-etc-nagiosgraph.conf.in 2010-05-02 16:11:05.000000000 +0400
+++ hizel/nagiosgraph/files/patch-etc-nagiosgraph.conf.in 2010-08-16 20:01:24.000000000 +0400
@@ -1,5 +1,5 @@
---- etc/nagiosgraph.conf.orig 2010-04-27 08:14:25.000000000 +0000
-+++ etc/nagiosgraph.conf 2010-04-27 08:18:16.000000000 +0000
+--- nagiosgraph.conf.orig 2010-08-16 18:02:22.000000000 +0400
++++ nagiosgraph.conf 2010-08-16 18:01:55.000000000 +0400
@@ -8,19 +8,19 @@
# Author: (c) 2010 Matthew Wall
@@ -15,7 +15,8 @@
+perflog = /var/spool/nagios/perfdata.log
# Directory to store rrd database files
- rrddir = /var/nagiosgraph/rrd
+-rrddir = /var/nagiosgraph/rrd
++rrddir = /var/spool/nagios/rrd
# File containing regular expressions to identify service and perf data
-mapfile = /etc/nagiosgraph/map
More information about the freebsd-ports-bugs
mailing list