aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/munin-node
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-04-12 20:39:56 +0800
committermat <mat@FreeBSD.org>2017-04-12 20:39:56 +0800
commite957ff444d53542c2841ff52106c2d2e91cd553a (patch)
tree702285516af1b39b8acce08427c809f48d9ac71e /sysutils/munin-node
parentd1a19c18c11c2d2b85a133067772e966a39222f1 (diff)
downloadfreebsd-ports-gnome-e957ff444d53542c2841ff52106c2d2e91cd553a.tar.gz
freebsd-ports-gnome-e957ff444d53542c2841ff52106c2d2e91cd553a.tar.zst
freebsd-ports-gnome-e957ff444d53542c2841ff52106c2d2e91cd553a.zip
Update to 2.0.33.
Add a PYTHON option to appease stage-qa. Sponsored by: Absolight
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r--sysutils/munin-node/Makefile6
-rw-r--r--sysutils/munin-node/pkg-plist4
2 files changed, 6 insertions, 4 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile
index e6ae713624a4..6dcd734b54fb 100644
--- a/sysutils/munin-node/Makefile
+++ b/sysutils/munin-node/Makefile
@@ -35,12 +35,13 @@ ALL_TARGET= build-node build-plugins build/node/_bin/munin-async build/node/_bin
INSTALL_TARGET= install-node-prime install-async-prime install-plugins-prime
NO_ARCH= yes
-OPTIONS_DEFINE= SNMP PERL JAVA
-OPTIONS_DEFAULT= SNMP PERL
+OPTIONS_DEFINE= SNMP PERL PYTHON JAVA
+OPTIONS_DEFAULT= SNMP PERL PYTHON
OPTIONS_SUB= yes
SNMP_DESC= Include SNMP plugins
PERL_DESC= Include all Perl modules (adds dependencies)
JAVA_DESC= Include JAVA plugins
+PYTHON_DESC= Include Python plugins
SNMP_BUILD_DEPENDS= p5-Net-SNMP>=0:net-mgmt/p5-Net-SNMP
SNMP_RUN_DEPENDS= p5-Net-SNMP>=0:net-mgmt/p5-Net-SNMP
@@ -48,6 +49,7 @@ PERL_RUN_DEPENDS= p5-DBD-Pg>=0:databases/p5-DBD-Pg \
p5-Net-DNS>=0:dns/p5-Net-DNS \
p5-XML-Parser>=0:textproc/p5-XML-Parser \
p5-XML-LibXML>=0:textproc/p5-XML-LibXML
+PYTHON_USES= python
JAVA_USE= java=yes
JAVA_INSTALL_TARGET= install-plugins-java
JAVA_BUILD= yes
diff --git a/sysutils/munin-node/pkg-plist b/sysutils/munin-node/pkg-plist
index 1d6c5ca6477c..aeaa21260cd0 100644
--- a/sysutils/munin-node/pkg-plist
+++ b/sysutils/munin-node/pkg-plist
@@ -115,7 +115,7 @@ sbin/munin-sched
%%DATADIR%%/plugins/iostat
%%DATADIR%%/plugins/ipac-ng
%%DATADIR%%/plugins/ipmi_
-%%DATADIR%%/plugins/ipmi_sensor_
+%%PYTHON%%%%DATADIR%%/plugins/ipmi_sensor_
%%DATADIR%%/plugins/ircu
%%JAVA%%%%DATADIR%%/plugins/jmx_
%%JAVA%%%%DATADIR%%/plugins/jmx_tomcat_dbpools
@@ -200,7 +200,7 @@ sbin/munin-sched
%%DATADIR%%/plugins/slapd_
%%DATADIR%%/plugins/slapd_bdb_cache_
%%PERL%%%%DATADIR%%/plugins/slony_lag_
-%%DATADIR%%/plugins/smart_
+%%PYTHON%%%%DATADIR%%/plugins/smart_
%%SNMP%%%%DATADIR%%/plugins/snmp__cpuload
%%SNMP%%%%DATADIR%%/plugins/snmp__df
%%SNMP%%%%DATADIR%%/plugins/snmp__df_ram