aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2011-04-19 01:44:03 +0800
committerbeech <beech@FreeBSD.org>2011-04-19 01:44:03 +0800
commit822c7c2b2ea3825213464b3a27b53e9fcaea186c (patch)
tree7992845661a453c394e10adf9f57b1018d04cee6 /sysutils
parent3388b19431b7299a41d79357ad2eb369e66b0816 (diff)
downloadfreebsd-ports-gnome-822c7c2b2ea3825213464b3a27b53e9fcaea186c.tar.gz
freebsd-ports-gnome-822c7c2b2ea3825213464b3a27b53e9fcaea186c.tar.zst
freebsd-ports-gnome-822c7c2b2ea3825213464b3a27b53e9fcaea186c.zip
Update to 2.1.1
PR: ports/156395 Submitted by: Chris Rees (utisoft@gmail.com)(maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/monitorix/Makefile14
-rw-r--r--sysutils/monitorix/distinfo4
2 files changed, 12 insertions, 6 deletions
diff --git a/sysutils/monitorix/Makefile b/sysutils/monitorix/Makefile
index 0a5c5a78a19f..6f1a54d82d7d 100644
--- a/sysutils/monitorix/Makefile
+++ b/sysutils/monitorix/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= monitorix
-PORTVERSION= 2.1.0
-PORTREVISION= 1
+PORTVERSION= 2.1.1
+PORTREVISION?= 0
CATEGORIES= sysutils
MASTER_SITES= http://www.monitorix.org/ \
http://www.bayofrum.net/dist/${PORTNAME}/
@@ -76,17 +76,23 @@ pre-everything::
@${ECHO_MSG} ""
post-patch:
-# Set FreeBSD path for perl in shebang
+# Set FreeBSD path for perl in shebang and absolute sysctl so as not to break
+# in cgi-bin
.for f in monitorix.cgi monitorix.conf monitorix reports/send_reports
- @${REINPLACE_CMD} -e "1s|^\(#!\).*|\1${PERL}|" ${WRKSRC}/${f}
+ @${REINPLACE_CMD} -e "1s|^\(#!\).*|\1${PERL}|" \
+ -e 's|"\(sysctl\)|"/sbin/\1|' \
+ ${WRKSRC}/${f}
.endfor
# eth0 doesn't exist in FreeBSD! Also let's set our own paths.
+# No iptables, so we'll disable PORT_GRAPH
@${REINPLACE_CMD} \
-e 's|\($$BASE_DIR = "\)[^"]*|\1${WWWDIR}/|' \
-e 's|\($$BASE_LIB = "\)[^"]*|\1${DATADIR}/|' \
-e 's|\($$BASE_CGI = "\)[^"]*|\1${CGIPATH}/|' \
+ -e 's|\($$SECURE_LOG= "\)[^"]*|\1/var/log/auth.log|' \
-e "s|/var/lib/milter-greylist/db/|/var/milter-greylist/|" \
-e "s|eth0|lo0|g" \
+ -e 's|\("port"[^Y]*\)Y|\1N|' \
${WRKSRC}/monitorix.conf
do-install:
diff --git a/sysutils/monitorix/distinfo b/sysutils/monitorix/distinfo
index 3ae58a3c11c9..6b3b7ca518fa 100644
--- a/sysutils/monitorix/distinfo
+++ b/sysutils/monitorix/distinfo
@@ -1,2 +1,2 @@
-SHA256 (monitorix-2.1.0.tar.gz) = 647b36ac80f15a805eecb68fc507334ebcbb0cb1fe7efd381eed6a7cf3bc0210
-SIZE (monitorix-2.1.0.tar.gz) = 85689
+SHA256 (monitorix-2.1.1.tar.gz) = 2419593ae00d2a083e7f5258bfab840b48c87be799e8186a599c0a28f4508e33
+SIZE (monitorix-2.1.1.tar.gz) = 86289