Bug 46668 - net/freenet6 port template needs to be updated
Summary: net/freenet6 port template needs to be updated
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-01 17:50 UTC by Kirk Strauser
Modified: 2003-01-03 11:17 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kirk Strauser 2003-01-01 17:50:02 UTC
Due to the deprecation of gifconfig, the net/freenet6 port's
`tspc-freebsd44.sh' script should be updated to use the new ifconfig
semantics.

Fix: This patch allows the net/freenet6 port to work on new machines by replacing
the `gifconfig' calls with a `ifconfig tunnel' call:



-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)--j2BSJrVDixHOGW04VDNzmEZxIInHalDT8B6Q0AXNDwV2GFYW
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- 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`
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2003-01-03 11:16:56 UTC
State Changed
From-To: open->closed

Commited, thanks!