aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-11-26 11:16:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-11-26 11:16:35 +0000
commit3827b68ca036ccc0d60256f51959790db185b36e (patch)
tree2e77c210f5d2f1eae39acd08af6ee5c07fdb3505 /net-mgmt
parentbe224286c1b62f3d7f0feaf1541ccd29868f0023 (diff)
downloadports-3827b68ca036ccc0d60256f51959790db185b36e.tar.gz
ports-3827b68ca036ccc0d60256f51959790db185b36e.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/torrus/Makefile54
-rw-r--r--net-mgmt/torrus/distinfo5
-rw-r--r--net-mgmt/torrus/files/patch-configs_Makefile.in13
-rw-r--r--net-mgmt/torrus/files/patch-perllib_Makefile.in27
-rw-r--r--net-mgmt/torrus/files/patch-xmlconfig_Makefile.in16
-rw-r--r--net-mgmt/torrus/pkg-descr3
-rw-r--r--net-mgmt/torrus/pkg-message5
-rw-r--r--net-mgmt/torrus/pkg-plist292
8 files changed, 221 insertions, 194 deletions
diff --git a/net-mgmt/torrus/Makefile b/net-mgmt/torrus/Makefile
index f7cf356c5582..8b630b75871e 100644
--- a/net-mgmt/torrus/Makefile
+++ b/net-mgmt/torrus/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= torrus
-PORTVERSION= 1.0.8
-PORTREVISION= 2
+PORTVERSION= 1.0.9
CATEGORIES= net-mgmt
MASTER_SITES= SF
@@ -22,32 +21,26 @@ BUILD_DEPENDS= ${SITE_PERL}/RRDp.pm:${PORTSDIR}/databases/rrdtool \
${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate \
- ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session
-LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
- db-4.3.0:${PORTSDIR}/databases/db43
-
-.if defined(WITH_MODPERL2)
-USE_APACHE= 2.0+
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/APR/Request.pm:${PORTSDIR}/www/p5-libapreq2
-.else
-USE_APACHE= 1.3
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
-.endif
+ ${SITE_PERL}/Apache/Session.pm:${PORTSDIR}/www/p5-Apache-Session \
+ ${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI \
+ p5-JSON>0:${PORTSDIR}/converters/p5-JSON
+RUN_DEPENDS= ${BUILD_DEPENDS}
+USE_GNOME= libxml2
USE_PERL5_RUN= 5.8.1+
GNU_CONFIGURE= YES
TORRUS_USER?= torrus
-TORRUS_RRDDIR?= var/torrus/collector_rrd
+PLIST_SUB= TORRUS_USER=${TORRUS_USER}
CONFIGURE_ARGS= --prefix=${PREFIX} \
var_user=${TORRUS_USER} var_group=${TORRUS_USER} \
- varprefix=${PREFIX}/var/torrus torrus_user=${TORRUS_USER} \
- defrrddir=${PREFIX}/${TORRUS_RRDDIR} \
- pkghome=${PREFIX}/share/torrus \
+ torrus_user=${TORRUS_USER} \
+ defrrddir=/var/torrus/collector_rrd \
+ pkghome=${DATADIR} \
pkgbindir=${PREFIX}/libexec/torrus \
- pkgdocdir=${PREFIX}/share/doc/torrus \
- exmpdir=${PREFIX}/share/examples/torrus \
+ pkgdocdir=${DOCSDIR} \
+ exmpdir=${EXAMPLESDIR} \
perllibdir=${SITE_PERL} \
scriptsdir=${PREFIX}/libexec/torrus/scripts \
--enable-pkgonly
@@ -55,9 +48,11 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
MAN1= torrus.1 torrus_acledit.1 torrus_buildsearchdb.1 \
torrus_cleanup.1 torrus_clearcache.1 torrus_collector.1 \
torrus_compilexml.1 torrus_configinfo.1 \
- torrus_configsnapshot.1 torrus_devdiscover.1 torrus_genddx.1 \
+ torrus_configsnapshot.1 torrus_devdiscover.1 \
+ torrus_flushmonitors.1 torrus_genddx.1 \
torrus_genlist.1 torrus_genreport.1 torrus_monitor.1 \
- torrus_rrddir2xml.1 torrus_schedulerinfo.1 torrus_srvderive.1 \
+ torrus_nodeid.1 torrus_rrddir2xml.1 torrus_schedulerinfo.1 \
+ torrus_snmpfailures.1 torrus_srvderive.1 \
torrus_ttproclist.1
MAN7= torrus_action_printemail.7 torrus_action_snmptrap.7 \
@@ -65,21 +60,6 @@ MAN7= torrus_action_printemail.7 torrus_action_snmptrap.7 \
.include <bsd.port.pre.mk>
-pre-fetch:
- @${ECHO_CMD} PREFIX = ${PREFIX}
- @${ECHO_CMD}
- @${ECHO_CMD} "This port supports either mod_perl 1 or mod_perl 2"
- @${ECHO_CMD}
- @${ECHO_CMD} " mod_perl 1.x support (DEFAULT)"
- @${ECHO_CMD} " WITH_MODPERL2=yes Enables mod_perl 2.x support"
- @${ECHO_CMD}
-.if !defined(WITH_MODPERL2)
- @${ECHO_CMD} "Enabling mod_perl 1.x support."
-.else
- @${ECHO_CMD} "Enabling mod_perl 2.x support."
-.endif
- @${ECHO_CMD}
-
pre-install:
@if ! pw groupshow ${TORRUS_USER}; then \
pw groupadd ${TORRUS_USER}; \
@@ -92,8 +72,6 @@ pre-install:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/init.d/torrus ${PREFIX}/etc/rc.d/torrus.sh
- @${MKDIR} -m 2775 -p ${PREFIX}/${TORRUS_RRDDIR}
- @${CHOWN} ${TORRUS_USER}:${TORRUS_USER} ${PREFIX}/${TORRUS_RRDDIR}
@${CAT} pkg-message
.include <bsd.port.post.mk>
diff --git a/net-mgmt/torrus/distinfo b/net-mgmt/torrus/distinfo
index 0c1a9d629580..52a51a39db4b 100644
--- a/net-mgmt/torrus/distinfo
+++ b/net-mgmt/torrus/distinfo
@@ -1,3 +1,2 @@
-MD5 (torrus-1.0.8.tar.gz) = 4bfeba7d8262aa57bc634f6405350799
-SHA256 (torrus-1.0.8.tar.gz) = f4cef5b0bde577dad9a36fcf6aa9f1a68807a057135c329b99d567fffdb12772
-SIZE (torrus-1.0.8.tar.gz) = 540991
+SHA256 (torrus-1.0.9.tar.gz) = 65d8a3e49892466a17d44c2d85ad8cfb12a0f12e2475cad2b4550705a6f953f9
+SIZE (torrus-1.0.9.tar.gz) = 595763
diff --git a/net-mgmt/torrus/files/patch-configs_Makefile.in b/net-mgmt/torrus/files/patch-configs_Makefile.in
index 26ff702c7fbf..fe80b95b98e0 100644
--- a/net-mgmt/torrus/files/patch-configs_Makefile.in
+++ b/net-mgmt/torrus/files/patch-configs_Makefile.in
@@ -1,12 +1,11 @@
---- configs/Makefile.in.orig Tue Jul 19 15:21:59 2005
-+++ configs/Makefile.in Tue Jul 19 15:22:37 2005
-@@ -385,9 +385,7 @@
- done
- for f in devdiscover-siteconfig.pl email-siteconfig.pl \
+--- configs/Makefile.in.orig 2010-10-28 18:25:20.000000000 +0000
++++ configs/Makefile.in 2010-10-28 18:26:04.000000000 +0000
+@@ -392,7 +392,8 @@
snmptrap-siteconfig.pl torrus-siteconfig.pl; do \
-- if test ! -r $(DESTDIR)$(siteconfdir)/$$f; then \
-- $(INSTALL_DATA) $$f $(DESTDIR)$(siteconfdir)/$$f; \
+ if test ! -r $(DESTDIR)$(siteconfdir)/$$f; then \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(siteconfdir)/$$f; \
- fi \
++ fi; \
+ $(INSTALL_DATA) $$f $(DESTDIR)$(siteconfdir)/$$f.sample; \
done
# Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/net-mgmt/torrus/files/patch-perllib_Makefile.in b/net-mgmt/torrus/files/patch-perllib_Makefile.in
new file mode 100644
index 000000000000..7318e2723b73
--- /dev/null
+++ b/net-mgmt/torrus/files/patch-perllib_Makefile.in
@@ -0,0 +1,27 @@
+--- perllib/Makefile.in.orig 2010-10-28 18:49:34.000000000 +0000
++++ perllib/Makefile.in 2010-10-28 18:50:48.000000000 +0000
+@@ -339,7 +339,7 @@
+
+ install-data-local:
+ $(mkinstalldirs) $(DESTDIR)$(perllibdir)
+- find * -type d ! -name CVS -print >list.tmp
++ find * -type d -print | grep -v /.svn >list.tmp
+ for d in `cat list.tmp`; do \
+ $(mkinstalldirs) $(DESTDIR)$(perllibdir)/$$d; done
+ find * \( -name '*.pm' \) -type f -print >list.tmp
+@@ -348,13 +348,13 @@
+ rm -f list.tmp
+
+ uninstall-local:
+- find * -type d ! -name CVS -print >list.tmp
++ find * -type d -print | grep -v /.svn >list.tmp
+ for d in `cat list.tmp`; do \
+ rm -r $(DESTDIR)$(perllibdir)/$$d; done
+ rm -f list.tmp
+
+ dist-hook:
+- find * -type d ! -name CVS -print >list.tmp
++ find * -type d -print | grep -v /.svn >list.tmp
+ for d in `cat list.tmp`; do \
+ mkdir $(distdir)/$$d; done
+ find * \( -name '*.pm' -o -name '*.txt' \) -type f -print >list.tmp
diff --git a/net-mgmt/torrus/files/patch-xmlconfig_Makefile.in b/net-mgmt/torrus/files/patch-xmlconfig_Makefile.in
index 7c8b6fdc308d..82b0a6b8fa29 100644
--- a/net-mgmt/torrus/files/patch-xmlconfig_Makefile.in
+++ b/net-mgmt/torrus/files/patch-xmlconfig_Makefile.in
@@ -1,13 +1,9 @@
---- xmlconfig/Makefile.in.orig Tue Jul 19 15:25:15 2005
-+++ xmlconfig/Makefile.in Tue Jul 19 15:25:41 2005
-@@ -511,10 +511,8 @@
-
- install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(sitexmldir)
-- if test ! -r $(DESTDIR)$(sitexmldir)/site-global.xml; then \
-- $(INSTALL_DATA) site-global.xml \
-- $(DESTDIR)$(sitexmldir)/site-global.xml; \
-- fi
+--- xmlconfig/Makefile.in.orig 2010-10-28 18:19:45.000000000 +0000
++++ xmlconfig/Makefile.in 2010-10-28 18:20:38.000000000 +0000
+@@ -534,6 +534,8 @@
+ $(INSTALL_DATA) site-global.xml \
+ $(DESTDIR)$(sitexmldir)/site-global.xml; \
+ fi
+ $(INSTALL_DATA) site-global.xml \
+ $(DESTDIR)$(sitexmldir)/site-global.xml.sample;
# Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/net-mgmt/torrus/pkg-descr b/net-mgmt/torrus/pkg-descr
index cdc865994b00..2e2ab2abffc8 100644
--- a/net-mgmt/torrus/pkg-descr
+++ b/net-mgmt/torrus/pkg-descr
@@ -21,6 +21,3 @@ data series of any nature. Tobi Oetiker's RRDtool is used for data storage.
thresholds are specified by RPN expressions.
WWW: http://torrus.org
-
-- Corey Smith
-corsmith@gmail.com
diff --git a/net-mgmt/torrus/pkg-message b/net-mgmt/torrus/pkg-message
index 7e2b27fc3d2c..2285acbeca7e 100644
--- a/net-mgmt/torrus/pkg-message
+++ b/net-mgmt/torrus/pkg-message
@@ -4,3 +4,8 @@ A complete re-compile of the XML is required after upgrading.
* Remove all of the dbs under db/
* run 'torrus compilexml --all'
* Restart the collector
+
+This port has been converted to use fastcgi. Please read the installation
+documentation available at:
+
+http://torrus.org/install.pod.html
diff --git a/net-mgmt/torrus/pkg-plist b/net-mgmt/torrus/pkg-plist
index cbc3984af87b..2b32311af47a 100644
--- a/net-mgmt/torrus/pkg-plist
+++ b/net-mgmt/torrus/pkg-plist
@@ -1,12 +1,24 @@
bin/torrus
etc/rc.d/torrus.sh
+etc/torrus/discovery/README
+@unexec if cmp -s %D/etc/torrus/conf/devdiscover-siteconfig.pl.sample %D/etc/torrus/conf/devdiscover-siteconfig.pl; then rm -f %D/etc/torrus/conf/devdiscover-siteconfig.pl; fi
etc/torrus/conf/devdiscover-siteconfig.pl.sample
+@exec if [ ! -f %D/etc/torrus/conf/devdiscover-siteconfig.pl ] ; then cp -p %D/%F %B/devdiscover-siteconfig.pl; fi
+@unexec if cmp -s %D/etc/torrus/conf/email-siteconfig.pl.sample %D/etc/torrus/conf/email-siteconfig.pl; then rm -f %D/etc/torrus/conf/email-siteconfig.pl; fi
etc/torrus/conf/email-siteconfig.pl.sample
+@exec if [ ! -f %D/etc/torrus/conf/email-siteconfig.pl ] ; then cp -p %D/%F %B/email-siteconfig.pl; fi
+@unexec if cmp -s %D/etc/torrus/conf/notify-siteconfig.pl.sample %D/etc/torrus/conf/notify-siteconfig.pl; then rm -f %D/etc/torrus/conf/notify-siteconfig.pl; fi
etc/torrus/conf/notify-siteconfig.pl.sample
+@exec if [ ! -f %D/etc/torrus/conf/notify-siteconfig.pl ] ; then cp -p %D/%F %B/notify-siteconfig.pl; fi
+@unexec if cmp -s %D/etc/torrus/conf/snmptrap-siteconfig.pl.sample %D/etc/torrus/conf/snmptrap-siteconfig.pl; then rm -f %D/etc/torrus/conf/snmptrap-siteconfig.pl; fi
etc/torrus/conf/snmptrap-siteconfig.pl.sample
+@exec if [ ! -f %D/etc/torrus/conf/snmptrap-siteconfig.pl ] ; then cp -p %D/%F %B/snmptrap-siteconfig.pl; fi
+@unexec if cmp -s %D/etc/torrus/conf/torrus-siteconfig.pl.sample %D/etc/torrus/conf/torrus-siteconfig.pl; then rm -f %D/etc/torrus/conf/torrus-siteconfig.pl; fi
etc/torrus/conf/torrus-siteconfig.pl.sample
-etc/torrus/discovery/README
+@exec if [ ! -f %D/etc/torrus/conf/torrus-siteconfig.pl ] ; then cp -p %D/%F %B/torrus-siteconfig.pl; fi
+@unexec if cmp -s %D/etc/torrus/xmlconfig/site-global.xml.sample %D/etc/torrus/xmlconfig/site-global.xml; then rm -f %D/etc/torrus/xmlconfig/site-global.xml; fi
etc/torrus/xmlconfig/site-global.xml.sample
+@exec if [ ! -f %D/etc/torrus/xmlconfig/site-global.xml ] ; then cp -p %D/%F %B/site-global.xml; fi
libexec/torrus/acledit
libexec/torrus/action_notify
libexec/torrus/action_printemail
@@ -21,16 +33,20 @@ libexec/torrus/compilexml
libexec/torrus/configinfo
libexec/torrus/configsnapshot
libexec/torrus/devdiscover
+libexec/torrus/flushmonitors
libexec/torrus/genddx
libexec/torrus/genlist
libexec/torrus/genreport
libexec/torrus/install_plugin
libexec/torrus/monitor
+libexec/torrus/nodeid
libexec/torrus/rrddir2xml
libexec/torrus/schedulerinfo
libexec/torrus/scripts/rrdup_notify.sh
libexec/torrus/scripts/xml/extract-skeleton.xsl
+libexec/torrus/snmpfailures
libexec/torrus/srvderive
+libexec/torrus/torrus.fcgi
libexec/torrus/ttproclist
%%DOCSDIR%%/devdoc/architecture.pod
%%DOCSDIR%%/devdoc/devdiscover.pod
@@ -43,6 +59,7 @@ libexec/torrus/ttproclist
%%DOCSDIR%%/devdoc/wd.monitor-escalation.pod
%%DOCSDIR%%/devdoc/wd.uptime-mon.pod
%%DOCSDIR%%/install.txt
+%%DOCSDIR%%/nodeid_usage.txt
%%DOCSDIR%%/reporting_setup.txt
%%DOCSDIR%%/rpnexpr.txt
%%DOCSDIR%%/rrfw_torrus_migration.txt
@@ -58,101 +75,107 @@ libexec/torrus/ttproclist
%%EXAMPLESDIR%%/onmsInterfaces.sh
%%EXAMPLESDIR%%/setmonitor.xupdate.xml
%%EXAMPLESDIR%%/torrus-siteconfig.powerbook.pl
-share/torrus/conf_defaults/devdiscover-config.pl
-share/torrus/conf_defaults/initscript.conf
-share/torrus/conf_defaults/instvars
-share/torrus/conf_defaults/torrus-config.pl
-share/torrus/conf_defaults/webmux.pl
-share/torrus/conf_defaults/webmux2.pl
-share/torrus/sup/dtd/snmp-discovery.dtd
-share/torrus/sup/dtd/torrus-config.dtd
-share/torrus/sup/mibs/RRDTOOL-SMI.txt
-share/torrus/sup/mibs/TORRUS-MIB.txt
-share/torrus/sup/styling/colornames.pl
-share/torrus/sup/styling/rainbow-schema.pl
-share/torrus/sup/styling/torrus-schema.pl
-share/torrus/sup/webplain/explain-rrdgraph.html
-share/torrus/sup/webplain/torrus-printer.css
-share/torrus/sup/webplain/torrus-report.css
-share/torrus/sup/webplain/torrus.css
-share/torrus/templates/aclexport.xml
-share/torrus/templates/adminfo.html
-share/torrus/templates/default-chooser.html
-share/torrus/templates/default-dir.html
-share/torrus/templates/default-helptext.html
-share/torrus/templates/default-login.html
-share/torrus/templates/default-recursivedir.html
-share/torrus/templates/default-rrd.html
-share/torrus/templates/default-tset.html
-share/torrus/templates/email-alarm.txt
-share/torrus/templates/expanded-dir.html
-share/torrus/templates/globalsearch.html
-share/torrus/templates/html-incblocks.txt
-share/torrus/templates/overview-subleaves.html
-share/torrus/templates/report-index.html
-share/torrus/templates/report-monthly.html
-share/torrus/templates/report-serviceid.html
-share/torrus/templates/report-yearly.html
-share/torrus/templates/search.html
-share/torrus/templates/tset-list.html
-share/torrus/xmlconfig/cdef-collector-defs.xml
-share/torrus/xmlconfig/defaults.xml
-share/torrus/xmlconfig/examples/apc-ups.xml
-share/torrus/xmlconfig/examples/ascend.max.xml
-share/torrus/xmlconfig/examples/docsis-monitors.xml
-share/torrus/xmlconfig/examples/generic-netsnmp.xml
-share/torrus/xmlconfig/examples/hpux.xml
-share/torrus/xmlconfig/examples/monitors.xml
-share/torrus/xmlconfig/examples/multigraph.xml
-share/torrus/xmlconfig/examples/rainbow-schema.xml
-share/torrus/xmlconfig/examples/servers.data
-share/torrus/xmlconfig/examples/servers.tmpl
-share/torrus/xmlconfig/generic/collector-periods.xml
-share/torrus/xmlconfig/generic/monitors.xml
-share/torrus/xmlconfig/generic/rfc1628.ups.xml
-share/torrus/xmlconfig/generic/rfc1697.rdbms.xml
-share/torrus/xmlconfig/generic/rfc2662.adsl-line.xml
-share/torrus/xmlconfig/generic/rfc2670.docsis-if.xml
-share/torrus/xmlconfig/generic/rfc2790.host-resources.xml
-share/torrus/xmlconfig/generic/rfc2863.if-mib.xml
-share/torrus/xmlconfig/old/cisco-mac-accounting-example.xml
-share/torrus/xmlconfig/old/cisco.generic.old-0.1.4.xml
-share/torrus/xmlconfig/old/cisco.ios.mac-accounting-0.1.8.xml
-share/torrus/xmlconfig/old/rfc1213.xml
-share/torrus/xmlconfig/old/rfc2670.docsis-if.old.0.1.5d-20040224.xml
-share/torrus/xmlconfig/old/rfc2670.docsis-if.old.1.0.4.xml
-share/torrus/xmlconfig/old/rfc2863.if-mib.old-0.1.4.xml
-share/torrus/xmlconfig/old/rfc2863.if-mib.old-0.1.7.xml
-share/torrus/xmlconfig/old/snmp-defs.old-0.1.2.xml
-share/torrus/xmlconfig/snmp-defs.xml
-share/torrus/xmlconfig/vendor/alteon.xml
-share/torrus/xmlconfig/vendor/apc.ups.xml
-share/torrus/xmlconfig/vendor/apple.ae.xml
-share/torrus/xmlconfig/vendor/arbor_e.xml
-share/torrus/xmlconfig/vendor/ascend.max.xml
-share/torrus/xmlconfig/vendor/atmel.xml
-share/torrus/xmlconfig/vendor/betternetworks.xml
-share/torrus/xmlconfig/vendor/cisco.firewall.xml
-share/torrus/xmlconfig/vendor/cisco.generic.xml
-share/torrus/xmlconfig/vendor/cisco.ios.docsis.xml
-share/torrus/xmlconfig/vendor/cisco.ios.mac-accounting.xml
-share/torrus/xmlconfig/vendor/cisco.ios.xml
-share/torrus/xmlconfig/vendor/cisco.sce.xml
-share/torrus/xmlconfig/vendor/cisco.vdsl-line.xml
-share/torrus/xmlconfig/vendor/compaq.cim.xml
-share/torrus/xmlconfig/vendor/empire.systemedge.ntregperf.xml
-share/torrus/xmlconfig/vendor/empire.systemedge.xml
-share/torrus/xmlconfig/vendor/f5.bigip.xml
-share/torrus/xmlconfig/vendor/junos.xml
-share/torrus/xmlconfig/vendor/hp.hpux.xml
-share/torrus/xmlconfig/vendor/liebert.xml
-share/torrus/xmlconfig/vendor/microsoft.windows.xml
-share/torrus/xmlconfig/vendor/motorola.bsr.xml
-share/torrus/xmlconfig/vendor/netapp.filer.xml
-share/torrus/xmlconfig/vendor/netscreen.xml
-share/torrus/xmlconfig/vendor/paradyne.xdsl.xml
-share/torrus/xmlconfig/vendor/symmetricom.xml
-share/torrus/xmlconfig/vendor/ucd.ucd-snmp.xml
+%%DATADIR%%/conf_defaults/devdiscover-config.pl
+%%DATADIR%%/conf_defaults/initscript.conf
+%%DATADIR%%/conf_defaults/instvars
+%%DATADIR%%/conf_defaults/torrus-config.pl
+%%DATADIR%%/conf_defaults/webmux.pl
+%%DATADIR%%/conf_defaults/webmux2.pl
+%%DATADIR%%/sup/dtd/snmp-discovery.dtd
+%%DATADIR%%/sup/dtd/torrus-config.dtd
+%%DATADIR%%/sup/mibs/RRDTOOL-SMI.txt
+%%DATADIR%%/sup/mibs/TORRUS-MIB.txt
+%%DATADIR%%/sup/styling/colornames.pl
+%%DATADIR%%/sup/styling/rainbow-schema.pl
+%%DATADIR%%/sup/styling/torrus-schema.pl
+%%DATADIR%%/sup/webplain/explain-rrdgraph.html
+%%DATADIR%%/sup/webplain/torrus-printer.css
+%%DATADIR%%/sup/webplain/torrus-report.css
+%%DATADIR%%/sup/webplain/torrus.css
+%%DATADIR%%/templates/aclexport.xml
+%%DATADIR%%/templates/adminfo.html
+%%DATADIR%%/templates/default-chooser.html
+%%DATADIR%%/templates/default-dir.html
+%%DATADIR%%/templates/default-helptext.html
+%%DATADIR%%/templates/default-login.html
+%%DATADIR%%/templates/default-recursivedir.html
+%%DATADIR%%/templates/default-rrd.html
+%%DATADIR%%/templates/default-tset.html
+%%DATADIR%%/templates/email-alarm.txt
+%%DATADIR%%/templates/expanded-dir.html
+%%DATADIR%%/templates/globalsearch.html
+%%DATADIR%%/templates/html-incblocks.txt
+%%DATADIR%%/templates/overview-subleaves.html
+%%DATADIR%%/templates/report-index.html
+%%DATADIR%%/templates/report-monthly.html
+%%DATADIR%%/templates/report-serviceid.html
+%%DATADIR%%/templates/report-yearly.html
+%%DATADIR%%/templates/search.html
+%%DATADIR%%/templates/tset-list.html
+%%DATADIR%%/xmlconfig/cdef-collector-defs.xml
+%%DATADIR%%/xmlconfig/defaults.xml
+%%DATADIR%%/xmlconfig/examples/apc-ups.xml
+%%DATADIR%%/xmlconfig/examples/ascend.max.xml
+%%DATADIR%%/xmlconfig/examples/docsis-monitors.xml
+%%DATADIR%%/xmlconfig/examples/generic-netsnmp.xml
+%%DATADIR%%/xmlconfig/examples/hpux.xml
+%%DATADIR%%/xmlconfig/examples/monitors.xml
+%%DATADIR%%/xmlconfig/examples/multigraph.xml
+%%DATADIR%%/xmlconfig/examples/rainbow-schema.xml
+%%DATADIR%%/xmlconfig/examples/servers.data
+%%DATADIR%%/xmlconfig/examples/servers.tmpl
+%%DATADIR%%/xmlconfig/generic/collector-periods.xml
+%%DATADIR%%/xmlconfig/generic/monitors.xml
+%%DATADIR%%/xmlconfig/generic/rfc1628.ups.xml
+%%DATADIR%%/xmlconfig/generic/rfc1697.rdbms.xml
+%%DATADIR%%/xmlconfig/generic/rfc2662.adsl-line.xml
+%%DATADIR%%/xmlconfig/generic/rfc2670.docsis-if.xml
+%%DATADIR%%/xmlconfig/generic/rfc2790.host-resources.xml
+%%DATADIR%%/xmlconfig/generic/rfc2863.if-mib.xml
+%%DATADIR%%/xmlconfig/old/cisco-mac-accounting-example.xml
+%%DATADIR%%/xmlconfig/old/cisco.generic.old-0.1.4.xml
+%%DATADIR%%/xmlconfig/old/cisco.ios.mac-accounting-0.1.8.xml
+%%DATADIR%%/xmlconfig/old/rfc1213.xml
+%%DATADIR%%/xmlconfig/old/rfc2670.docsis-if.old.0.1.5d-20040224.xml
+%%DATADIR%%/xmlconfig/old/rfc2670.docsis-if.old.1.0.4.xml
+%%DATADIR%%/xmlconfig/old/rfc2863.if-mib.old-0.1.4.xml
+%%DATADIR%%/xmlconfig/old/rfc2863.if-mib.old-0.1.7.xml
+%%DATADIR%%/xmlconfig/old/snmp-defs.old-0.1.2.xml
+%%DATADIR%%/xmlconfig/snmp-defs.xml
+%%DATADIR%%/xmlconfig/vendor/alteon.xml
+%%DATADIR%%/xmlconfig/vendor/alu-timetra.xml
+%%DATADIR%%/xmlconfig/vendor/apc.ups.xml
+%%DATADIR%%/xmlconfig/vendor/apple.ae.xml
+%%DATADIR%%/xmlconfig/vendor/arbor_e.xml
+%%DATADIR%%/xmlconfig/vendor/ascend.max.xml
+%%DATADIR%%/xmlconfig/vendor/atmel.xml
+%%DATADIR%%/xmlconfig/vendor/betternetworks.xml
+%%DATADIR%%/xmlconfig/vendor/casa-cmts.xml
+%%DATADIR%%/xmlconfig/vendor/cisco.firewall.xml
+%%DATADIR%%/xmlconfig/vendor/cisco.generic.xml
+%%DATADIR%%/xmlconfig/vendor/cisco.ios.docsis.xml
+%%DATADIR%%/xmlconfig/vendor/cisco.ios.mac-accounting.xml
+%%DATADIR%%/xmlconfig/vendor/cisco.ios.xml
+%%DATADIR%%/xmlconfig/vendor/cisco.sce.xml
+%%DATADIR%%/xmlconfig/vendor/cisco.vdsl-line.xml
+%%DATADIR%%/xmlconfig/vendor/compaq.cim.xml
+%%DATADIR%%/xmlconfig/vendor/empire.systemedge.ntregperf.xml
+%%DATADIR%%/xmlconfig/vendor/empire.systemedge.xml
+%%DATADIR%%/xmlconfig/vendor/f5.bigip.xml
+%%DATADIR%%/xmlconfig/vendor/foundry.xml
+%%DATADIR%%/xmlconfig/vendor/ftos.xml
+%%DATADIR%%/xmlconfig/vendor/jacarta.xml
+%%DATADIR%%/xmlconfig/vendor/junos.xml
+%%DATADIR%%/xmlconfig/vendor/hp.hpux.xml
+%%DATADIR%%/xmlconfig/vendor/liebert.xml
+%%DATADIR%%/xmlconfig/vendor/microsoft.windows.xml
+%%DATADIR%%/xmlconfig/vendor/motorola.bsr.xml
+%%DATADIR%%/xmlconfig/vendor/netapp.filer.xml
+%%DATADIR%%/xmlconfig/vendor/netbotz.xml
+%%DATADIR%%/xmlconfig/vendor/netscreen.xml
+%%DATADIR%%/xmlconfig/vendor/paradyne.xdsl.xml
+%%DATADIR%%/xmlconfig/vendor/symmetricom.xml
+%%DATADIR%%/xmlconfig/vendor/ucd.ucd-snmp.xml
%%SITE_PERL%%/Torrus/ACL.pm
%%SITE_PERL%%/Torrus/ACL/AuthLocalMD5.pm
%%SITE_PERL%%/Torrus/ACL/Edit.pm
@@ -160,6 +183,7 @@ share/torrus/xmlconfig/vendor/ucd.ucd-snmp.xml
%%SITE_PERL%%/Torrus/ACL/Import.pm
%%SITE_PERL%%/Torrus/Apache2Handler.pm
%%SITE_PERL%%/Torrus/ApacheHandler.pm
+%%SITE_PERL%%/Torrus/CGI.pm
%%SITE_PERL%%/Torrus/Collector.pm
%%SITE_PERL%%/Torrus/Collector/CDef.pm
%%SITE_PERL%%/Torrus/Collector/CDef_Params.pm
@@ -176,14 +200,17 @@ share/torrus/xmlconfig/vendor/ucd.ucd-snmp.xml
%%SITE_PERL%%/Torrus/DB.pm
%%SITE_PERL%%/Torrus/DataAccess.pm
%%SITE_PERL%%/Torrus/DevDiscover.pm
+%%SITE_PERL%%/Torrus/DevDiscover/ALU_Timetra.pm
%%SITE_PERL%%/Torrus/DevDiscover/ATMEL.pm
%%SITE_PERL%%/Torrus/DevDiscover/AlliedTelesyn_PBC18.pm
%%SITE_PERL%%/Torrus/DevDiscover/Alteon.pm
%%SITE_PERL%%/Torrus/DevDiscover/Apple_AE.pm
%%SITE_PERL%%/Torrus/DevDiscover/Arbor_E.pm
+%%SITE_PERL%%/Torrus/DevDiscover/Arista.pm
%%SITE_PERL%%/Torrus/DevDiscover/AscendMax.pm
%%SITE_PERL%%/Torrus/DevDiscover/AxxessIT.pm
%%SITE_PERL%%/Torrus/DevDiscover/BetterNetworks.pm
+%%SITE_PERL%%/Torrus/DevDiscover/CasaCMTS.pm
%%SITE_PERL%%/Torrus/DevDiscover/CiscoCatOS.pm
%%SITE_PERL%%/Torrus/DevDiscover/CiscoFirewall.pm
%%SITE_PERL%%/Torrus/DevDiscover/CiscoGeneric.pm
@@ -196,11 +223,15 @@ share/torrus/xmlconfig/vendor/ucd.ucd-snmp.xml
%%SITE_PERL%%/Torrus/DevDiscover/CompaqCIM.pm
%%SITE_PERL%%/Torrus/DevDiscover/EmpireSystemedge.pm
%%SITE_PERL%%/Torrus/DevDiscover/F5BigIp.pm
+%%SITE_PERL%%/Torrus/DevDiscover/Foundry.pm
+%%SITE_PERL%%/Torrus/DevDiscover/FTOS.pm
+%%SITE_PERL%%/Torrus/DevDiscover/Jacarta.pm
%%SITE_PERL%%/Torrus/DevDiscover/JunOS.pm
%%SITE_PERL%%/Torrus/DevDiscover/Liebert.pm
%%SITE_PERL%%/Torrus/DevDiscover/MicrosoftWindows.pm
%%SITE_PERL%%/Torrus/DevDiscover/MotorolaBSR.pm
%%SITE_PERL%%/Torrus/DevDiscover/NetApp.pm
+%%SITE_PERL%%/Torrus/DevDiscover/NetBotz.pm
%%SITE_PERL%%/Torrus/DevDiscover/NetScreen.pm
%%SITE_PERL%%/Torrus/DevDiscover/OracleDatabase.pm
%%SITE_PERL%%/Torrus/DevDiscover/Paradyne.pm
@@ -233,48 +264,43 @@ share/torrus/xmlconfig/vendor/ucd.ucd-snmp.xml
%%SITE_PERL%%/Torrus/Scheduler.pm
%%SITE_PERL%%/Torrus/SchedulerInfo.pm
%%SITE_PERL%%/Torrus/SiteConfig.pm
+%%SITE_PERL%%/Torrus/SNMP_Failures.pm
%%SITE_PERL%%/Torrus/SQL/Reports.pm
%%SITE_PERL%%/Torrus/SQL/SrvExport.pm
%%SITE_PERL%%/Torrus/SQL.pm
%%SITE_PERL%%/Torrus/TimeStamp.pm
-@exec mkdir %D/var/torrus 2>/dev/null || true
-@exec mkdir %D/var/torrus/cache 2>/dev/null || true
-@exec mkdir %D/var/torrus/db 2>/dev/null || true
-@exec mkdir %D/var/torrus/reports 2>/dev/null || true
-@exec mkdir %D/var/torrus/session_data 2>/dev/null || true
-@exec mkdir %D/var/torrus/session_data/lock 2>/dev/null || true
-@exec mkdir %D/var/torrus/session_data/store 2>/dev/null || true
+@exec install -d -g %%TORRUS_USER%% -o %%TORRUS_USER%% -m 755 /var/torrus 2>/dev/null || true
+@exec install -d -g %%TORRUS_USER%% -o %%TORRUS_USER%% -m 2775 /var/torrus/cache 2>/dev/null || true
+@exec install -d -g %%TORRUS_USER%% -o %%TORRUS_USER%% -m 2775 /var/torrus/collector_rrd 2>/dev/null || true
+@exec install -d -g %%TORRUS_USER%% -o %%TORRUS_USER%% -m 2775 /var/torrus/db 2>/dev/null || true
+@exec install -d -g %%TORRUS_USER%% -o %%TORRUS_USER%% -m 755 /var/torrus/reports 2>/dev/null || true
+@exec install -d -g %%TORRUS_USER%% -o %%TORRUS_USER%% -m 755 /var/torrus/session_data 2>/dev/null || true
+@exec install -d -g %%TORRUS_USER%% -o %%TORRUS_USER%% -m 2775 /var/torrus/session_data/lock 2>/dev/null || true
+@exec install -d -g %%TORRUS_USER%% -o %%TORRUS_USER%% -m 2775 /var/torrus/session_data/store 2>/dev/null || true
@exec mkdir %D/etc/torrus/templates 2>/dev/null || true
-@exec mkdir %D/share/torrus/plugins 2>/dev/null || true
-@exec mkdir %D/share/torrus/plugins/devdiscover-config 2>/dev/null || true
-@exec mkdir %D/share/torrus/plugins/torrus-config 2>/dev/null || true
-@exec mkdir %D/share/torrus/plugins/wrapper 2>/dev/null || true
-@exec mkdir %D/share/torrus/sup/webscripts 2>/dev/null || true
-@dirrm var/torrus/session_data/store
-@dirrm var/torrus/session_data/lock
-@dirrm var/torrus/session_data
-@dirrm var/torrus/reports
-@dirrmtry var/torrus/db
-@dirrm var/torrus/cache
-@dirrmtry var/torrus
-@dirrm share/torrus/xmlconfig/vendor
-@dirrm share/torrus/xmlconfig/old
-@dirrm share/torrus/xmlconfig/generic
-@dirrm share/torrus/xmlconfig/examples
-@dirrm share/torrus/xmlconfig
-@dirrm share/torrus/templates
-@dirrm share/torrus/sup/webscripts
-@dirrm share/torrus/sup/webplain
-@dirrm share/torrus/sup/styling
-@dirrm share/torrus/sup/mibs
-@dirrm share/torrus/sup/dtd
-@dirrm share/torrus/sup
-@dirrm share/torrus/plugins/wrapper
-@dirrm share/torrus/plugins/torrus-config
-@dirrm share/torrus/plugins/devdiscover-config
-@dirrm share/torrus/plugins
-@dirrm share/torrus/conf_defaults
-@dirrm share/torrus
+@exec mkdir %D/%%DATADIR%%/plugins 2>/dev/null || true
+@exec mkdir %D/%%DATADIR%%/plugins/devdiscover-config 2>/dev/null || true
+@exec mkdir %D/%%DATADIR%%/plugins/torrus-config 2>/dev/null || true
+@exec mkdir %D/%%DATADIR%%/plugins/wrapper 2>/dev/null || true
+@exec mkdir %D/%%DATADIR%%/sup/webscripts 2>/dev/null || true
+@dirrm %%DATADIR%%/xmlconfig/vendor
+@dirrm %%DATADIR%%/xmlconfig/old
+@dirrm %%DATADIR%%/xmlconfig/generic
+@dirrm %%DATADIR%%/xmlconfig/examples
+@dirrm %%DATADIR%%/xmlconfig
+@dirrm %%DATADIR%%/templates
+@dirrm %%DATADIR%%/sup/webscripts
+@dirrm %%DATADIR%%/sup/webplain
+@dirrm %%DATADIR%%/sup/styling
+@dirrm %%DATADIR%%/sup/mibs
+@dirrm %%DATADIR%%/sup/dtd
+@dirrm %%DATADIR%%/sup
+@dirrm %%DATADIR%%/plugins/wrapper
+@dirrm %%DATADIR%%/plugins/torrus-config
+@dirrm %%DATADIR%%/plugins/devdiscover-config
+@dirrm %%DATADIR%%/plugins
+@dirrm %%DATADIR%%/conf_defaults
+@dirrm %%DATADIR%%
@dirrm %%EXAMPLESDIR%%
@dirrm %%DOCSDIR%%/devdoc
@dirrm %%DOCSDIR%%