summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2008-01-28 16:01:17 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2008-01-28 16:01:17 +0000
commitfd598507482b8d9c2be084805d98853e85cf924d (patch)
treec9dbc722d0c02aac91327c4c485d6c4345f19ed1 /net-mgmt
parent- Update to 1.20 (diff)
Hobbit is a system for monitoring servers and networks. It has a great deal
of inspiration from the Big Brother monitor, but unlike Big Brother it is designed to work well whether you need to monitor small network with just a handful of hosts, or large networks with thousands of hosts. Hobbit is the successor to the bbgen toolkit, which has been available as an add-on to Big Brother since late 2002. The name change was decided upon when Hobbit acquired enough functionality to be a stand-alone product. The tools that formed the bbgen toolkit are still present in Hobbit and are quite important for it, so if you have used bbgen before, Hobbit will seem quite familiar. This is the server. WWW: http://hobbitmon.sourceforge.net/
Notes
Notes: svn path=/head/; revision=206323
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/hobbit-server/Makefile86
-rw-r--r--net-mgmt/hobbit-server/distinfo3
-rw-r--r--net-mgmt/hobbit-server/files/Makefile76
-rw-r--r--net-mgmt/hobbit-server/files/hobbit-server.sh.in26
-rw-r--r--net-mgmt/hobbit-server/files/patch-bbnet-Makefile13
-rw-r--r--net-mgmt/hobbit-server/files/patch-build-Makefile.rules15
-rw-r--r--net-mgmt/hobbit-server/files/patch-hobbitd-Makefile25
-rw-r--r--net-mgmt/hobbit-server/pkg-descr15
-rw-r--r--net-mgmt/hobbit-server/pkg-plist390
-rw-r--r--net-mgmt/xymon-server/Makefile86
-rw-r--r--net-mgmt/xymon-server/distinfo3
-rw-r--r--net-mgmt/xymon-server/files/Makefile76
-rw-r--r--net-mgmt/xymon-server/files/hobbit-server.sh.in26
-rw-r--r--net-mgmt/xymon-server/files/patch-bbnet-Makefile13
-rw-r--r--net-mgmt/xymon-server/files/patch-build-Makefile.rules15
-rw-r--r--net-mgmt/xymon-server/files/patch-hobbitd-Makefile25
-rw-r--r--net-mgmt/xymon-server/pkg-descr15
-rw-r--r--net-mgmt/xymon-server/pkg-plist390
19 files changed, 1299 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index ae226d8ab5f2..a165c1f786ea 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -67,6 +67,7 @@
SUBDIR += grepip
SUBDIR += gsnmp
SUBDIR += hobbit-client
+ SUBDIR += hobbit-server
SUBDIR += horde-nic
SUBDIR += icmpmonitor
SUBDIR += icmpquery
diff --git a/net-mgmt/hobbit-server/Makefile b/net-mgmt/hobbit-server/Makefile
new file mode 100644
index 000000000000..0ce439b9c791
--- /dev/null
+++ b/net-mgmt/hobbit-server/Makefile
@@ -0,0 +1,86 @@
+# New ports collection makefile for: hobbit-server
+# Date created: 24 Jan 2008
+# Whom: dirk.meyer@dinoex.sub.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= hobbit
+PORTVERSION= 4.2.0
+CATEGORIES= net-mgmt www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= hobbitmon
+PKGNAMESUFFIX= -server${PKGNAMESUFFIX2}
+
+MAINTAINER= dinoex@FreeBSD.org
+COMMENT= System for monitoring servers and networks
+
+BUILD_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
+LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
+ pcre:${PORTSDIR}/devel/pcre
+RUN_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
+
+# Options
+BBUSER?= hobbit
+BBHOSTNAME?= hobbit.example.com
+BBHOSTIP?= 127.0.0.1
+
+USE_GMAKE= yes
+USE_OPENSSL= yes
+CONFIGURE_ENV= MAKE=gmake
+MAKE_ENV+= BBUSER="${BBUSER}"
+MAKE_ENV+= BBHOSTNAME="${BBHOSTNAME}"
+MAKE_ENV+= BBHOSTIP="${BBHOSTIP}"
+USE_RC_SUBR= hobbit-server.sh
+SITE_SUB+= -e 's|%%BBUSER%%|${BBUSER}|g'
+PLIST_SUB+= BBUSER="${BBUSER}" VARBASE="/var"
+
+CONFIG_FILES= bb-hosts bb-services bbcombotest.cfg client-local.cfg \
+ columndoc.csv hobbit-alerts.cfg hobbit-apache.conf \
+ hobbit-clients.cfg hobbitcgi.cfg hobbitgraph.cfg \
+ hobbitlaunch.cfg hobbitserver.cfg
+FIXME1= bb-hosts hobbit-alerts.cfg hobbit-clients.cfg bbcombotest.cfg
+
+MAN1 = bb-ack.cgi.1 bb-csvinfo.cgi.1 bb-datepage.cgi.1 bb-eventlog.cgi.1 \
+ bb-findhost.cgi.1 bb-hist.cgi.1 bb-rep.cgi.1 bb-replog.cgi.1 \
+ bb-snapshot.cgi.1 bb-webpage.1 bb.1 bbcmd.1 bbcombotest.1 bbdigest.1 \
+ bbgen.1 bbhostgrep.1 bbhostshow.1 bbretest-net.sh.1 bbtest-net.1 \
+ clientupdate.1 hobbit-ackinfo.cgi.1 hobbit-confreport.cgi.1 \
+ hobbit-ghosts.cgi.1 hobbit-hostgraphs.cgi.1 hobbit-nkedit.cgi.1 \
+ hobbit-nkview.cgi.1 hobbit-statusreport.cgi.1 hobbitgraph.cgi.1 \
+ hobbitping.1 hobbitsvc.cgi.1 logfetch.1 orcahobbit.1
+MAN5= bb-hosts.5 bb-services.5 bbcombotest.cfg.5 client-local.cfg.5 \
+ clientlaunch.cfg.5 hobbit-alerts.cfg.5 hobbit-clients.cfg.5 \
+ hobbit-nkview.cfg.5 hobbitcgi.cfg.5 hobbitclient.cfg.5 \
+ hobbitgraph.cfg.5 hobbitlaunch.cfg.5 hobbitserver.cfg.5 hobbitweb.5
+MAN7= hobbit.7
+MAN8= bbmessage.cgi.8 bbproxy.8 hobbit-enadis.cgi.8 hobbit-mailack.8 \
+ hobbitd.8 hobbitd_alert.8 hobbitd_channel.8 hobbitd_client.8 \
+ hobbitd_filestore.8 hobbitd_history.8 hobbitd_hostdata.8 \
+ hobbitd_rrd.8 hobbitd_sample.8 hobbitfetch.8 hobbitlaunch.8 \
+ msgcache.8 trimhistory.8
+
+.if defined(WITH_LDAP)
+MAKE_ENV+= WITH_LDAP=1
+USE_OPENLDAP= yes
+.endif
+
+# Configure script is interactive
+do-configure:
+ ${CP} ${FILESDIR}/Makefile ${WRKSRC}/
+
+pre-install:
+ if ! pw groupshow ${BBUSER}; then pw groupadd ${BBUSER} -g 280; fi
+ if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \
+ -h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
+
+post-install:
+.for i in ${FIXME1}
+ ${INSTALL_DATA} ${WRKSRC}/hobbitd/etcfiles/${i} ${WWWDIR}/server/etc/${i}-dist
+.endfor
+.for i in ${CONFIG_FILES}
+ ${CP} -np ${WWWDIR}/server/etc/${i}-dist \
+ ${WWWDIR}/server/etc/${i}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/hobbit-server/distinfo b/net-mgmt/hobbit-server/distinfo
new file mode 100644
index 000000000000..ae7b9ebf2057
--- /dev/null
+++ b/net-mgmt/hobbit-server/distinfo
@@ -0,0 +1,3 @@
+MD5 (hobbit-4.2.0.tar.gz) = 120fd876b8494e249de0bf0366fcdd9a
+SHA256 (hobbit-4.2.0.tar.gz) = 0c2ab43668921316ec435e736a499853d047f0f88a87aa362ccbb8637d2c8d3e
+SIZE (hobbit-4.2.0.tar.gz) = 2341167
diff --git a/net-mgmt/hobbit-server/files/Makefile b/net-mgmt/hobbit-server/files/Makefile
new file mode 100644
index 000000000000..9b25ee5e7910
--- /dev/null
+++ b/net-mgmt/hobbit-server/files/Makefile
@@ -0,0 +1,76 @@
+# Toplevel Makefile for Hobbit
+# $FreeBSD$
+BUILDTOPDIR=`pwd`
+
+# configure settings for Hobbit
+#
+# Toplevel dir
+BBTOPDIR = ${PREFIX}/www/hobbit
+# Server home dir for etc/, bin/
+BBHOME = ${PREFIX}/www/hobbit/server
+# Server data dir for hist/ etc.
+BBVAR = ${PREFIX}/www/hobbit/data
+# CGI scripts go in CGIDIR
+CGIDIR = ${PREFIX}/www/hobbit/cgi-bin
+# Admin CGI scripts go in SECURECGIDIR
+SECURECGIDIR = ${PREFIX}/www/hobbit/cgi-secure
+# Where to put logfiles
+BBLOGDIR = /var/log/hobbit
+# Where to install manpages
+MANROOT = ${PREFIX}/man
+# How to run fping or hobbitping
+FPING = hobbitping
+
+# Username running hobbit
+#BBUSER = nobody
+# Hobbit server hostname
+#BBHOSTNAME = hobbit.example.com
+# Hobbit server IP-address
+#BBHOSTIP = 127.0.0.1
+# Hobbit server OS
+BBHOSTOS = freebsd
+
+# URL for Hobbit webpages
+BBHOSTURL = /hobbit
+# URL for Hobbit CGIs
+BBCGIURL = /hobbit-cgi
+# URL for Hobbit Admin CGIs
+SECUREBBCGIURL = /hobbit-seccgi
+# Webserver group-ID
+HTTPDGID=80
+
+# RRDtool settings
+RRDDEF = -DRRDTOOL12
+RRDINCDIR = -I${LOCALBASE}/include
+RRDLIBS = -L${LOCALBASE}/lib -lrrd -L${LOCALBASE}/lib -lpng
+RPATHVAL += ${LOCALBASE}/lib
+
+# PCRE settings
+PCREINCDIR = -I${LOCALBASE}/include
+PCRELIBS = -L${LOCALBASE}/lib -lpcre
+RPATHVAL += ${LOCALBASE}/lib
+#
+# OpenSSL settings
+SSLFLAGS = -DBBGEN_SSL
+SSLINCDIR = -I${OPENSSLINC}
+SSLLIBS = -L${OPENSSLLIB} -lssl -lcrypto
+RPATHVAL += ${OPENSSLLIB}
+#
+ifdef WITH_LDAP
+# OpenLDAP settings
+LDAPFLAGS = -DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS
+LDAPINCDIR = -I${PREFIX}/include
+LDAPLIBS = -L${PREFIX}/lib -lldap -llber
+RPATHVAL += ${PREFIX}/lib
+endif
+#
+# Large File Support settings
+LFSDEF = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
+include build/Makefile.FreeBSD
+
+
+# Add local CFLAGS etc. settings here
+
+include build/Makefile.rules
+
diff --git a/net-mgmt/hobbit-server/files/hobbit-server.sh.in b/net-mgmt/hobbit-server/files/hobbit-server.sh.in
new file mode 100644
index 000000000000..af0960179f19
--- /dev/null
+++ b/net-mgmt/hobbit-server/files/hobbit-server.sh.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: hobbit_server
+# REQUIRE: DAEMON
+
+. "%%RC_SUBR%%"
+
+name="hobbit_server"
+rcvar=`set_rcvar`
+
+load_rc_config "$name"
+: ${hobbit_server_enable:="NO"}
+
+command="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh"
+start_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh start'"
+stop_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh stop'"
+status_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh status'"
+reload_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh reload'"
+restart_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh restart'"
+pidfile="/var/log/hobbit/hobbitd.pid"
+
+run_rc_command "$1"
+# eof
diff --git a/net-mgmt/hobbit-server/files/patch-bbnet-Makefile b/net-mgmt/hobbit-server/files/patch-bbnet-Makefile
new file mode 100644
index 000000000000..251c026d5702
--- /dev/null
+++ b/net-mgmt/hobbit-server/files/patch-bbnet-Makefile
@@ -0,0 +1,13 @@
+--- bbnet/Makefile.orig 2006-08-09 22:09:56.000000000 +0200
++++ bbnet/Makefile 2008-01-28 16:08:57.000000000 +0100
+@@ -88,8 +88,8 @@
+ cp -fp $(EXTENSIONS) $(INSTALLROOT)$(INSTALLEXTDIR)/
+
+ install-config:
+- ../build/convert-bbservices $(INSTALLROOT)$(INSTALLETCDIR)/bb-services
+- ../build/merge-sects bb-services $(INSTALLROOT)$(INSTALLETCDIR)/bb-services
++ ../build/convert-bbservices $(INSTALLROOT)$(INSTALLETCDIR)/bb-services-dist
++ ../build/merge-sects bb-services $(INSTALLROOT)$(INSTALLETCDIR)/bb-services-dist
+
+ install-man:
+ mkdir -p $(INSTALLROOT)$(MANROOT)/man1 $(INSTALLROOT)$(MANROOT)/man5
diff --git a/net-mgmt/hobbit-server/files/patch-build-Makefile.rules b/net-mgmt/hobbit-server/files/patch-build-Makefile.rules
new file mode 100644
index 000000000000..6a0dc2fe8f68
--- /dev/null
+++ b/net-mgmt/hobbit-server/files/patch-build-Makefile.rules
@@ -0,0 +1,15 @@
+--- build/Makefile.rules.orig 2006-08-09 22:09:57.000000000 +0200
++++ build/Makefile.rules 2008-01-24 14:12:36.000000000 +0100
+@@ -22,9 +22,9 @@
+ INSTALLTARGETS = install-client install-clientmsg
+ endif
+ else
+- BUILDTARGETS = lib-build common-build bbdisplay-build bbnet-build bbproxy-build docs-build build-build hobbitd-build web-build client
+- CLIENTTARGETS = lib-client common-client build-build
+- INSTALLTARGETS = install-bbdisplay install-bbnet install-bbproxy install-man install-hobbitd install-web install-docs install-client install-servermsg
++ BUILDTARGETS = lib-build common-build bbdisplay-build bbnet-build bbproxy-build docs-build build-build hobbitd-build web-build
++ CLIENTTARGETS =
++ INSTALLTARGETS = install-bbdisplay install-bbnet install-bbproxy install-man install-hobbitd install-web install-docs install-servermsg
+ CFLAGS += $(PCREINCDIR)
+ endif
+
diff --git a/net-mgmt/hobbit-server/files/patch-hobbitd-Makefile b/net-mgmt/hobbit-server/files/patch-hobbitd-Makefile
new file mode 100644
index 000000000000..9e2089769b31
--- /dev/null
+++ b/net-mgmt/hobbit-server/files/patch-hobbitd-Makefile
@@ -0,0 +1,25 @@
+--- hobbitd/Makefile.orig 2006-08-09 22:10:05.000000000 +0200
++++ hobbitd/Makefile 2008-01-28 14:40:13.000000000 +0100
+@@ -140,14 +140,14 @@
+ cp -fp *.8 $(INSTALLROOT)$(MANROOT)/man8/
+
+ install-cfg:
+- cd etcfiles; ../../build/merge-lines hobbitserver.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitserver.cfg LARRDCOLUMN=TRENDSCOLUMN LARRDS=TEST2RRD
+- cd etcfiles; ../../build/merge-lines hobbitcgi.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitcgi.cfg
+- cd etcfiles; ../../build/merge-sects hobbitlaunch.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitlaunch.cfg larrdstatus=rrdstatus larrddata=rrddata
+- cd etcfiles; ../../build/merge-sects client-local.cfg $(INSTALLROOT)$(INSTALLETCDIR)/client-local.cfg
+- cd etcfiles; ../../build/merge-sects hobbitgraph.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitgraph.cfg
+- cd etcfiles; ../../build/merge-lines columndoc.csv $(INSTALLROOT)$(INSTALLETCDIR)/columndoc.csv
+- cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo "hobbit-clients.cfg"; echo "bbcombotest.cfg"; echo "client-local.cfg") | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLETCDIR)/
+- cd etcfiles; cp -fp hobbit-apache.conf $(INSTALLROOT)$(INSTALLETCDIR)/hobbit-apache.conf
++ cd etcfiles; ../../build/merge-lines hobbitserver.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitserver.cfg-dist LARRDCOLUMN=TRENDSCOLUMN LARRDS=TEST2RRD
++ cd etcfiles; ../../build/merge-lines hobbitcgi.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitcgi.cfg-dist
++ cd etcfiles; ../../build/merge-sects hobbitlaunch.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitlaunch.cfg-dist larrdstatus=rrdstatus larrddata=rrddata
++ cd etcfiles; ../../build/merge-sects client-local.cfg $(INSTALLROOT)$(INSTALLETCDIR)/client-local.cfg-dist
++ cd etcfiles; ../../build/merge-sects hobbitgraph.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitgraph.cfg-dist
++ cd etcfiles; ../../build/merge-lines columndoc.csv $(INSTALLROOT)$(INSTALLETCDIR)/columndoc.csv-dist
++# cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo "hobbit-clients.cfg"; echo "bbcombotest.cfg"; echo "client-local.cfg") | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLETCDIR)/
++ cd etcfiles; cp -fp hobbit-apache.conf $(INSTALLROOT)$(INSTALLETCDIR)/hobbit-apache.conf-dist
+ cd $(INSTALLROOT)$(BBHOME); rm -f hobbit.sh; ln -sf bin/hobbit.sh .
+ cd wwwfiles; find . | grep -v RCS | grep -v DIST | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLWWWDIR)/ ../../build/md5.dat
+ cd webfiles; find . | grep -v RCS | grep -v DIST | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLWEBDIR)/ ../../build/md5.dat
diff --git a/net-mgmt/hobbit-server/pkg-descr b/net-mgmt/hobbit-server/pkg-descr
new file mode 100644
index 000000000000..a696edf28b33
--- /dev/null
+++ b/net-mgmt/hobbit-server/pkg-descr
@@ -0,0 +1,15 @@
+Hobbit is a system for monitoring servers and networks. It has a great deal
+of inspiration from the Big Brother monitor, but unlike Big Brother it is
+designed to work well whether you need to monitor small network with just
+a handful of hosts, or large networks with thousands of hosts.
+
+Hobbit is the successor to the bbgen toolkit, which has been available as
+an add-on to Big Brother since late 2002. The name change was decided upon
+when Hobbit acquired enough functionality to be a stand-alone product.
+The tools that formed the bbgen toolkit are still present in Hobbit
+and are quite important for it, so if you have used bbgen before,
+Hobbit will seem quite familiar.
+
+This is the server.
+
+WWW: http://hobbitmon.sourceforge.net/
diff --git a/net-mgmt/hobbit-server/pkg-plist b/net-mgmt/hobbit-server/pkg-plist
new file mode 100644
index 000000000000..3fd1ab9322b0
--- /dev/null
+++ b/net-mgmt/hobbit-server/pkg-plist
@@ -0,0 +1,390 @@
+@exec if ! pw groupshow %%BBUSER%% 2>/dev/null; then pw groupadd %%BBUSER%% -g 280; fi
+@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d /nonexistent -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
+@unexec if pw usershow %%BBUSER%%; then pw userdel %%BBUSER%%; fi
+%%WWWDIR%%/cgi-bin/bb-csvinfo.sh
+%%WWWDIR%%/cgi-bin/bb-datepage.sh
+%%WWWDIR%%/cgi-bin/bb-eventlog.sh
+%%WWWDIR%%/cgi-bin/bb-findhost.sh
+%%WWWDIR%%/cgi-bin/bb-hist.sh
+%%WWWDIR%%/cgi-bin/bb-histlog.sh
+%%WWWDIR%%/cgi-bin/bb-hostsvc.sh
+%%WWWDIR%%/cgi-bin/bb-rep.sh
+%%WWWDIR%%/cgi-bin/bb-replog.sh
+%%WWWDIR%%/cgi-bin/bb-snapshot.sh
+%%WWWDIR%%/cgi-bin/hobbit-certreport.sh
+%%WWWDIR%%/cgi-bin/hobbit-confreport.sh
+%%WWWDIR%%/cgi-bin/hobbit-ghosts.sh
+%%WWWDIR%%/cgi-bin/hobbit-hostgraphs.sh
+%%WWWDIR%%/cgi-bin/hobbit-nkview.sh
+%%WWWDIR%%/cgi-bin/hobbit-nongreen.sh
+%%WWWDIR%%/cgi-bin/hobbitcolumn.sh
+%%WWWDIR%%/cgi-bin/hobbitgraph.sh
+%%WWWDIR%%/cgi-secure/bb-ack.sh
+%%WWWDIR%%/cgi-secure/hobbit-ackinfo.sh
+%%WWWDIR%%/cgi-secure/hobbit-enadis.sh
+%%WWWDIR%%/cgi-secure/hobbit-nkedit.sh
+%%WWWDIR%%/server/bin/bb
+%%WWWDIR%%/server/bin/bb-ack.cgi
+%%WWWDIR%%/server/bin/bb-csvinfo.cgi
+%%WWWDIR%%/server/bin/bb-datepage.cgi
+%%WWWDIR%%/server/bin/bb-eventlog.cgi
+%%WWWDIR%%/server/bin/bb-findhost.cgi
+%%WWWDIR%%/server/bin/bb-hist.cgi
+%%WWWDIR%%/server/bin/bb-rep.cgi
+%%WWWDIR%%/server/bin/bb-replog.cgi
+%%WWWDIR%%/server/bin/bb-snapshot.cgi
+%%WWWDIR%%/server/bin/bb-webpage
+%%WWWDIR%%/server/bin/bbcmd
+%%WWWDIR%%/server/bin/bbcombotest
+%%WWWDIR%%/server/bin/bbdigest
+%%WWWDIR%%/server/bin/bbgen
+%%WWWDIR%%/server/bin/bbhostgrep
+%%WWWDIR%%/server/bin/bbhostshow
+%%WWWDIR%%/server/bin/bbmessage.cgi
+%%WWWDIR%%/server/bin/bbproxy
+%%WWWDIR%%/server/bin/bbtest-net
+%%WWWDIR%%/server/bin/beastat
+%%WWWDIR%%/server/bin/boilerplate.cgi
+%%WWWDIR%%/server/bin/hobbit-ackinfo.cgi
+%%WWWDIR%%/server/bin/hobbit-confreport.cgi
+%%WWWDIR%%/server/bin/hobbit-enadis.cgi
+%%WWWDIR%%/server/bin/hobbit-ghosts.cgi
+%%WWWDIR%%/server/bin/hobbit-hostgraphs.cgi
+%%WWWDIR%%/server/bin/hobbit-mailack
+%%WWWDIR%%/server/bin/hobbit-nkedit.cgi
+%%WWWDIR%%/server/bin/hobbit-nkview.cgi
+%%WWWDIR%%/server/bin/hobbit-statusreport.cgi
+%%WWWDIR%%/server/bin/hobbit.sh
+%%WWWDIR%%/server/bin/hobbitd
+%%WWWDIR%%/server/bin/hobbitd_alert
+%%WWWDIR%%/server/bin/hobbitd_capture
+%%WWWDIR%%/server/bin/hobbitd_channel
+%%WWWDIR%%/server/bin/hobbitd_client
+%%WWWDIR%%/server/bin/hobbitd_filestore
+%%WWWDIR%%/server/bin/hobbitd_history
+%%WWWDIR%%/server/bin/hobbitd_hostdata
+%%WWWDIR%%/server/bin/hobbitd_larrd
+%%WWWDIR%%/server/bin/hobbitd_rrd
+%%WWWDIR%%/server/bin/hobbitd_sample
+%%WWWDIR%%/server/bin/hobbitfetch
+%%WWWDIR%%/server/bin/hobbitgraph.cgi
+%%WWWDIR%%/server/bin/hobbitlaunch
+%%WWWDIR%%/server/bin/hobbitping
+%%WWWDIR%%/server/bin/hobbitreports.sh
+%%WWWDIR%%/server/bin/hobbitsvc.cgi
+%%WWWDIR%%/server/bin/moverrd.sh
+%%WWWDIR%%/server/bin/trimhistory
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/bb-hosts %D/%%WWWDIR%%/server/etc/bb-hosts-dist; then rm -f %D/%%WWWDIR%%/server/etc/bb-hosts; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/bb-services %D/%%WWWDIR%%/server/etc/bb-services-dist; then rm -f %D/%%WWWDIR%%/server/etc/bb-services; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/bbcombotest.cfg %D/%%WWWDIR%%/server/etc/bbcombotest.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/bbcombotest.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/client-local.cfg %D/%%WWWDIR%%/server/etc/client-local.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/client-local.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/columndoc.csv %D/%%WWWDIR%%/server/etc/columndoc.csv-dist; then rm -f %D/%%WWWDIR%%/server/etc/columndoc.csv; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbit-alerts.cfg %D/%%WWWDIR%%/server/etc/hobbit-alerts.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-alerts.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbit-apache.conf %D/%%WWWDIR%%/server/etc/hobbit-apache.conf-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-apache.conf; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbit-clients.cfg %D/%%WWWDIR%%/server/etc/hobbit-clients.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-clients.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitcgi.cfg %D/%%WWWDIR%%/server/etc/hobbitcgi.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitcgi.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitgraph.cfg %D/%%WWWDIR%%/server/etc/hobbitgraph.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitgraph.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitlaunch.cfg %D/%%WWWDIR%%/server/etc/hobbitlaunch.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitlaunch.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitserver.cfg %D/%%WWWDIR%%/server/etc/hobbitserver.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitserver.cfg; fi
+%%WWWDIR%%/server/etc/bb-hosts-dist
+@exec [ ! -f %B/bb-hosts ] && cp %B/%f %B/bb-hosts
+%%WWWDIR%%/server/etc/bb-services-dist
+@exec [ ! -f %B/bb-services ] && cp %B/%f %B/bb-services
+%%WWWDIR%%/server/etc/bbcombotest.cfg-dist
+@exec [ ! -f %B/bbcombotest.cfg ] && cp %B/%f %B/bbcombotest.cfg
+%%WWWDIR%%/server/etc/client-local.cfg-dist
+@exec [ ! -f %B/client-local.cfg ] && cp %B/%f %B/client-local.cfg
+%%WWWDIR%%/server/etc/columndoc.csv-dist
+@exec [ ! -f %B/columndoc.cfg ] && cp %B/%f %B/columndoc.cfg
+%%WWWDIR%%/server/etc/hobbit-alerts.cfg-dist
+@exec [ ! -f %B/hobbit-alerts.cfg ] && cp %B/%f %B/hobbit-alerts.cfg
+%%WWWDIR%%/server/etc/hobbit-apache.conf-dist
+@exec [ ! -f %B/hobbit-apache.cfg ] && cp %B/%f %B/hobbit-apache.cfg
+%%WWWDIR%%/server/etc/hobbit-clients.cfg-dist
+@exec [ ! -f %B/hobbit-clients.cfg ] && cp %B/%f %B/hobbit-clients.cfg
+@unexec if test ! -s %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg; fi
+@unexec if test ! -s %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak; fi
+@exec touch %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak
+%%WWWDIR%%/server/etc/hobbitcgi.cfg-dist
+@exec [ ! -f %B/hobbitcgi.cfg ] && cp %B/%f %B/hobbitcgi.cfg
+%%WWWDIR%%/server/etc/hobbitgraph.cfg-dist
+@exec [ ! -f %B/hobbitgraph.cfg ] && cp %B/%f %B/hobbitgraph.cfg
+%%WWWDIR%%/server/etc/hobbitlaunch.cfg-dist
+@exec [ ! -f %B/hobbitlaunch.cfg ] && cp %B/%f %B/hobbitlaunch.cfg
+%%WWWDIR%%/server/etc/hobbitserver.cfg-dist
+@exec [ ! -f %B/hobbitserver.cfg ] && cp %B/%f %B/hobbitserver.cfg
+%%WWWDIR%%/server/ext/bbretest-net.sh
+%%WWWDIR%%/server/hobbit.sh
+%%WWWDIR%%/server/web/acknowledge_footer
+%%WWWDIR%%/server/web/acknowledge_form
+%%WWWDIR%%/server/web/acknowledge_header
+%%WWWDIR%%/server/web/bb2_footer
+%%WWWDIR%%/server/web/bb2_header
+%%WWWDIR%%/server/web/bb_footer
+%%WWWDIR%%/server/web/bb_header
+%%WWWDIR%%/server/web/bbnk_footer
+%%WWWDIR%%/server/web/bbnk_header
+%%WWWDIR%%/server/web/bbrep_footer
+%%WWWDIR%%/server/web/bbrep_header
+%%WWWDIR%%/server/web/bbsnap2_footer
+%%WWWDIR%%/server/web/bbsnap2_header
+%%WWWDIR%%/server/web/bbsnap_footer
+%%WWWDIR%%/server/web/bbsnap_header
+%%WWWDIR%%/server/web/bbsnapnk_footer
+%%WWWDIR%%/server/web/bbsnapnk_header
+%%WWWDIR%%/server/web/columndoc_footer
+%%WWWDIR%%/server/web/columndoc_header
+%%WWWDIR%%/server/web/confreport_back
+%%WWWDIR%%/server/web/confreport_footer
+%%WWWDIR%%/server/web/confreport_front
+%%WWWDIR%%/server/web/confreport_header
+%%WWWDIR%%/server/web/event_footer
+%%WWWDIR%%/server/web/event_form
+%%WWWDIR%%/server/web/event_header
+%%WWWDIR%%/server/web/findhost_footer
+%%WWWDIR%%/server/web/findhost_form
+%%WWWDIR%%/server/web/findhost_header
+%%WWWDIR%%/server/web/ghosts_footer
+%%WWWDIR%%/server/web/ghosts_header
+%%WWWDIR%%/server/web/graphs_footer
+%%WWWDIR%%/server/web/graphs_header
+%%WWWDIR%%/server/web/hist_footer
+%%WWWDIR%%/server/web/hist_header
+%%WWWDIR%%/server/web/histlog_footer
+%%WWWDIR%%/server/web/histlog_header
+%%WWWDIR%%/server/web/hobbitnk_footer
+%%WWWDIR%%/server/web/hobbitnk_header
+%%WWWDIR%%/server/web/hostgraphs_footer
+%%WWWDIR%%/server/web/hostgraphs_form
+%%WWWDIR%%/server/web/hostgraphs_header
+%%WWWDIR%%/server/web/hostsvc_footer
+%%WWWDIR%%/server/web/hostsvc_header
+%%WWWDIR%%/server/web/info_footer
+%%WWWDIR%%/server/web/info_header
+%%WWWDIR%%/server/web/maint_footer
+%%WWWDIR%%/server/web/maint_form
+%%WWWDIR%%/server/web/maint_header
+%%WWWDIR%%/server/web/maintact_footer
+%%WWWDIR%%/server/web/maintact_header
+%%WWWDIR%%/server/web/nkack_form
+%%WWWDIR%%/server/web/nkedit_footer
+%%WWWDIR%%/server/web/nkedit_form
+%%WWWDIR%%/server/web/nkedit_header
+%%WWWDIR%%/server/web/replog_footer
+%%WWWDIR%%/server/web/replog_header
+%%WWWDIR%%/server/web/report_footer
+%%WWWDIR%%/server/web/report_form
+%%WWWDIR%%/server/web/report_form_daily
+%%WWWDIR%%/server/web/report_form_monthly
+%%WWWDIR%%/server/web/report_form_weekly
+%%WWWDIR%%/server/web/report_header
+%%WWWDIR%%/server/web/snapshot_footer
+%%WWWDIR%%/server/web/snapshot_form
+%%WWWDIR%%/server/web/snapshot_header
+%%WWWDIR%%/server/web/zoom.js
+%%WWWDIR%%/server/www/gifs/README
+%%WWWDIR%%/server/www/gifs/arrow.gif
+%%WWWDIR%%/server/www/gifs/bkg-blue.gif
+%%WWWDIR%%/server/www/gifs/bkg-clear.gif
+%%WWWDIR%%/server/www/gifs/bkg-green.gif
+%%WWWDIR%%/server/www/gifs/bkg-purple.gif
+%%WWWDIR%%/server/www/gifs/bkg-red.gif
+%%WWWDIR%%/server/www/gifs/bkg-yellow.gif
+%%WWWDIR%%/server/www/gifs/blue-ack.gif
+%%WWWDIR%%/server/www/gifs/blue-recent.gif
+%%WWWDIR%%/server/www/gifs/blue.gif
+%%WWWDIR%%/server/www/gifs/clear-recent.gif
+%%WWWDIR%%/server/www/gifs/clear.gif
+%%WWWDIR%%/server/www/gifs/favicon-blue.ico
+%%WWWDIR%%/server/www/gifs/favicon-clear.ico
+%%WWWDIR%%/server/www/gifs/favicon-green.ico
+%%WWWDIR%%/server/www/gifs/favicon-purple.ico
+%%WWWDIR%%/server/www/gifs/favicon-red.ico
+%%WWWDIR%%/server/www/gifs/favicon-unknown.ico
+%%WWWDIR%%/server/www/gifs/favicon-yellow.ico
+%%WWWDIR%%/server/www/gifs/green-recent.gif
+%%WWWDIR%%/server/www/gifs/green.gif
+%%WWWDIR%%/server/www/gifs/purple-ack.gif
+%%WWWDIR%%/server/www/gifs/purple-recent.gif
+%%WWWDIR%%/server/www/gifs/purple.gif
+%%WWWDIR%%/server/www/gifs/red-ack.gif
+%%WWWDIR%%/server/www/gifs/red-recent.gif
+%%WWWDIR%%/server/www/gifs/red.gif
+%%WWWDIR%%/server/www/gifs/unknown-recent.gif
+%%WWWDIR%%/server/www/gifs/unknown.gif
+%%WWWDIR%%/server/www/gifs/yellow-ack.gif
+%%WWWDIR%%/server/www/gifs/yellow-recent.gif
+%%WWWDIR%%/server/www/gifs/yellow.gif
+%%WWWDIR%%/server/www/gifs/zoom.gif
+%%WWWDIR%%/server/www/help/about.html
+%%WWWDIR%%/server/www/help/bb-to-hobbit.html
+%%WWWDIR%%/server/www/help/clonewarn.jpg
+%%WWWDIR%%/server/www/help/configure.txt
+%%WWWDIR%%/server/www/help/criticalsystems.html
+%%WWWDIR%%/server/www/help/critview-detail-acked.jpg
+%%WWWDIR%%/server/www/help/critview-detail-ackform.jpg
+%%WWWDIR%%/server/www/help/critview-detail.jpg
+%%WWWDIR%%/server/www/help/critview-disk.jpg
+%%WWWDIR%%/server/www/help/critview-green.jpg
+%%WWWDIR%%/server/www/help/editor-clonemaster.jpg
+%%WWWDIR%%/server/www/help/editor-diskchanged.jpg
+%%WWWDIR%%/server/www/help/editor-disksetup.jpg
+%%WWWDIR%%/server/www/help/editor-main.jpg
+%%WWWDIR%%/server/www/help/editor-makeclone.jpg
+%%WWWDIR%%/server/www/help/editor-nohost.jpg
+%%WWWDIR%%/server/www/help/editor-showclone.jpg
+%%WWWDIR%%/server/www/help/hobbit-alerts.html
+%%WWWDIR%%/server/www/help/hobbit-apacheconf.txt
+%%WWWDIR%%/server/www/help/hobbit-bbhosts.png
+%%WWWDIR%%/server/www/help/hobbit-clients.png
+%%WWWDIR%%/server/www/help/hobbit-config.html
+%%WWWDIR%%/server/www/help/hobbit-mrtg.html
+%%WWWDIR%%/server/www/help/hobbit-tips.html
+%%WWWDIR%%/server/www/help/hobbitmain.png
+%%WWWDIR%%/server/www/help/hobbitprocs.png
+%%WWWDIR%%/server/www/help/howtograph.html
+%%WWWDIR%%/server/www/help/install.html
+%%WWWDIR%%/server/www/help/known-issues.html
+%%WWWDIR%%/server/www/help/mainview-acked.jpg
+%%WWWDIR%%/server/www/help/mainview.jpg
+%%WWWDIR%%/server/www/help/manpages/index.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-ack.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-csvinfo.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-datepage.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-eventlog.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-findhost.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-hist.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-rep.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-replog.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-snapshot.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-webpage.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbcmd.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbcombotest.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbdigest.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbgen.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbhostgrep.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbhostshow.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbretest-net.sh.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbtest-net.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/clientupdate.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-ackinfo.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-confreport.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-ghosts.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-hostgraphs.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-nkedit.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-nkview.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-statusreport.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbitgraph.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbitping.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbitsvc.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/logfetch.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/orcahobbit.1.html
+%%WWWDIR%%/server/www/help/manpages/man5/bb-hosts.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/bb-services.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/bbcombotest.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/client-local.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/clientlaunch.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbit-alerts.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbit-clients.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbit-nkview.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitcgi.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitclient.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitgraph.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitlaunch.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitserver.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitweb.5.html
+%%WWWDIR%%/server/www/help/manpages/man7/hobbit.7.html
+%%WWWDIR%%/server/www/help/manpages/man8/bbmessage.cgi.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/bbproxy.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbit-enadis.cgi.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbit-mailack.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_alert.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_channel.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_client.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_filestore.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_history.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_hostdata.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_rrd.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_sample.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitfetch.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitlaunch.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/msgcache.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/trimhistory.8.html
+%%WWWDIR%%/server/www/help/stdview-detail-acked.jpg
+%%WWWDIR%%/server/www/menu/README
+%%WWWDIR%%/server/www/menu/menu.css
+%%WWWDIR%%/server/www/menu/menu.js
+%%WWWDIR%%/server/www/menu/menu_items.js
+%%WWWDIR%%/server/www/menu/menu_tpl.js
+@exec mkdir %D/%%WWWDIR%%/data
+@exec mkdir %D/%%WWWDIR%%/data/acks
+@exec mkdir %D/%%WWWDIR%%/data/data
+@exec mkdir %D/%%WWWDIR%%/data/disabled
+@exec mkdir %D/%%WWWDIR%%/data/hist
+@exec mkdir %D/%%WWWDIR%%/data/histlogs
+@exec mkdir %D/%%WWWDIR%%/data/hostdata
+@exec mkdir %D/%%WWWDIR%%/data/logs
+@exec mkdir %D/%%WWWDIR%%/data/rrd
+@exec mkdir %D/%%WWWDIR%%/server/download
+@exec mkdir %D/%%WWWDIR%%/server/tmp
+@exec mkdir %D/%%WWWDIR%%/server/www/html
+@exec mkdir %D/%%WWWDIR%%/server/www/notes
+@exec mkdir %D/%%WWWDIR%%/server/www/rep
+@exec mkdir %D/%%WWWDIR%%/server/www/snap
+@exec mkdir %D/%%WWWDIR%%/server/www/wml
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/acks
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/data
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/disabled
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/hist
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/histlogs
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/hostdata
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/logs
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/rrd
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/download
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/tmp
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/html
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/notes
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/rep
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/snap
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/wml
+@dirrm %%WWWDIR%%/server/www/wml
+@dirrm %%WWWDIR%%/server/www/snap
+@dirrm %%WWWDIR%%/server/www/rep
+@dirrm %%WWWDIR%%/server/www/notes
+@dirrm %%WWWDIR%%/server/www/menu
+@dirrm %%WWWDIR%%/server/www/html
+@dirrm %%WWWDIR%%/server/www/help/manpages/man8
+@dirrm %%WWWDIR%%/server/www/help/manpages/man7
+@dirrm %%WWWDIR%%/server/www/help/manpages/man5
+@dirrm %%WWWDIR%%/server/www/help/manpages/man1
+@dirrm %%WWWDIR%%/server/www/help/manpages
+@dirrm %%WWWDIR%%/server/www/help
+@dirrm %%WWWDIR%%/server/www/gifs
+@dirrm %%WWWDIR%%/server/www
+@dirrm %%WWWDIR%%/server/web
+@dirrm %%WWWDIR%%/server/tmp
+@dirrm %%WWWDIR%%/server/ext
+@dirrm %%WWWDIR%%/server/etc
+@dirrm %%WWWDIR%%/server/download
+@dirrm %%WWWDIR%%/server/bin
+@dirrm %%WWWDIR%%/server
+@dirrm %%WWWDIR%%/data/rrd
+@dirrm %%WWWDIR%%/data/logs
+@dirrm %%WWWDIR%%/data/hostdata
+@dirrm %%WWWDIR%%/data/histlogs
+@dirrm %%WWWDIR%%/data/hist
+@dirrm %%WWWDIR%%/data/disabled
+@dirrm %%WWWDIR%%/data/data
+@dirrm %%WWWDIR%%/data/acks
+@dirrm %%WWWDIR%%/data
+@dirrm %%WWWDIR%%/cgi-secure
+@dirrm %%WWWDIR%%/cgi-bin
+@dirrmtry %%WWWDIR%%
+@exec mkdir -p %%VARBASE%%/log/hobbit
+@exec chown %%BBUSER%% %%VARBASE%%/log/hobbit
+@cwd %%VARBASE%%
+@dirrmtry log/hobbit
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile
new file mode 100644
index 000000000000..0ce439b9c791
--- /dev/null
+++ b/net-mgmt/xymon-server/Makefile
@@ -0,0 +1,86 @@
+# New ports collection makefile for: hobbit-server
+# Date created: 24 Jan 2008
+# Whom: dirk.meyer@dinoex.sub.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= hobbit
+PORTVERSION= 4.2.0
+CATEGORIES= net-mgmt www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= hobbitmon
+PKGNAMESUFFIX= -server${PKGNAMESUFFIX2}
+
+MAINTAINER= dinoex@FreeBSD.org
+COMMENT= System for monitoring servers and networks
+
+BUILD_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
+LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
+ pcre:${PORTSDIR}/devel/pcre
+RUN_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
+
+# Options
+BBUSER?= hobbit
+BBHOSTNAME?= hobbit.example.com
+BBHOSTIP?= 127.0.0.1
+
+USE_GMAKE= yes
+USE_OPENSSL= yes
+CONFIGURE_ENV= MAKE=gmake
+MAKE_ENV+= BBUSER="${BBUSER}"
+MAKE_ENV+= BBHOSTNAME="${BBHOSTNAME}"
+MAKE_ENV+= BBHOSTIP="${BBHOSTIP}"
+USE_RC_SUBR= hobbit-server.sh
+SITE_SUB+= -e 's|%%BBUSER%%|${BBUSER}|g'
+PLIST_SUB+= BBUSER="${BBUSER}" VARBASE="/var"
+
+CONFIG_FILES= bb-hosts bb-services bbcombotest.cfg client-local.cfg \
+ columndoc.csv hobbit-alerts.cfg hobbit-apache.conf \
+ hobbit-clients.cfg hobbitcgi.cfg hobbitgraph.cfg \
+ hobbitlaunch.cfg hobbitserver.cfg
+FIXME1= bb-hosts hobbit-alerts.cfg hobbit-clients.cfg bbcombotest.cfg
+
+MAN1 = bb-ack.cgi.1 bb-csvinfo.cgi.1 bb-datepage.cgi.1 bb-eventlog.cgi.1 \
+ bb-findhost.cgi.1 bb-hist.cgi.1 bb-rep.cgi.1 bb-replog.cgi.1 \
+ bb-snapshot.cgi.1 bb-webpage.1 bb.1 bbcmd.1 bbcombotest.1 bbdigest.1 \
+ bbgen.1 bbhostgrep.1 bbhostshow.1 bbretest-net.sh.1 bbtest-net.1 \
+ clientupdate.1 hobbit-ackinfo.cgi.1 hobbit-confreport.cgi.1 \
+ hobbit-ghosts.cgi.1 hobbit-hostgraphs.cgi.1 hobbit-nkedit.cgi.1 \
+ hobbit-nkview.cgi.1 hobbit-statusreport.cgi.1 hobbitgraph.cgi.1 \
+ hobbitping.1 hobbitsvc.cgi.1 logfetch.1 orcahobbit.1
+MAN5= bb-hosts.5 bb-services.5 bbcombotest.cfg.5 client-local.cfg.5 \
+ clientlaunch.cfg.5 hobbit-alerts.cfg.5 hobbit-clients.cfg.5 \
+ hobbit-nkview.cfg.5 hobbitcgi.cfg.5 hobbitclient.cfg.5 \
+ hobbitgraph.cfg.5 hobbitlaunch.cfg.5 hobbitserver.cfg.5 hobbitweb.5
+MAN7= hobbit.7
+MAN8= bbmessage.cgi.8 bbproxy.8 hobbit-enadis.cgi.8 hobbit-mailack.8 \
+ hobbitd.8 hobbitd_alert.8 hobbitd_channel.8 hobbitd_client.8 \
+ hobbitd_filestore.8 hobbitd_history.8 hobbitd_hostdata.8 \
+ hobbitd_rrd.8 hobbitd_sample.8 hobbitfetch.8 hobbitlaunch.8 \
+ msgcache.8 trimhistory.8
+
+.if defined(WITH_LDAP)
+MAKE_ENV+= WITH_LDAP=1
+USE_OPENLDAP= yes
+.endif
+
+# Configure script is interactive
+do-configure:
+ ${CP} ${FILESDIR}/Makefile ${WRKSRC}/
+
+pre-install:
+ if ! pw groupshow ${BBUSER}; then pw groupadd ${BBUSER} -g 280; fi
+ if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \
+ -h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
+
+post-install:
+.for i in ${FIXME1}
+ ${INSTALL_DATA} ${WRKSRC}/hobbitd/etcfiles/${i} ${WWWDIR}/server/etc/${i}-dist
+.endfor
+.for i in ${CONFIG_FILES}
+ ${CP} -np ${WWWDIR}/server/etc/${i}-dist \
+ ${WWWDIR}/server/etc/${i}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/xymon-server/distinfo b/net-mgmt/xymon-server/distinfo
new file mode 100644
index 000000000000..ae7b9ebf2057
--- /dev/null
+++ b/net-mgmt/xymon-server/distinfo
@@ -0,0 +1,3 @@
+MD5 (hobbit-4.2.0.tar.gz) = 120fd876b8494e249de0bf0366fcdd9a
+SHA256 (hobbit-4.2.0.tar.gz) = 0c2ab43668921316ec435e736a499853d047f0f88a87aa362ccbb8637d2c8d3e
+SIZE (hobbit-4.2.0.tar.gz) = 2341167
diff --git a/net-mgmt/xymon-server/files/Makefile b/net-mgmt/xymon-server/files/Makefile
new file mode 100644
index 000000000000..9b25ee5e7910
--- /dev/null
+++ b/net-mgmt/xymon-server/files/Makefile
@@ -0,0 +1,76 @@
+# Toplevel Makefile for Hobbit
+# $FreeBSD$
+BUILDTOPDIR=`pwd`
+
+# configure settings for Hobbit
+#
+# Toplevel dir
+BBTOPDIR = ${PREFIX}/www/hobbit
+# Server home dir for etc/, bin/
+BBHOME = ${PREFIX}/www/hobbit/server
+# Server data dir for hist/ etc.
+BBVAR = ${PREFIX}/www/hobbit/data
+# CGI scripts go in CGIDIR
+CGIDIR = ${PREFIX}/www/hobbit/cgi-bin
+# Admin CGI scripts go in SECURECGIDIR
+SECURECGIDIR = ${PREFIX}/www/hobbit/cgi-secure
+# Where to put logfiles
+BBLOGDIR = /var/log/hobbit
+# Where to install manpages
+MANROOT = ${PREFIX}/man
+# How to run fping or hobbitping
+FPING = hobbitping
+
+# Username running hobbit
+#BBUSER = nobody
+# Hobbit server hostname
+#BBHOSTNAME = hobbit.example.com
+# Hobbit server IP-address
+#BBHOSTIP = 127.0.0.1
+# Hobbit server OS
+BBHOSTOS = freebsd
+
+# URL for Hobbit webpages
+BBHOSTURL = /hobbit
+# URL for Hobbit CGIs
+BBCGIURL = /hobbit-cgi
+# URL for Hobbit Admin CGIs
+SECUREBBCGIURL = /hobbit-seccgi
+# Webserver group-ID
+HTTPDGID=80
+
+# RRDtool settings
+RRDDEF = -DRRDTOOL12
+RRDINCDIR = -I${LOCALBASE}/include
+RRDLIBS = -L${LOCALBASE}/lib -lrrd -L${LOCALBASE}/lib -lpng
+RPATHVAL += ${LOCALBASE}/lib
+
+# PCRE settings
+PCREINCDIR = -I${LOCALBASE}/include
+PCRELIBS = -L${LOCALBASE}/lib -lpcre
+RPATHVAL += ${LOCALBASE}/lib
+#
+# OpenSSL settings
+SSLFLAGS = -DBBGEN_SSL
+SSLINCDIR = -I${OPENSSLINC}
+SSLLIBS = -L${OPENSSLLIB} -lssl -lcrypto
+RPATHVAL += ${OPENSSLLIB}
+#
+ifdef WITH_LDAP
+# OpenLDAP settings
+LDAPFLAGS = -DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS
+LDAPINCDIR = -I${PREFIX}/include
+LDAPLIBS = -L${PREFIX}/lib -lldap -llber
+RPATHVAL += ${PREFIX}/lib
+endif
+#
+# Large File Support settings
+LFSDEF = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+
+include build/Makefile.FreeBSD
+
+
+# Add local CFLAGS etc. settings here
+
+include build/Makefile.rules
+
diff --git a/net-mgmt/xymon-server/files/hobbit-server.sh.in b/net-mgmt/xymon-server/files/hobbit-server.sh.in
new file mode 100644
index 000000000000..af0960179f19
--- /dev/null
+++ b/net-mgmt/xymon-server/files/hobbit-server.sh.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: hobbit_server
+# REQUIRE: DAEMON
+
+. "%%RC_SUBR%%"
+
+name="hobbit_server"
+rcvar=`set_rcvar`
+
+load_rc_config "$name"
+: ${hobbit_server_enable:="NO"}
+
+command="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh"
+start_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh start'"
+stop_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh stop'"
+status_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh status'"
+reload_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh reload'"
+restart_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh restart'"
+pidfile="/var/log/hobbit/hobbitd.pid"
+
+run_rc_command "$1"
+# eof
diff --git a/net-mgmt/xymon-server/files/patch-bbnet-Makefile b/net-mgmt/xymon-server/files/patch-bbnet-Makefile
new file mode 100644
index 000000000000..251c026d5702
--- /dev/null
+++ b/net-mgmt/xymon-server/files/patch-bbnet-Makefile
@@ -0,0 +1,13 @@
+--- bbnet/Makefile.orig 2006-08-09 22:09:56.000000000 +0200
++++ bbnet/Makefile 2008-01-28 16:08:57.000000000 +0100
+@@ -88,8 +88,8 @@
+ cp -fp $(EXTENSIONS) $(INSTALLROOT)$(INSTALLEXTDIR)/
+
+ install-config:
+- ../build/convert-bbservices $(INSTALLROOT)$(INSTALLETCDIR)/bb-services
+- ../build/merge-sects bb-services $(INSTALLROOT)$(INSTALLETCDIR)/bb-services
++ ../build/convert-bbservices $(INSTALLROOT)$(INSTALLETCDIR)/bb-services-dist
++ ../build/merge-sects bb-services $(INSTALLROOT)$(INSTALLETCDIR)/bb-services-dist
+
+ install-man:
+ mkdir -p $(INSTALLROOT)$(MANROOT)/man1 $(INSTALLROOT)$(MANROOT)/man5
diff --git a/net-mgmt/xymon-server/files/patch-build-Makefile.rules b/net-mgmt/xymon-server/files/patch-build-Makefile.rules
new file mode 100644
index 000000000000..6a0dc2fe8f68
--- /dev/null
+++ b/net-mgmt/xymon-server/files/patch-build-Makefile.rules
@@ -0,0 +1,15 @@
+--- build/Makefile.rules.orig 2006-08-09 22:09:57.000000000 +0200
++++ build/Makefile.rules 2008-01-24 14:12:36.000000000 +0100
+@@ -22,9 +22,9 @@
+ INSTALLTARGETS = install-client install-clientmsg
+ endif
+ else
+- BUILDTARGETS = lib-build common-build bbdisplay-build bbnet-build bbproxy-build docs-build build-build hobbitd-build web-build client
+- CLIENTTARGETS = lib-client common-client build-build
+- INSTALLTARGETS = install-bbdisplay install-bbnet install-bbproxy install-man install-hobbitd install-web install-docs install-client install-servermsg
++ BUILDTARGETS = lib-build common-build bbdisplay-build bbnet-build bbproxy-build docs-build build-build hobbitd-build web-build
++ CLIENTTARGETS =
++ INSTALLTARGETS = install-bbdisplay install-bbnet install-bbproxy install-man install-hobbitd install-web install-docs install-servermsg
+ CFLAGS += $(PCREINCDIR)
+ endif
+
diff --git a/net-mgmt/xymon-server/files/patch-hobbitd-Makefile b/net-mgmt/xymon-server/files/patch-hobbitd-Makefile
new file mode 100644
index 000000000000..9e2089769b31
--- /dev/null
+++ b/net-mgmt/xymon-server/files/patch-hobbitd-Makefile
@@ -0,0 +1,25 @@
+--- hobbitd/Makefile.orig 2006-08-09 22:10:05.000000000 +0200
++++ hobbitd/Makefile 2008-01-28 14:40:13.000000000 +0100
+@@ -140,14 +140,14 @@
+ cp -fp *.8 $(INSTALLROOT)$(MANROOT)/man8/
+
+ install-cfg:
+- cd etcfiles; ../../build/merge-lines hobbitserver.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitserver.cfg LARRDCOLUMN=TRENDSCOLUMN LARRDS=TEST2RRD
+- cd etcfiles; ../../build/merge-lines hobbitcgi.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitcgi.cfg
+- cd etcfiles; ../../build/merge-sects hobbitlaunch.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitlaunch.cfg larrdstatus=rrdstatus larrddata=rrddata
+- cd etcfiles; ../../build/merge-sects client-local.cfg $(INSTALLROOT)$(INSTALLETCDIR)/client-local.cfg
+- cd etcfiles; ../../build/merge-sects hobbitgraph.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitgraph.cfg
+- cd etcfiles; ../../build/merge-lines columndoc.csv $(INSTALLROOT)$(INSTALLETCDIR)/columndoc.csv
+- cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo "hobbit-clients.cfg"; echo "bbcombotest.cfg"; echo "client-local.cfg") | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLETCDIR)/
+- cd etcfiles; cp -fp hobbit-apache.conf $(INSTALLROOT)$(INSTALLETCDIR)/hobbit-apache.conf
++ cd etcfiles; ../../build/merge-lines hobbitserver.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitserver.cfg-dist LARRDCOLUMN=TRENDSCOLUMN LARRDS=TEST2RRD
++ cd etcfiles; ../../build/merge-lines hobbitcgi.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitcgi.cfg-dist
++ cd etcfiles; ../../build/merge-sects hobbitlaunch.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitlaunch.cfg-dist larrdstatus=rrdstatus larrddata=rrddata
++ cd etcfiles; ../../build/merge-sects client-local.cfg $(INSTALLROOT)$(INSTALLETCDIR)/client-local.cfg-dist
++ cd etcfiles; ../../build/merge-sects hobbitgraph.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitgraph.cfg-dist
++ cd etcfiles; ../../build/merge-lines columndoc.csv $(INSTALLROOT)$(INSTALLETCDIR)/columndoc.csv-dist
++# cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo "hobbit-clients.cfg"; echo "bbcombotest.cfg"; echo "client-local.cfg") | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLETCDIR)/
++ cd etcfiles; cp -fp hobbit-apache.conf $(INSTALLROOT)$(INSTALLETCDIR)/hobbit-apache.conf-dist
+ cd $(INSTALLROOT)$(BBHOME); rm -f hobbit.sh; ln -sf bin/hobbit.sh .
+ cd wwwfiles; find . | grep -v RCS | grep -v DIST | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLWWWDIR)/ ../../build/md5.dat
+ cd webfiles; find . | grep -v RCS | grep -v DIST | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLWEBDIR)/ ../../build/md5.dat
diff --git a/net-mgmt/xymon-server/pkg-descr b/net-mgmt/xymon-server/pkg-descr
new file mode 100644
index 000000000000..a696edf28b33
--- /dev/null
+++ b/net-mgmt/xymon-server/pkg-descr
@@ -0,0 +1,15 @@
+Hobbit is a system for monitoring servers and networks. It has a great deal
+of inspiration from the Big Brother monitor, but unlike Big Brother it is
+designed to work well whether you need to monitor small network with just
+a handful of hosts, or large networks with thousands of hosts.
+
+Hobbit is the successor to the bbgen toolkit, which has been available as
+an add-on to Big Brother since late 2002. The name change was decided upon
+when Hobbit acquired enough functionality to be a stand-alone product.
+The tools that formed the bbgen toolkit are still present in Hobbit
+and are quite important for it, so if you have used bbgen before,
+Hobbit will seem quite familiar.
+
+This is the server.
+
+WWW: http://hobbitmon.sourceforge.net/
diff --git a/net-mgmt/xymon-server/pkg-plist b/net-mgmt/xymon-server/pkg-plist
new file mode 100644
index 000000000000..3fd1ab9322b0
--- /dev/null
+++ b/net-mgmt/xymon-server/pkg-plist
@@ -0,0 +1,390 @@
+@exec if ! pw groupshow %%BBUSER%% 2>/dev/null; then pw groupadd %%BBUSER%% -g 280; fi
+@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d /nonexistent -s /usr/sbin/nologin -c "Hobbit Monitor"; fi
+@unexec if pw usershow %%BBUSER%%; then pw userdel %%BBUSER%%; fi
+%%WWWDIR%%/cgi-bin/bb-csvinfo.sh
+%%WWWDIR%%/cgi-bin/bb-datepage.sh
+%%WWWDIR%%/cgi-bin/bb-eventlog.sh
+%%WWWDIR%%/cgi-bin/bb-findhost.sh
+%%WWWDIR%%/cgi-bin/bb-hist.sh
+%%WWWDIR%%/cgi-bin/bb-histlog.sh
+%%WWWDIR%%/cgi-bin/bb-hostsvc.sh
+%%WWWDIR%%/cgi-bin/bb-rep.sh
+%%WWWDIR%%/cgi-bin/bb-replog.sh
+%%WWWDIR%%/cgi-bin/bb-snapshot.sh
+%%WWWDIR%%/cgi-bin/hobbit-certreport.sh
+%%WWWDIR%%/cgi-bin/hobbit-confreport.sh
+%%WWWDIR%%/cgi-bin/hobbit-ghosts.sh
+%%WWWDIR%%/cgi-bin/hobbit-hostgraphs.sh
+%%WWWDIR%%/cgi-bin/hobbit-nkview.sh
+%%WWWDIR%%/cgi-bin/hobbit-nongreen.sh
+%%WWWDIR%%/cgi-bin/hobbitcolumn.sh
+%%WWWDIR%%/cgi-bin/hobbitgraph.sh
+%%WWWDIR%%/cgi-secure/bb-ack.sh
+%%WWWDIR%%/cgi-secure/hobbit-ackinfo.sh
+%%WWWDIR%%/cgi-secure/hobbit-enadis.sh
+%%WWWDIR%%/cgi-secure/hobbit-nkedit.sh
+%%WWWDIR%%/server/bin/bb
+%%WWWDIR%%/server/bin/bb-ack.cgi
+%%WWWDIR%%/server/bin/bb-csvinfo.cgi
+%%WWWDIR%%/server/bin/bb-datepage.cgi
+%%WWWDIR%%/server/bin/bb-eventlog.cgi
+%%WWWDIR%%/server/bin/bb-findhost.cgi
+%%WWWDIR%%/server/bin/bb-hist.cgi
+%%WWWDIR%%/server/bin/bb-rep.cgi
+%%WWWDIR%%/server/bin/bb-replog.cgi
+%%WWWDIR%%/server/bin/bb-snapshot.cgi
+%%WWWDIR%%/server/bin/bb-webpage
+%%WWWDIR%%/server/bin/bbcmd
+%%WWWDIR%%/server/bin/bbcombotest
+%%WWWDIR%%/server/bin/bbdigest
+%%WWWDIR%%/server/bin/bbgen
+%%WWWDIR%%/server/bin/bbhostgrep
+%%WWWDIR%%/server/bin/bbhostshow
+%%WWWDIR%%/server/bin/bbmessage.cgi
+%%WWWDIR%%/server/bin/bbproxy
+%%WWWDIR%%/server/bin/bbtest-net
+%%WWWDIR%%/server/bin/beastat
+%%WWWDIR%%/server/bin/boilerplate.cgi
+%%WWWDIR%%/server/bin/hobbit-ackinfo.cgi
+%%WWWDIR%%/server/bin/hobbit-confreport.cgi
+%%WWWDIR%%/server/bin/hobbit-enadis.cgi
+%%WWWDIR%%/server/bin/hobbit-ghosts.cgi
+%%WWWDIR%%/server/bin/hobbit-hostgraphs.cgi
+%%WWWDIR%%/server/bin/hobbit-mailack
+%%WWWDIR%%/server/bin/hobbit-nkedit.cgi
+%%WWWDIR%%/server/bin/hobbit-nkview.cgi
+%%WWWDIR%%/server/bin/hobbit-statusreport.cgi
+%%WWWDIR%%/server/bin/hobbit.sh
+%%WWWDIR%%/server/bin/hobbitd
+%%WWWDIR%%/server/bin/hobbitd_alert
+%%WWWDIR%%/server/bin/hobbitd_capture
+%%WWWDIR%%/server/bin/hobbitd_channel
+%%WWWDIR%%/server/bin/hobbitd_client
+%%WWWDIR%%/server/bin/hobbitd_filestore
+%%WWWDIR%%/server/bin/hobbitd_history
+%%WWWDIR%%/server/bin/hobbitd_hostdata
+%%WWWDIR%%/server/bin/hobbitd_larrd
+%%WWWDIR%%/server/bin/hobbitd_rrd
+%%WWWDIR%%/server/bin/hobbitd_sample
+%%WWWDIR%%/server/bin/hobbitfetch
+%%WWWDIR%%/server/bin/hobbitgraph.cgi
+%%WWWDIR%%/server/bin/hobbitlaunch
+%%WWWDIR%%/server/bin/hobbitping
+%%WWWDIR%%/server/bin/hobbitreports.sh
+%%WWWDIR%%/server/bin/hobbitsvc.cgi
+%%WWWDIR%%/server/bin/moverrd.sh
+%%WWWDIR%%/server/bin/trimhistory
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/bb-hosts %D/%%WWWDIR%%/server/etc/bb-hosts-dist; then rm -f %D/%%WWWDIR%%/server/etc/bb-hosts; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/bb-services %D/%%WWWDIR%%/server/etc/bb-services-dist; then rm -f %D/%%WWWDIR%%/server/etc/bb-services; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/bbcombotest.cfg %D/%%WWWDIR%%/server/etc/bbcombotest.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/bbcombotest.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/client-local.cfg %D/%%WWWDIR%%/server/etc/client-local.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/client-local.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/columndoc.csv %D/%%WWWDIR%%/server/etc/columndoc.csv-dist; then rm -f %D/%%WWWDIR%%/server/etc/columndoc.csv; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbit-alerts.cfg %D/%%WWWDIR%%/server/etc/hobbit-alerts.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-alerts.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbit-apache.conf %D/%%WWWDIR%%/server/etc/hobbit-apache.conf-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-apache.conf; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbit-clients.cfg %D/%%WWWDIR%%/server/etc/hobbit-clients.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-clients.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitcgi.cfg %D/%%WWWDIR%%/server/etc/hobbitcgi.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitcgi.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitgraph.cfg %D/%%WWWDIR%%/server/etc/hobbitgraph.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitgraph.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitlaunch.cfg %D/%%WWWDIR%%/server/etc/hobbitlaunch.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitlaunch.cfg; fi
+@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitserver.cfg %D/%%WWWDIR%%/server/etc/hobbitserver.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitserver.cfg; fi
+%%WWWDIR%%/server/etc/bb-hosts-dist
+@exec [ ! -f %B/bb-hosts ] && cp %B/%f %B/bb-hosts
+%%WWWDIR%%/server/etc/bb-services-dist
+@exec [ ! -f %B/bb-services ] && cp %B/%f %B/bb-services
+%%WWWDIR%%/server/etc/bbcombotest.cfg-dist
+@exec [ ! -f %B/bbcombotest.cfg ] && cp %B/%f %B/bbcombotest.cfg
+%%WWWDIR%%/server/etc/client-local.cfg-dist
+@exec [ ! -f %B/client-local.cfg ] && cp %B/%f %B/client-local.cfg
+%%WWWDIR%%/server/etc/columndoc.csv-dist
+@exec [ ! -f %B/columndoc.cfg ] && cp %B/%f %B/columndoc.cfg
+%%WWWDIR%%/server/etc/hobbit-alerts.cfg-dist
+@exec [ ! -f %B/hobbit-alerts.cfg ] && cp %B/%f %B/hobbit-alerts.cfg
+%%WWWDIR%%/server/etc/hobbit-apache.conf-dist
+@exec [ ! -f %B/hobbit-apache.cfg ] && cp %B/%f %B/hobbit-apache.cfg
+%%WWWDIR%%/server/etc/hobbit-clients.cfg-dist
+@exec [ ! -f %B/hobbit-clients.cfg ] && cp %B/%f %B/hobbit-clients.cfg
+@unexec if test ! -s %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg; fi
+@unexec if test ! -s %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak; fi
+@exec touch %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak
+%%WWWDIR%%/server/etc/hobbitcgi.cfg-dist
+@exec [ ! -f %B/hobbitcgi.cfg ] && cp %B/%f %B/hobbitcgi.cfg
+%%WWWDIR%%/server/etc/hobbitgraph.cfg-dist
+@exec [ ! -f %B/hobbitgraph.cfg ] && cp %B/%f %B/hobbitgraph.cfg
+%%WWWDIR%%/server/etc/hobbitlaunch.cfg-dist
+@exec [ ! -f %B/hobbitlaunch.cfg ] && cp %B/%f %B/hobbitlaunch.cfg
+%%WWWDIR%%/server/etc/hobbitserver.cfg-dist
+@exec [ ! -f %B/hobbitserver.cfg ] && cp %B/%f %B/hobbitserver.cfg
+%%WWWDIR%%/server/ext/bbretest-net.sh
+%%WWWDIR%%/server/hobbit.sh
+%%WWWDIR%%/server/web/acknowledge_footer
+%%WWWDIR%%/server/web/acknowledge_form
+%%WWWDIR%%/server/web/acknowledge_header
+%%WWWDIR%%/server/web/bb2_footer
+%%WWWDIR%%/server/web/bb2_header
+%%WWWDIR%%/server/web/bb_footer
+%%WWWDIR%%/server/web/bb_header
+%%WWWDIR%%/server/web/bbnk_footer
+%%WWWDIR%%/server/web/bbnk_header
+%%WWWDIR%%/server/web/bbrep_footer
+%%WWWDIR%%/server/web/bbrep_header
+%%WWWDIR%%/server/web/bbsnap2_footer
+%%WWWDIR%%/server/web/bbsnap2_header
+%%WWWDIR%%/server/web/bbsnap_footer
+%%WWWDIR%%/server/web/bbsnap_header
+%%WWWDIR%%/server/web/bbsnapnk_footer
+%%WWWDIR%%/server/web/bbsnapnk_header
+%%WWWDIR%%/server/web/columndoc_footer
+%%WWWDIR%%/server/web/columndoc_header
+%%WWWDIR%%/server/web/confreport_back
+%%WWWDIR%%/server/web/confreport_footer
+%%WWWDIR%%/server/web/confreport_front
+%%WWWDIR%%/server/web/confreport_header
+%%WWWDIR%%/server/web/event_footer
+%%WWWDIR%%/server/web/event_form
+%%WWWDIR%%/server/web/event_header
+%%WWWDIR%%/server/web/findhost_footer
+%%WWWDIR%%/server/web/findhost_form
+%%WWWDIR%%/server/web/findhost_header
+%%WWWDIR%%/server/web/ghosts_footer
+%%WWWDIR%%/server/web/ghosts_header
+%%WWWDIR%%/server/web/graphs_footer
+%%WWWDIR%%/server/web/graphs_header
+%%WWWDIR%%/server/web/hist_footer
+%%WWWDIR%%/server/web/hist_header
+%%WWWDIR%%/server/web/histlog_footer
+%%WWWDIR%%/server/web/histlog_header
+%%WWWDIR%%/server/web/hobbitnk_footer
+%%WWWDIR%%/server/web/hobbitnk_header
+%%WWWDIR%%/server/web/hostgraphs_footer
+%%WWWDIR%%/server/web/hostgraphs_form
+%%WWWDIR%%/server/web/hostgraphs_header
+%%WWWDIR%%/server/web/hostsvc_footer
+%%WWWDIR%%/server/web/hostsvc_header
+%%WWWDIR%%/server/web/info_footer
+%%WWWDIR%%/server/web/info_header
+%%WWWDIR%%/server/web/maint_footer
+%%WWWDIR%%/server/web/maint_form
+%%WWWDIR%%/server/web/maint_header
+%%WWWDIR%%/server/web/maintact_footer
+%%WWWDIR%%/server/web/maintact_header
+%%WWWDIR%%/server/web/nkack_form
+%%WWWDIR%%/server/web/nkedit_footer
+%%WWWDIR%%/server/web/nkedit_form
+%%WWWDIR%%/server/web/nkedit_header
+%%WWWDIR%%/server/web/replog_footer
+%%WWWDIR%%/server/web/replog_header
+%%WWWDIR%%/server/web/report_footer
+%%WWWDIR%%/server/web/report_form
+%%WWWDIR%%/server/web/report_form_daily
+%%WWWDIR%%/server/web/report_form_monthly
+%%WWWDIR%%/server/web/report_form_weekly
+%%WWWDIR%%/server/web/report_header
+%%WWWDIR%%/server/web/snapshot_footer
+%%WWWDIR%%/server/web/snapshot_form
+%%WWWDIR%%/server/web/snapshot_header
+%%WWWDIR%%/server/web/zoom.js
+%%WWWDIR%%/server/www/gifs/README
+%%WWWDIR%%/server/www/gifs/arrow.gif
+%%WWWDIR%%/server/www/gifs/bkg-blue.gif
+%%WWWDIR%%/server/www/gifs/bkg-clear.gif
+%%WWWDIR%%/server/www/gifs/bkg-green.gif
+%%WWWDIR%%/server/www/gifs/bkg-purple.gif
+%%WWWDIR%%/server/www/gifs/bkg-red.gif
+%%WWWDIR%%/server/www/gifs/bkg-yellow.gif
+%%WWWDIR%%/server/www/gifs/blue-ack.gif
+%%WWWDIR%%/server/www/gifs/blue-recent.gif
+%%WWWDIR%%/server/www/gifs/blue.gif
+%%WWWDIR%%/server/www/gifs/clear-recent.gif
+%%WWWDIR%%/server/www/gifs/clear.gif
+%%WWWDIR%%/server/www/gifs/favicon-blue.ico
+%%WWWDIR%%/server/www/gifs/favicon-clear.ico
+%%WWWDIR%%/server/www/gifs/favicon-green.ico
+%%WWWDIR%%/server/www/gifs/favicon-purple.ico
+%%WWWDIR%%/server/www/gifs/favicon-red.ico
+%%WWWDIR%%/server/www/gifs/favicon-unknown.ico
+%%WWWDIR%%/server/www/gifs/favicon-yellow.ico
+%%WWWDIR%%/server/www/gifs/green-recent.gif
+%%WWWDIR%%/server/www/gifs/green.gif
+%%WWWDIR%%/server/www/gifs/purple-ack.gif
+%%WWWDIR%%/server/www/gifs/purple-recent.gif
+%%WWWDIR%%/server/www/gifs/purple.gif
+%%WWWDIR%%/server/www/gifs/red-ack.gif
+%%WWWDIR%%/server/www/gifs/red-recent.gif
+%%WWWDIR%%/server/www/gifs/red.gif
+%%WWWDIR%%/server/www/gifs/unknown-recent.gif
+%%WWWDIR%%/server/www/gifs/unknown.gif
+%%WWWDIR%%/server/www/gifs/yellow-ack.gif
+%%WWWDIR%%/server/www/gifs/yellow-recent.gif
+%%WWWDIR%%/server/www/gifs/yellow.gif
+%%WWWDIR%%/server/www/gifs/zoom.gif
+%%WWWDIR%%/server/www/help/about.html
+%%WWWDIR%%/server/www/help/bb-to-hobbit.html
+%%WWWDIR%%/server/www/help/clonewarn.jpg
+%%WWWDIR%%/server/www/help/configure.txt
+%%WWWDIR%%/server/www/help/criticalsystems.html
+%%WWWDIR%%/server/www/help/critview-detail-acked.jpg
+%%WWWDIR%%/server/www/help/critview-detail-ackform.jpg
+%%WWWDIR%%/server/www/help/critview-detail.jpg
+%%WWWDIR%%/server/www/help/critview-disk.jpg
+%%WWWDIR%%/server/www/help/critview-green.jpg
+%%WWWDIR%%/server/www/help/editor-clonemaster.jpg
+%%WWWDIR%%/server/www/help/editor-diskchanged.jpg
+%%WWWDIR%%/server/www/help/editor-disksetup.jpg
+%%WWWDIR%%/server/www/help/editor-main.jpg
+%%WWWDIR%%/server/www/help/editor-makeclone.jpg
+%%WWWDIR%%/server/www/help/editor-nohost.jpg
+%%WWWDIR%%/server/www/help/editor-showclone.jpg
+%%WWWDIR%%/server/www/help/hobbit-alerts.html
+%%WWWDIR%%/server/www/help/hobbit-apacheconf.txt
+%%WWWDIR%%/server/www/help/hobbit-bbhosts.png
+%%WWWDIR%%/server/www/help/hobbit-clients.png
+%%WWWDIR%%/server/www/help/hobbit-config.html
+%%WWWDIR%%/server/www/help/hobbit-mrtg.html
+%%WWWDIR%%/server/www/help/hobbit-tips.html
+%%WWWDIR%%/server/www/help/hobbitmain.png
+%%WWWDIR%%/server/www/help/hobbitprocs.png
+%%WWWDIR%%/server/www/help/howtograph.html
+%%WWWDIR%%/server/www/help/install.html
+%%WWWDIR%%/server/www/help/known-issues.html
+%%WWWDIR%%/server/www/help/mainview-acked.jpg
+%%WWWDIR%%/server/www/help/mainview.jpg
+%%WWWDIR%%/server/www/help/manpages/index.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-ack.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-csvinfo.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-datepage.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-eventlog.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-findhost.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-hist.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-rep.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-replog.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-snapshot.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb-webpage.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bb.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbcmd.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbcombotest.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbdigest.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbgen.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbhostgrep.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbhostshow.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbretest-net.sh.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/bbtest-net.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/clientupdate.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-ackinfo.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-confreport.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-ghosts.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-hostgraphs.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-nkedit.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-nkview.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbit-statusreport.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbitgraph.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbitping.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/hobbitsvc.cgi.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/logfetch.1.html
+%%WWWDIR%%/server/www/help/manpages/man1/orcahobbit.1.html
+%%WWWDIR%%/server/www/help/manpages/man5/bb-hosts.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/bb-services.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/bbcombotest.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/client-local.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/clientlaunch.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbit-alerts.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbit-clients.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbit-nkview.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitcgi.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitclient.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitgraph.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitlaunch.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitserver.cfg.5.html
+%%WWWDIR%%/server/www/help/manpages/man5/hobbitweb.5.html
+%%WWWDIR%%/server/www/help/manpages/man7/hobbit.7.html
+%%WWWDIR%%/server/www/help/manpages/man8/bbmessage.cgi.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/bbproxy.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbit-enadis.cgi.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbit-mailack.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_alert.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_channel.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_client.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_filestore.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_history.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_hostdata.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_rrd.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_sample.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitfetch.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/hobbitlaunch.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/msgcache.8.html
+%%WWWDIR%%/server/www/help/manpages/man8/trimhistory.8.html
+%%WWWDIR%%/server/www/help/stdview-detail-acked.jpg
+%%WWWDIR%%/server/www/menu/README
+%%WWWDIR%%/server/www/menu/menu.css
+%%WWWDIR%%/server/www/menu/menu.js
+%%WWWDIR%%/server/www/menu/menu_items.js
+%%WWWDIR%%/server/www/menu/menu_tpl.js
+@exec mkdir %D/%%WWWDIR%%/data
+@exec mkdir %D/%%WWWDIR%%/data/acks
+@exec mkdir %D/%%WWWDIR%%/data/data
+@exec mkdir %D/%%WWWDIR%%/data/disabled
+@exec mkdir %D/%%WWWDIR%%/data/hist
+@exec mkdir %D/%%WWWDIR%%/data/histlogs
+@exec mkdir %D/%%WWWDIR%%/data/hostdata
+@exec mkdir %D/%%WWWDIR%%/data/logs
+@exec mkdir %D/%%WWWDIR%%/data/rrd
+@exec mkdir %D/%%WWWDIR%%/server/download
+@exec mkdir %D/%%WWWDIR%%/server/tmp
+@exec mkdir %D/%%WWWDIR%%/server/www/html
+@exec mkdir %D/%%WWWDIR%%/server/www/notes
+@exec mkdir %D/%%WWWDIR%%/server/www/rep
+@exec mkdir %D/%%WWWDIR%%/server/www/snap
+@exec mkdir %D/%%WWWDIR%%/server/www/wml
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/acks
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/data
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/disabled
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/hist
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/histlogs
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/hostdata
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/logs
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/rrd
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/download
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/tmp
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/html
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/notes
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/rep
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/snap
+@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/wml
+@dirrm %%WWWDIR%%/server/www/wml
+@dirrm %%WWWDIR%%/server/www/snap
+@dirrm %%WWWDIR%%/server/www/rep
+@dirrm %%WWWDIR%%/server/www/notes
+@dirrm %%WWWDIR%%/server/www/menu
+@dirrm %%WWWDIR%%/server/www/html
+@dirrm %%WWWDIR%%/server/www/help/manpages/man8
+@dirrm %%WWWDIR%%/server/www/help/manpages/man7
+@dirrm %%WWWDIR%%/server/www/help/manpages/man5
+@dirrm %%WWWDIR%%/server/www/help/manpages/man1
+@dirrm %%WWWDIR%%/server/www/help/manpages
+@dirrm %%WWWDIR%%/server/www/help
+@dirrm %%WWWDIR%%/server/www/gifs
+@dirrm %%WWWDIR%%/server/www
+@dirrm %%WWWDIR%%/server/web
+@dirrm %%WWWDIR%%/server/tmp
+@dirrm %%WWWDIR%%/server/ext
+@dirrm %%WWWDIR%%/server/etc
+@dirrm %%WWWDIR%%/server/download
+@dirrm %%WWWDIR%%/server/bin
+@dirrm %%WWWDIR%%/server
+@dirrm %%WWWDIR%%/data/rrd
+@dirrm %%WWWDIR%%/data/logs
+@dirrm %%WWWDIR%%/data/hostdata
+@dirrm %%WWWDIR%%/data/histlogs
+@dirrm %%WWWDIR%%/data/hist
+@dirrm %%WWWDIR%%/data/disabled
+@dirrm %%WWWDIR%%/data/data
+@dirrm %%WWWDIR%%/data/acks
+@dirrm %%WWWDIR%%/data
+@dirrm %%WWWDIR%%/cgi-secure
+@dirrm %%WWWDIR%%/cgi-bin
+@dirrmtry %%WWWDIR%%
+@exec mkdir -p %%VARBASE%%/log/hobbit
+@exec chown %%BBUSER%% %%VARBASE%%/log/hobbit
+@cwd %%VARBASE%%
+@dirrmtry log/hobbit