aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-23 21:09:47 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-23 21:09:47 +0000
commit899b4c04d577af3118bdc02b8511326ee8bf0031 (patch)
tree4dd560d883e1d99c7593578a872aa986a8a302c8
parent7c6aedd80237611148ef2250d6cb8db8153fe9b1 (diff)
downloadports-899b4c04d577af3118bdc02b8511326ee8bf0031.tar.gz
ports-899b4c04d577af3118bdc02b8511326ee8bf0031.zip
Notes
-rw-r--r--net-mgmt/torrus/Makefile10
-rw-r--r--net-mgmt/torrus/distinfo6
-rw-r--r--net-mgmt/torrus/pkg-plist28
3 files changed, 37 insertions, 7 deletions
diff --git a/net-mgmt/torrus/Makefile b/net-mgmt/torrus/Makefile
index 8ac0fcf8aa2b..41bd0408285d 100644
--- a/net-mgmt/torrus/Makefile
+++ b/net-mgmt/torrus/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= torrus
-PORTVERSION= 1.0.3
+PORTVERSION= 1.0.4
CATEGORIES= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -60,7 +60,8 @@ MAN1= torrus.1 torrus_acledit.1 torrus_cleanup.1 torrus_clearcache.1 \
torrus_genlist.1 torrus_monitor.1 torrus_schedulerinfo.1 \
torrus_ttproclist.1 torrus_rrddir2xml.1
-MAN7= torrus_action_printemail.7 torrus_action_snmptrap.7
+MAN7= torrus_action_printemail.7 torrus_action_snmptrap.7 \
+ torrus_action_notify.7
.include <bsd.port.pre.mk>
@@ -90,11 +91,12 @@ pre-install:
@if ! pw usershow ${TORRUS_USER}; then \
pw useradd ${TORRUS_USER} -g ${TORRUS_USER} \
-h - -d ${PREFIX}/torrus -c "torrus daemon"; \
- pw usermod ${TORRUS_USER} -G www; \
+ pw usermod www -G ${TORRUS_USER}; \
fi
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/init.d/torrus ${PREFIX}/etc/rc.d/torrus.sh
- @${MKDIR} ${PREFIX}/${TORRUS_RRDDIR}
+ @${MKDIR} -m 2775 -p ${PREFIX}/${TORRUS_RRDDIR}
+ @${CHOWN} ${TORRUS_USER}:${TORRUS_USER} ${PREFIX}/${TORRUS_RRDDIR}
.include <bsd.port.post.mk>
diff --git a/net-mgmt/torrus/distinfo b/net-mgmt/torrus/distinfo
index 313d8f8ab520..147c7aad78e8 100644
--- a/net-mgmt/torrus/distinfo
+++ b/net-mgmt/torrus/distinfo
@@ -1,3 +1,3 @@
-MD5 (torrus-1.0.3.tar.gz) = 2d3a12e7fb6d0a9a651dd87f514a8a09
-SHA256 (torrus-1.0.3.tar.gz) = 7967f43c18c46678bf930b00abd290f275af4480ee35a5681e351e511fc01223
-SIZE (torrus-1.0.3.tar.gz) = 428270
+MD5 (torrus-1.0.4.tar.gz) = 5df60f484ca660065ca2a8f95d1c8020
+SHA256 (torrus-1.0.4.tar.gz) = 7548fa45d6568704a0320149b34ac6f416165781d1fa23a3e2bc0aa483c53c8c
+SIZE (torrus-1.0.4.tar.gz) = 458279
diff --git a/net-mgmt/torrus/pkg-plist b/net-mgmt/torrus/pkg-plist
index bd1d48700fd4..f750b8446921 100644
--- a/net-mgmt/torrus/pkg-plist
+++ b/net-mgmt/torrus/pkg-plist
@@ -2,11 +2,13 @@ bin/torrus
etc/rc.d/torrus.sh
etc/torrus/conf/devdiscover-siteconfig.pl.sample
etc/torrus/conf/email-siteconfig.pl.sample
+etc/torrus/conf/notify-siteconfig.pl.sample
etc/torrus/conf/snmptrap-siteconfig.pl.sample
etc/torrus/conf/torrus-siteconfig.pl.sample
etc/torrus/discovery/README
etc/torrus/xmlconfig/site-global.xml.sample
torrus/bin/acledit
+torrus/bin/action_notify
torrus/bin/action_printemail
torrus/bin/action_snmptrap
torrus/bin/action_snmpv1trap
@@ -19,6 +21,7 @@ torrus/bin/configsnapshot
torrus/bin/devdiscover
torrus/bin/genddx
torrus/bin/genlist
+torrus/bin/genreport
torrus/bin/install_plugin
torrus/bin/monitor
torrus/bin/rrddir2xml
@@ -41,6 +44,7 @@ torrus/doc/devdoc/wd.messaging.pod
torrus/doc/devdoc/wd.monitor-escalation.pod
torrus/doc/devdoc/wd.uptime-mon.pod
torrus/doc/install.txt
+torrus/doc/reporting_setup.txt
torrus/doc/rpnexpr.txt
torrus/doc/rrfw_torrus_migration.txt
torrus/doc/scalability.txt
@@ -63,6 +67,8 @@ torrus/perllib/Torrus/ACL/Import.pm
torrus/perllib/Torrus/Apache2Handler.pm
torrus/perllib/Torrus/ApacheHandler.pm
torrus/perllib/Torrus/Collector.pm
+torrus/perllib/Torrus/Collector/ExtDBI.pm
+torrus/perllib/Torrus/Collector/ExternalStorage.pm
torrus/perllib/Torrus/Collector/RRDStorage.pm
torrus/perllib/Torrus/Collector/SNMP.pm
torrus/perllib/Torrus/Collector/SNMP_Params.pm
@@ -75,6 +81,7 @@ torrus/perllib/Torrus/DB.pm
torrus/perllib/Torrus/DataAccess.pm
torrus/perllib/Torrus/DevDiscover.pm
torrus/perllib/Torrus/DevDiscover/ATMEL.pm
+torrus/perllib/Torrus/DevDiscover/AlliedTelesyn_PBC18.pm
torrus/perllib/Torrus/DevDiscover/AscendMax.pm
torrus/perllib/Torrus/DevDiscover/AxxessIT.pm
torrus/perllib/Torrus/DevDiscover/BetterNetworks.pm
@@ -85,6 +92,7 @@ torrus/perllib/Torrus/DevDiscover/CiscoIOS.pm
torrus/perllib/Torrus/DevDiscover/CiscoIOS_Docsis.pm
torrus/perllib/Torrus/DevDiscover/CiscoIOS_MacAccounting.pm
torrus/perllib/Torrus/DevDiscover/CiscoIOS_SAA.pm
+torrus/perllib/Torrus/DevDiscover/CiscoVDSL.pm
torrus/perllib/Torrus/DevDiscover/CompaqCIM.pm
torrus/perllib/Torrus/DevDiscover/EmpireSystemedge.pm
torrus/perllib/Torrus/DevDiscover/F5BigIp.pm
@@ -111,9 +119,17 @@ torrus/perllib/Torrus/Renderer/AdmInfo.pm
torrus/perllib/Torrus/Renderer/Frontpage.pm
torrus/perllib/Torrus/Renderer/HTML.pm
torrus/perllib/Torrus/Renderer/RRDtool.pm
+torrus/perllib/Torrus/ReportGenerator/MonthlySrvUsage.pm
+torrus/perllib/Torrus/ReportGenerator.pm
+torrus/perllib/Torrus/ReportOutput/HTML.pm
+torrus/perllib/Torrus/ReportOutput.pm
+torrus/perllib/Torrus/ServiceID.pm
torrus/perllib/Torrus/Scheduler.pm
torrus/perllib/Torrus/SchedulerInfo.pm
torrus/perllib/Torrus/SiteConfig.pm
+torrus/perllib/Torrus/SQL/Reports.pm
+torrus/perllib/Torrus/SQL/SrvExport.pm
+torrus/perllib/Torrus/SQL.pm
torrus/perllib/Torrus/TimeStamp.pm
torrus/scripts/rrdup_notify.sh
torrus/scripts/xml/extract-skeleton.xsl
@@ -126,6 +142,7 @@ torrus/sup/styling/rainbow-schema.pl
torrus/sup/styling/torrus-schema.pl
torrus/sup/webplain/explain-rrdgraph.html
torrus/sup/webplain/torrus-printer.css
+torrus/sup/webplain/torrus-report.css
torrus/sup/webplain/torrus.css
torrus/templates/aclexport.xml
torrus/templates/adminfo.html
@@ -140,6 +157,10 @@ torrus/templates/email-alarm.txt
torrus/templates/expanded-dir.html
torrus/templates/html-incblocks.txt
torrus/templates/overview-subleaves.html
+torrus/templates/report-index.html
+torrus/templates/report-monthly.html
+torrus/templates/report-serviceid.html
+torrus/templates/report-yearly.html
torrus/templates/tset-list.html
torrus/xmlconfig/defaults.xml
torrus/xmlconfig/examples/apc-ups.xml
@@ -177,6 +198,7 @@ torrus/xmlconfig/vendor/cisco.generic.xml
torrus/xmlconfig/vendor/cisco.ios.docsis.xml
torrus/xmlconfig/vendor/cisco.ios.mac-accounting.xml
torrus/xmlconfig/vendor/cisco.ios.xml
+torrus/xmlconfig/vendor/cisco.vdsl-line.xml
torrus/xmlconfig/vendor/compaq.cim.xml
torrus/xmlconfig/vendor/empire.systemedge.ntregperf.xml
torrus/xmlconfig/vendor/empire.systemedge.xml
@@ -191,6 +213,7 @@ torrus/xmlconfig/vendor/ucd.ucd-snmp.xml
@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
@@ -203,10 +226,12 @@ torrus/xmlconfig/vendor/ucd.ucd-snmp.xml
@dirrm var/torrus/session_data/store
@dirrm var/torrus/session_data/lock
@dirrm var/torrus/session_data
+@dirrm var/torrus/reports
@dirrm var/torrus/db
@dirrm var/torrus/collector_rrd
@dirrm var/torrus/cache
@dirrm var/torrus
+@dirrm var
@dirrm torrus/xmlconfig/vendor
@dirrm torrus/xmlconfig/old
@dirrm torrus/xmlconfig/generic
@@ -225,6 +250,9 @@ torrus/xmlconfig/vendor/ucd.ucd-snmp.xml
@dirrm torrus/plugins/torrus-config
@dirrm torrus/plugins/devdiscover-config
@dirrm torrus/plugins
+@dirrm torrus/perllib/Torrus/SQL
+@dirrm torrus/perllib/Torrus/ReportOutput
+@dirrm torrus/perllib/Torrus/ReportGenerator
@dirrm torrus/perllib/Torrus/Renderer
@dirrm torrus/perllib/Torrus/DevDiscover
@dirrm torrus/perllib/Torrus/ConfigTree