From nobody@FreeBSD.org  Fri Apr 15 17:54:50 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3910C16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 15 Apr 2005 17:54:50 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0D4F743D49
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 15 Apr 2005 17:54:50 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j3FHsn8c058566
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 15 Apr 2005 17:54:49 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j3FHsnOT058564;
	Fri, 15 Apr 2005 17:54:49 GMT
	(envelope-from nobody)
Message-Id: <200504151754.j3FHsnOT058564@www.freebsd.org>
Date: Fri, 15 Apr 2005 17:54:49 GMT
From: Chris St Denis <chris@aebc.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: stund port does not have an rc script
X-Send-Pr-Version: www-2.3

>Number:         79983
>Category:       ports
>Synopsis:       stund port does not have an rc script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sobomax
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 15 18:00:37 GMT 2005
>Closed-Date:    Fri Sep 30 01:07:01 GMT 2005
>Last-Modified:  Fri Sep 30 01:07:01 GMT 2005
>Originator:     Chris St Denis
>Release:        5.3-release
>Organization:
AEBC Internet Corp
>Environment:
any
>Description:
      The Stund script should have an rc script.
>How-To-Repeat:
      
>Fix:
      Please create an rc script for the stund. I manually created a simple one for myself with the IPs hard coded, but don't have the experance to create one effectively to use prameters set in rc.conf for general distribution.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sobomax 
Responsible-Changed-By: leeym 
Responsible-Changed-When: Fri Apr 15 22:23:12 GMT 2005 
Responsible-Changed-Why:  
Over to the maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79983 

From: Vasil Dimov <vd@datamax.bg>
To: Chris St Denis <chris@aebc.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/79983: stund port does not have an rc script
Date: Tue, 26 Apr 2005 21:20:56 +0300

 --pvezYHf7grwyp3Bc
 Content-Type: multipart/mixed; boundary="UugvWAfsgieZRqgk"
 Content-Disposition: inline
 
 
 --UugvWAfsgieZRqgk
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Here is a patch to net/stund port that includes the rc script
 
 --UugvWAfsgieZRqgk
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="stund_addrc.diff"
 Content-Transfer-Encoding: quoted-printable
 
 diff -urN stund-norc/Makefile stund/Makefile
 --- stund-norc/Makefile	Mon Apr 18 02:26:02 2005
 +++ stund/Makefile	Tue Apr 26 20:50:50 2005
 @@ -21,6 +21,8 @@
 =20
  USE_GMAKE=3D	yes
 =20
 +USE_RC_SUBR=3D	stund.sh
 +
  do-install:
  	${INSTALL_PROGRAM} ${WRKSRC}/server ${LOCALBASE}/sbin/stund
  	${INSTALL_PROGRAM} ${WRKSRC}/client ${LOCALBASE}/bin/stun_client
 diff -urN stund-norc/files/stund.sh.in stund/files/stund.sh.in
 --- stund-norc/files/stund.sh.in	Thu Jan  1 02:00:00 1970
 +++ stund/files/stund.sh.in	Tue Apr 26 21:14:47 2005
 @@ -0,0 +1,29 @@
 +#!/bin/sh
 +# $FreeBSD$
 +#
 +# PROVIDE: stund
 +# REQUIRE: NETWORKING
 +# KEYWORD: FreeBSD
 +#
 +# To enable stund you must set:
 +#
 +# stund_enable=3D"YES"
 +# stund_flags=3D"-h primary_IP -a secondary_IP"
 +#
 +# in one of these files:
 +# /etc/rc.conf, /etc/rc.conf.local, /etc/rc.conf.d/stund
 +#
 +
 +stund_enable=3D${stund_enable:-"NO"}
 +
 +. %%RC_SUBR%%
 +
 +name=3Dstund
 +rcvar=3D`set_rcvar`
 +command=3D"%%PREFIX%%/sbin/stund"
 +command_args=3D"-b >/dev/null 2>&1"
 +
 +load_rc_config "$name"
 +run_rc_command "$1"
 +
 +# EOF
 
 --UugvWAfsgieZRqgk--
 
 --pvezYHf7grwyp3Bc
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 
 iD8DBQFCboaIFw6SP/bBpCARAjeAAJ4n7C0UIyUV3m1opjwrtrCpvDHv6wCeKEIn
 yLzvYCHofWhnE7Zip00Si6k=
 =X0Uo
 -----END PGP SIGNATURE-----
 
 --pvezYHf7grwyp3Bc--
State-Changed-From-To: open->closed 
State-Changed-By: sobomax 
State-Changed-When: Fri Sep 30 01:06:38 GMT 2005 
State-Changed-Why:  
rc.d stript has been added independentry. Anyway, thank you for submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79983 
>Unformatted:
