Index: head/net-mgmt/hobbit-client/Makefile =================================================================== --- head/net-mgmt/hobbit-client/Makefile (revision 213874) +++ head/net-mgmt/hobbit-client/Makefile (revision 213875) @@ -1,46 +1,46 @@ # New ports collection makefile for: hobbit-client # Date created: 24 Jan 2008 # Whom: dirk.meyer@dinoex.sub.org # # $FreeBSD$ # PORTNAME= hobbit PORTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= hobbitmon PKGNAMESUFFIX= -client${PKGNAMESUFFIX2} MAINTAINER= dinoex@FreeBSD.org COMMENT= System for monitoring servers and networks - Client # Options BBUSER?= hobbit BBHOSTIP?= 127.0.0.1 USE_GMAKE= yes CONFIGURE_ENV= MAKE=gmake MAKE_ENV+= BBUSER="${BBUSER}" MAKE_ENV+= BBHOSTIP="${BBHOSTIP}" USE_RC_SUBR= hobbit-client.sh PLIST_SUB+= BBUSER="${BBUSER}" CONFIG_FILES= clientlaunch.cfg hobbitclient.cfg localclient.cfg # Configure script is interactive do-configure: ${CP} ${FILESDIR}/Makefile ${WRKSRC}/ pre-install: if ! pw groupshow ${BBUSER}; then pw groupadd ${BBUSER} -g 280; fi if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \ -h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi post-install: .for i in ${CONFIG_FILES} ${CP} -np ${WWWDIR}/client/etc/${i}-dist \ ${WWWDIR}/client/etc/${i} .endfor .include Property changes on: head/net-mgmt/hobbit-client/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/net-mgmt/hobbit-client/files/hobbit-client.sh.in =================================================================== --- head/net-mgmt/hobbit-client/files/hobbit-client.sh.in (revision 213874) +++ head/net-mgmt/hobbit-client/files/hobbit-client.sh.in (revision 213875) @@ -1,25 +1,26 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: hobbit_client # REQUIRE: DAEMON . "%%RC_SUBR%%" name="hobbit_client" rcvar=`set_rcvar` load_rc_config "$name" : ${hobbit_client_enable:="NO"} +: ${hobbit_client_flags:=""} command="%%PREFIX%%/www/hobbit/client/runclient.sh" -start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh start" -stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh stop" -status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh status" -reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh restart" +start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} start" +stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} stop" +status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} status" +reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} restart" pidfile="%%PREFIX%%/www/hobbit/client/logs/clientlaunch.`hostname`.pid" run_rc_command "$1" # eof Property changes on: head/net-mgmt/hobbit-client/files/hobbit-client.sh.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/net-mgmt/xymon-client/Makefile =================================================================== --- head/net-mgmt/xymon-client/Makefile (revision 213874) +++ head/net-mgmt/xymon-client/Makefile (revision 213875) @@ -1,46 +1,46 @@ # New ports collection makefile for: hobbit-client # Date created: 24 Jan 2008 # Whom: dirk.meyer@dinoex.sub.org # # $FreeBSD$ # PORTNAME= hobbit PORTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt www MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= hobbitmon PKGNAMESUFFIX= -client${PKGNAMESUFFIX2} MAINTAINER= dinoex@FreeBSD.org COMMENT= System for monitoring servers and networks - Client # Options BBUSER?= hobbit BBHOSTIP?= 127.0.0.1 USE_GMAKE= yes CONFIGURE_ENV= MAKE=gmake MAKE_ENV+= BBUSER="${BBUSER}" MAKE_ENV+= BBHOSTIP="${BBHOSTIP}" USE_RC_SUBR= hobbit-client.sh PLIST_SUB+= BBUSER="${BBUSER}" CONFIG_FILES= clientlaunch.cfg hobbitclient.cfg localclient.cfg # Configure script is interactive do-configure: ${CP} ${FILESDIR}/Makefile ${WRKSRC}/ pre-install: if ! pw groupshow ${BBUSER}; then pw groupadd ${BBUSER} -g 280; fi if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \ -h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi post-install: .for i in ${CONFIG_FILES} ${CP} -np ${WWWDIR}/client/etc/${i}-dist \ ${WWWDIR}/client/etc/${i} .endfor .include Property changes on: head/net-mgmt/xymon-client/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/net-mgmt/xymon-client/files/hobbit-client.sh.in =================================================================== --- head/net-mgmt/xymon-client/files/hobbit-client.sh.in (revision 213874) +++ head/net-mgmt/xymon-client/files/hobbit-client.sh.in (revision 213875) @@ -1,25 +1,26 @@ #!/bin/sh # # $FreeBSD$ # # PROVIDE: hobbit_client # REQUIRE: DAEMON . "%%RC_SUBR%%" name="hobbit_client" rcvar=`set_rcvar` load_rc_config "$name" : ${hobbit_client_enable:="NO"} +: ${hobbit_client_flags:=""} command="%%PREFIX%%/www/hobbit/client/runclient.sh" -start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh start" -stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh stop" -status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh status" -reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh restart" +start_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} start" +stop_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} stop" +status_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} status" +reload_cmd="%%PREFIX%%/www/hobbit/client/runclient.sh ${hobbit_client_flags} restart" pidfile="%%PREFIX%%/www/hobbit/client/logs/clientlaunch.`hostname`.pid" run_rc_command "$1" # eof Property changes on: head/net-mgmt/xymon-client/files/hobbit-client.sh.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property