aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-03-31 16:15:16 +0000
committerRene Ladan <rene@FreeBSD.org>2020-03-31 16:15:16 +0000
commit3c6fba3a38899c63d3dbc2bcbc45740cf327c6b3 (patch)
tree3dde9d52f34dfb1247213c04b75eda5c746d1114 /net-mgmt
parent22ddb939272b64b06b07a246858f63dbfaf2906a (diff)
downloadports-3c6fba3a38899c63d3dbc2bcbc45740cf327c6b3.tar.gz
ports-3c6fba3a38899c63d3dbc2bcbc45740cf327c6b3.zip
Clean up ports after FreeBSD 12.0 reached end-of-life.
emulators/mesen is left out for now, as it breaks on 11.3 Submitted by: rene Reviewed by: jbeich, zeising X-Differential Revision: https://reviews.freebsd.org/D24211
Notes
Notes: svn path=/head/; revision=529986
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/kapacitor/Makefile10
-rw-r--r--net-mgmt/kapacitor/files/kapacitord.in2
2 files changed, 2 insertions, 10 deletions
diff --git a/net-mgmt/kapacitor/Makefile b/net-mgmt/kapacitor/Makefile
index 96476a0e343a..7ba6fd7c6fb4 100644
--- a/net-mgmt/kapacitor/Makefile
+++ b/net-mgmt/kapacitor/Makefile
@@ -44,14 +44,6 @@ KAPACITORD_GROUP= influxd
USERS= ${KAPACITORD_USER}
GROUPS= ${KAPACITORD_GROUP}
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == "FreeBSD" && (${OSVERSION} < 1200000 || ${OSVERSION} >= 1200015)
-SUB_LIST+= KAPACITORD_LOGCMD="daemon"
-.else
-SUB_LIST+= KAPACITORD_LOGCMD="logger"
-.endif
-
KAPACITORD_DBDIR= /var/db/${PORTNAME}/
KAPACITORD_LOGDIR= /var/log/${PORTNAME}/
@@ -65,4 +57,4 @@ post-install:
${WRKSRC}/etc/${PORTNAME}/${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/kapacitor/files/kapacitord.in b/net-mgmt/kapacitor/files/kapacitord.in
index 52052cfabfb6..ad4432460c5e 100644
--- a/net-mgmt/kapacitor/files/kapacitord.in
+++ b/net-mgmt/kapacitor/files/kapacitord.in
@@ -35,7 +35,7 @@ start_precmd=kapacitord_prestart
kapacitord_pidfile="/var/run/${name}.pid"
procname="%%PREFIX%%/bin/${name}"
command=/usr/sbin/daemon
-start_cmd="kapacitord_startcmd_%%KAPACITORD_LOGCMD%%"
+start_cmd="kapacitord_startcmd_daemon"
kapacitord_startcmd_daemon()
{