aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net-mgmt/Makefile1
-rw-r--r--net-mgmt/netmagis-metro/Makefile16
-rw-r--r--net-mgmt/netmagis-metro/pkg-plist52
3 files changed, 69 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index b23501e5deef..26cac2c1bf31 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -164,6 +164,7 @@
SUBDIR += netmagis-common
SUBDIR += netmagis-database
SUBDIR += netmagis-detecteq
+ SUBDIR += netmagis-metro
SUBDIR += netmask
SUBDIR += netmond
SUBDIR += netspoc
diff --git a/net-mgmt/netmagis-metro/Makefile b/net-mgmt/netmagis-metro/Makefile
new file mode 100644
index 000000000000..46858ca990df
--- /dev/null
+++ b/net-mgmt/netmagis-metro/Makefile
@@ -0,0 +1,16 @@
+# Created by: Pierre David <pdagog@gmail.com>, Jean Benoit <jean@unistra.fr>
+# $FreeBSD$
+
+PORTNAME= netmagis
+PKGNAMESUFFIX= -metro
+
+COMMENT= Netmagis metrology module
+
+MANUAL_PACKAGE_BUILD= Uses non-default version of PostgreSQL
+
+MASTERDIR= ${.CURDIR}/../netmagis-common
+
+PKGMESSAGE= ${.CURDIR}/pkg-message
+PLIST= ${.CURDIR}/pkg-plist
+
+.include "${MASTERDIR}/Makefile"
diff --git a/net-mgmt/netmagis-metro/pkg-plist b/net-mgmt/netmagis-metro/pkg-plist
new file mode 100644
index 000000000000..741e99ee19a4
--- /dev/null
+++ b/net-mgmt/netmagis-metro/pkg-plist
@@ -0,0 +1,52 @@
+bin/metrocreatedb
+bin/metropoller
+bin/metropoller-run
+lib/netmagis/gen-rrdgraph.pl
+lib/netmagis/libgraph.pl
+lib/netmagis/libmetro.pl
+lib/netmagis/plugins/plugin-ipmac
+lib/netmagis/plugins/plugin-portmac
+lib/netmagis/probes/sensor-arp-table.pl
+lib/netmagis/probes/sensor-assoc-ap.pl
+lib/netmagis/probes/sensor-generic-gauge.pl
+lib/netmagis/probes/sensor-if-broadcast.pl
+lib/netmagis/probes/sensor-if-by-ip.pl
+lib/netmagis/probes/sensor-if-error.pl
+lib/netmagis/probes/sensor-if-multicast.pl
+lib/netmagis/probes/sensor-if-snmp-ap.pl
+lib/netmagis/probes/sensor-if-snmp32.pl
+lib/netmagis/probes/sensor-if-snmp64.pl
+lib/netmagis/probes/sensor-plugins.pl
+lib/netmagis/probes/sensor-portmac.pl
+lib/netmagis/probes/sensor-stp-catalyst.pl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/apache-metro.conf
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crontab.metro
+www/metro/gengraph
+@dirrm www/metro
+@dirrmtry var/netmagis/metro/wifi
+@dirrmtry var/netmagis/metro/spool
+@dirrmtry var/netmagis/metro/report
+@dirrmtry var/netmagis/metro/log
+@dirrmtry var/netmagis/metro/lock
+@dirrmtry var/netmagis/metro/graph
+@dirrmtry var/netmagis/metro/db
+@dirrmtry var/netmagis/metro/cache
+@dirrmtry var/netmagis/metro
+@dirrmtry var/netmagis
+@dirrmtry var
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+@dirrmtry lib/netmagis/tmp/netmagis/lib/netmagis
+@dirrmtry lib/netmagis/tmp/netmagis/lib
+@dirrmtry lib/netmagis/tmp/netmagis
+@dirrmtry lib/netmagis/tmp
+@dirrm lib/netmagis/probes
+@dirrm lib/netmagis/plugins
+@exec mkdir -p %D/var/netmagis/metro/wifi
+@exec mkdir -p %D/var/netmagis/metro/spool
+@exec mkdir -p %D/var/netmagis/metro/report
+@exec mkdir -p %D/var/netmagis/metro/log
+@exec mkdir -p %D/var/netmagis/metro/lock
+@exec mkdir -p %D/var/netmagis/metro/graph
+@exec mkdir -p %D/var/netmagis/metro/db
+@exec mkdir -p %D/var/netmagis/metro/cache
+@exec mkdir -p %D/lib/netmagis/tmp/netmagis/lib/netmagis