diff options
author | feld <feld@FreeBSD.org> | 2016-11-13 06:23:32 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2016-11-13 06:23:32 +0800 |
commit | f69f34359ac4b04576c4cc64d8634952afaba004 (patch) | |
tree | 270453cf63eeb778ff9a320c581143f2a7429960 /net-mgmt | |
parent | e6c1eb95415b9e8692b68f17225b6ff286c43b5b (diff) | |
download | freebsd-ports-gnome-f69f34359ac4b04576c4cc64d8634952afaba004.tar.gz freebsd-ports-gnome-f69f34359ac4b04576c4cc64d8634952afaba004.tar.zst freebsd-ports-gnome-f69f34359ac4b04576c4cc64d8634952afaba004.zip |
www/xymon-server: Fix example Apache config files
The example config files for Apache had nonsense variables strewn
throughout as we do not use the interactive build process for Xymon
which would replace them after asking the user a series of questions.
Sane defaults have been chosen to make the examples more useful to the
user.
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/xymon-server/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile index 96a481cd62e7..81597a4e3085 100644 --- a/net-mgmt/xymon-server/Makefile +++ b/net-mgmt/xymon-server/Makefile @@ -2,7 +2,7 @@ PORTNAME= xymon PORTVERSION= 4.3.27 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt www MASTER_SITES= SF/xymon/Xymon/${PORTVERSION} PKGNAMESUFFIX= -server${PKGNAMESUFFIX2} @@ -29,9 +29,8 @@ XYMONUSER?= xymon XYMONHOSTNAME?= xymon.example.com XYMONHOSTIP?= 127.0.0.1 -USES= cpe gmake shebangfix +USES= cpe gmake shebangfix ssl SHEBANG_FILES= ${WRKSRC}/xymond/xymonreports.sh.DIST ${WRKSRC}/build/upgrade430.sh -USE_OPENSSL= yes MAKE_JOBS_UNSAFE= yes CONFIGURE_ENV= MAKE=gmake MAKE_ENV+= XYMONUSER="${XYMONUSER}" @@ -73,6 +72,13 @@ post-patch: ${REINPLACE_CMD} -e 's|TRACEROUTE="traceroute"|TRACEROUTE="mtr -c 2 -n --report"|' ${WRKSRC}/xymond/etcfiles/xymonserver.cfg.DIST ${RM} ${WRKSRC}/docs/manpages/man1/xymonping.1.html ${RM} ${WRKSRC}/xymonnet/xymonping.1 + ${REINPLACE_CMD} -e 's|@CGIDIR@|${WWWDIR}/server/cgi-bin|g' \ + -e 's|@SECURECGIDIR@|${WWWDIR}/server/cgi-secure|g' \ + -e 's|@INSTALLETCDIR@|${WWWDIR}/server/etc|g' \ + -e 's|@INSTALLWWWDIR@|${WWWDIR}/server/www|g' \ + -e 's|@SECUREXYMONCGIURL@|/cgi-secure|g' \ + -e 's|@XYMONCGIURL@|/cgi-bin|g' \ + -e 's|@XYMONHOSTURL@|/xymon|g' ${WRKSRC}/xymond/etcfiles/xymon-apache-*.DIST # Configure script is interactive do-configure: |