aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-31 18:06:07 +0800
committermat <mat@FreeBSD.org>2015-08-31 18:06:07 +0800
commit78bdf1e67b35c497da38b646159faffb42f2cbae (patch)
tree01713248ccf3a46811d0239b47b87b93e40f2201 /net-mgmt
parent18c745714b4deb2727b648b1d748221366b333f4 (diff)
downloadfreebsd-ports-gnome-78bdf1e67b35c497da38b646159faffb42f2cbae.tar.gz
freebsd-ports-gnome-78bdf1e67b35c497da38b646159faffb42f2cbae.tar.zst
freebsd-ports-gnome-78bdf1e67b35c497da38b646159faffb42f2cbae.zip
Set default value "NO" for nagios_enable in rc script.
PR: 202556 Submitted by: John Marshall Sponsored by: Absolight
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagios4/Makefile2
-rw-r--r--net-mgmt/nagios4/files/nagios.in1
2 files changed, 2 insertions, 1 deletions
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"}