From 75af5c1aaf6a47371cea5e6aa4097ee8919aa3ff Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Tue, 23 Jun 2015 13:00:46 -0400 Subject: [PATCH] Ticket #36913 Torrus support in Debian packaging --- debian/control | 7 +++++++ debian/rules | 9 +++++++++ 2 files changed, 16 insertions(+) diff --git a/debian/control b/debian/control index 70a0b2fd1..2b68f8743 100644 --- a/debian/control +++ b/debian/control @@ -47,6 +47,13 @@ Description: Self-service portal for Freeside billing and trouble ticketing . This package provides the libraries needed for the self-service portal. +Package: freeside-torrus +Architecture: all +Depends: rrdtool,librrds-perl,libxml-libxml-perl,libberkeleydb-perl,libtemplate-perl,libproc-daemon-perl,libnet-snmp-perl libapache-session-perl libjson-perl libdbix-abstract-perl libdbix-sequence-perl +Recommends: +Description: Integrated network monitoring and billing + Torrus is a network monitoring system (NMS) for discovering and monitoring routers, switches and other network equipment with SNMP. + Package: freeside-selfservice-ui Architecture: all Depends: freeside-selfservice-lib,apache2 diff --git a/debian/rules b/debian/rules index e3476d686..30bd292e8 100755 --- a/debian/rules +++ b/debian/rules @@ -225,6 +225,15 @@ install-stamp: build-stamp install -d ${TMP}-ng-selfservice$(APACHE_DOCUMENT_ROOT)/ cp -R ng_selfservice ${TMP}-ng-selfservice$(APACHE_DOCUMENT_ROOT)/ng_selfservice-DIST/ + # Torrus + + install -d ${TMP}-torrus$(APACHE_DOCUMENT_ROOT)/ + + ( cd torrus; \ + torrus_user=freeside var_user=freeside var_group=freeside ./configure; \ + $(MAKE) -e DESTDIR=${TMP}-torrus/; \ + $(MAKE) -e DESTDIR=${TMP}-torrus/ install ) + #RT Config ( cd rt; \ -- 2.11.0