diff options
author | lme <lme@FreeBSD.org> | 2015-11-17 04:12:32 +0800 |
---|---|---|
committer | lme <lme@FreeBSD.org> | 2015-11-17 04:12:32 +0800 |
commit | b47cf71ad846900d194c18222f8cb61ed8d03ea4 (patch) | |
tree | 13a0c27c84a8aa881c0cbcd5a685c861af2df97e | |
parent | 6f084282d1a289de19c162a6f16d85ecf1f16d5a (diff) | |
download | freebsd-ports-gnome-b47cf71ad846900d194c18222f8cb61ed8d03ea4.tar.gz freebsd-ports-gnome-b47cf71ad846900d194c18222f8cb61ed8d03ea4.tar.zst freebsd-ports-gnome-b47cf71ad846900d194c18222f8cb61ed8d03ea4.zip |
- 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]
-rw-r--r-- | net-mgmt/icinga2/Makefile | 3 | ||||
-rw-r--r-- | net-mgmt/icinga2/files/icinga2.in | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/net-mgmt/icinga2/Makefile b/net-mgmt/icinga2/Makefile index b0f2da20197a..e3e121b41a35 100644 --- a/net-mgmt/icinga2/Makefile +++ b/net-mgmt/icinga2/Makefile @@ -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} diff --git a/net-mgmt/icinga2/files/icinga2.in b/net-mgmt/icinga2/files/icinga2.in index 64bdc8b7da38..0ab4434bc9bd 100644 --- a/net-mgmt/icinga2/files/icinga2.in +++ b/net-mgmt/icinga2/files/icinga2.in @@ -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%%" |