--- isatapd-0.9.6.orig/debian/changelog +++ isatapd-0.9.6/debian/changelog @@ -0,0 +1,30 @@ +isatapd (0.9.6-1) unstable; urgency=low + + * Imported Upstream version 0.9.6 (Closes: #561637) + - mostly rewritten + - new options --nopmtudisc, --ttl auto, --ttl inherit, --check-dns + - removed options --user-rs, --no-user-rs + - unlimited router names + - always send router solicitations in userspace + - much more robust RS/RA code to handle possible packet loss + - parse router advertisements and adjust interval of solicitations + - drop privileges after initializing (option --user) + - remove stale PRL entries from kernel + * bump Standards-Version to 3.8.3 (no changes needed) + + -- Bernhard Schmidt Sat, 19 Dec 2009 02:25:43 +0100 + +isatapd (0.9.5-1) unstable; urgency=low + + * new upstream version + - new option --user-rs, rename --no-rs to --no-user-rs + - support for kernel-space router solicitation in kernel >= 2.6.31 + + -- Bernhard Schmidt Fri, 31 Jul 2009 01:10:01 +0200 + +isatapd (0.9.4-1) unstable; urgency=low + + * Initial release (Closes: #535020) + - thanks to Marco d'Itri for his support + + -- Bernhard Schmidt Tue, 07 Jul 2009 02:06:26 +0200 --- isatapd-0.9.6.orig/debian/isatapd.if-down +++ isatapd-0.9.6/debian/isatapd.if-down @@ -0,0 +1,13 @@ +#!/bin/sh -e + +if [ -f /etc/default/isatapd ]; then + . /etc/default/isatapd +fi + +if [ "$RELOAD_ON_IFUPDOWN" = "yes" ]; then + if [ "$RELOAD_ON_IFUPDOWN_DELAY" ]; then + sleep $RELOAD_ON_IFUPDOWN_DELAY + fi + invoke-rc.d isatapd reload +fi + --- isatapd-0.9.6.orig/debian/control +++ isatapd-0.9.6/debian/control @@ -0,0 +1,18 @@ +Source: isatapd +Section: net +Priority: extra +Maintainer: Bernhard Schmidt +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 7.0.1) +Standards-Version: 3.8.3 +Homepage: http://saschahlusiak.de/linux/isatap.htm + +Package: isatapd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: creates and maintains an ISATAP client tunnel (RFC 5214) + isatapd creates and maintains an ISATAP client tunnel (RFC 5214) in Linux. + . + It uses the in-kernel ISATAP support first introduced in linux-2.6.25. + It does NOT operate the tunnel or handle any IPv6 traffic, it only sets + up the tunnel parameters, the Potential Router List, sends periodic + router solicitations and tries to detect link changes. --- isatapd-0.9.6.orig/debian/isatapd.ppp.ip-up +++ isatapd-0.9.6/debian/isatapd.ppp.ip-up @@ -0,0 +1,13 @@ +#!/bin/sh -e + +if [ -f /etc/default/isatapd ]; then + . /etc/default/isatapd +fi + +if [ "$RELOAD_ON_IFUPDOWN" = "yes" ]; then + if [ "$RELOAD_ON_IFUPDOWN_DELAY" ]; then + sleep $RELOAD_ON_IFUPDOWN_DELAY + fi + invoke-rc.d isatapd reload +fi + --- isatapd-0.9.6.orig/debian/compat +++ isatapd-0.9.6/debian/compat @@ -0,0 +1 @@ +7 --- isatapd-0.9.6.orig/debian/isatapd.if-up +++ isatapd-0.9.6/debian/isatapd.if-up @@ -0,0 +1,13 @@ +#!/bin/sh -e + +if [ -f /etc/default/isatapd ]; then + . /etc/default/isatapd +fi + +if [ "$RELOAD_ON_IFUPDOWN" = "yes" ]; then + if [ "$RELOAD_ON_IFUPDOWN_DELAY" ]; then + sleep $RELOAD_ON_IFUPDOWN_DELAY + fi + invoke-rc.d isatapd reload +fi + --- isatapd-0.9.6.orig/debian/isatapd.init +++ isatapd-0.9.6/debian/isatapd.init @@ -0,0 +1,96 @@ +#!/bin/sh -e +### BEGIN INIT INFO +# Provides: isatapd +# Required-Start: $network $local_fs +# Required-Stop: +# Should-Start: $named +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: isatapd creates and maintains an ISATAP client tunnel (RFC 5214) in Linux +# Description: isatapd creates and maintains an ISATAP client tunnel (RFC 5214) in Linux. +### END INIT INFO + +PATH=/sbin:/bin:/usr/sbin:/usr/bin + +DAEMON=/usr/sbin/isatapd +DESC="ISATAP client" + +PIDFILE=/var/run/isatapd.pid + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Default options, these can be overriden by the information +# at /etc/default/isatapd +MTU=1280 # IPv6 MTU +DAEMON_OPTS="" # Additional options given to the server +ISATAP_ROUTERS="isatap" + +# Include defaults if available +if [ -f /etc/default/isatapd ] ; then + . /etc/default/isatapd +fi + +if [ "x$RUN" != "xyes" ] ; then + log_failure_msg "isatapd disabled, please adjust the configuration to your needs " + log_failure_msg "and then set RUN to 'yes' in /etc/default/isatapd to enable it." + exit 0 +fi + +start_server() { + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --exec $DAEMON -- --daemon --pid $PIDFILE \ + --mtu $MTU $DAEMON_OPTS $ISATAP_ROUTERS || return $? +} + +stop_server() { + start-stop-daemon --stop --quiet --pidfile $PIDFILE --retry 2 --oknodo || return $? +} + +case "$1" in + start) + log_daemon_msg "Starting $DESC" "isatapd" + if start_server ; then + log_end_msg 0 + else + log_end_msg $? + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "isatapd" + if stop_server ; then + log_end_msg 0 + else + log_end_msg $? + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "isatapd" + stop_server + if start_server ; then + log_end_msg 0 + else + log_end_msg $? + fi + ;; + status) + status_of_proc -p $PIDFILE $DAEMON isatapd && exit 0 || exit $? + ;; + reload) + log_daemon_msg "Reloading $DESC" "isatapd" + if start-stop-daemon --stop --signal 1 --pidfile $PIDFILE > /dev/null; then + log_end_msg 0 + else + log_end_msg 1 + fi + ;; + *) + N=/etc/init.d/isatapd + echo "Usage: $N {start|stop|restart|force-reload|reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- isatapd-0.9.6.orig/debian/isatapd.default +++ isatapd-0.9.6/debian/isatapd.default @@ -0,0 +1,25 @@ +# Set RUN=yes to start isatapd at boot time. You may need to set the +# ISATAP_ROUTER parameter below +RUN="yes" + +# A space seperated list of one or more hostnames/IPv4 addresses to use as +# potential routers. +# The default is the unqualified hostname 'isatap' +#ISATAP_ROUTERS="" + +# IPv6 MTU of the created ISATAP tunnel interface. The IPv4 path to +# the ISATAP router and all other ISATAP clients should be able to +# handle at least MTU+20 bytes. +# The minimum IPv6 MTU (1280 Bytes) is the safest choice here +MTU="1280" + +# Additional options, see isatapd(8) for details +#DAEMON_OPTS="" + +# Send SIGHUP to running isatapd when an interface comes up +RELOAD_ON_IFUPDOWN="yes" + +# Delay reload for $RELOAD_ON_IFUPDOWN_DELAY seconds to wait for +# routes to settle +#RELOAD_ON_IFUPDOWN_DELAY="5" + --- isatapd-0.9.6.orig/debian/rules +++ isatapd-0.9.6/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +binary-install/isatapd:: + dh_installifupdown -p$(cdbs_curpkg) + dh_installppp -p$(cdbs_curpkg) --- isatapd-0.9.6.orig/debian/isatapd.ppp.ip-down +++ isatapd-0.9.6/debian/isatapd.ppp.ip-down @@ -0,0 +1,13 @@ +#!/bin/sh -e + +if [ -f /etc/default/isatapd ]; then + . /etc/default/isatapd +fi + +if [ "$RELOAD_ON_IFUPDOWN" = "yes" ]; then + if [ "$RELOAD_ON_IFUPDOWN_DELAY" ]; then + sleep $RELOAD_ON_IFUPDOWN_DELAY + fi + invoke-rc.d isatapd reload +fi + --- isatapd-0.9.6.orig/debian/copyright +++ isatapd-0.9.6/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Bernhard Schmidt on +Fri, 29 May 2009 19:24:43 +0200. + +It was downloaded from + +Upstream Author: + + Sascha Hlusiak + +Copyright: + + Copyright (C) 2009 Sascha Hlusiak + +License: + + isatapd is licensed under the GNU GPL version 2. + + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 . + +The Debian packaging is copyright 2009, Bernhard Schmidt and +is licensed under the GPLv2, see `/usr/share/common-licenses/GPL-2'. --- isatapd-0.9.6.orig/debian/control.in +++ isatapd-0.9.6/debian/control.in @@ -0,0 +1,18 @@ +Source: isatapd +Section: net +Priority: extra +Maintainer: Bernhard Schmidt +Build-Depends: @cdbs@ +Standards-Version: 3.8.3 +Homepage: http://saschahlusiak.de/linux/isatap.htm + +Package: isatapd +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: creates and maintains an ISATAP client tunnel (RFC 5214) + isatapd creates and maintains an ISATAP client tunnel (RFC 5214) in Linux. + . + It uses the in-kernel ISATAP support first introduced in linux-2.6.25. + It does NOT operate the tunnel or handle any IPv6 traffic, it only sets + up the tunnel parameters, the Potential Router List, sends periodic + router solicitations and tries to detect link changes. --- isatapd-0.9.6.orig/debian/watch +++ isatapd-0.9.6/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://www.saschahlusiak.de/linux/isatap.htm isatapd-(.*)\.tar\.gz