diff options
| author | Beech Rintoul <beech@FreeBSD.org> | 2011-04-18 17:44:03 +0000 |
|---|---|---|
| committer | Beech Rintoul <beech@FreeBSD.org> | 2011-04-18 17:44:03 +0000 |
| commit | d653c9e943b3eb1b0c35c6ec0263e188515f8a7f (patch) | |
| tree | c67bb879c703b714ea0f94b4e4d4ef50468b1371 | |
| parent | Fix PKGORIGIN. (diff) | |
Update to 2.1.1
PR: ports/156395
Submitted by: Chris Rees (utisoft@gmail.com)(maintainer)
| -rw-r--r-- | sysutils/monitorix/Makefile | 14 | ||||
| -rw-r--r-- | sysutils/monitorix/distinfo | 4 |
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 |
