From f0d6d472d863f75d1c92725ac8ab12ae93871c01 Mon Sep 17 00:00:00 2001 From: John Marino Date: Tue, 29 Jul 2014 01:37:42 +0000 Subject: [PATCH] Stage net-mgmt/routers2 and cleanup * stage support * use PORTDOCS (remove from pkg-plist) * use DOCS instead of NOPORTDOCS * get rid of 3 unnecessary for loops * properly handly /var/db/rddtool * Use @sample keyword * Use %%WWWDIR%% in pkg-plist PR: 191706 Submitted by: Dan Lukes Modified++: marino --- net-mgmt/routers2/Makefile | 49 +++-- net-mgmt/routers2/pkg-plist | 406 +++++++++++++++++------------------- 2 files changed, 220 insertions(+), 235 deletions(-) diff --git a/net-mgmt/routers2/Makefile b/net-mgmt/routers2/Makefile index da9c65c667c8..38a4a4740415 100644 --- a/net-mgmt/routers2/Makefile +++ b/net-mgmt/routers2/Makefile @@ -23,38 +23,37 @@ RUN_DEPENDS= p5-Convert-ASN1>=0:${PORTSDIR}/converters/p5-Convert-ASN1 \ ${LOCALBASE}/bin/mrtg:${PORTSDIR}/net-mgmt/mrtg WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION} - USES= perl5 - NO_BUILD= YES +PLIST_SUB= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} +PORTDOCS= * + +OPTIONS_DEFINE= DOCS + +.include -NO_STAGE= yes post-patch: - @${RM} ${WRKSRC}/extras/targetnames/BER.pm ${WRKSRC}/extras/targetnames/SNMP_*.pm - for file in routers2.cgi.pl routers2.conf ; do \ - ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/$$file; \ - done + @${RM} ${WRKSRC}/extras/targetnames/BER.pm \ + ${WRKSRC}/extras/targetnames/SNMP_*.pm + ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${WRKSRC}/routers2.cgi.pl ${WRKSRC}/routers2.conf do-install: - ${MKDIR} -m 755 ${PREFIX}/www/routers2 - ${MKDIR} -m 755 ${PREFIX}/www/routers2/rrdicons - ${MKDIR} -m 755 ${PREFIX}/www/routers2/graphs - ${MKDIR} -m 755 /var/db/rrdtool - ${CHOWN} ${WWWOWN}:${WWWGRP} /var/db/rrdtool - ${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/www/routers2/graphs - -.if !defined(NOPORTDOCS) - ${MKDIR} -m 755 ${DOCSDIR} - for file in CHANGES README doc/* ; do \ - ${INSTALL_DATA} ${WRKSRC}/$$file ${DOCSDIR}; \ - done + ${MKDIR} ${STAGEDIR}${PREFIX}/www/routers2 \ + ${STAGEDIR}${PREFIX}/www/routers2/rrdicons \ + ${STAGEDIR}${PREFIX}/www/routers2/graphs \ + ${STAGEDIR}/var/db/rrdtool + ${INSTALL_DATA} ${WRKSRC}/routers2.conf \ + ${STAGEDIR}${PREFIX}/etc/routers2.conf.sample + ${INSTALL_DATA} ${WRKSRC}/rrdicons/* \ + ${STAGEDIR}${PREFIX}/www/routers2/rrdicons + ${INSTALL_SCRIPT} ${WRKSRC}/routers2.cgi.pl \ + ${STAGEDIR}${PREFIX}/www/routers2/routers2.cgi +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}; \ + ${INSTALL_DATA} CHANGES README doc/* ${STAGEDIR}${DOCSDIR} .endif - ${INSTALL_DATA} ${WRKSRC}/routers2.conf ${PREFIX}/etc/routers2.conf.sample - ${INSTALL_DATA} ${WRKSRC}/rrdicons/* ${PREFIX}/www/routers2/rrdicons - ${INSTALL_SCRIPT} ${WRKSRC}/routers2.cgi.pl ${PREFIX}/www/routers2/routers2.cgi -# for file in mrtg cfgmaker indexmaker; do \ -# ${INSTALL_SCRIPT} ${WRKSRC}/bin/$$file ${PREFIX}/bin/; \ -# done #post-install: #.if !defined(BATCH) diff --git a/net-mgmt/routers2/pkg-plist b/net-mgmt/routers2/pkg-plist index 07ab0099b339..a28ffd2fe641 100644 --- a/net-mgmt/routers2/pkg-plist +++ b/net-mgmt/routers2/pkg-plist @@ -1,210 +1,196 @@ -etc/routers2.conf.sample -www/routers2/routers2.cgi -www/routers2/rrdicons/3com-sm.gif -www/routers2/rrdicons/aix-sm.gif -www/routers2/rrdicons/alert-grey-sm.gif -www/routers2/rrdicons/alert-sm.gif -www/routers2/rrdicons/altgif-ajezierski.gif -www/routers2/rrdicons/altgif-arslanagic.gif -www/routers2/rrdicons/altgif-default.gif -www/routers2/rrdicons/altgif-fancy.gif -www/routers2/rrdicons/altgif-jharbin.gif -www/routers2/rrdicons/altgif-keane.gif -www/routers2/rrdicons/altgif-ncsu.gif -www/routers2/rrdicons/altgif-simple.gif -www/routers2/rrdicons/altgif-wiese.gif -www/routers2/rrdicons/apache-sm.gif -www/routers2/rrdicons/apache2-sm.gif -www/routers2/rrdicons/archive-h.gif -www/routers2/rrdicons/archive.gif -www/routers2/rrdicons/book-sm.gif -www/routers2/rrdicons/delete.gif -www/routers2/rrdicons/book2-sm.gif -www/routers2/rrdicons/bookmark-bw.gif -www/routers2/rrdicons/bookmark.gif -www/routers2/rrdicons/calendar-sm.gif -www/routers2/rrdicons/camera-sm.gif -www/routers2/rrdicons/camera2-sm.gif -www/routers2/rrdicons/check-sm.gif -www/routers2/rrdicons/chip-sm.gif -www/routers2/rrdicons/cisco-sm.gif -www/routers2/rrdicons/clock-sm.gif -www/routers2/rrdicons/clock2-sm.gif -www/routers2/rrdicons/cog-sm.gif -www/routers2/rrdicons/comp2-sm.gif -www/routers2/rrdicons/compact-sm.gif -www/routers2/rrdicons/compaq-sm.gif -www/routers2/rrdicons/cpu-sm.gif -www/routers2/rrdicons/cross-sm.gif -www/routers2/rrdicons/cross-vsm.gif -www/routers2/rrdicons/csv-bw.gif -www/routers2/rrdicons/csv.gif -www/routers2/rrdicons/cube-sm.gif -www/routers2/rrdicons/db-sm.gif -www/routers2/rrdicons/README -www/routers2/rrdicons/dell-sm.gif -www/routers2/rrdicons/devices-dn-w.gif -www/routers2/rrdicons/devices-dn.gif -www/routers2/rrdicons/devices.gif -www/routers2/rrdicons/dir-sm.gif -www/routers2/rrdicons/disk-sm.gif -www/routers2/rrdicons/drop-sm.gif -www/routers2/rrdicons/error-lg.gif -www/routers2/rrdicons/error-sm.gif -www/routers2/rrdicons/error.gif -www/routers2/rrdicons/esx-sm.gif -www/routers2/rrdicons/firewall-sm.gif -www/routers2/rrdicons/firewall2-sm.gif -www/routers2/rrdicons/firewall3-sm.gif -www/routers2/rrdicons/flag-fin.gif -www/routers2/rrdicons/flag-swe.gif -www/routers2/rrdicons/flag-uk.gif -www/routers2/rrdicons/flag-usa.gif -www/routers2/rrdicons/flag-wales.gif -www/routers2/rrdicons/freebsd-sm.gif -www/routers2/rrdicons/g-sm.gif -www/routers2/rrdicons/link-interface-sm.gif -www/routers2/rrdicons/globe-sm.gif -www/routers2/rrdicons/graph-sm.gif -www/routers2/rrdicons/graphs-bw.gif -www/routers2/rrdicons/graphs.gif -www/routers2/rrdicons/group-sm.gif -www/routers2/rrdicons/heart-sm.gif -www/routers2/rrdicons/house-sm.gif -www/routers2/rrdicons/hp-sm.gif -www/routers2/rrdicons/ibm-sm.gif -www/routers2/rrdicons/ibm2-sm.gif -www/routers2/rrdicons/iis-sm.gif -www/routers2/rrdicons/incoming-sm.gif -www/routers2/rrdicons/index.html -www/routers2/rrdicons/info-sm.gif -www/routers2/rrdicons/info2-sm.gif -www/routers2/rrdicons/intel-sm.gif -www/routers2/rrdicons/intel2-sm.gif -www/routers2/rrdicons/interface-sm.gif -www/routers2/rrdicons/interface2-sm.gif -www/routers2/rrdicons/link-disk-sm.gif -www/routers2/rrdicons/link-general-sm.gif -www/routers2/rrdicons/link-sm.gif -www/routers2/rrdicons/link-interface2-sm.gif -www/routers2/rrdicons/linux-sm.gif -www/routers2/rrdicons/linux2-sm.gif -www/routers2/rrdicons/list-sm.gif -www/routers2/rrdicons/load-sm.gif -www/routers2/rrdicons/login.gif -www/routers2/rrdicons/logout.gif -www/routers2/rrdicons/mac-sm.gif -www/routers2/rrdicons/mail-sm.gif -www/routers2/rrdicons/mainmenu-bw.gif -www/routers2/rrdicons/mainmenu.gif -www/routers2/rrdicons/makeindex.pl -www/routers2/rrdicons/mandrake-sm.gif -www/routers2/rrdicons/menu-sm.gif -www/routers2/rrdicons/modem-sm.gif -www/routers2/rrdicons/modem2-sm.gif -www/routers2/rrdicons/mssql-sm.gif -www/routers2/rrdicons/net2-sm.gif -www/routers2/rrdicons/netcard-sm.gif -www/routers2/rrdicons/netdrive-sm.gif -www/routers2/rrdicons/news-sm.gif -www/routers2/rrdicons/nothing-sm.gif -www/routers2/rrdicons/note-sm.gif -www/routers2/rrdicons/novell-sm.gif -www/routers2/rrdicons/novell2-sm.gif -www/routers2/rrdicons/options-bw.gif -www/routers2/rrdicons/options-dn-bw.gif -www/routers2/rrdicons/options-dn-w.gif -www/routers2/rrdicons/options-dn.gif -www/routers2/rrdicons/options.gif -www/routers2/rrdicons/otherstuff-bw.gif -www/routers2/rrdicons/otherstuff.gif -www/routers2/rrdicons/outgoing-sm.gif -www/routers2/rrdicons/padlock-sm.gif -www/routers2/rrdicons/pbrush-sm.gif -www/routers2/rrdicons/pbrush2-sm.gif -www/routers2/rrdicons/pbrush3-sm.gif -www/routers2/rrdicons/pdf-sm.gif -www/routers2/rrdicons/people-sm.gif -www/routers2/rrdicons/phone-sm.gif -www/routers2/rrdicons/phone2-sm.gif -www/routers2/rrdicons/plus-sm.gif -www/routers2/rrdicons/prefs-sm.gif -www/routers2/rrdicons/printer-sm.gif -www/routers2/rrdicons/private-sm.gif -www/routers2/rrdicons/query-sm.gif -www/routers2/rrdicons/quill-sm.gif -www/routers2/rrdicons/refresh-bw.gif -www/routers2/rrdicons/refresh.gif -www/routers2/rrdicons/rescale.gif -www/routers2/rrdicons/router-sm.gif -www/routers2/rrdicons/router2-sm.gif -www/routers2/rrdicons/router3-sm.gif -www/routers2/rrdicons/routers2.css -www/routers2/rrdicons/routers2.gif -www/routers2/rrdicons/routers2print.css -www/routers2/rrdicons/rrdtool.gif -www/routers2/rrdicons/script-sm.gif -www/routers2/rrdicons/search-sm.gif -www/routers2/rrdicons/search2-sm.gif -www/routers2/rrdicons/server-sm.gif -www/routers2/rrdicons/server2-sm.gif -www/routers2/rrdicons/server3-sm.gif -www/routers2/rrdicons/unknown-sm.gif -www/routers2/rrdicons/solaris-sm.gif -www/routers2/rrdicons/sort-b-vsm.gif -www/routers2/rrdicons/sort-g-vsm.gif -www/routers2/rrdicons/speaker-sm.gif -www/routers2/rrdicons/star-sm.gif -www/routers2/rrdicons/star2-sm.gif -www/routers2/rrdicons/stop-sm.gif -www/routers2/rrdicons/styles-bw.gif -www/routers2/rrdicons/styles.gif -www/routers2/rrdicons/summary-sm.gif -www/routers2/rrdicons/sun-sm.gif -www/routers2/rrdicons/switch-sm.gif -www/routers2/rrdicons/switch2-sm.gif -www/routers2/rrdicons/switch3-sm.gif -www/routers2/rrdicons/switch4-sm.gif -www/routers2/rrdicons/target-sm.gif -www/routers2/rrdicons/target2-sm.gif -www/routers2/rrdicons/targets.gif -www/routers2/rrdicons/temp-sm.gif -www/routers2/rrdicons/tick-sm.gif -www/routers2/rrdicons/juniper-sm.gif -www/routers2/rrdicons/tick-vsm.gif -www/routers2/rrdicons/traffic-sm.gif -www/routers2/rrdicons/user-sm.gif -www/routers2/rrdicons/web-sm.gif -www/routers2/rrdicons/win-sm.gif -www/routers2/rrdicons/win2-sm.gif -www/routers2/rrdicons/win2k-sm.gif -www/routers2/rrdicons/winme-sm.gif -www/routers2/rrdicons/winxp-sm.gif -www/routers2/rrdicons/www-sm.gif -www/routers2/rrdicons/zoomin-bw.gif -www/routers2/rrdicons/zoomin.gif -www/routers2/rrdicons/zoomout-bw.gif -www/routers2/rrdicons/zoomout.gif -%%PORTDOCS%%%%DOCSDIR%%/CHANGES -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/PERFORMANCE -%%PORTDOCS%%%%DOCSDIR%%/AUTHENTICATION -%%PORTDOCS%%%%DOCSDIR%%/BUGS -%%PORTDOCS%%%%DOCSDIR%%/EXAMPLES -%%PORTDOCS%%%%DOCSDIR%%/HOWTO -%%PORTDOCS%%%%DOCSDIR%%/INSTALL -%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt -%%PORTDOCS%%%%DOCSDIR%%/LANGUAGE -%%PORTDOCS%%%%DOCSDIR%%/LICENSE -%%PORTDOCS%%%%DOCSDIR%%/MRTG_INFO -%%PORTDOCS%%%%DOCSDIR%%/PROBLEMS -%%PORTDOCS%%%%DOCSDIR%%/ROUTERS_CONF -%%PORTDOCS%%%%DOCSDIR%%/SECURITY -%%PORTDOCS%%%%DOCSDIR%%/STYLESHEETS -%%PORTDOCS%%%%DOCSDIR%%/UPGRADING -%%PORTDOCS%%%%DOCSDIR%%/WINDOWS -%%PORTDOCS%%%%DOCSDIR%%/WISHLIST -@dirrm www/routers2/graphs -@dirrm www/routers2/rrdicons -@dirrm www/routers2 -%%PORTDOCS%%@dirrm %%DOCSDIR%% +@sample etc/routers2.conf.sample +@owner %%WWWOWN%% +@group %%WWWGRP%% +%%WWWDIR%%/routers2.cgi +%%WWWDIR%%/rrdicons/3com-sm.gif +%%WWWDIR%%/rrdicons/aix-sm.gif +%%WWWDIR%%/rrdicons/alert-grey-sm.gif +%%WWWDIR%%/rrdicons/alert-sm.gif +%%WWWDIR%%/rrdicons/altgif-ajezierski.gif +%%WWWDIR%%/rrdicons/altgif-arslanagic.gif +%%WWWDIR%%/rrdicons/altgif-default.gif +%%WWWDIR%%/rrdicons/altgif-fancy.gif +%%WWWDIR%%/rrdicons/altgif-jharbin.gif +%%WWWDIR%%/rrdicons/altgif-keane.gif +%%WWWDIR%%/rrdicons/altgif-ncsu.gif +%%WWWDIR%%/rrdicons/altgif-simple.gif +%%WWWDIR%%/rrdicons/altgif-wiese.gif +%%WWWDIR%%/rrdicons/apache-sm.gif +%%WWWDIR%%/rrdicons/apache2-sm.gif +%%WWWDIR%%/rrdicons/archive-h.gif +%%WWWDIR%%/rrdicons/archive.gif +%%WWWDIR%%/rrdicons/book-sm.gif +%%WWWDIR%%/rrdicons/delete.gif +%%WWWDIR%%/rrdicons/book2-sm.gif +%%WWWDIR%%/rrdicons/bookmark-bw.gif +%%WWWDIR%%/rrdicons/bookmark.gif +%%WWWDIR%%/rrdicons/calendar-sm.gif +%%WWWDIR%%/rrdicons/camera-sm.gif +%%WWWDIR%%/rrdicons/camera2-sm.gif +%%WWWDIR%%/rrdicons/check-sm.gif +%%WWWDIR%%/rrdicons/chip-sm.gif +%%WWWDIR%%/rrdicons/cisco-sm.gif +%%WWWDIR%%/rrdicons/clock-sm.gif +%%WWWDIR%%/rrdicons/clock2-sm.gif +%%WWWDIR%%/rrdicons/cog-sm.gif +%%WWWDIR%%/rrdicons/comp2-sm.gif +%%WWWDIR%%/rrdicons/compact-sm.gif +%%WWWDIR%%/rrdicons/compaq-sm.gif +%%WWWDIR%%/rrdicons/cpu-sm.gif +%%WWWDIR%%/rrdicons/cross-sm.gif +%%WWWDIR%%/rrdicons/cross-vsm.gif +%%WWWDIR%%/rrdicons/csv-bw.gif +%%WWWDIR%%/rrdicons/csv.gif +%%WWWDIR%%/rrdicons/cube-sm.gif +%%WWWDIR%%/rrdicons/db-sm.gif +%%WWWDIR%%/rrdicons/README +%%WWWDIR%%/rrdicons/dell-sm.gif +%%WWWDIR%%/rrdicons/devices-dn-w.gif +%%WWWDIR%%/rrdicons/devices-dn.gif +%%WWWDIR%%/rrdicons/devices.gif +%%WWWDIR%%/rrdicons/dir-sm.gif +%%WWWDIR%%/rrdicons/disk-sm.gif +%%WWWDIR%%/rrdicons/drop-sm.gif +%%WWWDIR%%/rrdicons/error-lg.gif +%%WWWDIR%%/rrdicons/error-sm.gif +%%WWWDIR%%/rrdicons/error.gif +%%WWWDIR%%/rrdicons/esx-sm.gif +%%WWWDIR%%/rrdicons/firewall-sm.gif +%%WWWDIR%%/rrdicons/firewall2-sm.gif +%%WWWDIR%%/rrdicons/firewall3-sm.gif +%%WWWDIR%%/rrdicons/flag-fin.gif +%%WWWDIR%%/rrdicons/flag-swe.gif +%%WWWDIR%%/rrdicons/flag-uk.gif +%%WWWDIR%%/rrdicons/flag-usa.gif +%%WWWDIR%%/rrdicons/flag-wales.gif +%%WWWDIR%%/rrdicons/freebsd-sm.gif +%%WWWDIR%%/rrdicons/g-sm.gif +%%WWWDIR%%/rrdicons/link-interface-sm.gif +%%WWWDIR%%/rrdicons/globe-sm.gif +%%WWWDIR%%/rrdicons/graph-sm.gif +%%WWWDIR%%/rrdicons/graphs-bw.gif +%%WWWDIR%%/rrdicons/graphs.gif +%%WWWDIR%%/rrdicons/group-sm.gif +%%WWWDIR%%/rrdicons/heart-sm.gif +%%WWWDIR%%/rrdicons/house-sm.gif +%%WWWDIR%%/rrdicons/hp-sm.gif +%%WWWDIR%%/rrdicons/ibm-sm.gif +%%WWWDIR%%/rrdicons/ibm2-sm.gif +%%WWWDIR%%/rrdicons/iis-sm.gif +%%WWWDIR%%/rrdicons/incoming-sm.gif +%%WWWDIR%%/rrdicons/index.html +%%WWWDIR%%/rrdicons/info-sm.gif +%%WWWDIR%%/rrdicons/info2-sm.gif +%%WWWDIR%%/rrdicons/intel-sm.gif +%%WWWDIR%%/rrdicons/intel2-sm.gif +%%WWWDIR%%/rrdicons/interface-sm.gif +%%WWWDIR%%/rrdicons/interface2-sm.gif +%%WWWDIR%%/rrdicons/link-disk-sm.gif +%%WWWDIR%%/rrdicons/link-general-sm.gif +%%WWWDIR%%/rrdicons/link-sm.gif +%%WWWDIR%%/rrdicons/link-interface2-sm.gif +%%WWWDIR%%/rrdicons/linux-sm.gif +%%WWWDIR%%/rrdicons/linux2-sm.gif +%%WWWDIR%%/rrdicons/list-sm.gif +%%WWWDIR%%/rrdicons/load-sm.gif +%%WWWDIR%%/rrdicons/login.gif +%%WWWDIR%%/rrdicons/logout.gif +%%WWWDIR%%/rrdicons/mac-sm.gif +%%WWWDIR%%/rrdicons/mail-sm.gif +%%WWWDIR%%/rrdicons/mainmenu-bw.gif +%%WWWDIR%%/rrdicons/mainmenu.gif +%%WWWDIR%%/rrdicons/makeindex.pl +%%WWWDIR%%/rrdicons/mandrake-sm.gif +%%WWWDIR%%/rrdicons/menu-sm.gif +%%WWWDIR%%/rrdicons/modem-sm.gif +%%WWWDIR%%/rrdicons/modem2-sm.gif +%%WWWDIR%%/rrdicons/mssql-sm.gif +%%WWWDIR%%/rrdicons/net2-sm.gif +%%WWWDIR%%/rrdicons/netcard-sm.gif +%%WWWDIR%%/rrdicons/netdrive-sm.gif +%%WWWDIR%%/rrdicons/news-sm.gif +%%WWWDIR%%/rrdicons/nothing-sm.gif +%%WWWDIR%%/rrdicons/note-sm.gif +%%WWWDIR%%/rrdicons/novell-sm.gif +%%WWWDIR%%/rrdicons/novell2-sm.gif +%%WWWDIR%%/rrdicons/options-bw.gif +%%WWWDIR%%/rrdicons/options-dn-bw.gif +%%WWWDIR%%/rrdicons/options-dn-w.gif +%%WWWDIR%%/rrdicons/options-dn.gif +%%WWWDIR%%/rrdicons/options.gif +%%WWWDIR%%/rrdicons/otherstuff-bw.gif +%%WWWDIR%%/rrdicons/otherstuff.gif +%%WWWDIR%%/rrdicons/outgoing-sm.gif +%%WWWDIR%%/rrdicons/padlock-sm.gif +%%WWWDIR%%/rrdicons/pbrush-sm.gif +%%WWWDIR%%/rrdicons/pbrush2-sm.gif +%%WWWDIR%%/rrdicons/pbrush3-sm.gif +%%WWWDIR%%/rrdicons/pdf-sm.gif +%%WWWDIR%%/rrdicons/people-sm.gif +%%WWWDIR%%/rrdicons/phone-sm.gif +%%WWWDIR%%/rrdicons/phone2-sm.gif +%%WWWDIR%%/rrdicons/plus-sm.gif +%%WWWDIR%%/rrdicons/prefs-sm.gif +%%WWWDIR%%/rrdicons/printer-sm.gif +%%WWWDIR%%/rrdicons/private-sm.gif +%%WWWDIR%%/rrdicons/query-sm.gif +%%WWWDIR%%/rrdicons/quill-sm.gif +%%WWWDIR%%/rrdicons/refresh-bw.gif +%%WWWDIR%%/rrdicons/refresh.gif +%%WWWDIR%%/rrdicons/rescale.gif +%%WWWDIR%%/rrdicons/router-sm.gif +%%WWWDIR%%/rrdicons/router2-sm.gif +%%WWWDIR%%/rrdicons/router3-sm.gif +%%WWWDIR%%/rrdicons/routers2.css +%%WWWDIR%%/rrdicons/routers2.gif +%%WWWDIR%%/rrdicons/routers2print.css +%%WWWDIR%%/rrdicons/rrdtool.gif +%%WWWDIR%%/rrdicons/script-sm.gif +%%WWWDIR%%/rrdicons/search-sm.gif +%%WWWDIR%%/rrdicons/search2-sm.gif +%%WWWDIR%%/rrdicons/server-sm.gif +%%WWWDIR%%/rrdicons/server2-sm.gif +%%WWWDIR%%/rrdicons/server3-sm.gif +%%WWWDIR%%/rrdicons/unknown-sm.gif +%%WWWDIR%%/rrdicons/solaris-sm.gif +%%WWWDIR%%/rrdicons/sort-b-vsm.gif +%%WWWDIR%%/rrdicons/sort-g-vsm.gif +%%WWWDIR%%/rrdicons/speaker-sm.gif +%%WWWDIR%%/rrdicons/star-sm.gif +%%WWWDIR%%/rrdicons/star2-sm.gif +%%WWWDIR%%/rrdicons/stop-sm.gif +%%WWWDIR%%/rrdicons/styles-bw.gif +%%WWWDIR%%/rrdicons/styles.gif +%%WWWDIR%%/rrdicons/summary-sm.gif +%%WWWDIR%%/rrdicons/sun-sm.gif +%%WWWDIR%%/rrdicons/switch-sm.gif +%%WWWDIR%%/rrdicons/switch2-sm.gif +%%WWWDIR%%/rrdicons/switch3-sm.gif +%%WWWDIR%%/rrdicons/switch4-sm.gif +%%WWWDIR%%/rrdicons/target-sm.gif +%%WWWDIR%%/rrdicons/target2-sm.gif +%%WWWDIR%%/rrdicons/targets.gif +%%WWWDIR%%/rrdicons/temp-sm.gif +%%WWWDIR%%/rrdicons/tick-sm.gif +%%WWWDIR%%/rrdicons/juniper-sm.gif +%%WWWDIR%%/rrdicons/tick-vsm.gif +%%WWWDIR%%/rrdicons/traffic-sm.gif +%%WWWDIR%%/rrdicons/user-sm.gif +%%WWWDIR%%/rrdicons/web-sm.gif +%%WWWDIR%%/rrdicons/win-sm.gif +%%WWWDIR%%/rrdicons/win2-sm.gif +%%WWWDIR%%/rrdicons/win2k-sm.gif +%%WWWDIR%%/rrdicons/winme-sm.gif +%%WWWDIR%%/rrdicons/winxp-sm.gif +%%WWWDIR%%/rrdicons/www-sm.gif +%%WWWDIR%%/rrdicons/zoomin-bw.gif +%%WWWDIR%%/rrdicons/zoomin.gif +%%WWWDIR%%/rrdicons/zoomout-bw.gif +%%WWWDIR%%/rrdicons/zoomout.gif +@owner +@group +@dirrm %%WWWDIR%%/graphs +@dirrm %%WWWDIR%%/rrdicons +@dirrm %%WWWDIR%% +@exec mkdir -p /var/db/rrdtool; chown %%WWWOWN%%:%%WWWGRP%% /var/db/rrdtool +@unexec rmdir /var/db/rrdtool >/dev/null 2>&1 || :