1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

net-mgmt/netdot: update to 1.0.6 and support stage

PR:		189447
Submitted by:	maintainer
This commit is contained in:
William Grzybowski 2014-07-07 13:28:39 +00:00
parent 2c67b137b0
commit 857d72a021
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361083
4 changed files with 224 additions and 66 deletions

View File

@ -2,12 +2,12 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= netdot PORTNAME= netdot
PORTVERSION= 1.0.4 PORTVERSION= 1.0.6
CATEGORIES= net-mgmt CATEGORIES= net-mgmt
MASTER_SITES= http://netdot.uoregon.edu/pub/dists/ MASTER_SITES= http://netdot.uoregon.edu/pub/dists/
MAINTAINER= nick@foobar.org MAINTAINER= nick@foobar.org
COMMENT= An open source tool to organize and maintain network information COMMENT= Open source tool to organize and maintain network information
LICENSE= GPLv2 LICENSE= GPLv2
@ -20,14 +20,13 @@ RUN_DEPENDS= p5-libapreq2>=0:${PORTSDIR}/www/p5-libapreq2 \
p5-SQL-Translator>=0.07:${PORTSDIR}/databases/p5-SQL-Translator \ p5-SQL-Translator>=0.07:${PORTSDIR}/databases/p5-SQL-Translator \
p5-Class-DBI>=3.0.17:${PORTSDIR}/databases/p5-Class-DBI \ p5-Class-DBI>=3.0.17:${PORTSDIR}/databases/p5-Class-DBI \
p5-Class-DBI-AbstractSearch>=0:${PORTSDIR}/databases/p5-Class-DBI-AbstractSearch \ p5-Class-DBI-AbstractSearch>=0:${PORTSDIR}/databases/p5-Class-DBI-AbstractSearch \
p5-DBIx-DataSource>=0:${PORTSDIR}/databases/p5-DBIx-DataSource \
p5-SNMP-Info>=2.06:${PORTSDIR}/net-mgmt/p5-SNMP-Info \ p5-SNMP-Info>=2.06:${PORTSDIR}/net-mgmt/p5-SNMP-Info \
p5-HTML-Mason>=1.31:${PORTSDIR}/www/p5-HTML-Mason \ p5-HTML-Mason>=1.31:${PORTSDIR}/www/p5-HTML-Mason \
p5-Log-Dispatch>=0:${PORTSDIR}/devel/p5-Log-Dispatch \ p5-Log-Dispatch>=0:${PORTSDIR}/devel/p5-Log-Dispatch \
p5-Log-Log4perl>=0:${PORTSDIR}/devel/p5-Log-Log4perl \ p5-Log-Log4perl>=0:${PORTSDIR}/devel/p5-Log-Log4perl \
p5-Parallel-ForkManager>=0:${PORTSDIR}/devel/p5-Parallel-ForkManager \ p5-Parallel-ForkManager>=0:${PORTSDIR}/devel/p5-Parallel-ForkManager \
p5-Net-IRR>=0:${PORTSDIR}/net/p5-Net-IRR \ p5-Net-IRR>=0:${PORTSDIR}/net/p5-Net-IRR \
p5-NetAddr-IP>=0:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \ p5-NetAddr-IP>=4.042:${PORTSDIR}/net-mgmt/p5-NetAddr-IP \
p5-Net-Patricia>=1.20:${PORTSDIR}/net/p5-Net-Patricia \ p5-Net-Patricia>=1.20:${PORTSDIR}/net/p5-Net-Patricia \
p5-Net-Appliance-Session>=3.113.610:${PORTSDIR}/net/p5-Net-Appliance-Session \ p5-Net-Appliance-Session>=3.113.610:${PORTSDIR}/net/p5-Net-Appliance-Session \
p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \ p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
@ -51,13 +50,11 @@ SUB_LIST= WWWDIR="${WWWDIR}" \
CHOWN="${CHOWN}" \ CHOWN="${CHOWN}" \
CHMOD="${CHMOD}" CHMOD="${CHMOD}"
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
NO_STAGE= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
INSTALL_TARGET= install \ INSTALL_TARGET= install \
PREFIX=${WWWDIR} \ PREFIX=${WWWDIR} \
STAGEDIR=${STAGEDIR}${WWWDIR} \
APACHEUSER=${WWWOWN} \ APACHEUSER=${WWWOWN} \
APACHEGROUP=${WWWGRP} APACHEGROUP=${WWWGRP}
@ -67,17 +64,16 @@ post-patch:
post-install: post-install:
.for f in export/bind export/dhcpd export/ethers export/rancid export/smokeping export/sysmon htdocs/img/graphs lib/Netdot/Manual tmp/sessions/locks htdocs/masondata/cache .for f in export/bind export/dhcpd export/ethers export/rancid export/smokeping export/sysmon htdocs/img/graphs lib/Netdot/Manual tmp/sessions/locks htdocs/masondata/cache
@${TOUCH} ${WWWDIR}/${f}/.keep-me @${TOUCH} ${STAGEDIR}${WWWDIR}/${f}/.keep-me
.endfor .endfor
.for f in initdb .for f in initdb
${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${WWWDIR}/bin/${f} ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${WWWDIR}/bin/${f}
.endfor .endfor
${MKDIR} ${WWWDIR}/upgrade ${MKDIR} ${STAGEDIR}${WWWDIR}/upgrade
.for f in Makefile updatedb upgrade-tasks .for f in Makefile updatedb upgrade-tasks
${INSTALL_SCRIPT} ${WRKSRC}/upgrade/${f} ${WWWDIR}/upgrade/${f} ${INSTALL_SCRIPT} ${WRKSRC}/upgrade/${f} ${STAGEDIR}${WWWDIR}/upgrade/${f}
.endfor .endfor
${INSTALL_DATA} ${WRKSRC}/netdot.cron ${WWWDIR}/etc/netdot.cron ${INSTALL_DATA} ${WRKSRC}/netdot.cron ${STAGEDIR}${WWWDIR}/etc/netdot.cron
${INSTALL_DATA} ${WRKSRC}/etc/default_data ${WWWDIR}/etc/default_data ${INSTALL_DATA} ${WRKSRC}/etc/default_data ${STAGEDIR}${WWWDIR}/etc/default_data
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
SHA256 (netdot-1.0.4.tar.gz) = e474005f90514e452b25cb886e2d6a16b488e008fa67e05ade70e45e24490908 SHA256 (netdot-1.0.6.tar.gz) = 0b1d98f8bf2a92901a290cf6689880fe9e98790bb54d95e7747d67b92783501e
SIZE (netdot-1.0.4.tar.gz) = 2193923 SIZE (netdot-1.0.6.tar.gz) = 2208181

View File

@ -0,0 +1,158 @@
diff -bur Makefile.orig Makefile
--- Makefile.orig 2013-12-19 15:09:48.000000000 +0000
+++ Makefile 2014-06-29 16:27:32.000000000 +0100
@@ -7,7 +7,8 @@
# Netdot Makefile
#
PERL ?= /usr/bin/perl
-PREFIX ?= /usr/local/netdot
+PREFIX ?= /usr/local/www/netdot
+STAGEDIR ?= $(PREFIX)
APACHEUSER ?= apache
APACHEGROUP ?= apache
MAKE ?= make
@@ -23,6 +24,7 @@
@echo
@echo " PERL = $(PERL)"
@echo " PREFIX = $(PREFIX)"
+ @echo " STAGEDIR = $(STAGEDIR)"
@echo " APACHEUSER = $(APACHEUSER)"
@echo " APACHEGROUP = $(APACHEGROUP)"
@echo " MAKE = $(MAKE)"
@@ -88,14 +90,14 @@
@echo "Creating necessary directories..."
echo $(PREFIX) > ./.prefix
for dir in $(DIR); do \
- if test -d $(PREFIX)/$$dir; then \
- echo "Skipping dir $(PREFIX)/$$dir; already exists"; \
+ if test -d $(STAGEDIR)/$$dir; then \
+ echo "Skipping dir $(STAGEDIR)/$$dir; already exists"; \
else \
- mkdir -m $(DMOD) -p $(PREFIX)/$$dir ; \
+ mkdir -m $(DMOD) -p $(STAGEDIR)/$$dir ; \
fi ; \
done
- chown -R $(APACHEUSER):$(APACHEGROUP) $(PREFIX)/tmp
- chmod 750 $(PREFIX)/tmp
+ chown -R $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/tmp
+ chmod 750 $(STAGEDIR)/tmp
htdocs:
cd $@ ; $(MAKE) all DIR=$@
diff -bur doc/Makefile.orig doc/Makefile
--- doc/Makefile.orig 2011-09-23 16:00:36.000000000 +0100
+++ doc/Makefile 2014-06-29 16:32:27.000000000 +0100
@@ -11,8 +11,8 @@
$(substitute)
for dir in $(NDIR); do \
- chown $(APACHEUSER):$(APACHEGROUP) $(PREFIX)/$(DIR)/$$dir; \
- chmod 0755 $(PREFIX)/$(DIR)/$$dir; \
+ chown $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/$(DIR)/$$dir; \
+ chmod 0755 $(STAGEDIR)/$(DIR)/$$dir; \
done
# This section creates the doc/ subdirs
diff -bur etc/utility-Makefile.orig etc/utility-Makefile
--- etc/utility-Makefile.orig 2012-07-13 19:17:17.000000000 +0100
+++ etc/utility-Makefile 2014-06-29 16:37:23.000000000 +0100
@@ -17,6 +17,7 @@
# Defaults
REPLACE_PREFIX = $(PREFIX)
+REPLACE_STAGEDIR=$(STAGEDIR)
REPLACE_LIB = $(REPLACE_PREFIX)/lib
REPLACE_ETC = $(REPLACE_PREFIX)/etc
REPLACE_PERL = $(PERL)
@@ -41,7 +42,7 @@
for file in $(FILES); do\
$(SED) -r $(REPLACEMENT_EXPRESSIONS) $$file\
> $$file.tmp;\
- install -m $(FMOD) $$file.tmp $(PREFIX)/$(DIR)/$$file;\
+ install -m $(FMOD) $$file.tmp $(STAGEDIR)/$(DIR)/$$file;\
rm -rf $$file.tmp;\
done
@echo "Done."
@@ -51,10 +52,10 @@
define mkdirs
@echo "Creating necessary directories..."
for dir in $(NDIR); do \
- if test -d $(PREFIX)/$(DIR)/$$dir; then \
- echo "Skipping dir $(PREFIX)/$(DIR)/$$dir; already exists"; \
+ if test -d $(STAGEDIR)/$(DIR)/$$dir; then \
+ echo "Skipping dir $(STAGEDIR)/$(DIR)/$$dir; already exists"; \
else \
- mkdir -m $(DMOD) -p $(PREFIX)/$(DIR)/$$dir ; \
+ mkdir -m $(DMOD) -p $(STAGEDIR)/$(DIR)/$$dir ; \
fi ; \
done
@echo "Done."
@@ -64,6 +65,6 @@
# left hanging around
define wipedir
@echo "Wiping out directory before installing"
-rm -fr $(PREFIX)/$(DIR)
+rm -fr $(STAGEDIR)/$(DIR)
@echo "done"
endef
diff -bur export/Makefile.orig export/Makefile
--- export/Makefile.orig 2012-07-13 19:17:17.000000000 +0100
+++ export/Makefile 2014-06-29 16:32:47.000000000 +0100
@@ -11,8 +11,8 @@
$(substitute)
for dir in $(NDIR); do \
- chown $(APACHEUSER):$(APACHEGROUP) $(PREFIX)/$(DIR)/$$dir; \
- chmod 0755 $(PREFIX)/$(DIR)/$$dir; \
+ chown $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/$(DIR)/$$dir; \
+ chmod 0755 $(STAGEDIR)/$(DIR)/$$dir; \
done
# This section creates the export/ subdirs
diff -bur htdocs/Makefile.orig htdocs/Makefile
--- htdocs/Makefile.orig 2012-07-13 19:17:17.000000000 +0100
+++ htdocs/Makefile 2014-06-29 16:33:00.000000000 +0100
@@ -9,7 +9,7 @@
all: wipedir dir
$(substitute)
- ln -s $(PREFIX)/doc/manual/netdot-manual.htm $(PREFIX)/$(DIR)/help/manual.html
+ ln -s $(PREFIX)/doc/manual/netdot-manual.htm $(STAGEDIR)/$(DIR)/help/manual.html
# Wipe out dir before installing
wipedir:
@@ -20,10 +20,10 @@
$(mkdirs)
@echo "Hacking together mason permissions fix..."
- touch $(PREFIX)/$(DIR)/masondata/obj/.__obj_create_marker
- chown -R $(APACHEUSER):$(APACHEGROUP) $(PREFIX)/$(DIR)/masondata
- chmod 0755 $(PREFIX)/$(DIR)/masondata
+ touch $(STAGEDIR)/$(DIR)/masondata/obj/.__obj_create_marker
+ chown -R $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/$(DIR)/masondata
+ chmod 0755 $(STAGEDIR)/$(DIR)/masondata
# Graphs can be updated dynamically so apache needs +w
- chown $(APACHEUSER):$(APACHEGROUP) $(PREFIX)/$(DIR)/img/graphs
- chmod 0750 $(PREFIX)/$(DIR)/img/graphs
+ chown $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/$(DIR)/img/graphs
+ chmod 0750 $(STAGEDIR)/$(DIR)/img/graphs
diff -bur var/Makefile.orig var/Makefile
--- var/Makefile.orig 2011-09-23 16:00:38.000000000 +0100
+++ var/Makefile 2014-06-29 16:34:01.000000000 +0100
@@ -13,7 +13,7 @@
POLLSTATSRRD = pollstats.rrd
all:
- if ! test -r $(PREFIX)/$(DIR)/$(POLLSTATSRRD); then \
+ if ! test -r $(STAGEDIR)/$(DIR)/$(POLLSTATSRRD); then \
rrdtool create $(POLLSTATSRRD) -s 3600 \
DS:ips:GAUGE:7200:0:4294967296 \
DS:macs:GAUGE:7200:0:4294967296 \
@@ -24,5 +24,5 @@
RRA:AVERAGE:0.5:24:365 \
RRA:MAX:0.5:24:30 \
RRA:MIN:0.5:24:30; \
- install -m $(FMOD) $(POLLSTATSRRD) $(PREFIX)/$(DIR)/$(POLLSTATSRRD); \
+ install -m $(FMOD) $(POLLSTATSRRD) $(STAGEDIR)/$(DIR)/$(POLLSTATSRRD); \
fi;

View File

@ -173,8 +173,8 @@
%%WWWDIR%%/htdocs/management/vlan_tasks.html %%WWWDIR%%/htdocs/management/vlan_tasks.html
%%WWWDIR%%/htdocs/management/zone.html %%WWWDIR%%/htdocs/management/zone.html
%%WWWDIR%%/htdocs/management/zone_tasks.html %%WWWDIR%%/htdocs/management/zone_tasks.html
%%WWWDIR%%/htdocs/masondata/obj/.__obj_create_marker
%%WWWDIR%%/htdocs/masondata/cache/.keep-me %%WWWDIR%%/htdocs/masondata/cache/.keep-me
%%WWWDIR%%/htdocs/masondata/obj/.__obj_create_marker
%%WWWDIR%%/htdocs/menu_admin.mhtml %%WWWDIR%%/htdocs/menu_admin.mhtml
%%WWWDIR%%/htdocs/menu_user.mhtml %%WWWDIR%%/htdocs/menu_user.mhtml
%%WWWDIR%%/htdocs/reports/addr_poll_stats.html %%WWWDIR%%/htdocs/reports/addr_poll_stats.html
@ -232,8 +232,10 @@
%%WWWDIR%%/lib/Netdot/Exporter/Rancid.pm %%WWWDIR%%/lib/Netdot/Exporter/Rancid.pm
%%WWWDIR%%/lib/Netdot/Exporter/Smokeping.pm %%WWWDIR%%/lib/Netdot/Exporter/Smokeping.pm
%%WWWDIR%%/lib/Netdot/Exporter/Sysmon.pm %%WWWDIR%%/lib/Netdot/Exporter/Sysmon.pm
%%WWWDIR%%/lib/Netdot/FakeSNMPSession.pm
%%WWWDIR%%/lib/Netdot/LDAP.pm %%WWWDIR%%/lib/Netdot/LDAP.pm
%%WWWDIR%%/lib/Netdot/IPVisual.pm %%WWWDIR%%/lib/Netdot/IPVisual.pm
%%WWWDIR%%/lib/Netdot/Krb5.pm
%%WWWDIR%%/lib/Netdot/Manual/.keep-me %%WWWDIR%%/lib/Netdot/Manual/.keep-me
%%WWWDIR%%/lib/Netdot/Mason.pm %%WWWDIR%%/lib/Netdot/Mason.pm
%%WWWDIR%%/lib/Netdot/Meta.pm %%WWWDIR%%/lib/Netdot/Meta.pm
@ -243,6 +245,7 @@
%%WWWDIR%%/lib/Netdot/Model.pm %%WWWDIR%%/lib/Netdot/Model.pm
%%WWWDIR%%/lib/Netdot/Model/AccessRight.pm %%WWWDIR%%/lib/Netdot/Model/AccessRight.pm
%%WWWDIR%%/lib/Netdot/Model/ArpCacheEntry.pm %%WWWDIR%%/lib/Netdot/Model/ArpCacheEntry.pm
%%WWWDIR%%/lib/Netdot/Model/ASN.pm
%%WWWDIR%%/lib/Netdot/Model/Asset.pm %%WWWDIR%%/lib/Netdot/Model/Asset.pm
%%WWWDIR%%/lib/Netdot/Model/BackboneCable.pm %%WWWDIR%%/lib/Netdot/Model/BackboneCable.pm
%%WWWDIR%%/lib/Netdot/Model/CableStrand.pm %%WWWDIR%%/lib/Netdot/Model/CableStrand.pm
@ -316,57 +319,58 @@
%%WWWDIR%%/upgrade/updatedb %%WWWDIR%%/upgrade/updatedb
%%WWWDIR%%/upgrade/upgrade-tasks %%WWWDIR%%/upgrade/upgrade-tasks
%%WWWDIR%%/var/pollstats.rrd %%WWWDIR%%/var/pollstats.rrd
@dirrm %%WWWDIR%%/bin @dirrmtry %%WWWDIR%%/bin
@dirrm %%WWWDIR%%/doc/manual @dirrmtry %%WWWDIR%%/doc/manual
@dirrm %%WWWDIR%%/doc @dirrmtry %%WWWDIR%%/doc
@dirrm %%WWWDIR%%/htdocs/cable_plant @dirrmtry %%WWWDIR%%/htdocs/cable_plant
@dirrm %%WWWDIR%%/htdocs/css @dirrmtry %%WWWDIR%%/htdocs/css
@dirrm %%WWWDIR%%/htdocs/generic @dirrmtry %%WWWDIR%%/htdocs/generic
@dirrm %%WWWDIR%%/htdocs/help @dirrmtry %%WWWDIR%%/htdocs/help
@dirrm %%WWWDIR%%/htdocs/img/graphs @dirrmtry %%WWWDIR%%/htdocs/img/graphs
@dirrm %%WWWDIR%%/htdocs/img @dirrmtry %%WWWDIR%%/htdocs/img
@dirrm %%WWWDIR%%/htdocs/java_script @dirrmtry %%WWWDIR%%/htdocs/java_script
@dirrm %%WWWDIR%%/htdocs/management @dirrmtry %%WWWDIR%%/htdocs/management
@dirrm %%WWWDIR%%/htdocs/contacts @dirrmtry %%WWWDIR%%/htdocs/contacts
@dirrm %%WWWDIR%%/htdocs/operations @dirrmtry %%WWWDIR%%/htdocs/operations
@dirrm %%WWWDIR%%/htdocs/reports @dirrmtry %%WWWDIR%%/htdocs/reports
@dirrm %%WWWDIR%%/htdocs/export @dirrmtry %%WWWDIR%%/htdocs/export
@dirrm %%WWWDIR%%/htdocs/user_management @dirrmtry %%WWWDIR%%/htdocs/user_management
@dirrm %%WWWDIR%%/htdocs/user_help @dirrmtry %%WWWDIR%%/htdocs/user_help
@dirrm %%WWWDIR%%/htdocs/rest @dirrmtry %%WWWDIR%%/htdocs/rest
@dirrm %%WWWDIR%%/lib/Netdot/Manual @dirrmtry %%WWWDIR%%/lib/Netdot/Manual
@dirrm %%WWWDIR%%/lib/Netdot/Meta/Table @dirrmtry %%WWWDIR%%/lib/Netdot/Meta/Table
@dirrm %%WWWDIR%%/lib/Netdot/Meta @dirrmtry %%WWWDIR%%/lib/Netdot/Meta
@dirrm %%WWWDIR%%/lib/Netdot/Model/Plugins @dirrmtry %%WWWDIR%%/lib/Netdot/Model/Plugins
@dirrm %%WWWDIR%%/lib/Netdot/Model/Device/CLI @dirrmtry %%WWWDIR%%/lib/Netdot/Model/Device/CLI
@dirrm %%WWWDIR%%/lib/Netdot/Model/Device @dirrmtry %%WWWDIR%%/lib/Netdot/Model/Device
@dirrm %%WWWDIR%%/lib/Netdot/Model @dirrmtry %%WWWDIR%%/lib/Netdot/Model
@dirrm %%WWWDIR%%/lib/Netdot/UI @dirrmtry %%WWWDIR%%/lib/Netdot/UI
@dirrm %%WWWDIR%%/lib/Netdot/Util @dirrmtry %%WWWDIR%%/lib/Netdot/Util
@dirrm %%WWWDIR%%/lib/Netdot/Exporter @dirrmtry %%WWWDIR%%/lib/Netdot/Exporter
@dirrm %%WWWDIR%%/lib/Netdot @dirrmtry %%WWWDIR%%/lib/Netdot
@dirrm %%WWWDIR%%/lib @dirrmtry %%WWWDIR%%/lib
@dirrmtry %%WWWDIR%%/etc @dirrmtry %%WWWDIR%%/etc
@dirrm %%WWWDIR%%/import @dirrmtry %%WWWDIR%%/import
@dirrm %%WWWDIR%%/export/docs @dirrmtry %%WWWDIR%%/export/docs
@dirrm %%WWWDIR%%/export/nagios @dirrmtry %%WWWDIR%%/export/nagios
@dirrm %%WWWDIR%%/export/sysmon @dirrmtry %%WWWDIR%%/export/sysmon
@dirrm %%WWWDIR%%/export/rancid @dirrmtry %%WWWDIR%%/export/rancid
@dirrm %%WWWDIR%%/export/cacti @dirrmtry %%WWWDIR%%/export/cacti
@dirrm %%WWWDIR%%/export/ethers @dirrmtry %%WWWDIR%%/export/ethers
@dirrm %%WWWDIR%%/export/bind @dirrmtry %%WWWDIR%%/export/bind
@dirrm %%WWWDIR%%/export/dhcpd @dirrmtry %%WWWDIR%%/export/dhcpd
@dirrm %%WWWDIR%%/export/smokeping @dirrmtry %%WWWDIR%%/export/smokeping
@dirrm %%WWWDIR%%/export @dirrmtry %%WWWDIR%%/export
@dirrmtry %%WWWDIR%% @dirrmtry %%WWWDIR%%/htdocs/masondata/obj
@unexec rm -rf %D/%%WWWDIR%%/htdocs/masondata/obj 2> /dev/null || true
@dirrmtry %%WWWDIR%%/htdocs/masondata/cache
@dirrmtry %%WWWDIR%%/htdocs/masondata
@dirrmtry %%WWWDIR%%/htdocs
@dirrmtry %%WWWDIR%%/tmp/sessions/locks
@dirrmtry %%WWWDIR%%/tmp/sessions
@unexec rm -rf %D/%%WWWDIR%%/tmp/sessions 2> /dev/null || true @unexec rm -rf %D/%%WWWDIR%%/tmp/sessions 2> /dev/null || true
@dirrmtry %%WWWDIR%%/tmp @dirrmtry %%WWWDIR%%/tmp
@unexec rm -rf %D/%%WWWDIR%%/htdocs/masondata/obj 2> /dev/null || true @dirrmtry %%WWWDIR%%/upgrade
@dirrm %%WWWDIR%%/htdocs/masondata/cache @dirrmtry %%WWWDIR%%/var
@dirrm %%WWWDIR%%/htdocs/masondata
@dirrm %%WWWDIR%%/htdocs
@dirrm %%WWWDIR%%/upgrade
@dirrm %%WWWDIR%%/var
@dirrmtry %%WWWDIR%%/tmp
@dirrmtry %%WWWDIR%% @dirrmtry %%WWWDIR%%
@unexec if [ -d %%WWWDIR%% ]; then echo "===> There are files/directories remaining under %D/%%WWWDIR%%. If you wish to deinstall netdot completely, inspect this directory for any files you may want to keep and then remove it."; fi @unexec if [ -d %%WWWDIR%% ]; then echo "===> There are files/directories remaining under %D/%%WWWDIR%%. If you wish to deinstall netdot completely, inspect this directory for any files you may want to keep and then remove it."; fi