svn commit: r306178 - in head/net-mgmt/icinga: . files

Lars Engels lme at FreeBSD.org
Sat Oct 20 12:58:18 UTC 2012


Author: lme
Date: Sat Oct 20 12:58:17 2012
New Revision: 306178
URL: http://svn.freebsd.org/changeset/ports/306178

Log:
  - Add an alias to `checkconfig': `configtest'
    The former is what is used in the upstream init script, the latter is commonly used in
    our rc scripts.
  - Bump PORTREVISION
  
  Suggested by:	demon
  Feature safe:	yes

Modified:
  head/net-mgmt/icinga/Makefile
  head/net-mgmt/icinga/files/icinga.in

Modified: head/net-mgmt/icinga/Makefile
==============================================================================
--- head/net-mgmt/icinga/Makefile	Sat Oct 20 10:54:10 2012	(r306177)
+++ head/net-mgmt/icinga/Makefile	Sat Oct 20 12:58:17 2012	(r306178)
@@ -7,6 +7,7 @@
 
 PORTNAME=	icinga
 PORTVERSION=	1.8.0
+PORTREVISION=	1
 CATEGORIES=	net-mgmt
 MASTER_SITES=	SF
 

Modified: head/net-mgmt/icinga/files/icinga.in
==============================================================================
--- head/net-mgmt/icinga/files/icinga.in	Sat Oct 20 10:54:10 2012	(r306177)
+++ head/net-mgmt/icinga/files/icinga.in	Sat Oct 20 12:58:17 2012	(r306178)
@@ -29,7 +29,7 @@ load_rc_config "${name}"
 
 command="%%PREFIX%%/bin/icinga"
 command_args="-d"
-extra_commands="reload checkconfig"
+extra_commands="reload checkconfig configtest"
 pidfile="%%ICINGADIR%%/icinga.lock"
 icinga_user="%%ICINGAUSER%%"
 icinga_group="%%ICINGAGROUP%%"
@@ -40,6 +40,7 @@ icinga_cmdfile="%%ICINGADIR%%/rw/${name}
 
 start_cmd="start_cmd"
 checkconfig_cmd="icinga_checkconfig verbose"
+configtest_cmd="${checkconfig_cmd}"
 start_precmd="start_precmd"
 stop_postcmd="stop_postcmd"
 restart_precmd="icinga_checkconfig"


More information about the svn-ports-all mailing list