Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2011 15:12:52 GMT
From:      Kuan-Chung Chiu <buganini@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/157876: [patch] fix REQUIRE in net/gateway6 's rc.d script
Message-ID:  <201106141512.p5EFCq3l097657@red.freebsd.org>
Resent-Message-ID: <201106141520.p5EFK9WZ000172@freefall.freebsd.org>

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

>Number:         157876
>Category:       ports
>Synopsis:       [patch] fix REQUIRE in net/gateway6 's rc.d script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 14 15:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Kuan-Chung Chiu
>Release:        9.0-CURRENT
>Organization:
N/A
>Environment:
FreeBSD Elizabeth.twbbs.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r223062M: Tue Jun 14 12:34:20 CST 2011     root@Elizabeth.twbbs.org:/usr/obj/usr/src/sys/ELIZABETH  amd64

>Description:
/usr/local/etc/rc.d/gateway6 should REQUIRE NETWORKING instead of netif
netif doesn't guarantee network is working, thus, it makes connection fail.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN gateway6.orig/Makefile gateway6/Makefile
--- gateway6.orig/Makefile	2011-06-14 23:01:43.000000000 +0800
+++ gateway6/Makefile	2011-06-14 23:06:57.000000000 +0800
@@ -7,6 +7,7 @@
 
 PORTNAME=	gateway6
 PORTVERSION=	6.0
+PORTREVISION=	1
 CATEGORIES=	net ipv6
 MASTER_SITES=	http://go6.net/4105/file.asp?file_id=166&foo=/
 MASTER_SITES+=	http://go6.net/4105/file.asp?file_id=166&;
diff -ruN gateway6.orig/files/gateway6.sh.in gateway6/files/gateway6.sh.in
--- gateway6.orig/files/gateway6.sh.in	2011-06-14 23:01:43.000000000 +0800
+++ gateway6/files/gateway6.sh.in	2011-06-14 23:02:01.000000000 +0800
@@ -5,7 +5,7 @@
 
 #
 # PROVIDE: gateway6
-# REQUIRE: FILESYSTEMS netif
+# REQUIRE: FILESYSTEMS NETWORKING
 # KEYWORD: shutdown
 #
 


>Release-Note:
>Audit-Trail:
>Unformatted:



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