Date: Fri, 24 Aug 2007 22:27:56 +0200 (CEST) From: Janos Mohacsi <janos.mohacsi@bsd.hu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/115793: [MAINTAINER] net-mgmt/ndpmon: [add startup script] Message-ID: <200708242027.l7OKRuTW004403@scone.ki.iif.hu> Resent-Message-ID: <200708242050.l7OKo2Pf005322@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 115793 >Category: ports >Synopsis: [MAINTAINER] net-mgmt/ndpmon: [add startup script] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Aug 24 20:50:01 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 7.0-CURRENT i386 >Organization: NIIF/HUNGARNET >Environment: System: FreeBSD scone.ki.iif.hu 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jun 27 18:22:17 CEST 2007 >Description: add startup script Added file(s): - files/ndpmonitor.in Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- ndpmon-1.2_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/Makefile /usr/ports/net-mgmt/ndpmon/Makefile --- /usr/ports/net-mgmt/ndpmon.orig/Makefile 2007-08-03 23:40:26.000000000 +0200 +++ /usr/ports/net-mgmt/ndpmon/Makefile 2007-08-24 22:24:50.000000000 +0200 @@ -7,6 +7,7 @@ PORTNAME= ndpmon PORTVERSION= 1.2 +PORTREVISION= 1 CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,6 +18,7 @@ USE_GNOME= libxml2 USE_PERL5_RUN= yes +USE_RC_SUBR= ndpmonitor WRKSRC= ${WRKDIR}/${PORTNAME} GNU_CONFIGURE= yes diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/ndpmonitor.in /usr/ports/net-mgmt/ndpmon/files/ndpmonitor.in --- /usr/ports/net-mgmt/ndpmon.orig/files/ndpmonitor.in 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/net-mgmt/ndpmon/files/ndpmonitor.in 2007-08-24 22:25:44.000000000 +0200 @@ -0,0 +1,25 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: ndpmonitor +# REQUIRE: DAEMON NETWORKING +# + +. %%RC_SUBR%% + +name="ndpmonitor" + +ndpmonitor_enable=${ndpmonitor_enable:-NO} + +load_rc_config $name + +rcvar=`set_rcvar` + +command="%%PREFIX%%/sbin/ndpmon >/dev/null &" + +required_files=/usr/local/etc/config_ndpmon.xml + +info "Running NDPMon." + +run_rc_command "$1" --- ndpmon-1.2_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708242027.l7OKRuTW004403>