ports/91605: update ports: net/stone: bugfix: doesn't run on boot.
Yoshihiko Sarumaru
mistral at imasy.or.jp
Tue Jan 10 17:30:07 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list