debian/0000755000000000000000000000000012243511535007167 5ustar debian/babeld.conf0000644000000000000000000000011312150453570011243 0ustar # For more information about this configuration file, refer to # babeld(8) debian/control0000644000000000000000000000373012160511104010563 0ustar Source: babeld Section: net Priority: extra Maintainer: Stéphane Glondu Build-Depends: debhelper (>= 9) Standards-Version: 3.9.4 Homepage: http://www.pps.jussieu.fr/~jch/software/babel/ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/babeld.git Vcs-Git: git://anonscm.debian.org/collab-maint/babeld.git Package: babeld Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: ahcpd Description: loop-free distance-vector routing protocol Babel is a distance-vector routing protocol for IPv6 and IPv4 with fast convergence properties, described in RFC 6126. It was designed to be robust and efficient on both wireless mesh networks and classical wired networks. Babel has extremely modest memory and CPU requirements. Unlike most routing protocols, which route either IPv4 or IPv6 but not both at the same time, Babel is a hybrid IPv6 and IPv4 protocol: a single update packet can carry both IPv6 and IPv4 routes (this is similar to how multi-protocol BGP works). This makes Babel particularly efficient on dual (IPv6 and IPv4) networks. This implementation also includes a radio frequency-aware variant of Babel. . Babel has the following features: * it is a distance-vector protocol; * it is a proactive protocol, but with adaptative (reactive) features; * it senses link quality for computing route metrics using a variant of the ETX algorithm; * it uses a feasibility condition that guarantees the absence of loops (the feasibility condition is taken from EIGRP and is somewhat less strict than the one in AODV); * it uses sequence numbers to make old routes feasible again (like DSDV and AODV, but unlike EIGRP); * it speeds up convergence by reactively requesting a new sequence number (like AODV, and to a certain extent EIGRP, but unlike DSDV); * it allows redistributed external routes to be injected into the routing domain at multiple points (like EIGRP, but unlike DSDV and AODV). debian/source/0000755000000000000000000000000012150453570010470 5ustar debian/source/format0000644000000000000000000000001412150453570011676 0ustar 3.0 (quilt) debian/babeld.default0000644000000000000000000000031112150453570011742 0ustar # Defaults for babeld initscript # sourced by /etc/init.d/babeld # List of interfaces on which the protocol should operate INTERFACES="" # Additional arguments DAEMON_ARGS="-S /var/lib/babeld/state" debian/copyright0000644000000000000000000000271412150456215011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Packaged-By: Stéphane Glondu Packaged-Date: Thu, 27 Aug 2009 11:38:26 +0200 Source: http://www.pps.jussieu.fr/~jch/software/babel/ Upstream-Author: Juliusz Chroboczek Files: * Copyright: 2007-2013, Juliusz Chroboczek and others License: MIT Files: debian/* Copyright: 2009-2013, Stéphane Glondu License: MIT License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/babeld.postinst0000644000000000000000000000173512150453570012214 0ustar #!/bin/sh # postinst script for babeld # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-remove' # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in configure) mkdir -p /var/lib/babeld ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/watch0000644000000000000000000000011412150453570010215 0ustar version=3 http://www.pps.jussieu.fr/~jch/software/files/ babeld-(.*).tar.gz debian/compat0000644000000000000000000000000212150456215010365 0ustar 9 debian/babeld.docs0000644000000000000000000000000712150453570011250 0ustar README debian/rules0000755000000000000000000000043112150453570010246 0ustar #!/usr/bin/make -f DESTDIR := debian/babeld %: dh $@ .PHONY: override_dh_auto_install override_dh_auto_install: $(MAKE) install TARGET=$(DESTDIR) PREFIX=/usr mv $(DESTDIR)/usr/bin $(DESTDIR)/usr/sbin mkdir -p $(DESTDIR)/usr/share mv $(DESTDIR)/usr/man $(DESTDIR)/usr/share debian/NEWS0000644000000000000000000000062512150453570007672 0ustar babeld (1.1.0-1) unstable; urgency=low INCOMPATIBLE CHANGE: the UDP port number and multicast group have been changed to be the ones allocated by IANA. In order to make older versions of babeld interoperate with this version, you need to add the following to babeld's command line: -p 6697 -m ff02:0:0:0:0:0:1:6 -- Stéphane Glondu Sat, 12 Feb 2011 12:20:37 +0100 debian/babeld.init0000644000000000000000000000544012150453570011271 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: babeld # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Initscript for babeld # Description: Babel routing daemon ### END INIT INFO # Author: Stéphane Glondu # Based on /etc/init.d/skeleton from initscripts_2.87dsf-10 and an # initscript provided by Juliusz Chroboczek. # Do NOT "set -e" # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="Babel routing daemon" NAME=babeld DAEMON=/usr/sbin/$NAME PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME # Exit if the package is not installed [ -x "$DAEMON" ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME # Exit if there is no interfaces if [ -z "$INTERFACES" ]; then echo "$DESC: no interfaces to operate on" exit 0 fi # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. # Depend on lsb-base (>= 3.0-6) to ensure that this file is present. . /lib/lsb/init-functions do_start() { # Return # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ -D -I $PIDFILE $DAEMON_ARGS $INTERFACES \ || return 2 # Wait for the daemon to be ready sleep 1 [ -e $PIDFILE ] || sleep 4 [ -e $PIDFILE ] || return 2 } do_stop() { # Return # 0 if daemon has been stopped # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME } case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; status) status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running *) log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop log_end_msg 1 ;; esac ;; *) echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 exit 3 ;; esac : debian/gbp.conf0000644000000000000000000000003612150453570010606 0ustar [DEFAULT] pristine-tar = True debian/babeld.postrm0000644000000000000000000000171412150453570011652 0ustar #!/bin/sh # postrm script for babeld # # see: dh_installdeb(1) set -e # summary of how this script can be called: # * `remove' # * `purge' # * `upgrade' # * `failed-upgrade' # * `abort-install' # * `abort-install' # * `abort-upgrade' # * `disappear' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in purge|remove) rm -Rf /var/lib/babeld ;; upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/changelog0000644000000000000000000000603012243511535011040 0ustar babeld (1.4.3-1) unstable; urgency=low * New upstream release -- Stéphane Glondu Fri, 22 Nov 2013 00:12:28 +0100 babeld (1.4.2-2) unstable; urgency=low * Suggest ahcpd instead of recommending it (Closes: #712820) -- Stéphane Glondu Thu, 20 Jun 2013 07:25:56 +0200 babeld (1.4.2-1) unstable; urgency=low * New upstream release * Use canonical URLs in Vcs-* fields -- Stéphane Glondu Wed, 19 Jun 2013 21:25:52 +0200 babeld (1.4.1-1) unstable; urgency=low * New upstream release (Closes: #709919) * Add logrotate support (Closes: #659618) * Switch debian/copyright to format version 1.0 * Bump Standards-Version to 3.9.4 * Bump debhelper compat level to 9 -- Stéphane Glondu Sun, 26 May 2013 21:03:16 +0200 babeld (1.3.1-1) unstable; urgency=low * New upstream release -- Stéphane Glondu Sat, 11 Feb 2012 15:35:39 +0100 babeld (1.3.0-1) unstable; urgency=low * New upstream release -- Stéphane Glondu Thu, 08 Dec 2011 20:49:12 +0100 babeld (1.2.1-1) unstable; urgency=low * New upstream release * Updated description suggested by Boris Ganne -- Stéphane Glondu Wed, 23 Nov 2011 07:49:31 +0100 babeld (1.2.0-1) unstable; urgency=low * New upstream release -- Stéphane Glondu Sun, 11 Sep 2011 18:27:01 +0200 babeld (1.1.3-1) unstable; urgency=low * New upstream release -- Stéphane Glondu Thu, 04 Aug 2011 23:01:40 +0200 babeld (1.1.2-1) unstable; urgency=low * New upstream release -- Stéphane Glondu Thu, 28 Jul 2011 23:26:01 +0200 babeld (1.1.1-1) unstable; urgency=low * New upstream release * Add mention to RFC 6126 in package description * Bump Standards-Version to 3.9.2 (no changes) -- Stéphane Glondu Sat, 21 May 2011 00:44:27 +0200 babeld (1.1.0-1) unstable; urgency=low * New upstream release * Add NEWS file to document incompatible changes * Bump Standards-Version to 3.9.1 * Bump debhelper compat level to 8 -- Stéphane Glondu Sat, 12 Feb 2011 12:26:16 +0100 babeld (1.0.1-1) unstable; urgency=low * New upstream release -- Stéphane Glondu Sun, 02 May 2010 10:32:34 +0200 babeld (1.0-1) unstable; urgency=low * New upstream release * Use /var/lib/babeld/state for the state -- Stéphane Glondu Sun, 25 Apr 2010 17:24:12 +0200 babeld (0.98-1) unstable; urgency=low * New upstream release (Closes: #568906) * Install a default configuration file (Closes: #545072) * Add an initscript (Closes: #545071) * Bump Standards-Version to 3.8.4 (no changes) * Add missing copyright holders * Switch to 3.0 (quilt) * Upload to unstable -- Stéphane Glondu Sun, 11 Apr 2010 10:33:41 +0200 babeld (0.96-1) experimental; urgency=low * Initial release (Closes: #543377) -- Stéphane Glondu Fri, 28 Aug 2009 01:57:23 +0200 debian/babeld.install0000644000000000000000000000003012150453570011762 0ustar debian/babeld.conf /etc debian/babeld.logrotate0000644000000000000000000000030312150456214012315 0ustar /var/log/babeld.log { weekly rotate 8 compress missingok notifempty postrotate [ -r /var/run/babeld.pid ] && kill -USR2 $(cat /var/run/babeld.pid) endscript }