Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jan 2003 11:03:27 -0600 (CST)
From:      Kirk Strauser <kirk@strauser.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Kirk Strauser <kirk@strauser.com>
Subject:   ports/46668: net/freenet6 port template needs to be updated
Message-ID:  <200301011703.h01H3R5Y001860@gopher.honeypot.net>

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

>Number:         46668
>Category:       ports
>Synopsis:       net/freenet6 port template needs to be updated
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 01 09:50:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kirk Strauser
>Release:        FreeBSD 4.7-STABLE alpha
>Organization:
The Strauser Group
>Environment:
System: FreeBSD gopher.honeypot.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Sun Dec 29 12:31:08 CST 2002 root@gopher.honeypot.net:/usr/obj/usr/src/sys/GOPHER alpha


	
>Description:
Due to the deprecation of gifconfig, the net/freenet6 port's
`tspc-freebsd44.sh' script should be updated to use the new ifconfig
semantics.
	
>How-To-Repeat:
	
>Fix:
This patch allows the net/freenet6 port to work on new machines by replacing
the `gifconfig' calls with a `ifconfig tunnel' call:

--- tspc-freebsd44.sh.old       Wed Jan  1 11:00:27 2003
+++ tspc-freebsd44.sh   Wed Jan  1 11:00:50 2003
@@ -64,7 +64,6 @@
 Display 1 '--- Start of configuration script. ---'
 Display 1 "Script: " `basename $0`

-gifconfig=/usr/sbin/gifconfig
 ifconfig=/sbin/ifconfig
 route=/sbin/route
 rtadvd=/usr/sbin/rtadvd
@@ -104,8 +103,7 @@
       Exec $ifconfig $TSP_TUNNEL_INTERFACE destroy
    fi
    Exec $ifconfig $TSP_TUNNEL_INTERFACE create
-   Exec $gifconfig $TSP_TUNNEL_INTERFACE $TSP_CLIENT_ADDRESS_IPV4 $TSP_SERVER_ADDRESS_IPV4
-   Exec $gifconfig $TSP_TUNNEL_INTERFACE up
+   Exec $ifconfig $TSP_TUNNEL_INTERFACE tunnel $TSP_CLIENT_ADDRESS_IPV4 $TSP_SERVER_ADDRESS_IPV4

    #
    # Configured tunnel config (IPv6)

	


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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