Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jan 2006 02:24:03 +0900 (JST)
From:      Yoshihiko Sarumaru <mistral@imasy.or.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91605: update ports: net/stone: bugfix: doesn't run on boot.
Message-ID:  <200601101724.k0AHO3hr000885@shimako.yamayuri.org>
Resent-Message-ID: <200601101730.k0AHU5Xr012833@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91605
>Category:       ports
>Synopsis:       update ports: net/stone: bugfix: doesn't run on boot.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 10 17:30:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiko Sarumaru
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD shimako.yamayuri.org 6.0-STABLE FreeBSD 6.0-STABLE #9: Mon Dec 26 00:41:02 JST 2005 sarumaru@shimako.yamayuri.org:/usr/obj/usr/src/sys/VGN-T72 i386


	
>Description:
	In current startup script for net/stone, stone_enable is hard coded
	and setting in /etc/rc.conf is ignored on the boot time, although
	it works when invoked from command line.
	(the same issue discussed in ports@, recently)

	Pointed out by: ume@
>How-To-Repeat:
	
>Fix:

diff -urN stone.orig/Makefile stone/Makefile
--- stone.orig/Makefile	Mon Jan  9 22:56:02 2006
+++ stone/Makefile	Wed Jan 11 02:04:03 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	stone
 PORTVERSION=	2.3
+PORTREVISION=	1
 CATEGORIES=	net ipv6
 MASTER_SITES=	http://www.gcd.org/sengoku/stone/
 
diff -urN stone.orig/files/stone.sh.in stone/files/stone.sh.in
--- stone.orig/files/stone.sh.in	Mon Jan  9 18:06:35 2006
+++ stone/files/stone.sh.in	Wed Jan 11 02:07:17 2006
@@ -27,7 +27,7 @@
 start_precmd="stone_precmd"
 restart_precmd="stone_precmd"
 
-stone_enable="NO"
+stone_enable=${stone_enable:-"NO"}
 
 load_rc_config $name
 
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601101724.k0AHO3hr000885>