aboutsummaryrefslogtreecommitdiff
path: root/sysutils/munin-node
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2019-03-04 12:17:39 +0000
committerMathieu Arnold <mat@FreeBSD.org>2019-03-04 12:17:39 +0000
commit28bb814f74dd1f8d81f37cb95d6e5f42cd72086f (patch)
tree494759535424f820d5d6846c2ac90c462bd9e0bf /sysutils/munin-node
parente67fb70990501bdf9bbc1886d9f6533ddc0e75d0 (diff)
downloadports-28bb814f74dd1f8d81f37cb95d6e5f42cd72086f.tar.gz
ports-28bb814f74dd1f8d81f37cb95d6e5f42cd72086f.zip
Notes
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r--sysutils/munin-node/Makefile7
-rw-r--r--sysutils/munin-node/files/munin-sched.in41
-rw-r--r--sysutils/munin-node/pkg-plist4
3 files changed, 3 insertions, 49 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile
index 6a95fe822afd..e0ac0776b0c7 100644
--- a/sysutils/munin-node/Makefile
+++ b/sysutils/munin-node/Makefile
@@ -3,7 +3,6 @@
PORTNAME= munin
PORTVERSION= ${MUNIN_VERSION}
-PORTREVISION= 3
CATEGORIES= sysutils perl5
MASTER_SITES= ${MUNIN_SITES}
PKGNAMESUFFIX= -node
@@ -27,7 +26,7 @@ RUN_DEPENDS= p5-Cache-Cache>=0:devel/p5-Cache-Cache \
USES= gmake perl5 shebangfix cpe
REINPLACE_ARGS= -i ""
-SHEBANG_FILES= node/bin/munindoc node/sbin/munin-node node/sbin/munin-sched \
+SHEBANG_FILES= node/bin/munindoc node/sbin/munin-node \
node/sbin/munin-run node/sbin/munin-node-configure
.include "${.CURDIR}/../munin-common/munin.mk"
@@ -57,7 +56,7 @@ JAVA_BUILD= yes
JAVA_RUN= yes
SUB_FILES= pkg-message plugins.conf
-USE_RC_SUBR= munin-asyncd munin-node munin-sched
+USE_RC_SUBR= munin-asyncd munin-node
PORTSCOUT= ignore:1
@@ -84,7 +83,7 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/plugins.conf \
${STAGEDIR}${ETCDIR}/plugins.conf.sample
(cd ${WRKSRC}/node/blib/bindoc; \
- ${INSTALL_MAN} munin-node-configure.1 munin-node.1 munin-run.1 munin-sched.1 munindoc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1; \
+ ${INSTALL_MAN} munin-node-configure.1 munin-node.1 munin-run.1 munindoc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1; \
)
(cd ${WRKSRC}/build/doc; \
${INSTALL_MAN} munin-node.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5; \
diff --git a/sysutils/munin-node/files/munin-sched.in b/sysutils/munin-node/files/munin-sched.in
deleted file mode 100644
index 2803b11c1532..000000000000
--- a/sysutils/munin-node/files/munin-sched.in
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: munin-sched
-# REQUIRE: DAEMON
-# BEFORE: cron
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable munin-sched:
-# munin_sched_enable (bool): Set to "NO" by default.
-# Set it to "YES" to enable munin-sched
-# munin_sched_config (path): Set to "%%PREFIX%%/etc/munin/munin-node.conf" by default.
-#
-
-. /etc/rc.subr
-
-name=munin_sched
-desc="munin scheduler daemon"
-rcvar=munin_sched_enable
-
-load_rc_config $name
-
-command="%%PREFIX%%/sbin/munin-sched"
-start_precmd=find_pidfile
-status_precmd=find_pidfile
-stop_precmd=find_pidfile
-
-munin_sched_enable=${munin_sched_enable:-NO}
-munin_sched_config=${munin_sched_config:-"%%PREFIX%%/etc/munin/munin-node.conf"}
-
-find_pidfile()
-{
- get_pidfile_from_conf pid_file $munin_sched_config
- pidfile="${_pidfile_from_conf%node*}sched"
- pidfile="${pidfile}${_pidfile_from_conf#*node}"
-}
-
-run_rc_command "$1"
diff --git a/sysutils/munin-node/pkg-plist b/sysutils/munin-node/pkg-plist
index 64476e1a466d..89ab95327a62 100644
--- a/sysutils/munin-node/pkg-plist
+++ b/sysutils/munin-node/pkg-plist
@@ -15,7 +15,6 @@ bin/munindoc
%%SITE_PERL%%/Munin/Node/Configure/PluginList.pm
%%SITE_PERL%%/Munin/Node/Logger.pm
%%SITE_PERL%%/Munin/Node/OS.pm
-%%SITE_PERL%%/Munin/Node/ProxySpooler.pm
%%SITE_PERL%%/Munin/Node/SNMPConfig.pm
%%SITE_PERL%%/Munin/Node/Server.pm
%%SITE_PERL%%/Munin/Node/Service.pm
@@ -29,7 +28,6 @@ bin/munindoc
man/man1/munin-node-configure.1.gz
man/man1/munin-node.1.gz
man/man1/munin-run.1.gz
-man/man1/munin-sched.1.gz
man/man1/munindoc.1.gz
man/man3/Munin::Node::Config.3.gz
man/man3/Munin::Node::Configure::Debug.3.gz
@@ -39,7 +37,6 @@ man/man3/Munin::Node::Configure::Plugin.3.gz
man/man3/Munin::Node::Configure::PluginList.3.gz
man/man3/Munin::Node::Logger.3.gz
man/man3/Munin::Node::OS.3.gz
-man/man3/Munin::Node::ProxySpooler.3.gz
man/man3/Munin::Node::SNMPConfig.3.gz
man/man3/Munin::Node::Server.3.gz
man/man3/Munin::Node::Service.3.gz
@@ -55,7 +52,6 @@ man/man8/munin.8.gz
sbin/munin-node
sbin/munin-node-configure
sbin/munin-run
-sbin/munin-sched
%%DATADIR%%/munin-async
%%DATADIR%%/munin-asyncd
%%JAVA%%%%DATADIR%%/munin-jmx-plugins.jar