From 78bdf1e67b35c497da38b646159faffb42f2cbae Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 31 Aug 2015 10:06:07 +0000 Subject: Set default value "NO" for nagios_enable in rc script. PR: 202556 Submitted by: John Marshall Sponsored by: Absolight --- net-mgmt/nagios4/Makefile | 2 +- net-mgmt/nagios4/files/nagios.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'net-mgmt') diff --git a/net-mgmt/nagios4/Makefile b/net-mgmt/nagios4/Makefile index 88467f8c4c4a..8e4ba7a26606 100644 --- a/net-mgmt/nagios4/Makefile +++ b/net-mgmt/nagios4/Makefile @@ -3,7 +3,7 @@ PORTNAME= nagios PORTVERSION= 4.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-4.x/${PORTNAME}-${PORTVERSION} PKGNAMESUFFIX= 4 diff --git a/net-mgmt/nagios4/files/nagios.in b/net-mgmt/nagios4/files/nagios.in index 4ca39c2a1fe3..871fadd762f8 100644 --- a/net-mgmt/nagios4/files/nagios.in +++ b/net-mgmt/nagios4/files/nagios.in @@ -31,6 +31,7 @@ reload_precmd=reload_precmd configtest_cmd=nagios_checkconfig sig_reload=HUP +nagios_enable=${nagios_enable:-"NO"} nagios_program=${nagios_program:-"%%PREFIX%%/bin/nagios"} # Path to named, if you want a different one. command_args=${command_args:-"-d"} extra_commands=${extra_commands:-"reload configtest"} -- cgit