From nobody@FreeBSD.org  Tue Jun 14 15:12:52 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C4C471065677
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Jun 2011 15:12:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id B4AB08FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Jun 2011 15:12:52 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5EFCq23097661
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Jun 2011 15:12:52 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p5EFCq3l097657;
	Tue, 14 Jun 2011 15:12:52 GMT
	(envelope-from nobody)
Message-Id: <201106141512.p5EFCq3l097657@red.freebsd.org>
Date: Tue, 14 Jun 2011 15:12:52 GMT
From: Kuan-Chung Chiu <buganini@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] fix REQUIRE in net/gateway6 's rc.d script
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: mike@fth-devel.net

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 14 15:20:09 UTC 2011
>Closed-Date:    Tue Jun 28 04:53:03 UTC 2011
>Last-Modified:  Tue Jun 28 05:00:20 UTC 2011
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Jun 14 15:20:19 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: mike@fth-devel.net
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/157876: [patch] fix REQUIRE in net/gateway6 's rc.d script
Date: Tue, 14 Jun 2011 15:20:17 UT

 Maintainer of net/gateway6,
 
 Please note that PR ports/157876 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/157876
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Michael Scholz <mike@fth-devel.net>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/157876: [patch] fix REQUIRE in net/gateway6 's rc.d script
Date: Wed, 15 Jun 2011 00:26:20 +0200

 > Maintainer of net/gateway6,
 >
 > Please note that PR ports/157876 has just been submitted.
 >
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 >
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/157876
 
 The PR is okay!
 
 Mike
State-Changed-From-To: feedback->closed 
State-Changed-By: kevlo 
State-Changed-When: Tue Jun 28 04:52:36 UTC 2011 
State-Changed-Why:  
Committed, thanks. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/157876: commit references a PR
Date: Tue, 28 Jun 2011 04:52:20 +0000 (UTC)

 kevlo       2011-06-28 04:52:12 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/gateway6         Makefile 
     net/gateway6/files   gateway6.sh.in 
   Log:
   gateway6 rc script should REQUIRE NETWORKING instead of netif;
   netif doesn't guarantee network is working, thus, it makes connection fail.
   
   PR:     ports/157876
   Submitted by:   Kuan-Chung Chiu <buganini at gmail dot com>
   Reviewed by:    Michael Scholz (maintainer)
   approved by:
   
   Revision  Changes    Path
   1.7       +1 -0      ports/net/gateway6/Makefile
   1.6       +2 -2      ports/net/gateway6/files/gateway6.sh.in
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
