New package for the heartbeat client used by the SixXS IPv6 tunnelbroker project to provide IPv6 tunnels to users with dynamic IPv4 adresses. See http://www.sixxs.net/ for details the tar starts with the category (has path information included) net-misc/sixxs-heartbeat/... Reproducible: Always Steps to Reproduce:
Created attachment 19600 [details] Tar including the .ebuild, the rc-script and the digest(s)
Created attachment 19818 [details] .ebuild for client version 20031026 New version, rc-script from the .tgz still needed
Nice one... I set up this manually as I didn't know it existed! Anyway, not yet in CVS. By the way, I don't see as correct your rc-script... I did something a lil bit different: depend() { need net } start() { ebegin "Starting the IPv6 heartbit system" my_ip=$(/sbin/ifconfig | /bin/grep "eth0" -A 1 | /bin/grep "inet addr" | /bin/tr ' ' '\n' | /bin/grep "addr" | /bin/cut -b 6-); echo ${my_ip} /sbin/ip tunnel add sixbone mode sit remote 62.24.229.120 local ${my_ip} ttl 64 dev eth0 /sbin/ip link set sixbone mtu 1280 /sbin/ip link set sixbone up /sbin/ip addr add 3ffe:4005:1000:4a::2 dev sixbone /sbin/ip route add 2000::/3 dev sixbone /usr/bin/heartbeat-client /etc/heartbeat.conf eend ${result_start} } stop() { ebegin "Stopping the IPv6 heartbit system" /sbin/ip tunnel del sixbone killall heartbeat-client eend ${result_start} } The script is not complete, the IP variables that do not change (IPv4POP server, IPv6 client, IPv6 server) should be set in /etc/conf.d/<variable-file> With the script above, the tunnel is set up on boot and the daemon runs on background: tested: it works ;)
Created attachment 34265 [details] rc-script (/etc/init.d/) This script should be place under /etc/init.d/ and depends on the existance of /etc/conf.d/ipv6tunnel.
Created attachment 34266 [details] /etc/conf.d/ipv6tunnel configuration This file should be placed under /etc/conf.d/ It contains the configuration in order to make run /etc/init.d/ipv6tunnel
In the script perhaps you'll have to change the name of the heartbeat-client. I used the original name.
although apparently noone ever thought about adding this package the bug can be closed, because the successor of the heartbeat-client is now available See bug #64409
Aiccu now in portage for some time.
The bug actually is not invalid but fixed... or worksforme in any case... or even wontfix... ;)