aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios/files
diff options
context:
space:
mode:
authorTim Bishop <tdb@FreeBSD.org>2006-01-17 10:39:58 +0000
committerTim Bishop <tdb@FreeBSD.org>2006-01-17 10:39:58 +0000
commite9fc35504f8435789b92526485d152a8b8640486 (patch)
treea98b36299a2bcc385046eb56e41573a916c402bf /net-mgmt/nagios/files
parent3933d258d05d155e03ed459cba17859872f80cb9 (diff)
downloadports-e9fc35504f8435789b92526485d152a8b8640486.tar.gz
ports-e9fc35504f8435789b92526485d152a8b8640486.zip
Update to nagios-2.0.r2 includes:
- Added SHA256 checksum to distinfo - Added reload argument to nagios.sh script - PERL_SYS_INIT3 fix now committed to Nagios CVS, patch redundant - Removed duplicated etc/rc.d/nagios.sh from pkg-plist PR: 91892 Submitted by: Jarrod Sayers <jarrod@netleader.com.au> (maintainer)
Notes
Notes: svn path=/head/; revision=153719
Diffstat (limited to 'net-mgmt/nagios/files')
-rw-r--r--net-mgmt/nagios/files/nagios.sh.in2
-rw-r--r--net-mgmt/nagios/files/patch-base-utils.c11
2 files changed, 2 insertions, 11 deletions
diff --git a/net-mgmt/nagios/files/nagios.sh.in b/net-mgmt/nagios/files/nagios.sh.in
index 03207c926b44..b31fa8081eed 100644
--- a/net-mgmt/nagios/files/nagios.sh.in
+++ b/net-mgmt/nagios/files/nagios.sh.in
@@ -18,12 +18,14 @@ rcvar=`set_rcvar`
command="%%PREFIX%%/bin/nagios"
command_args="-d"
+extra_commands="reload"
pidfile="%%NAGIOSDIR%%/nagios.lock"
nagios_user="%%NAGIOSUSER%%"
start_precmd="start_precmd"
stop_postcmd="stop_postcmd"
restart_precmd="nagios_checkconfig"
+sig_reload=HUP
[ -z "${nagios_enable}" ] && nagios_enable="NO"
[ -z "${nagios_flags}" ] && nagios_flags=""
diff --git a/net-mgmt/nagios/files/patch-base-utils.c b/net-mgmt/nagios/files/patch-base-utils.c
deleted file mode 100644
index 22a17a7e9a2f..000000000000
--- a/net-mgmt/nagios/files/patch-base-utils.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- base/utils.c.orig Sat Dec 24 06:01:36 2005
-+++ base/utils.c Wed Dec 28 17:53:36 2005
-@@ -4546,7 +4546,7 @@
-
- use_embedded_perl=TRUE;
-
-- PERL_SYS_INIT3(&argc,embedding,&env);
-+ PERL_SYS_INIT3(&argc,&embedding,&env);
-
- if((my_perl=perl_alloc())==NULL){
- use_embedded_perl=FALSE;