1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

- Add a dependency on libedit [1]

- Add procname variable to the rc script it knows about the running process [2]
- Bump PORTREVISION

Noticed by:	ohauer [1], Oliver Brandmueller <ob@e-Gitt.NET> [2]
This commit is contained in:
Lars Engels 2015-11-16 20:12:32 +00:00
parent 76e1219cd2
commit 15beb77d3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401785
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= icinga2
DISTVERSIONPREFIX= v
DISTVERSION= 2.4.0
PORTREVISION= 1
CATEGORIES= net-mgmt
MAINTAINER= lme@FreeBSD.org
@ -18,7 +19,7 @@ RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
USE_GITHUB= yes
GH_ACCOUNT= icinga
USES= alias bison cmake
USES= alias bison cmake libedit
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}

View File

@ -29,6 +29,7 @@ load_rc_config "${name}"
: ${icinga2_configfile="%%PREFIX%%/etc/${name}/${name}.conf"}
command="%%PREFIX%%/sbin/${name}"
procname="/usr/local/lib/icinga2/sbin/icinga2"
extra_commands="reload checkconfig configtest"
icinga2_user="%%ICINGA2USER%%"
icinga2_group="%%ICINGA2GROUP%%"