wok rev 4629

Up icmptx (0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 21 09:13:25 2009 +0100 (2009-12-21)
parents 59f353e896ed
children 92cea60a3573
files icmptx/receipt
line diff
     1.1 --- a/icmptx/receipt	Sun Dec 20 21:22:25 2009 +0100
     1.2 +++ b/icmptx/receipt	Mon Dec 21 09:13:25 2009 +0100
     1.3 @@ -1,17 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="icmptx"
     1.7 -VERSION="0.01"
     1.8 +VERSION="0.2"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Tunnel IP connections using ICMP echo request."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 -WEB_SITE="http://thomer.com/icmptx"
    1.14 -WGET_URL="$WEB_SITE/$TARBALL"
    1.15 +SOURCE="jakkarth-icmptx-0386ff2"
    1.16 +TARBALL="$SOURCE.tar.gz"
    1.17 +WEB_SITE="http://github.com/jakkarth/icmptx"
    1.18 +WGET_URL="http://download.github.com/$TARBALL"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 +	mv $SOURCE $src 2> /dev/null
    1.24  	cd $src
    1.25  	make
    1.26  }
    1.27 @@ -28,7 +30,8 @@
    1.28  {
    1.29  	cat << EOT
    1.30  Server side example (on icmp-gateway) :
    1.31 -# icmptx -d 10.0.1.1 &
    1.32 +# icmptx -s icmp-gateway &
    1.33 +# sleep 1
    1.34  # ifconfig tun0 mtu 65535 up 10.0.1.1 netmask 255.255.255.0
    1.35  # echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
    1.36  # echo 1 > /proc/sys/net/ipv4/ip_forward
    1.37 @@ -36,6 +39,7 @@
    1.38  
    1.39  client side example (assume 192.168.1.1 as default gw for wlan interface) :
    1.40  # icmptx -c icmp-gateway &
    1.41 +# sleep 1
    1.42  # ifconfig tun0 mtu 65535 up 10.0.1.2 netmask 255.255.255.0
    1.43  # route add -host icmp-gateway gw 192.168.1.1 dev wlan0
    1.44  # route add default gw 10.0.1.1 tun0