Update to 2.1.1
PR: ports/156395 Submitted by: Chris Rees (utisoft@gmail.com)(maintainer)
This commit is contained in:
parent
885e8b6427
commit
d653c9e943
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272889
2 changed files with 12 additions and 6 deletions
|
@ -6,8 +6,8 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= monitorix
|
PORTNAME= monitorix
|
||||||
PORTVERSION= 2.1.0
|
PORTVERSION= 2.1.1
|
||||||
PORTREVISION= 1
|
PORTREVISION?= 0
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= http://www.monitorix.org/ \
|
MASTER_SITES= http://www.monitorix.org/ \
|
||||||
http://www.bayofrum.net/dist/${PORTNAME}/
|
http://www.bayofrum.net/dist/${PORTNAME}/
|
||||||
|
@ -76,17 +76,23 @@ pre-everything::
|
||||||
@${ECHO_MSG} ""
|
@${ECHO_MSG} ""
|
||||||
|
|
||||||
post-patch:
|
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
|
.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
|
.endfor
|
||||||
# eth0 doesn't exist in FreeBSD! Also let's set our own paths.
|
# eth0 doesn't exist in FreeBSD! Also let's set our own paths.
|
||||||
|
# No iptables, so we'll disable PORT_GRAPH
|
||||||
@${REINPLACE_CMD} \
|
@${REINPLACE_CMD} \
|
||||||
-e 's|\($$BASE_DIR = "\)[^"]*|\1${WWWDIR}/|' \
|
-e 's|\($$BASE_DIR = "\)[^"]*|\1${WWWDIR}/|' \
|
||||||
-e 's|\($$BASE_LIB = "\)[^"]*|\1${DATADIR}/|' \
|
-e 's|\($$BASE_LIB = "\)[^"]*|\1${DATADIR}/|' \
|
||||||
-e 's|\($$BASE_CGI = "\)[^"]*|\1${CGIPATH}/|' \
|
-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|/var/lib/milter-greylist/db/|/var/milter-greylist/|" \
|
||||||
-e "s|eth0|lo0|g" \
|
-e "s|eth0|lo0|g" \
|
||||||
|
-e 's|\("port"[^Y]*\)Y|\1N|' \
|
||||||
${WRKSRC}/monitorix.conf
|
${WRKSRC}/monitorix.conf
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (monitorix-2.1.0.tar.gz) = 647b36ac80f15a805eecb68fc507334ebcbb0cb1fe7efd381eed6a7cf3bc0210
|
SHA256 (monitorix-2.1.1.tar.gz) = 2419593ae00d2a083e7f5258bfab840b48c87be799e8186a599c0a28f4508e33
|
||||||
SIZE (monitorix-2.1.0.tar.gz) = 85689
|
SIZE (monitorix-2.1.1.tar.gz) = 86289
|
||||||
|
|
Loading…
Reference in a new issue