Index: head/net-mgmt/nsca/Makefile =================================================================== --- head/net-mgmt/nsca/Makefile (revision 262952) +++ head/net-mgmt/nsca/Makefile (revision 262953) @@ -1,70 +1,70 @@ # New ports collection makefile for: nsca # Date created: 2003-11-18 # Whom: Paul Dlug # # $FreeBSD$ # PORTNAME= nsca PORTVERSION= 2.7.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-mgmt MASTER_SITES= SF/nagios/nsca-2.x/nsca-${PORTVERSION} MAINTAINER= mm@FreeBSD.org COMMENT= Nagios Service Check Acceptor .if !defined(WITHOUT_SERVER) RUN_DEPENDS= nagios:${PORTSDIR}/net-mgmt/nagios .endif LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt .if defined(WITHOUT_SERVER) && defined(WITHOUT_CLIENT) IGNORE= you cannot define WITHOUT_SERVER and WITHOUT_CLIENT .endif GNU_CONFIGURE= yes USE_PERL5= yes CONFIGURE_ARGS= --prefix=${PREFIX} --localstatedir=/var/spool/nagios DOCSDIR?= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} .if !defined(WITHOUT_SERVER) USE_RC_SUBR= nsca PLIST_SUB+= SERVER="" WITHOUT_CLIENT= yes PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES+= pkg-message .else PLIST_SUB+= SERVER="@comment " PKGMESSAGE= ${WRKDIR}/pkg-message.client SUB_FILES+= pkg-message.client .endif .if !defined(WITHOUT_CLIENT) PLIST_SUB+= CLIENT="" .else PLIST_SUB+= CLIENT="@comment " .endif DOCS= Changelog LEGAL README SECURITY do-install: .if !defined(WITHOUT_CLIENT) ${INSTALL_PROGRAM} ${WRKSRC}/src/send_nsca ${PREFIX}/sbin/send_nsca ${MKDIR} ${PREFIX}/etc/nagios ${INSTALL_DATA} ${WRKSRC}/sample-config/send_nsca.cfg ${PREFIX}/etc/nagios/send_nsca.cfg-sample .endif .if !defined(WITHOUT_SERVER) ${INSTALL_PROGRAM} ${WRKSRC}/src/nsca ${PREFIX}/sbin/nsca ${MKDIR} ${PREFIX}/etc/nagios ${INSTALL_DATA} ${WRKSRC}/sample-config/nsca.cfg ${PREFIX}/etc/nagios/nsca.cfg-sample .endif post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} .include Property changes on: head/net-mgmt/nsca/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.19 \ No newline at end of property +1.20 \ No newline at end of property Index: head/net-mgmt/nsca/files/nsca.in =================================================================== --- head/net-mgmt/nsca/files/nsca.in (revision 262952) +++ head/net-mgmt/nsca/files/nsca.in (revision 262953) @@ -1,33 +1,33 @@ #!/bin/sh # # PROVIDE: nsca # REQUIRE: nagios # BEFORE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable nsca: # nsca_enable (bool): Set to "NO" by default. # Set it to "YES" to enable nsca. -# nsca_flags (str): Set to "--single" by default. +# nsca_flags (str): Set to "--daemon" by default. # nsca_configfile (str): Set to "%%PREFIX%%/etc/nagios/nsca.cfg" by default. # . /etc/rc.subr name="nsca" rcvar=`set_rcvar` command="%%PREFIX%%/sbin/nsca" pidfile="/var/run/nsca.pid" extra_commands=reload nsca_enable=${nsca_enable:-"NO"} -nsca_flags=${nsca_flags:-"--single"} +nsca_flags=${nsca_flags:-"--daemon"} nsca_configfile=${nsca_configfile:-"%%PREFIX%%/etc/nagios/nsca.cfg"} load_rc_config "${name}" required_files="${nsca_configfile}" command_args="-c ${nsca_configfile}" run_rc_command "$1" Property changes on: head/net-mgmt/nsca/files/nsca.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property