diff options
author | feld <feld@FreeBSD.org> | 2016-05-24 22:30:58 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2016-05-24 22:30:58 +0800 |
commit | fd55775d7f59f2634cf525b1656cb51d62345ba5 (patch) | |
tree | 3826bc277b5537e11d87d2085aea7d239c9a6432 /net-mgmt | |
parent | edba76ee9f647dca38aa60017d8f2167be2e65a8 (diff) | |
download | freebsd-ports-gnome-fd55775d7f59f2634cf525b1656cb51d62345ba5.tar.gz freebsd-ports-gnome-fd55775d7f59f2634cf525b1656cb51d62345ba5.tar.zst freebsd-ports-gnome-fd55775d7f59f2634cf525b1656cb51d62345ba5.zip |
net-mgmt/xymon-server: Modernize port
Clean up pkg-plist
Move @exec to post-install
Reported by: bapt
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/xymon-server/Makefile | 17 | ||||
-rw-r--r-- | net-mgmt/xymon-server/pkg-plist | 70 |
2 files changed, 36 insertions, 51 deletions
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile index 70f4bc5ccbde..a1d74df40208 100644 --- a/net-mgmt/xymon-server/Makefile +++ b/net-mgmt/xymon-server/Makefile @@ -79,7 +79,22 @@ do-configure: ${CP} ${FILESDIR}/Makefile ${WRKSRC}/ post-install: - ${MKDIR} ${STAGEDIR}${WWWDIR}/server/etc + ${MKDIR} ${STAGEDIR}${WWWDIR}/data + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/acks + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/data + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/disabled + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/hist + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/histlogs + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/hostdata + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/logs + ${MKDIR} ${STAGEDIR}${WWWDIR}/data/rrd + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/download + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/tmp + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/www/html + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/www/notes + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/www/rep + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/www/snap + ${MKDIR} ${STAGEDIR}${WWWDIR}/server/www/wml ${LN} -s ${LOCALBASE}/sbin/fping ${STAGEDIR}${WWWDIR}/server/bin/xymonping ${INSTALL_SCRIPT} ${WRKSRC}/build/upgrade430.sh ${STAGEDIR}${WWWDIR}/server/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/build/renamevars ${STAGEDIR}${WWWDIR}/server/bin/ diff --git a/net-mgmt/xymon-server/pkg-plist b/net-mgmt/xymon-server/pkg-plist index 042cfa0025b5..694b96ad52ed 100644 --- a/net-mgmt/xymon-server/pkg-plist +++ b/net-mgmt/xymon-server/pkg-plist @@ -427,54 +427,24 @@ man/man8/xymonproxy.8 %%WWWDIR%%/server/www/menu/xymonmenu-blue.css %%WWWDIR%%/server/www/menu/xymonmenu-grey.css %%WWWDIR%%/server/xymon.sh -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/acks -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/data -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/disabled -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/hist -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/histlogs -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/hostdata -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/logs -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/data/rrd -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/download -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/tmp -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/html -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/notes -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/rep -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/snap -@exec install -d -o %%XYMONUSER%% %D/%%WWWDIR%%/server/www/wml -@exec chown %%XYMONUSER%% %D/%%WWWDIR%%/server/www -@dir %%WWWDIR%%/server/www/wml -@dir %%WWWDIR%%/server/www/snap -@dir %%WWWDIR%%/server/www/rep -@dir %%WWWDIR%%/server/www/notes -@dir %%WWWDIR%%/server/www/menu -@dir %%WWWDIR%%/server/www/html -@dir %%WWWDIR%%/server/www/help/manpages/man8 -@dir %%WWWDIR%%/server/www/help/manpages/man7 -@dir %%WWWDIR%%/server/www/help/manpages/man5 -@dir %%WWWDIR%%/server/www/help/manpages/man1 -@dir %%WWWDIR%%/server/www/help/manpages -@dir %%WWWDIR%%/server/www/help -@dir %%WWWDIR%%/server/www/gifs -@dir %%WWWDIR%%/server/www -@dir %%WWWDIR%%/server/web -@dir %%WWWDIR%%/server/tmp -@dir %%WWWDIR%%/server/ext -@dir %%WWWDIR%%/server/etc/tasks.d -@dir %%WWWDIR%%/server/etc -@dir %%WWWDIR%%/server/download -@dir %%WWWDIR%%/server/bin -@dir %%WWWDIR%%/server -@dir %%WWWDIR%%/data/rrd -@dir %%WWWDIR%%/data/logs -@dir %%WWWDIR%%/data/hostdata -@dir %%WWWDIR%%/data/histlogs -@dir %%WWWDIR%%/data/hist -@dir %%WWWDIR%%/data/disabled -@dir %%WWWDIR%%/data/data +@owner %%XYMONUSER%% @dir %%WWWDIR%%/data/acks -@dir %%WWWDIR%%/data -@dir %%WWWDIR%%/cgi-secure -@dir %%WWWDIR%%/cgi-bin -@dir %%WWWDIR%% +@dir %%WWWDIR%%/data/data +@dir %%WWWDIR%%/data/disabled +@dir %%WWWDIR%%/data/hist +@dir %%WWWDIR%%/data/histlogs +@dir %%WWWDIR%%/data/hostdata +@dir %%WWWDIR%%/data/logs +@dir %%WWWDIR%%/data/rrd +@dir %%WWWDIR%%/server/download +@owner +@dir %%WWWDIR%%/server/etc/tasks.d +@owner %%XYMONUSER%% +@dir %%WWWDIR%%/server/tmp +@dir %%WWWDIR%%/server/www +@dir %%WWWDIR%%/server/www/html +@dir %%WWWDIR%%/server/www/notes +@dir %%WWWDIR%%/server/www/rep +@dir %%WWWDIR%%/server/www/snap +@dir %%WWWDIR%%/server/www/wml +@owner |