--- xorp-1.8.5.orig/libxorp/tst_git_md5sum.txt +++ xorp-1.8.5/libxorp/tst_git_md5sum.txt @@ -1 +0,0 @@ -510d56f \ No newline at end of file --- xorp-1.8.5.orig/debian/README.source +++ xorp-1.8.5/debian/README.source @@ -0,0 +1,9 @@ +This package uses quilt to manage patches to the upstream source, please +refer to file /usr/share/doc/quilt/README.source on how to made changes. + +Because the development of this package use svn-buildpackage and is +back ported for old versions of Debian, please don't upgrade to source +package "3.0 (quilt)". Until svn-buildpackage works well at least in +oldstable. For now there is problems with testing/squeeze. + + -- Jose Calhariz , Thu, 28 Jul 2011 15:37:23 +0200 --- xorp-1.8.5.orig/debian/xorp.manpages +++ xorp-1.8.5/debian/xorp.manpages @@ -0,0 +1,2 @@ +debian/xorp_rtrmgr.8 +debian/xorpsh.1 --- xorp-1.8.5.orig/debian/DONE +++ xorp-1.8.5/debian/DONE @@ -0,0 +1,103 @@ +* init.d-script-missing-lsb-section /etc/init.d/xorp + +* postrm-does-not-call-updaterc.d-for-init.d-script /etc/init.d/xorp + +* make manpages: xorp_rtrmgr, xorpsh + +* Currently the logs generated by xorp_rtrmgr are lost as + start-stop-daemon closes the stdout/stderr descriptors and they + cannot be redirected. How to solve this? + +* User 'xorp' and group 'xorp' should be created: + Xorpsh user guide just mandates that the user belong to group 'xorp'. + (so root runnig 'xorpsh' and then 'configure' will not work) + +* implement status check on init.d (xorp can die without a warning in syslog) + +* init.d's restart does not work (xorp takes some time to tear down) + +* daemon should logs messages by syslog, instead to specific files + Temporary to help debug xorp and the packaging. To be resolved when + package is ready to be included in Debian. + --> [JFS] I think generation of logfiles at /var/log/xorp/ is better + since xorp's output is very verbose and would flood syslog + +* the generation of the docs need to be updated because of transition from + tetex to texlive + --> [JFS] Works for me fine in sid. What needs to be updated? + + --> [CAL] Finner depends on texlive, done. + +* See (c) of the new files in source 1.5 + +* Run make tests on amd64 sid + +* Run make tests on i386 sid + +* Look into Release Notes + The new features not enabled on previous version are forced to be + disabled. The other, olsr, is left enabled as in previous version. + +* check if OLSR is enabled? + OLSR is an recent addition to xorp and is enabled be default + A bug in configure.in disable it instead of enable using --with-olsr + + + + +* Check for what versions this patch "pim_register_ftbfs_linux_2.6.26" + is needed + + Bug 767 on xorp.org + + The workaround was accepted in the upstream of xorp and was fixed + in kernel release of 2.6.26.4. So possibly kernels headers are + broken from 2.6.26 until 2.6.26.3 + +* Check new options of xorp_rtrmgr on 1.6 + Are they sincronized with man page xorp_rtrmgr.8 + patch: xorp_rtrmgr.8_new_options + +* Study autoconf and propose a fix for the bug related with olsr. + +* Needs to find howto clean olsr build + +* Consider adding a Build-Depends on snmpd so that Xorp's configure + tests if dynamic linking will be possible (and thus, snmpd support + makes sense) + +* Make a proper patch to fix --with-snmp configure The tests used by + configure are correct for a production machine where a snmpd daemon + is running. But not for a compilation machine. Some tests need to + be eliminated and replaced with information about snmpd daemon in + Debian. + +* Maybe the tests for snmpd are harmless, so snmpd can be a Build-Depend + +* extra options proposed for snmp support on compiling machines + +* Upgrade for Debian Policy 3.8.3 + +* Check if daemon mode works + It works + + Bug 795 on xorp.org + Bug 884 on xorp.org is restricted + + Currently the logs generated by xorp_rtrmgr are lost as + start-stop-daemon closes the stdout/stderr descriptors and they + cannot be redirected. How to solve this? + +* Put back hack on configure to not test snmpd on build time + +* Update debian/copyright + +* It have a function for daemonize, see if is used and usefull + maybe the daemon command from Debian is better + +* Study the output of configure + It is using iptables-dev? I think xorp don't use it. + Build-Conflict to be certain. + + Net-SNMP support is enabled? No is not enabled and so will stay + that way until lenny is released. --- xorp-1.8.5.orig/debian/xorp.docs +++ xorp-1.8.5/debian/xorp.docs @@ -0,0 +1,3 @@ +BUGS +ERRATA +RELEASE_NOTES --- xorp-1.8.5.orig/debian/watch +++ xorp-1.8.5/debian/watch @@ -0,0 +1,7 @@ +# xorp watch control file for uscan +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +http://www.xorp.org/releases/current/xorp-(.*)\.tar\.gz --- xorp-1.8.5.orig/debian/rules +++ xorp-1.8.5/debian/rules @@ -0,0 +1,159 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +# Personall Variables +PACKNAME=$(shell dh_listpackages) +SOURCENAME=$(shell dpkg-parsechangelog | grep "Source:" | cut -d ' ' -f 2) +DEBVER=$(shell dpkg-parsechangelog | grep "Version:" | cut -d ' ' -f 2) +VER=$(shell dpkg-parsechangelog | grep "Version:" | cut -d ' ' -f 2 | cut -f 1 -d -) +MDIST=squeeze +DIST=$(shell dpkg-parsechangelog | grep "Distribution" | cut -d ' ' -f 2) +SECTION=main + +SCONS=scons +SCONSFLAGS=prefix=/usr \ + bindir=/usr/bin sbindir=/usr/sbin \ + mandir=/usr/share/man infodir=/usr/share/info \ + sysconfdir=/etc \ + with-olsr=true \ + disable_fw=true \ + CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS='-Wl,-z,defs' + +SCONSFLAGS += CC=gcc-4.6 CXX=g++-4.6 + +CFLAGS = -Wall -g +GXXVERSION = $(shell g++ --version | head -1 | cut -f 4 -d ' ' | cut -b 1-3) +#ifeq ($(GXXVERSION),4.6) +# CXXFLAGS += -Wno-error=unused-but-set-variable +#endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +include /usr/share/quilt/quilt.make + +config.status: debian/stamp-patched + dh_testdir + # Add here commands to configure the package. + + +build: build-arch build-indep + +build-indep: build-indep-stamp +build-indep-stamp: + # Upstream dropped documentation out of source code + touch $@ + + +build-arch: build-arch-stamp +build-arch-stamp: config.status + dh_testdir + # Compile the package + $(SCONS) $(SCONSFLAGS) + docbook-to-man debian/xorp_rtrmgr.sgml > debian/xorp_rtrmgr.8 + docbook-to-man debian/xorpsh.sgml > debian/xorpsh.1 + touch $@ + + +check: + $(SCONS) $(SCONSFLAGS) check + + + +clean: + dh_testdir + dh_testroot + # Add here commands to clean up after the build process. + $(SCONS) $(SCONSFLAGS) -c + rm -rf obj + debian/rules unpatch || rm debian/stamp-patched + rm -f config.status config.log build-arch-stamp build-indep-stamp + rm -f relpath.pyc site_scons/*/*.pyc + rm -f xrl/scripts/Xif/*.pyc + dh_clean + + +install: install-arch + + +install-arch: + dh_testdir + dh_testroot + #dh_clean -k -a + dh_prep + dh_installdirs -a + # Install the program: + $(SCONS) $(SCONSFLAGS) \ + DESTDIR=$(CURDIR)/debian/$(SOURCENAME) install + + # After the install, we move the files and create the symlinks : + for file in rib_xrl_shell_funcs.sh fea_xrl_shell_funcs.sh bgp_xrl_shell_funcs.sh ; do mv debian/$(SOURCENAME)/usr/sbin/$$file debian/$(SOURCENAME)/usr/lib/xorp/bin/ ; done + cd debian/$(SOURCENAME)/usr/sbin/ && find -type f -exec ln -vsf /usr/sbin/{} ../lib/xorp/bin/ \; && cd $(CURDIR) + # Config files: + cp debian/config.boot.small debian/$(SOURCENAME)/etc/xorp/config.boot + cp debian/$(SOURCENAME).default debian/$(SOURCENAME)/etc/default/xorp + cp debian/$(SOURCENAME).init.d debian/$(SOURCENAME)/etc/init.d/xorp + dh_install -s + + +# Must not depend on anything. This is to be called by +# binary-arch/binary-indep +# in another 'make' thread. +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples -pxorp rtrmgr/config/*.boot debian/config.boot.mcast rtrmgr/config/README + dh_installlogrotate + dh_installinit + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + + + +# Build architecture dependant packages using the common target. +binary-arch: build-arch-stamp install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + + +binary: binary-arch + +upload: + scp ../*_$(DEBVER).* ../*_$(DEBVER)_* debian:/var/www/debian/debian/dists/$(MDIST)/$(DIST)/$(SECTION)/ + mkdir -p ~/debian/$(SECTION)/other_sources/$(SOURCENAME) + cp ../*_$(DEBVER).* ../*_$(DEBVER)_* ~/debian/$(SECTION)/other_sources/$(SOURCENAME) + +tag: + cd .. ; svn st ; echo "enter to continue" ; read enter + cd .. ; svn ci -m "released v$(DEBVER)" + svn copy -m "released v$(DEBVER)" $(shell svn info | grep "Repository Root" | cut -d ' ' -f 3)/trunk/src/$(SOURCENAME) $(shell svn info | grep "Repository Root" | cut -d ' ' -f 3)/tags/src/$(SOURCENAME)/$(SOURCENAME)-$(DEBVER) + + +.PHONY: build clean binary-indep binary-arch binary install --- xorp-1.8.5.orig/debian/xorp.postrm +++ xorp-1.8.5/debian/xorp.postrm @@ -0,0 +1,54 @@ +#! /bin/sh +# postrm script for xorp +# +# 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' overwrit>r> +# for details, see /usr/doc/packaging-manual/ + +DEFAULT=/etc/default/xorp +case "$1" in + purge|disappear) + # Remove logfiles + rm -rf /var/log/xorp/ + + [ -r "$DEFAULT" ] && . $DEFAULT + if [ -e "$DEFAULT" ] ; then + rm $DEFAULT + fi + # Sane defaults, just in case + [ -z "$XORPUSER" ] && XORPUSER=xorp + [ -z "$XORPGROUP" ] && XORPGROUP=xorp + [ -z "$LOGDIR" ] && LOGDIR=/var/log/xorp + + # Remove configuration dir + [ -d /etc/xorp ] && rmdir --ignore-fail-on-non-empty /etc/xorp + + # Remove user/group + if getent passwd | grep -q "^$XORPUSER:"; then + userdel $XORPUSER 2>/dev/null || true + fi + if getent group | grep -q "^$XORPGROUP:" ; then + delgroup --only-if-empty $XORPGROUP 2>/dev/null || true + fi + ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade) + # nothing + # We may not delete the user xorp, as there may be + # files owned by it in /var/log/xorp and /etc/xorp. + ;; +esac + +#DEBHELPER# + +exit 0 --- xorp-1.8.5.orig/debian/svn-deblayout +++ xorp-1.8.5/debian/svn-deblayout @@ -0,0 +1,4 @@ +origDir=/home/cal/source.xorp/tarballs +tagsUrl=svn+ssh://svn.debian.org/svn/pkg-xorp/tags/xorp +upsCurrentUrl=svn+ssh://svn.debian.org/svn/pkg-xorp/branches/upstream/xorp/current +upsTagUrl=svn+ssh://svn.debian.org/svn/pkg-xorp/branches/upstream/xorp --- xorp-1.8.5.orig/debian/TODO +++ xorp-1.8.5/debian/TODO @@ -0,0 +1,42 @@ +* Create a source package for xorp-doc + +* Do a review about copyright + +At least check the address of FSF + +* Compiling with gcc 4.6 Bug #625437 + +Upstream review and improved the fix for git HEAD. And that fix was + adapted again for v 1.8.3 on Debian. + +Upstream patch in github is: git diff 88a1e20...a003c53 + +* Create 2 source packages, xorp xorp-doc + +The docs directory not longer is shipped with xorp, so there is the + need to build another source package for xorp-docs. + +Using manpages from git 5.1.9-33-g88a1e20 + + +* Missing license headers in some files - review + Collected a list of files with missing or strange licenses. + Not checked if everyone is open. + The strange license are allready on debian/copyright and + LICENSE.other. + +* Missing copyright headers in some files - review + Collected a list of files with problematic copyrights + +* Ask upstream to remove or update ./contrib/packages/debian/ + + Pre v1.8 + +* return proper exit codes from init.d + --- NOTE: Xorp actually is sent to background so proper exit codes + might not be possible here + +* implement 'reload' in the init.d (does xorp support it?) + +* build inside pbuilder again for finding the changes on Build-Depends* + --- xorp-1.8.5.orig/debian/control.backport +++ xorp-1.8.5/debian/control.backport @@ -0,0 +1,36 @@ +Source: xorp +Section: net +Priority: extra +Maintainer: Jose Calhariz +Build-Depends: debhelper (>= 3), autotools-dev, quilt, libssl-dev, + libncurses5-dev | ncurses-dev, + tetex-bin, tetex-extra, transfig, gs-common, + docbook-to-man +Standards-Version: 3.7.2 + +Package: xorp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser (>=3.11), daemon +Recommends: iputils-ping, traceroute, iputils-tracepath +Description: eXtensible Open Router Platform + XORP is the eXtensible Open Router Platform. It implements a number of + routing protocols for IPv4 and IPv6 and a unified means to configure them. It + is stable and fully featured enough for production use, and flexible and + extensible enough to enable network research. + . + The following network protocols are currently + supported: BGP, OSPF, RIP/RIPng, IGMP/MLD and PIM-SM. + . + Homepage: http://www.xorp.org + +Package: xorp-doc +Architecture: all +Description: eXtensible Open Router Platform documentation + XORP is the eXtensible Open Router Platform. It implements a number of + routing protocols for IPv4 and IPv6 and a unified means to configure them. + . + This package provides the documentation in PDF format including the + User's Manual and the Developer's information on the available + modules and how to build new routing modules. + . + Homepage: http://www.xorp.org --- xorp-1.8.5.orig/debian/config.boot.small +++ xorp-1.8.5/debian/config.boot.small @@ -0,0 +1,165 @@ + +/* This is a minimalistic configuration file for Xorp + + Since the configuration of most routing protocols requires + knowledge of the IP addresses this configuration file + only includes support for Multicast forwarding (IGMP and PIM) + + In order for this configuration to work you need to have + at least two network interfaces (eth0 and eth1). + + If you want to see a more detailed configuration sample please + take look at /usr/share/doc/xorp/examples/config.boot.sample + +*/ + +interfaces { + restore-original-config-on-shutdown: false + interface eth0 { + description: "Ethernet Interface #1" + disable: false + default-system-config + } + interface eth1 { + description: "Ethernet Interface #2" + disable: false + default-system-config + } + +} + +fea { + unicast-forwarding4 { + disable: false + forwarding-entries { + retain-on-startup: false + retain-on-shutdown: false + } + } +} + + +plumbing { + mfea4 { + disable: false + interface eth0 { + vif eth0 { + disable: false + } + } + interface eth1 { + vif eth1 { + disable: false + } + } + interface register_vif { + vif register_vif { + /* Note: this vif should be always enabled */ + disable: false + } + } + traceoptions { + flag all { + disable: false + } + } + } + +} + +protocols { + igmp { + disable: false + interface eth0 { + vif eth0 { + disable: false + } + } + interface eth1 { + vif eth1 { + disable: false + /* version: 2 */ + /* enable-ip-router-alert-option-check: false */ + /* query-interval: 125 */ + /* query-last-member-interval: 1 */ + /* query-response-interval: 10 */ + /* robust-count: 2 */ + } + } + traceoptions { + flag all { + disable: false + } + } + } +} + +protocols { + pimsm4 { + disable: false + interface eth0 { + vif eth0 { + disable: false + } + } + + interface eth1 { + vif eth1 { + disable: false + /* enable-ip-router-alert-option-check: false */ + /* dr-priority: 1 */ + /* hello-period: 30 */ + /* hello-triggered-delay: 5 */ + /* alternative-subnet 10.40.0.0/16 */ + } + } + + bootstrap { + disable: false + cand-bsr { + scope-zone 224.0.0.0/4 { + /* is-scope-zone: false */ + cand-bsr-by-vif-name: "eth0" + /* cand-bsr-by-vif-addr: 10.10.10.10 */ + /* bsr-priority: 1 */ + /* hash-mask-len: 30 */ + } + } + + cand-rp { + group-prefix 224.0.0.0/4 { + /* is-scope-zone: false */ + cand-rp-by-vif-name: "eth0" + /* cand-rp-by-vif-addr: 10.10.10.10 */ + /* rp-priority: 192 */ + /* rp-holdtime: 150 */ + } + } + } + + switch-to-spt-threshold { + /* approx. 1K bytes/s (10Kbps) threshold */ + disable: false + interval: 100 + bytes: 102400 + } + + traceoptions { + flag all { + disable: false + } + } + } + +} + +/* + * Note: fib2mrib is needed for multicast only if the unicast protocols + * don't populate the MRIB with multicast-specific routes. + */ +protocols { + fib2mrib { + disable: false + } +} + --- xorp-1.8.5.orig/debian/xorp.init.d_daemon +++ xorp-1.8.5/debian/xorp.init.d_daemon @@ -0,0 +1,240 @@ +#!/bin/sh +# +### BEGIN INIT INFO +# Provides: xorp +# 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: eXtensible Open Router Platform +# Description: XORP is the eXtensible Open Router Platform. It +# implements a number of network protocols such as BGP, +# OSPF, RIP/RIPng, IGMP/MLD and PIM-SM. +### END INIT INFO + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/xorp_rtrmgr +DAEMON_WRAPPER=/usr/bin/daemon + +NAME=xorp +PIDFILE=/var/run/$NAME.pid +DESC="eXtensible Open Router Platform" + +test -x $DAEMON || exit 0 +test -x $DAEMON_WRAPPER || exit 0 + +. /lib/lsb/init-functions + +RUN="no" +DAEMON_OPTS="" +# maximum sleeping time when waiting for the daemon to die, +# don't set it too low or you might not let xorp die gracefully +MAX_DIETIME=15 +LOGFILE=/var/log/xorp/router.log +LOGFILE_ERR=/var/log/xorp/router.err.log +# Include xorp defaults if available +if [ -f /etc/default/xorp ] ; then + . /etc/default/xorp +fi + +if [ "x$RUN" != "xyes" ] ; then + log_progress_msg "XORP disabled, please adjust the configuration at /etc/xorp/config.boot " + log_progress_msg "to your needs and then set RUN to 'yes' in /etc/default/xorp to " + log_progress_msg "enable the router manager daemon" + # Return 0, otherwise package installation will fail + log_end_msg 0 + exit 0 +fi + +set -e + +running_pid() { +# Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running_proc() { +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + pid=`cat $PIDFILE` + + running_pid $pid $DAEMON_WRAPPER || return 1 + + # The daemon exists, check also that the parent process (the wrapper) has a + # child which is $DAEMON + pidchild=`ps -eo ppid,pid |grep ^$pid | awk '{print $2}'| head -1` + running_pid $pidchild $DAEMON || return 1 + + return 0 +} + +running_daemon() { +# Check if the process is running using 'daemon' +# (only works for root) + $DAEMON_WRAPPER --running --pidfile $PIDFILE \ + --name=$NAME + return $? +} + +running() { +# Check if the process is running +# Use one function or other depending if we are root or not + if [ "`id -u`" != "0" ] ; then + running_proc + return $? + fi + running_daemon + return $? +} + +start_xorp() { +# Start the process using the wrapper + $DAEMON_WRAPPER --pidfile $PIDFILE \ + --name=$NAME \ + --stdout=$LOGFILE \ + --stderr=$LOGFILE_ERR \ + -- $DAEMON $DAEMON_OPTS + errcode=$? + return $errcode +} + +stop_xorp() { +# Stop the process using the wrapper + $DAEMON_WRAPPER --stop --pidfile $PIDFILE \ + --name=$NAME + errcode=$? + return $errcode +} + +restart_xorp() { +# Restart the daemon, using the wrapper +# First: only stop if running + if running ; then + stop_xorp +# Wait for the service to stop, by increasing the sleeping time +# before we check again + for wait in `seq $MAX_DIETIME`; do + if ! running; then break ; fi + sleep $wait + done + fi + +# If running then we could not get it to stop + if running ; then + log_daemon_msg "ERROR: Daemon did not die in the expected time, consider increasing MAX_DIETIME" + log_end_msg 1 + fi +# Finally: start it again + start_xorp + return $? +} + +force_stop() { +# Force the process to die killing it manually + [ ! -e "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + sleep "$MAX_DIETIME"s + if running ; then + kill -9 $pid + sleep "$MAX_DIETIME"s + if running ; then + lsb_failure_msg "Cannot kill $NAME (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + + +case "$1" in + start) + log_daemon_msg "Starting $DESC " "$NAME" + if running ; then + log_progress_msg "apparently already running" + log_end_msg 0 + exit 0 + fi + if start_xorp && running ; then + log_end_msg 0 + else + log_end_msg 1 + exit 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if running ; then + stop_xorp + log_end_msg $? + else + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + reload) + log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" + log_warning_msg "cannot re-read the config file (use restart)." + ;; + force-stop) + # First try to stop gracefully + $0 stop + if running; then + log_daemon_msg "Stopping (force) $DESC" "$NAME" + force_stop + log_end_msg $? + fi + ;; + try-restart) + log_daemon_msg "Restarting $DESC" "$NAME" + if running ; then + restart_xorp + running + log_end_msg $? + else + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + restart_xorp + running + log_end_msg $? + ;; + status) + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "apparently not running" + log_end_msg 1 + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- xorp-1.8.5.orig/debian/TODO.license +++ xorp-1.8.5/debian/TODO.license @@ -0,0 +1,142 @@ +Files without license or without gpl. + + +bgp/configure_bgp.sh +bgp/harness/args.sh +bgp/harness/harness.py +bgp/harness/inject.sh +bgp/harness/lookup.py +bgp/harness/notification_codes.sh +bgp/harness/soak.sh +bgp/harness/test1.sh +bgp/harness/test2.sh +bgp/harness/test_path_attribute1.sh +bgp/harness/test_path_attribute2.sh +bgp/harness/test_path_attribute3.sh +bgp/harness/test_peering1.sh +bgp/harness/test_peering2.sh +bgp/harness/test_peering3.sh +bgp/harness/test_rib1.sh +bgp/harness/test_rib_fea1.sh +bgp/harness/test_route_flap_damping1.sh +bgp/harness/test_route_reflection1.sh +bgp/harness/test_route_reflection2.sh +bgp/harness/test_routing1.sh +bgp/harness/test_routing2.sh +bgp/harness/test_terminate.sh +bgp/harness/xrl_shell_funcs.sh +bgp/test_leaks.sh +bgp/xrl_shell_funcs.sh +cli/libtecla/cplfile.c # ??? - on LICENSE.other +cli/libtecla/cplfile.h # ??? - on LICENSE.other +cli/libtecla/cplmatch.c # ??? - on LICENSE.other +cli/libtecla/demo.c # ??? - on LICENSE.other +cli/libtecla/demo2.c # ??? - on LICENSE.other +cli/libtecla/direader.c # ??? - on LICENSE.other +cli/libtecla/direader.h # ??? - on LICENSE.other +cli/libtecla/enhance.c +cli/libtecla/expand.c # ??? - on LICENSE.other +cli/libtecla/freelist.c # ??? - on LICENSE.other +cli/libtecla/freelist.h # ??? - on LICENSE.other +cli/libtecla/getline.c # ??? - on LICENSE.other +cli/libtecla/getline.h # ??? - on LICENSE.other +cli/libtecla/hash.c # ??? - on LICENSE.other +cli/libtecla/hash.h # ??? - on LICENSE.other +cli/libtecla/history.c # ??? - on LICENSE.other +cli/libtecla/history.h # ??? - on LICENSE.other +cli/libtecla/homedir.c # ??? - on LICENSE.other +cli/libtecla/homedir.h # ??? - on LICENSE.other +cli/libtecla/keytab.c # ??? - on LICENSE.other +cli/libtecla/keytab.h # ??? - on LICENSE.other +cli/libtecla/libtecla.h # ??? - on LICENSE.other +cli/libtecla/pathutil.c # ??? - on LICENSE.other +cli/libtecla/pathutil.h # ??? - on LICENSE.other +cli/libtecla/pcache.c # ??? - on LICENSE.other +cli/libtecla/stringrp.c # ??? - on LICENSE.other +cli/libtecla/stringrp.h # ??? - on LICENSE.other +cli/libtecla/strngmem.c # ??? - on LICENSE.other +cli/libtecla/strngmem.h # ??? - on LICENSE.other +cli/libtecla/version.c +cli/xrl_cli_shell_funcs.sh +config/ltmain.sh # GPL-2+ & extra permissions in on LICENSE.other +contrib/mld6igmp_lite/xrl_mld6igmp_shell_funcs.sh +contrib/olsr/xorp_olsr4_wrapper.sh +devnotes/update_copyright.sh +devnotes/update_copyright.sh +devnotes/update_cvsroot.sh +docs/kdoc/gen-kdoc.sh +docs/user_manual/tab.sh +fea/ip.h +fea/ip.h +fea/test_fea_rawlink.sh +fea/test_xrl_sockets4_tcp.sh +fea/test_xrl_sockets4_udp.sh +fea/xrl_mfea_shell_funcs.sh +fea/xrl_shell_funcs.sh +fib2mrib/xrl_fib2mrib_shell_funcs.sh +libcomm/comm_api.h # BSD - on LICENSE.other +libcomm/comm_private.h # BSD - on LICENSE.other +libcomm/comm_sock.c # BSD - on LICENSE.other +libcomm/comm_user.c # BSD - on LICENSE.other +libxipc/bench_ipc.sh +libxipc/bench_ipc_gnuplot.sh +libxipc/hmac_md5.c # BSD + 4ª de Publicidade - on LICENSE.other +libxipc/hmac_md5.h # BSD + 4ª de Publicidade - on LICENSE.other +libxipc/test_finder_deaths.sh +libxipc/test_leaks.sh +libxipc/test_xrl_parser.sh +libxorp/daemon.c # BSD + 4ª de Publicidade, damaged +libxorp/inet_ntop.c # ??? - on LICENSE.other +libxorp/inet_pton.c # ??? - on LICENSE.other +libxorp/strlcpy.c # ??? - on LICENSE.other +libxorp/test_run_command.sh +mibs/dlmod.h +mibs/patched_container.h +mibs/snmpdscripts/dbg_config.sh +mibs/snmpdscripts/dbg_dlmiblist.sh +mibs/snmpdscripts/dbg_loadmib.sh +mibs/snmpdscripts/dbg_startsnmp.sh +mibs/snmpdscripts/dbg_unloadmib.sh +mld6igmp/xrl_mld6igmp_shell_funcs.sh +mrt/include/netinet/pim.h # BSD +mrt/include/netinet/pim_var.h # BSD +pim/xrl_pim_node.cc # GPL2 no copyright to XORP +pim/xrl_pim_shell_funcs.sh +policy/backend/lex.yy_policy_backend_parser.cc +policy/backend/yacc.yy_policy_backend_parser.cc +policy/backend/yacc.yy_policy_backend_parser.cc.h +policy/lex.yy_policy_parser.cc +policy/test/dummy_test.sh +policy/test/lex.yy_compile_policy.cc +policy/test/test_policy.sh +policy/test/yacc.yy_compile_policy.cc +policy/test/yacc.yy_compile_policy.cc.h +policy/yacc.yy_policy_parser.cc +policy/yacc.yy_policy_parser.cc.h +rib/test_rib_direct.sh +rib/test_rib_xrls.sh +rib/xrl_shell_funcs.sh +rip/tools/xrl_rip_shell_funcs.sh +rip/tools/xrl_ripng_shell_funcs.sh +rtrmgr/glob_win32.c # BSD modificada +rtrmgr/glob_win32.h # BSD modificada +rtrmgr/lex.boot.cc +rtrmgr/lex.opcmd.cc +rtrmgr/lex.tplt.cc +rtrmgr/y.boot_tab.cc +rtrmgr/y.boot_tab.h +rtrmgr/y.opcmd_tab.cc +rtrmgr/y.opcmd_tab.h +rtrmgr/y.tplt_tab.cc +rtrmgr/y.tplt_tab.h +utils/args.sh +utils/bogon-be-gone.sh +utils/rcsid2ident.sh +utils/source_pathconf.sh +utils/xorpc.sh +utils/xrl_shell_lib.sh +utils/xrl_wrappers_generator.sh +xrl/scripts/Xif/__init__.py +xrl/scripts/Xif/kdoc.py +xrl/scripts/Xif/parse.py +xrl/scripts/Xif/xiftypes.py --- xorp-1.8.5.orig/debian/xorpsh.sgml +++ xorp-1.8.5/debian/xorpsh.sgml @@ -0,0 +1,185 @@ + + Javier"> + Fernandez-Sanguino"> + + July 25th, 2011"> + 1"> + jfs@debian.org"> + + xorp"> + + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2007 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhcmd; + + XORP Command Shell + + + + &dhcmd; + + + + + + + + + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhcmd; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhcmd; is the command used to + interact with a eXtensible Open Router Platform (XORP) router. This command + starts up a command line interface (CLI), that allows the configuration of + the router and monitoring of the router state. + + + The &dhcmd; command provides an interactive + command shell to a XORP user, similar in many ways to the role played by a + Unix shell. In a production router &dhcmd; might be set + up as an user's login shell - they would login to the router via ssh and be + directly in the &dhcmd;. It can also be run + directly from the Unix command line. + + + &dhcmd; should normally be run as a regular user; + it is neither necessary or desirable to run it as root. If an user is to + be permitted to make changes to the running router configuration, that user + needs to be in the Unix group xorp. + + The Debian package installation automatically sets up both a xorp user + and a xorp group to which this user belongs. However, any user can run the + &dhcmd; command unless locally restricted by the + administrator. + + + + OPTIONS + + &dhcmd; allows the following options: + + + + + + + Show summary of options. + + + + + + + + Print verbose information. + + + + + + + + Specify command(s) to execute. + + + + + + + + Specify templates directory. + + + + + + + + Exit immediately if cannot connect to the rtrmgr + + + + + + + + SEE ALSO + + xorp_rtrmgr (8) + + This program is documented fully in the Xorp User + Manual, chapter Command Structure, + available at /usr/share/doc/xorp-doc/ in Debian + systems when the xorp-doc package is installed. + + + AUTHOR + + XORP is Copyright (c) 2001-2009 XORP, Inc. + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). For licensing details + please see /usr/share/doc/xorp/copyright. + + + +
+ + + + --- xorp-1.8.5.orig/debian/config.boot.mcast +++ xorp-1.8.5/debian/config.boot.mcast @@ -0,0 +1,96 @@ +/* + +Sample configuration file for multicast that enables IGMP and PIM-SM. + +The configuration assumes: +1. There are two network interfaces (eth0 and eth1), and those + interfaces have configured IP addresses before starting XORP. +2. The IP address of one of the interfaces is 10.0.0.1. + +See the XORP user manual for configuration details. + +To test whether the multicast routing is working, start a multicast +sender and a multicast receiver (on separate LANs interconnected by +the multicast routers). However, make sure the TTL of the sender is +large enough to reach the receiver (the default multicast TTL is 1). + +In general, the PIM-SM support must be enabled in the UNIX kernel. +If the PIM-SM support is not enabled, then see Section 13.3 "Configuring +PIM-SM" in the XORP user manual regarding the kernel configuration options you +need to enable before recompiling your kernel. + +*/ + +interfaces { + interface eth0 { + default-system-config + } + interface eth1 { + default-system-config + } +} + +plumbing { + mfea4 { + interface eth0 { + vif eth0 { + disable: false + } + } + interface eth1 { + vif eth1 { + disable: false + } + } + interface register_vif { + vif register_vif { + disable: false + } + } + } +} + +protocols { + igmp { + interface eth0 { + vif eth0 { + disable: false + } + } + interface eth1 { + vif eth1 { + disable: false + } + } + } + + pimsm4 { + interface eth0 { + vif eth0 { + disable: false + } + } + interface eth1 { + vif eth1 { + disable: false + } + } + interface register_vif { + vif register_vif { + disable: false + } + } + + static-rps { + rp 10.0.0.1 { + group-prefix 224.0.0.0/4 { + } + } + } + } + + fib2mrib { + disable: false + } +} + --- xorp-1.8.5.orig/debian/README.quilt +++ xorp-1.8.5/debian/README.quilt @@ -0,0 +1,38 @@ +Follows an explanation for patches: + +- io_ip_socket.cc__fix_ipv6_multicast: Fix IPv6 multicast issue that + prevents MLD from running in Linux kernels 2.6.26 and above. This + is introduced because of buggy inet6_opt_init() implementations by + patching xorp/fea/data_plane/io/io_ip_socket.cc as described in + http://bugzilla.xorp.org/bugzilla/show_bug.cgi?id=761. Notice + that this bug is fixed in glibc-2.8, the patch can be dropped when + Debian ships this version. + +- io_ip_socket.cc__fix_ipv6_multicast-2: updated to v 1.6 and still + valid in v 1.8.3, but no longer nedeed no squeeze or newer Debian. + +- packet.cc_ftbfs_540679, vrrp_packet.cc_ftbfs_540679: patch source to + make it possible to compile in others architectures than i386, + amd64 and powerpc. + +- ftbfs_gcc-4.6_-Werror_* proposed fixes for compiling under g++ v4.6 + with -Werror flag. Later updated to follow more closely the + upstream patch ftbfs_gcc-4.6_-Werror_upstream_to_head. + + ftbfs_gcc-4.6_-Werror_bgp - accepted and cleanup by upstream + ftbfs_gcc-4.6_-Werror_cli - accepted and cleanup by upstream + ftbfs_gcc-4.6_-Werror_contrib_olsr - accepted and improved + ftbfs_gcc-4.6_-Werror_ospf - accepted and improved + ftbfs_gcc-4.6_-Werror_pim - accepted and improved or modified for HEAD + ftbfs_gcc-4.6_-Werror_rib - accepted and improved or modified for HEAD + +- ftbfs_gcc-4.6_-Werror_upstream_to_head - upstream changes for + compiling under g++ v4.6, applied to HEAD. Here for for + documentation proposes. git diff 88a1e20...a003c53 + +- ftbfs_gcc-4.6_-Werror_check_libxorp + ftbfs_gcc-4.6_-Werror_check_ospf patches so checks code could be + compiled with g++ v4.6 + +- xorpsh.1_fix_typo: Fix typo in xorp.sh manpage, obsolete + Needs to be bugged upstream. --- xorp-1.8.5.orig/debian/README.Debian +++ xorp-1.8.5/debian/README.Debian @@ -0,0 +1,18 @@ +xorp for Debian +--------------- + +Notice that the default configuration file provided for Xorp +(/etc/xorp/config.boot) is a sample and needs to be adjusted for +your specific needs. + +You need to first adjust this configuration and then set RUN to 'yes' +in /etc/default/xorp + +The Debian packaged version has been changed as follows: + + - olsr support is enabled. + - snmp support is no longer available. + - support for iptables (firewalling) is currently disabled. + + -- Jose Calhariz , Thu, 28 Jul 2011 15:36:31 +0200 + --- xorp-1.8.5.orig/debian/xorp.default +++ xorp-1.8.5/debian/xorp.default @@ -0,0 +1,24 @@ +# Defaults for xorp initscript +# sourced by /etc/init.d/xorp +# installed at /etc/default/xorp by the maintainer scripts + +# +# This is a POSIX shell fragment +# + +# Master system-wide xorp switch. The initscript +# will not run if it is not set to yes. + +RUN="no" + + +# Additional options that are passed to the rtrmgr Daemon. +# e.g. : +# -a Host allowed by the finder +# -n Subnet allowed by the finder +# -v Print verbose information +# -b Specify boot file +# -d Run as a daemon, detach from tty + +DAEMON_OPTS="-b /etc/xorp/config.boot " + --- xorp-1.8.5.orig/debian/changelog +++ xorp-1.8.5/debian/changelog @@ -0,0 +1,438 @@ +xorp (1.8.5-1.1ubuntu1) raring; urgency=low + + * Build on all architectures again, accidentally dropped in sync. + + -- Adam Conrad Thu, 22 Nov 2012 11:46:33 -0700 + +xorp (1.8.5-1.1) unstable; urgency=low + + * Non maintainer upload + * Work around build failure with GCC 4.7. Closes: #667423. + + -- Matthias Klose Mon, 28 May 2012 13:44:30 +0000 + +xorp (1.8.5-1) unstable; urgency=low + + * New upstream release + - Remove upstream's tmp/ directory which contains unused content + (XORP modular router with improvements to better support LANforge.) + * Remove patches for FTBFS on gcc 4.6, where accepted by upstream. + * Remove obsolete patch xorpsh.1_fix_typo. + + -- Jose Calhariz Mon, 13 Feb 2012 20:41:33 +0000 + +xorp (1.8.3-1) unstable; urgency=low + + * Updated manpages with the new options. + * SNMP support was dropped from xorp, so closing (Closes: #563944). + * Added build-arch and build-indep rules. + + -- Jose Calhariz Sun, 21 Aug 2011 21:27:11 +0100 + +xorp (1.8.3-1~wip5) experimental; urgency=low + + * New upstream release. + * Don't depend on daemon (Closes: #611227). + * Move xorp preinst to postinst for setting up proper ownership of + /etc/xorp during fresh installs (Closes: #611231). + * Give write permissions to group xorp as suggested on bug report + #611231. + * Removes old obsolete patches. + * Solve FTBFS with g++ v4.6 (Closes: #625437). + * Remove rules for building indep packages, upstream don't ship anymore + documentation. + * Created patches for compiling the checks with g++ v4.6 + * Standards Version updated to 3.9.2, no changes needed. + * Fetch manpages from upstream git into debian directory and create man + pages from sgml files. + * Dropped depends on libsnmp-dev, the support was removed from xorp. + * Increase debhelper compatibility to v7 as is supported on lenny, may + lower to 5 for building on etch. + * README.* files updated. + + -- Jose Calhariz Sat, 30 Jul 2011 11:24:03 +0200 + +xorp (1.6-3) unstable; urgency=low + + * Fixes "xorp: installation fails" during new install because of missing + directory /etc/xorp (Closes: #574218). + * Refresh quilt patch fix_ident_header that is causing a FTBFS (Closes: + 574328). + * The fix for file policy/common/element.cc was moved to + fix_invalid_cast, from libtool-rm-invalid-argument-fix. + * Create debian/README.source explaining how to edit the packages + sources. + * Set source package format as 1.0, add a rationale on why to stay 1.0 + for the near future to debian/README.source file. + * init.d depends on $remote_fs + * Disable patches debian/patches/libtool-rm-invalid-argument-fix + debian/patches/libtecla_Makefile, not needed for building. + + -- Jose Calhariz Mon, 07 Jun 2010 00:58:40 +0100 + +xorp (1.6-2) unstable; urgency=low + + * Restore missing changelog entries from 1.6-1~rc2 + * Restrict the list of supported architectures to amd64 s390 powerpc i386 + as these are the only ones in which the package currently builds. + (Closes: #540679) + Note: This is a temporary fix to the alignment issues found in the code + which are not yet fixed upstream. Also, a fix from upstream is not + forthcoming. For more information see + http://mailman.icsi.berkeley.edu/pipermail/xorp-users/2010-March/003710.html + [ Jose Calhariz ] + * Update README.quilt, DONE and TODO + + -- Javier Fernandez-Sanguino Pen~a Fri, 12 Mar 2010 20:29:13 +0100 + +xorp (1.6-1) unstable; urgency=low + + * New upstream release + - Fixes format string vulnerability in the use of XLOG_ERROR + (Closes: #507291) + + [ Javier Fernandez-Sanguino ] + * Make /etc/xorp owned by the xorp user so that users running 'xorpsh' and + reconfiguring the daemon are able to save their configuration + * Update the address for the FSF in debian/copyright + * New and fixed patches: + - debian/patches/config_update: Update config.{sub,guess} from automate-1.9 + (Closes: 541370) + - Fix the debian/patches/shell_files_clean_fix patch to properly remove + xrl_fib2mrib_shell_funcs.sh + - New patch to fix the #ident header that prevents compilation in GCC + (Closes: 505701) + - debian/patches/fix_invalid_cast: Fix invalid cast in GCC 4.4 when using + strrchr. + - debian/patches/libtool-rm-invalid-argument-fix: Fix error in libtool + that makes it constantly generate errors due to an undefined value + - debian/patches/libtecla_Makefile: add a patch to build properly libtecla + + -- Jose Calhariz Fri, 19 Feb 2010 01:00:23 +0100 + +xorp (1.6-1~rc2) unstable; urgency=low + + * Use new daemonize capability and start-stop-daemon instead of daemon + (Closes: #498615). + * Removed snmpd as Build-Depend and apply patch fix_snmp_support-2 + * Review of copyright and licenses of source files. The results are on + debian/copyright, debian/TODO.copyright, debian/TODO.license + + [ Javier Fernandez-Sanguino ] + * Remove the code from debian/rules that copied config.sub/guess from autools + as this does nothing (config.{sub,guess} used are under config/) + * Add patch to remove fls files generated by LaTeX under docs/ + * Add patch to remove shell scripts automatically generated by the Makefiles + * Remove MakefileRootCheck fea/MakefileRootCheck in the clean target of + debian/rules + + -- Jose Calhariz Tue, 28 Jul 2009 01:00:58 +0200 + +xorp (1.6-1~rc0) UNRELEASED; urgency=low + + * New upstream release, (Closes: #507291), + * Standards Version upgraded to 3.8.2, no changes needed + * Use quilt to change upstream sources + * The following changes or patches were needed for v 1.5 are no longer + needed: + * libtecla_configure.in_fix_for_sparc: accepted upstream + * io_link_pcap.cc_cast_from_increases_alignment: accepted upstream + * xorp_rtrmgr.8_new_options: accepted upstream + * pim_register_ftbfs_linux_2.6.26: accepted upstream and kernel + headers fixed + * xorp_if_mib_xrl_target.cc__fix_bug: accepted upstream + + * Added --with-olsr to configure for documentation proposes. + * Added snmpd as a Build-Depend and not apply patch fix_snmp_support-2. + This seams to be harmless for build machines + + -- Jose Calhariz Mon, 20 Jul 2009 17:58:21 +0200 + +xorp (1.5-7) UNRELEASED; urgency=low + + * collect the changes made in upstream sources into a series of patches + managed by quilt: + + - libtecla_configure.in_fix_for_sparc: changed -fpic to -fPIC in + cli/libtecla/configure.in and run autoconf to solve a FTBFS on sparc + (Closes: #503169) + + - io_link_pcap.cc_cast_from_increases_alignment: Use patch provided by + Julien Cristau: Don't cast uint8t* to struct ifreq*. in + ea/data_plane/io/io_link_pcap.cc (Closes: #502032) + + - xorp_rtrmgr.8_new_options: Update upstream's xorp_rtrmgr manpage + with the new options (l,P and L) + + - xorpsh.1_fix_typo: Fix typo in xorp.sh manpage + + - pim_register_ftbfs_linux_2.6.26: Fixes FTBFS error when compiling + with 2.6.26 headers (Closes: #494223) A change to configure, + config/acipmrt.m4 and to mrt/include/ip_mroute.h that introduces some + changes to prevent the inclusion of and to + prevent a Build error when compiling with the 2.6.26 kernel + headers. Notice that the bug is, however, in the kernel headers and + has to be fixed there. (Closes: #494223) + + - io_ip_socket.cc__fix_ipv6_multicast: Fix IPv6 multicast issue that + prevents MLD from running in Linux kernels 2.6.26 and above. This is + introduced because of buggy inet6_opt_init() implementations by + patching xorp/fea/data_plane/io/io_ip_socket.cc as described in + http://bugzilla.xorp.org/bugzilla/show_bug.cgi?id=761. Notice that + this bug is fixed in glibc-2.8, the patch can be dropped when Debian + ships this version. + + - fix_snmp_support: Fix configure.in so that it calls 'net-snmp-config + --agent-libs' to setup properly the library dependencies. There are + other problems with snmp support. + + - xorp_if_mib_xrl_target.cc__fix_bug: Fix bug/typo. + + - main_rtrmgr.cc__remove_info_about_daemon_switch: remove information + about switch for daemon mode. + + + -- Jose Calhariz Wed, 24 Jun 2009 16:51:08 +0100 + +xorp (1.5-6) unstable; urgency=low + + * changed -fpic to -fPIC in cli/libtecla/configure.in and run autoconf + to solve a FTBFS on sparc (Closes: #503169) + + -- Jose Calhariz Sat, 25 Oct 2008 15:13:01 +0100 + +xorp (1.5-5) unstable; urgency=low + + * add --with-pic to the ./configure command, so the shared libs are made + with -fPIC code (Closes: #500325) + * Use patch provided by Julien Cristau: Don't cast uint8t* to struct ifreq*. + in ea/data_plane/io/io_link_pcap.cc (Closes: #502032) + [ Javier Fernandez-Sanguino ] + * Remove the sgml manpages (for xorpsh and xorp_rtrmgr) from the debian/ + subdir as they are now provided upstream. Adjust debian/xorp.manpages to + install the upstream manpages and comment out the lines that generated the + manpages in debian/rules + * Update upstream's xorp_rtrmgr manpage with the new options (l,P and L) + * Prevent Xorp from running properly if RUN is set to 'no'. An 'exit 0' call + was missing in the init.d script. + * Fix call to LSB functions in the init.d script + * Create a new init.d file (debian/xorp.init.d.start_stop) using start-stop-daemon + since xorp_rtrmgr now supports logging to file and start in background, use + these new facilities and use 'start-stop-daemon' (instead of 'daemon') in + our init.d script. This should help fix #498615 but, unfortunately, xorp + still logs (even with -l) output to stdin (Upstream bug #795). So still + deliver the init.d script that uses 'daemon' + + -- Jose Calhariz Sat, 11 Oct 2008 12:49:03 +0100 + +xorp (1.5-4) unstable; urgency=low + + * Upload to unstable as requested by release team. Amongst + other fixes: + - Fixes FTBFS error when compiling with 2.6.26 headers (Closes: #494223) + - Fixes assertion issue which prevent multicast from working in IPv4 + (Closes: #493157) + - Fix bashishm in debian/rules (Closes: 484449) + * Fix IPv6 multicast issue that prevents MLD from running in Linux + kernels 2.6.26 and above. This is introduced because of buggy + inet6_opt_init() implementations by patching + xorp/fea/data_plane/io/io_ip_socket.cc as described in + http://bugzilla.xorp.org/bugzilla/show_bug.cgi?id=761. + Notice that this bug is fixed in glibc-2.8, the patch can be dropped + when Debian ships this version. + + -- Javier Fernandez-Sanguino Pen~a Mon, 08 Sep 2008 02:05:44 +0200 + +xorp (1.5-3) experimental; urgency=low + + * Add ERRATA and RELEASE_NOTES to the debian/docs file + + -- Javier Fernandez-Sanguino Pen~a Tue, 26 Aug 2008 15:55:32 +0200 + +xorp (1.5-2) experimental; urgency=low + + * Include fixes from CVS: + - A change to config/acipmrt.m4 and to mrt/include/ip_mroute.h that + introduces some changes to prevent the inclusion of and + to prevent a Build error when compiling with the 2.6.26 + kernel headers. Notice that the bug is, however, in the kernel headers + and has to be fixed there. (Closes: #494223) + - Update the contents of the Makefile.in under mibs/ based on the + CVS changes made upstream for Bug #765 + + -- Javier Fernandez-Sanguino Pen~a Thu, 21 Aug 2008 18:09:47 +0200 + +xorp (1.5-1) experimental; urgency=low + + * New upstream release + - Fixes assertion issue which prevent multicast from working in IPv4 (Closes: #493157) + [ Jose Calhariz ] + * olsr seems to be enabled by default, can't add the "--with-olsr" + option, for documentation purposes, because of a bug in configure. + * Remove depends on old tetex software because of Lintian Error. The + original version of control file is available as control.etch.backport + to be easier the backport for etch. + * Add a Build-Conflict on iptables-dev to preventing enabling the new + firewall capability, which was not available on older pacakges. Enabling + this feature currently requires also editin system headers, which + is not an option. + * Update README.Debian to reflect the changes and decissions taken. + [ Javier Fernandez-Sanguino ] + * The need of libpcap is optional, but enables the software to + "send/receive link layer data frames". In previous versions it was + compiled only in i386 on the version 1.5~cvs.20080519-1. Add + libpcap0.8-dev to Build-Depends for a more consistent + depends between archs and to have that feature available in all packages + * Enabled snmpd support in debian/rules and add a Build-Depend on + libsnmp-dev + - Fix configure.in so that it calls 'net-snmp-config --agent-libs' to + setup properly the library dependencies + - Fix bug in mibs/xorp_if_mib_xrl_target.cc + * Lintian fix: Add shell header to mibs/xorp_if_mib_xrl_target.cc to make it + a valid shell script. + * Fix typo in xorp.sh manpage + * Fix bashishm in debian/rules (Closes: 484449) + + -- Jose Calhariz Tue, 29 Jul 2008 23:12:45 +0000 + +xorp (1.5~cvs.20080519-1) unstable; urgency=low + + * New upstream release + - Solved problem "xorp don't start when exist a tun interface" + (closes: #482188) + - Update contrib/olsr from CVS to fix building problem + * Bumped Standards-Version to 3.7.3, no needed changes. + + -- Jose Calhariz Mon, 26 May 2008 01:32:43 +0100 + +xorp (1.5~cvs.20080128-1) unstable; urgency=low + + [ Javier Fernandez-Sanguino ] + * Update to latest CVS contents + * Modify debian/rules to prevent autobuilders from building + the binary-independent components: (Closes: #441121) + - Create a new Build-Depends-Indep with all the TeX + components used to build documentation + - Since autobuilders call build, which in turns calls build-indep, hack + the debian rules file so that the documentation is only built if ps2pdf, + dvips and pslatex are available. + * Modify the init.d script: + - restart action: Do not attempt to stop xorp if not running + - stop function: fix errors in the script + - add a try-restart action + - restructure the init.d script, move the restart code to a function + - review the use of echo calls and exit values + * Use, as examples, the new boot files at rtrmgr/config/ + + [ Jose Calhariz ] + * Add depends on ncurses-dev, I don't know why xorp use tigetstr + function from curses. This way the depends field change less between + build environments. + * Removed pushd and popd commands from Makefile and replaced with cd + commands, was a bashism and FTBFS (closes: #453637) + * debian/control converted to utf-8 (closes: #454026) (closes: #453485) + * init.d/xorp now returns 0 if disabled. + * Added Vcs-Browser and Vcs-Svn fields pointing to the repository of the + package. + + -- Jose Calhariz Wed, 23 Jan 2008 01:24:37 +0000 + +xorp (1.5~cvs.20070824-1) unstable; urgency=low + + * Upload this package to the main archive (Closes: #433467) + - Take over this WNPP and set myself as an uploader. + * Use CVS version as the 1.4 does not properly compile on unstable. + * After an audit of all the sources added more licenses and (c) to + debian/copyright and: + - Remove docs/tex/bnf.sty (non-free license), this style is actually + not used to build documentation + - Remove RFCs and RFC Drafts, also non-free and unused + * Add package maintainer scripts to add the 'xorp' user and group, it is + needed in order to configure the system with 'xorpsh' and 'xorp_rtmgr' + complains if it's not there. Also add a Depends: on adduser. + * Use update-rc.d in postinst. + * Add the Homepage: to source's headers as dpkg will soon support it. + * Arbitrarily increase the sleep time to 10 in order to restart the + daemon. This value (DIETIME) can be set in /etc/default + * Many improvements to the init.d script: + - add a status check + - use LSB messages + - make it test if the service is running before starting and stopping + it + - merge in the changes by Jose Calhariz to use daemon (but use + it without start-stop-daemon and remove debug output) this makes + it possible to log stdout and stderr to proper logfiles + * Improve the package's description in debian/control + * Substitute the (complex) config.boot file provided in the sources for + a much more simple configuration file which *only* implements + multicast forwarding using IGMP and PIM. This should work fine + for users with at least two network interfaces in their system. + * Make the default options add '-a 127.0.0.1' so xorpsh is only allowed + locally + * Add a Recommends: on traceroute, iputils-ping (for ping6) and + iputils-tracepath (for traceroute6) as those are used by xorpsh. + * Updated debian/TODO + * Write the following manpages based on upstream's documentation + - xorp_rtrmgr.8 + - xorpsh.1 + * Added a logrotate definition to rotate /var/log/xorp files. It + will also restart the daemon after rotation. + * First disclean docs and then the main program or otherwise it will + not work (package build fails the second time around) + * Move xorp_rtrmgr over to /usr/sbin and revert previous change to the + init script ('root-only' commands should go there) + * Remove config.log when cleaning the package + + -- Javier Fernandez-Sanguino Pen~a Sat, 25 Aug 2007 03:15:50 +0200 + +xorp (1.4-0~urld.4) UNRELEASED; urgency=low + + * added transfig as a build-depend + * added fine grained depends on texlive + + -- Jose Calhariz Fri, 24 Aug 2007 20:09:29 +0100 + +xorp (1.4-0~urld.3) UNRELEASED; urgency=low + + * init.d should use xorp_rtrmgr inside /usr/bin instead /usr/sbin + * creates user xorp + * use daemon program to daemonize xorp + * added more depends + + -- Jose Calhariz Thu, 26 Jul 2007 18:44:30 +0100 + +xorp (1.4-1) UNRELEASED; urgency=low + + * Added a a Homepage: to debian/control + * Include gs-common in required Build-Deps due to the use of ps2pdf + * Substitute tetex packages in Build-Deps to their texlive equivalents. + * Create a control.backports file to be used in backports + * Use a simpler numbering scheme for Debian packages. + * Don't remove config.status in debian/rules before distcleaning or, + otherwise it will not work. + * Fix location of xorp_rtrmgr in the init.d script + * Have the init.d script background the daemon and write the pidfile + * Add more stuff to the TODO + + -- Javier Fernandez-Sanguino Pen~a Thu, 02 Aug 2007 23:33:04 +0200 + +xorp (1.4-0~urld.2) UNRELEASED; urgency=low + + * added TODO and DONE + * resolved lintian warning init.d-script-missing-lsb-section + * resolved lintian error postrm-does-not-call-updaterc.d-for-init.d-script + + -- Jose Calhariz Thu, 19 Jul 2007 01:40:44 +0100 + +xorp (1.4-0~urld.1) UNRELEASED; urgency=low + + * using contrib/packages/debian as an example to extend the package + + -- Jose Calhariz Tue, 17 Jul 2007 16:00:19 +0100 + +xorp (1.4-0~urld.0) experimental; urgency=low + + * 1.4-0 Because is not ready to be in Debian + + -- Jose Calhariz Mon, 16 Jul 2007 23:47:34 +0100 + --- xorp-1.8.5.orig/debian/README.backports +++ xorp-1.8.5/debian/README.backports @@ -0,0 +1,9 @@ +There is some support to make it easier to compile for older versions +of Debian. You just have to replace current control file by one of the +following. + +sarge - control.backport. Not tested. +etch - control.etch.backport. Not tested, needs to lower debhelper mode to 5 +lenny - control.lenny.backport. Currently equals to sid +squeeze - control No changes needed +wheezy - control Aka testing, must work --- xorp-1.8.5.orig/debian/docs +++ xorp-1.8.5/debian/docs @@ -0,0 +1,3 @@ +BUGS +README +TODO --- xorp-1.8.5.orig/debian/xorp.postinst +++ xorp-1.8.5/debian/xorp.postinst @@ -0,0 +1,77 @@ +#!/bin/sh + +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 + + +DEFAULT=/etc/default/xorp + +echo xorp.postinst $* + +case "$1" in + configure|install|upgrade) + + [ -r "$DEFAULT" ] && . $DEFAULT + # Sane defaults, just in case + [ -z "$XORPUSER" ] && XORPUSER=xorp + [ -z "$XORPGROUP" ] && XORPGROUP=xorp + [ -z "$LOGDIR" ] && LOGDIR=/var/log/xorp + + # create xorp user + # 1. create group if not existing + if ! getent group | grep -q "^$XORPGROUP:" ; then + addgroup --quiet --system $XORPGROUP 2>/dev/null || true + fi + # 2. create homedir if not existing + test -d $LOGDIR || mkdir $LOGDIR + # 3. create user if not existing + if ! getent passwd | grep -q "^$XORPUSER:"; then + adduser --quiet \ + --system \ + --ingroup $XORPGROUP \ + --no-create-home \ + --disabled-password \ + $XORPUSER 2>/dev/null || true + fi + # 4. adjust passwd entry + usermod -c "Xorp admin" \ + -d $LOGDIR \ + -g $XORPGROUP \ + $XORPUSER + # 5. create configdir if not existing + test -d /etc/xorp || mkdir /etc/xorp + # 6. adjust file and directory permissions + if ! dpkg-statoverride --list /etc/xorp >/dev/null + then + chown -R $XORPUSER:$XORPGROUP /etc/xorp + chmod u=rwx,g=rwxs,o= /etc/xorp + fi + if ! dpkg-statoverride --list $LOGDIR >/dev/null + then + chown -R $XORPUSER:adm $LOGDIR + chmod u=rwx,g=rxs,o= $LOGDIR + fi + + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +#DEBHELPER# + +exit 0 --- xorp-1.8.5.orig/debian/xorp.init.d +++ xorp-1.8.5/debian/xorp.init.d @@ -0,0 +1,222 @@ +#!/bin/sh +# +### BEGIN INIT INFO +# Provides: xorp +# Required-Start: $network $local_fs $remote_fs +# Required-Stop: $network $local_fs $remote_fs +# Should-Start: $named +# Should-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: eXtensible Open Router Platform +# Description: XORP is the eXtensible Open Router Platform. It +# implements a number of network protocols such as BGP, +# OSPF, RIP/RIPng, IGMP/MLD and PIM-SM. +### END INIT INFO + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/xorp_rtrmgr + +NAME=xorp +PIDFILE=/var/run/$NAME.pid +DESC="eXtensible Open Router Platform" + +test -x $DAEMON || exit 0 +test -x $DAEMON_WRAPPER || exit 0 + +. /lib/lsb/init-functions + +RUN="no" +LOGFILE=/var/log/xorp/router.log +#LOGFILE_ERR=/var/log/xorp/router.err.log +DAEMON_OPTS="" +# maximum sleeping time when waiting for the daemon to die, +# don't set it too low or you might not let xorp die gracefully +MAX_DIETIME=15 +# Include xorp defaults if available +if [ -f /etc/default/xorp ] ; then + . /etc/default/xorp +fi +DAEMON_OPTS="-d -l $LOGFILE -P $PIDFILE $DAEMON_OPTS" + +if [ "x$RUN" != "xyes" ] ; then + log_progress_msg "XORP disabled, please adjust the configuration at /etc/xorp/config.boot " + log_progress_msg "to your needs and then set RUN to 'yes' in /etc/default/xorp to " + log_progress_msg "enable the router manager daemon" + # Return 0, otherwise package installation will fail + log_end_msg 0 + exit 0 +fi + +set -e + +running_pid() { +# Check if a given process pid's cmdline matches a given name + pid=$1 + name=$2 + [ -z "$pid" ] && return 1 + [ ! -d /proc/$pid ] && return 1 + cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1 |cut -d : -f 1` + # Is this the expected child? + [ "$cmd" != "$name" ] && return 1 + return 0 +} + +running_proc() { +# Check if the process is running looking at /proc +# (works for all users) + + # No pidfile, probably no daemon present + [ ! -f "$PIDFILE" ] && return 1 + pid=`cat $PIDFILE` + + running_pid $pid $DAEMON || return 1 + + return 0 +} + +running() { +# Check if the process is running +# Use one function or other depending if we are root or not + running_proc + return $? +} + +start_xorp() { +# Start the process using the wrapper + start-stop-daemon --start --quiet --pidfile $PIDFILE \ + --name $NAME \ + --exec $DAEMON \ + -- $DAEMON_OPTS + errcode=$? + return $errcode +} + +stop_xorp() { +# Stop the process using the wrapper + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --exec $DAEMON + errcode=$? + return $errcode +} + +restart_xorp() { +# Restart the daemon, using the wrapper +# First: only stop if running + if running ; then + stop_xorp +# Wait for the service to stop, by increasing the sleeping time +# before we check again + for wait in `seq $MAX_DIETIME`; do + if ! running; then break ; fi + sleep $wait + done + fi + +# If running then we could not get it to stop + if running ; then + log_daemon_msg "ERROR: Daemon did not die in the expected time, consider increasing MAX_DIETIME" + log_end_msg 1 + fi +# Finally: start it again + start_xorp + return $? +} + +force_stop() { +# Force the process to die killing it manually + [ ! -e "$PIDFILE" ] && return + if running ; then + kill -15 $pid + # Is it really dead? + sleep "$MAX_DIETIME"s + if running ; then + kill -9 $pid + sleep "$MAX_DIETIME"s + if running ; then + lsb_failure_msg "Cannot kill $NAME (pid=$pid)!" + exit 1 + fi + fi + fi + rm -f $PIDFILE + return 0 +} + + +case "$1" in + start) + log_daemon_msg "Starting $DESC " "$NAME" + if running ; then + log_progress_msg "apparently already running" + log_end_msg 0 + exit 0 + fi + if start_xorp && running ; then + log_end_msg 0 + else + log_end_msg 1 + exit 1 + fi + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + if running ; then + stop_xorp + log_end_msg $? + else + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + reload) + log_warning_msg "Reloading $NAME daemon: not implemented, as the daemon" + log_warning_msg "cannot re-read the config file (use restart)." + ;; + force-stop) + # First try to stop gracefully + $0 stop + if running; then + log_daemon_msg "Stopping (force) $DESC" "$NAME" + force_stop + log_end_msg $? + fi + ;; + try-restart) + log_daemon_msg "Restarting $DESC" "$NAME" + if running ; then + restart_xorp + running + log_end_msg $? + else + log_progress_msg "apparently not running" + log_end_msg 0 + exit 0 + fi + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + restart_xorp + running + log_end_msg $? + ;; + status) + log_daemon_msg "Checking status of $DESC" "$NAME" + if running ; then + log_progress_msg "running" + log_end_msg 0 + else + log_progress_msg "apparently not running" + log_end_msg 1 + exit 1 + fi + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- xorp-1.8.5.orig/debian/TODO.copyright +++ xorp-1.8.5/debian/TODO.copyright @@ -0,0 +1,93 @@ +Files without copyright + +xrl/scripts/Xif/parse.py +xrl/scripts/Xif/kdoc.py +xrl/scripts/Xif/__init__.py # ??? 1 line +xrl/scripts/Xif/xiftypes.py +libxorp/test_run_command.sh +cli/xrl_cli_shell_funcs.sh +cli/libtecla/enhance.c +cli/libtecla/version.c +mibs/snmpdscripts/dbg_dlmiblist.sh +mibs/snmpdscripts/dbg_config.sh # Config file, shell fragment +mibs/snmpdscripts/dbg_startsnmp.sh +mibs/snmpdscripts/dbg_unloadmib.sh +mibs/patched_container.h +mibs/dlmod.h +policy/yacc.yy_policy_parser.cc # Auto generated, ignore +policy/yacc.yy_policy_parser.cc.h # Auto generated, ignore +policy/lex.yy_policy_parser.cc # Auto generated, ignore +policy/test/yacc.yy_compile_policy.cc # Auto generated, ignore +policy/test/lex.yy_compile_policy.cc # Auto generated, ignore +policy/test/test_policy.sh +policy/test/yacc.yy_compile_policy.cc.h # Auto generated, ignore +policy/test/dummy_test.sh +policy/backend/yacc.yy_policy_backend_parser.cc # Auto generated, ignore +policy/backend/lex.yy_policy_backend_parser.cc # Auto generated, ignore +policy/backend/yacc.yy_policy_backend_parser.cc.h # Auto generated, ignore +rtrmgr/y.boot_tab.cc # Auto generated, ignore +rtrmgr/y.tplt_tab.cc # Auto generated, ignore +rtrmgr/y.tplt_tab.h # Auto generated, ignore +rtrmgr/lex.boot.cc # Auto generated, ignore +rtrmgr/y.opcmd_tab.h # Auto generated, ignore +rtrmgr/lex.opcmd.cc # Auto generated, ignore +rtrmgr/y.boot_tab.h # Auto generated, ignore +rtrmgr/y.opcmd_tab.cc # Auto generated, ignore +rtrmgr/lex.tplt.cc # Auto generated, ignore +pim/xrl_pim_shell_funcs.sh +pim/xrl_pim_node.cc # Implicit copyright, with license +rib/test_rib_xrls.sh +rib/xrl_shell_funcs.sh +rib/test_rib_direct.sh +fea/test_fea_rawlink.sh +fea/xrl_mfea_shell_funcs.sh +fea/xrl_shell_funcs.sh +fea/test_xrl_sockets4_tcp.sh +fea/test_xrl_sockets4_udp.sh +utils/bogon-be-gone.sh +utils/xrl_wrappers_generator.sh +utils/xrl_shell_lib.sh +utils/source_pathconf.sh +utils/xorpc.sh +utils/args.sh +utils/rcsid2ident.sh +contrib/mld6igmp_lite/xrl_mld6igmp_shell_funcs.sh +contrib/olsr/xorp_olsr4_wrapper.sh +fib2mrib/xrl_fib2mrib_shell_funcs.sh +mld6igmp/xrl_mld6igmp_shell_funcs.sh +bgp/test_leaks.sh +bgp/configure_bgp.sh +bgp/xrl_shell_funcs.sh +bgp/harness/soak.sh +bgp/harness/test_routing1.sh +bgp/harness/inject.sh +bgp/harness/notification_codes.sh # Config file, shell fragment +bgp/harness/test1.sh +bgp/harness/test_path_attribute1.sh +bgp/harness/test_route_flap_damping1.sh +bgp/harness/lookup.py +bgp/harness/test_peering3.sh +bgp/harness/test_rib1.sh +bgp/harness/test_rib_fea1.sh +bgp/harness/test_path_attribute2.sh +bgp/harness/xrl_shell_funcs.sh +bgp/harness/test_route_reflection2.sh +bgp/harness/test_routing2.sh +bgp/harness/args.sh +bgp/harness/harness.py +bgp/harness/test_path_attribute3.sh +bgp/harness/test_terminate.sh +bgp/harness/test2.sh +bgp/harness/test_peering1.sh +bgp/harness/test_peering2.sh +bgp/harness/test_route_reflection1.sh +docs/kdoc/gen-kdoc.sh +docs/user_manual/tab.sh +libxipc/test_leaks.sh +libxipc/bench_ipc.sh +libxipc/test_finder_deaths.sh +libxipc/test_xrl_parser.sh +libxipc/bench_ipc_gnuplot.sh +devnotes/update_cvsroot.sh +rip/tools/xrl_ripng_shell_funcs.sh +rip/tools/xrl_rip_shell_funcs.sh --- xorp-1.8.5.orig/debian/xorp.logrotate +++ xorp-1.8.5/debian/xorp.logrotate @@ -0,0 +1,15 @@ +/var/log/xorp/*.log { + weekly + missingok + rotate 4 + compress + delaycompress + notifempty + create 640 xorp adm + sharedscripts + postrotate + if [ -f /var/run/xorp.pid ]; then + /etc/init.d/xorp restart > /dev/null + fi + endscript +} --- xorp-1.8.5.orig/debian/xorp_rtrmgr.sgml +++ xorp-1.8.5/debian/xorp_rtrmgr.sgml @@ -0,0 +1,310 @@ + + Javier"> + Fernandez-Sanguino"> + + August 24th, 2007"> + 8"> + jfs@debian.org"> + + xorp"> + + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2007 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhcmd; + + XORP Router Manager + + + + &dhcmd; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DESCRIPTION + + This manual page documents briefly the + &dhcmd; command. + + This manual page was written for the &debian; distribution + because the original program does not have a manual page. + + &dhcmd; is the program that that manages the whole + eXtensible Open Router Platform (XORP) platform. The program loads its + configuration file (commonly named config.boot) + which will read from the current working directory You can specify a + different filename for the configuration file using the + command line flag. The "no execute" flag will cause + &dhcmd; to startup and pretend the router is operating + normally, but to not actually start any processes. This can be used to + check configuration files. + + + Typically xorp_rtrmgr must be run as root. This is + because it starts up processes that need privileged access to insert routes + into the forwarding path in the kernel. + + To interact with the router via the command line interface, the + operator should use the XORP command shell + xorpsh. + + + + OPTIONS + + &dhcmd; allows the following options: + + + + + + + Host allowed by the finder. + + + + + + + + Boot configuration file to load. + + + + + + + + Specify operational commands directory. + + + + + + + + Run in daemon mode in background. + + + + + + + + Show summary of options. + + + + + + + + Set or add an interface run Finder on. + + + + + + + + Log all the program information and errors to a file. + + + + + + + + Log all the program output to a given syslog facility. + + + + + + + + Specify protocol modules directory. + + + + + + + + Subnet allowed by the finder. + + + + + + + + Load the configuration but do not execute XRLs and do not start + processes. + + + + + + + + Set port to run Finder on. + + + + + + + + Write the process ID to a given file. + + + + + + + + Set forced quit period. + + + + + + + + Restart failed processes (not implemented yet). + + + + + + + + Specify templates directory. + + + + + + + + Print verbose information. + + + + + + + + Specify Xrl targets directory. + + + + + + + + SEE ALSO + + xorpsh (1) + + The programs are documented fully in the Xorp + User Manual available at + /usr/share/doc/xorp-doc/ in Debian systems when the + xorp-doc package is installed. + + + AUTHOR + + XORP is Copyright (c) 2001-2009 XORP, Inc. + + This manual page was written by &dhusername; &dhemail; for the + &debian; system (but may be used by others). For licensing details + please see /usr/share/doc/xorp/copyright. + + + +
+ + + + --- xorp-1.8.5.orig/debian/copyright +++ xorp-1.8.5/debian/copyright @@ -0,0 +1,1309 @@ +This package was debianized by Jose Calhariz + on Wed, 11 Jul 2007 20:27:35 +0100, +based on the work made by Benjamin Sonntag on +Sun, 4 Jun 2006 21:02:31 +0200. + +It is currently being maintained by Javier Fernandez-Sanguino Pen~a + + +It was downloaded from the CVS repository of the XORP project: +anoncvs.xorp.org as this is unreleased code (current release +is 1.6, available at http://www.xorp.org/releases/1.6/xorp-1.6.tar.gz) + +Upstream Author: XORP, Inc. + +Copyright: (c) 2001-2009 XORP, Inc. + +XORP License: + +With the exception of code derived from other sources, all XORP software +is copyrighted by XORP, Inc. [Copyright (c) 2001-2009 XORP, Inc.]. +Files containing derived software are listed in the "LICENSE.other" file +together with their corresponding copyrights and original licenses. + +All XORP software is licensed under the GNU General Public License, +Version 2, June 1991 contained in the "LICENSE.gpl" file unless +otherwise indicated in the source file. + +Software in source files that refer to the "LICENSE.lgpl" file is +licensed under the GNU Lesser General Public License, Version 2.1, +February 1999 contained in "LICENSE.lgpl". + + +Previous Upstream Author: International Computer Science Institute + +Copyright: (c) 2001-2007 International Computer Science Institute + +XORP License: + +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 names and trademarks of copyright holders may not be used in +advertising or publicity pertaining to the software without specific +prior permission. Title to copyright in this software and any associated +documentation will at all times remain with the copyright holders. + +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. + + + + +These sources also contain additional sources which hold different +licenses and copyrights. + + * Some files have a copyright to Free Software Foundation, + Inc. and is licensed under GPL-2 see + `/usr/share/common-licenses/GPL-2' + + * Some files are under LGPL-2.1 license see + /usr/share/common-licenses/LGPL-2.1 + + + * The libtecla library used in the XORP shell (cli/libtecla/ in + the sources) is Copyright (c) Martin C. Shepherd. and holds the + following license: + +/* + * Copyright (c) 2000, 2001 by Martin C. Shepherd. + * + * All rights reserved. + * + * 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, and/or sell copies of the Software, and to permit persons + * to whom the Software is furnished to do so, provided that the above + * copyright notice(s) and this permission notice appear in all copies of + * the Software and that both the above copyright notice(s) and this + * permission notice appear in supporting documentation. + * + * 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 + * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR + * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL + * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING + * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, + * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION + * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Except as contained in this notice, the name of a copyright holder + * shall not be used in advertising or otherwise to promote the sale, use + * or other dealings in this Software without prior written authorization + * of the copyright holder. + */ + + * The cli/libtecla/config.guess file is Copyright (C) Free + Software Foundation, Inc. and originally written by Per Bothner + and holds the following license: + +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + * The cli/libtecla/config.sub file is Copyright (C) Free Software + Foundation, Inc. and holds the following license: + +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + * The cli/libtecla/configure file is Copyright (C) Free Software + Foundation, Inc. and holds the following license: + +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. + + * The cli/libtecla/install-sh file is Copyright (C) Massachusetts + Institute of Technology and holds the following license: + +# install - install a program, script, or datafile +# This comes from X11R5 (mit/util/scripts/install.sh). +# +# Copyright 1991 by the Massachusetts Institute of Technology +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of M.I.T. not be used in advertising or +# publicity pertaining to distribution of the software without specific, +# written prior permission. M.I.T. makes no representations about the +# suitability of this software for any purpose. It is provided "as is" +# without express or implied warranty. + + + * The files Makefile.in, MakefileRootCheck.in in many directories + are Copyright (C) by Free Software Foundation, Inc. and hold the + following license: + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + * The file configure is Copyright (C) Free Software Foundation, + Inc and holds the following license: + +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. + + + * The file config/compile is Copyright (C) Free Software Foundation and + holds the following license: + +# Wrapper for compilers which do not understand `-c -o'. + +# Copyright 1999, 2000 Free Software Foundation, Inc. +# Written by Tom Tromey . +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + + * The file config/config.guess is Copyright (C) Free Software + Foundation and holds the following license: + +# Attempt to guess a canonical system name. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Per Bothner . + + + * The file config/config.sub is Copyright (C) Free Software + Foundation and holds the following license: + +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA +# 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + + * The file config/depcomp is Copyright (C) Free Software + Foundation and holds the following license: + +# depcomp - compile a program generating dependencies as side-effects +# Copyright 1999, 2000 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva . + + + * The file config/install-sh is Copyright (C) Massachusetts + Institute of Technology and holds the following license: + +# install - install a program, script, or datafile +# This comes from X11R5 (mit/util/scripts/install.sh). +# +# Copyright 1991 by the Massachusetts Institute of Technology +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of M.I.T. not be used in advertising or +# publicity pertaining to distribution of the software without specific, +# written prior permission. M.I.T. makes no representations about the +# suitability of this software for any purpose. It is provided "as is" +# without express or implied warranty. + + + * The file config/ltmain.sh is Copyright (C) Free Software + Foundation and holds the following license: + +# ltmain.sh - Provide generalized library-building support services. +# NOTE: Changing this file will not affect anything until you rerun configure. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# Originally by Gordon Matzigkeit , 1996 +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + + * The file config/missing is Copyright (C) Free Software + Foundation and holds the following license: + +# Common stub for a few missing GNU programs while installing. +# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc. +# Originally by Fran,cois Pinard , 1996. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + + + * The files +contrib/mld6igmp_lite/mld6igmp_group_record.cc +contrib/mld6igmp_lite/mld6igmp_group_record.hh +contrib/mld6igmp_lite/mld6igmp_node_cli.cc +contrib/mld6igmp_lite/mld6igmp_vif.cc + are Copyright (c) 2008 Huawei Technologies Co. Ltd without + indication about the license: + +// +// The Lightweight IGMP/MLD modifications to this file are copyrighted by: +// +// Copyright (c) 2008 Huawei Technologies Co. Ltd +// + + + * The file contrib/win32/xorprtm/bsdroute.h is Copyright (C) The + Regents of the University of California and holds the following + license: + +/*- + * Copyright (c) 1980, 1986, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)route.h 8.4 (Berkeley) 1/9/95 + * $FreeBSD: src/sys/net/route.h,v 1.63.2.1 2006/04/04 20:07:23 andre Exp $ + */ + + * The files +contrib/win32/xorprtm/defs.h +contrib/win32/xorprtm/list.h +contrib/win32/xorprtm/loadprotocol.c +contrib/win32/xorprtm/mibmgr.c +contrib/win32/xorprtm/mibmgr.h +contrib/win32/xorprtm/pchsample.h +contrib/win32/xorprtm/rmapi.c +contrib/win32/xorprtm/sync.c +contrib/win32/xorprtm/sync.h +contrib/win32/xorprtm/utils.c +contrib/win32/xorprtm/utils.h + is Copyright (c) Microsoft Corporation without a indication about + the license: + +/* + * This file is derived from code which is under the following copyright: + * + * Copyright (c) 1999 - 2000 Microsoft Corporation. + * + */ + + + * The file contrib/win32/xorprtm/print_rtmsg.c is Copyright (C) + The Regents of the University of California and holds the + following license: + +/* + * Copyright (c) 1983, 1989, 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + + * The file docs/papers/hotnets_2002_paper/sigcomm.cls is Copyright + (C) 1988 by Leslie Lamport without a indication about the + license: + +% +% SIG-ALTERNATE DOCUMENT STYLE +% G.K.M. Tobin August-October 1999 +% adapted from ARTICLE document style by Ken Traub, Olin Shivers +% also using elements of esub2acm.cls +% HEAVILY MODIFIED, SUBSEQUENTLY, BY GERRY MURRAY 2000 +% ARTICLE DOCUMENT STYLE -- Released 16 March 1988 +% for LaTeX version 2.09 +% Copyright (C) 1988 by Leslie Lamport + + + * The file docs/papers/hotnets_2002_talk/elements.mp is Copyright + (c) Massachusetts Institute of Technology and Copyright (c) + International Computer Science Institute with the following + license: + +% elements.mp -- MetaPost macros for drawing Click configuration graphs +% Eddie Kohler +% +% Copyright (c) 1999-2001 Massachusetts Institute of Technology +% Copyright (c) 2001-2008 International Computer Science Institute +% +% 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, subject to the conditions +% listed in the Click LICENSE file. These conditions include: you must +% preserve this copyright notice, and you cannot mention the copyright +% holders in advertising related to the Software without their permission. +% The Software is provided WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED. This +% notice is a summary of the Click LICENSE file; the license in that file is +% legally binding. + + + * The file docs/papers/hotnets_2002_talk/elemfig.sty is Copyright + (c) Massachusetts Institute of Technology and Copyright (c) + International Computer Science Institute with the following + license: + +% elemfig.sty -- LaTeX macros for Click configuration graphs in MetaPost +% Eddie Kohler +% +% Copyright (c) 1999-2001 Massachusetts Institute of Technology +% Copyright (c) 2001-2008 International Computer Science Institute +% +% 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, subject to the conditions +% listed in the Click LICENSE file. These conditions include: you must +% preserve this copyright notice, and you cannot mention the copyright +% holders in advertising related to the Software without their permission. +% The Software is provided WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED. This +% notice is a summary of the Click LICENSE file; the license in that file is +% legally binding. + + + * The file docs/papers/hotnets_2002_talk/samp04_iprouter.mp is + Copyright (c) Massachusetts Institute of Technology and + Copyright (c) International Computer Science Institute with the + following license: + +% samp04_iprouter.mp -- MetaPost graph examples: the glorious IP router +% Eddie Kohler +% +% Copyright (c) 1999-2001 Massachusetts Institute of Technology +% Copyright (c) 2001-2008 International Computer Science Institute +% +% 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, subject to the conditions +% listed in the Click LICENSE file. These conditions include: you must +% preserve this copyright notice, and you cannot mention the copyright +% holders in advertising related to the Software without their permission. +% The Software is provided WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED. This +% notice is a summary of the Click LICENSE file; the license in that file is +% legally binding. + + + * The file docs/snmp/talks/PPRfyma.sty is Copyright (c) Laurent + Jacques and have the following license: + +% Prosper -- (PPRfyma.sty) Style file +% A LaTeX class for creating slides +% Author: Laurent Jacques +% FYMA/UCL +% +% Copyright (c) 2002 Laurent Jacques +% All rights reserved. +% +% Permission is hereby granted, without written agreement and without +% license or royalty fees, to use, copy, modify, and distribute this +% software and its documentation for any purpose, provided that the +% above copyright notice and the following two paragraphs appear in +% all copies of this software. +% +% IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, +% SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF +% THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE AUTHOR HAS BEEN ADVISED +% OF THE POSSIBILITY OF SUCH DAMAGE. +% +% THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, +% INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +% AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS +% ON AN "AS IS" BASIS, AND THE AUTHOR HAS NO OBLIGATION TO +% PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. +% +% CVSId : $Id: LICENSE.other,v 1.7 2009/01/05 18:30:42 jtc Exp $ + + + * The file docs/user_manual/ is Copyright (c) XORP, Inc. and + Copyright (c) University College London with the following + license: + +Copyright (c) 2004-2009 XORP, Inc. +Copyright (c) 2004-2005 University College London + +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 names and trademarks of copyright holders may not be used in +advertising or publicity pertaining to the software without specific +prior permission. Title to copyright in this software and any associated +documentation will at all times remain with the copyright holders. + +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. + + + * The file docs/user_manual/xorp_toc.sty and + docs/user_manual/xorp_toc.sty is Copyright Peter R. Wilson with + the following license: + +%% +%% This is file `tocloft.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% tocloft.dtx (with options: `usc') +%% +%% Copyright 1998, 1999 Peter R. Wilson +%% +%% This program is provided under the terms of the +%% LaTeX Project Public License distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt. +%% +%% Author: Peter Wilson (CUA and NIST) +%% now at: peter.r.wilson@boeing.com +%% + + + * The file fea/ip.h is Copyright (c) Dug Song + without indication of the license: + +/* + * ip.h + * + * Internet Protocol (RFC 791). + * + * Copyright (c) 2000 Dug Song + * + * $Id: LICENSE.other,v 1.7 2009/01/05 18:30:42 jtc Exp $ + */ + + + * The file fea/data_plane/control_socket/windows_routing_socket.h + is Copyright (c) The Regents of the University of California and + have the follwoing license: + +/*- + * Copyright (c) 1980, 1986, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)route.h 8.4 (Berkeley) 1/9/95 + * $FreeBSD: src/sys/net/route.h,v 1.63.2.1 2006/04/04 20:07:23 andre Exp $ + */ + + * The files in libcomm/ are Copyright (c) YOID Project University + of Southern California/Information Sciences Instituteand have + the following license: + +/* + * Copyright (c) 2001 + * YOID Project. + * University of Southern California/Information Sciences Institute. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the project nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + + * The files +libxipc/hmac_md5.c : +libxipc/hmac_md5.h : + + are Copyright (c) University College London and have the following license: + +/* + * FILE: hmac.c + * AUTHORS: Colin Perkins + * + * HMAC message authentication (RFC2104) + * + * Copyright (c) 1998-2000 University College London + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, is permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the Computer Science + * Department at University College London + * 4. Neither the name of the University nor of the Department may be used + * to endorse or promote products derived from this software without + * specific prior written permission. + * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + + + * The file libxorp/strlcpy.c is Copyright (c) Todd C. Miller and + have the following license: + +/* $OpenBSD: strlcpy.c,v 1.10 2005/08/08 08:05:37 espie Exp $ */ + +/* + * Copyright (c) 1998 Todd C. Miller + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + + + * The file libxorp/ether_compat.c have 3 Copyright : +Copyright (c) 2001-2009 XORP, Inc. +Copyright (c) The Regents of the University of California +Copyright (c) Bill Paul + and have the following licenses: +/* + * Copyright (c) 2001-2009 XORP, Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License, Version + * 2.1, June 1999 as published by the Free Software Foundation. + * Redistribution and/or modification of this program under the terms of + * any other version of the GNU Lesser General Public License is not + * permitted. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For more details, + * see the GNU Lesser General Public License, Version 2.1, a copy of + * which can be found in the XORP LICENSE.lgpl file. + * + * XORP, Inc, 2953 Bunker Hill Lane, Suite 204, Santa Clara, CA 95054, USA; + * http://xorp.net + */ + +// "$XORP: xorp/libxorp/ether_compat.c,v 1.16 2009/01/05 18:30:57 jtc Exp $" + +/* + * Part of this software is derived from the following file(s): + * tcpdump/addrtoname.c (from FreeBSD) + * lib/libc/net/ether_addr.c (from FreeBSD) + * The copyright message(s) with the original file(s) is/are included below. + */ + +/* + * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that: (1) source code distributions + * retain the above copyright notice and this paragraph in its entirety, (2) + * distributions including binary code include the above copyright notice and + * this paragraph in its entirety in the documentation or other materials + * provided with the distribution, and (3) all advertising materials mentioning + * features or use of this software display the following acknowledgement: + * ``This product includes software developed by the University of California, + * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of + * the University nor the names of its contributors may be used to endorse + * or promote products derived from this software without specific prior + * written permission. + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED + * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * + * Internet, ethernet, port, and protocol string to address + * and address to string conversion routines + * + * $FreeBSD: src/contrib/tcpdump/addrtoname.c,v 1.12 2004/03/31 14:57:24 bms Exp $ + */ + +/* + * Copyright (c) 1995 + * Bill Paul . All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by Bill Paul. + * 4. Neither the name of the author nor the names of any co-contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * ethernet address conversion and lookup routines + * + * Written by Bill Paul + * Center for Telecommunications Research + * Columbia University, New York City + */ +#if 0 +__FBSDID("$FreeBSD: /repoman/r/ncvs/src/lib/libc/net/ether_addr.c,v 1.15 2002/04/08 07:51:10 ru Exp $"); +#endif + + + * The file libxorp/getopt.c is Copyright (c) The Regents of the + University of California and have the following license: + +/* $NetBSD: getopt.c,v 1.26 2003/08/07 16:43:40 agc Exp $ */ + +/* + * Copyright (c) 1987, 1993, 1994 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * __FBSDID("$FreeBSD: src/lib/libc/stdlib/getopt.c,v 1.7 2004/03/06 17:05:45 ache Exp $"); + */ + + + * The file libxorp/inet_ntop.c and libxorp/inet_pton.c is + Copyright (c) by Internet Software Consortium and have the + following license: + +/* $OpenBSD: inet_ntop.c,v 1.7 2005/08/06 20:30:03 espie Exp $ */ + +/* Copyright (c) 1996 by Internet Software Consortium. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + */ + + + * The file libxorp/popen.cc is Copyright (c) The Regents of the + University of California and have the following license: + +/* + * Copyright (c) 1988, 1993 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software written by Ken Arnold and + * published in UNIX Review, Vol. 6, No. 8. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD: src/lib/libc/gen/popen.c,v 1.14 2000/01/27 23:06:19 jasone Exp $ + */ + + + * The file libxorp/random.c is Copyright (c) The Regents of the + University of California and have the following license: + +/* + * Copyright (c) 1983, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + + + * The file libxorp/timer.cc is Copyright (c) Massachusetts + Institute of Technology and have the following license: + +// Copyright (c) 1999-2000 Massachusetts Institute of Technology +// +// 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, subject to the conditions +// listed in the Click LICENSE file. These conditions include: you must +// preserve this copyright notice, and you cannot mention the copyright +// holders in advertising related to the Software without their permission. +// The Software is provided WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED. This +// notice is a summary of the Click LICENSE file; the license in that file is +// legally binding. + + + * The file libxorp/strptime.c is Copyright (c) Winning Strategies, + Inc and have the following license: + +/* $NetBSD: localedef.h,v 1.7 2005/11/29 03:12:16 christos Exp $ */ + +/* + * Copyright (c) 1994 Winning Strategies, Inc. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by Winning Strategies, Inc. + * 4. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + + * The file mibs/configure is Copyright (C) Free Software + Foundation, Inc and have the following license: + +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. + + + * The file mrt/include/netinet/pim_var.h is Copyright (c) + University of Southern California/Information Sciences Institute + and have the following license: + +/* + * Copyright (c) 1998-2000 + * University of Southern California/Information Sciences Institute. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the project nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + + + * The file mrt/include/netinet/pim.h is Copyright (c) University + of Southern California/Information Sciences Institute and have + the following license: + +/* + * Copyright (c) 1996-2000 + * University of Southern California/Information Sciences Institute. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the project nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + + + * The file rtrmgr/glob_win32.c is Copyright Matthew Wilson and + Synesis Software and have the following licese: + +/* + * File: glob.c + * + * Purpose: Definition of the glob() API functions for the Win32 platform. + * + * Created 13th November 2002 + * Updated: 17th February 2005 + * + * Home: http://synesis.com.au/software/ + * + * Copyright 2002-2005, Matthew Wilson and Synesis Software + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * - Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * - Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * - Neither the names of Matthew Wilson and Synesis Software nor the names of + * any contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + */ + + + * The file rtrmgr/glob_win32.h is Copyright Matthew Wilson and + Synesis Software and have the following license: + +/* + * File: glob.h + * + * Purpose: Declaration of the glob() API functions and types for the + * Win32 platform. + * + * Created 13th November 2002 + * Updated: 10th January 2005 + * + * Home: http://synesis.com.au/software/ + * + * Copyright 2002-2005, Matthew Wilson and Synesis Software + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * - Redistributions of source code must retain the above copyright notice, this + * list of conditions and the following disclaimer. + * - Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * - Neither the names of Matthew Wilson and Synesis Software nor the names of + * any contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * + */ + + + + + +The Debian packaging is licensed under the GPL with the additional +exemption that compiling, linking, and/or using OpenSSL is allowed, +see `/usr/share/common-licenses/GPL'. + --- xorp-1.8.5.orig/debian/control.lenny.backport +++ xorp-1.8.5/debian/control.lenny.backport @@ -0,0 +1,47 @@ +Source: xorp +Section: net +Priority: extra +Maintainer: Jose Calhariz +Uploaders: Javier Fernandez-Sanguino Pen~a +Build-Depends: debhelper (>= 5), autotools-dev, quilt, libssl-dev, + libncurses5-dev | ncurses-dev, docbook-to-man, libpcap0.8-dev, libsnmp-dev +Build-Depends-Indep: texlive-base-bin, + texlive-base, + texlive-latex-base, + texlive-latex-recommended, + texlive-latex-extra, + texlive-pstricks, + texlive-math-extra, + texlive-fonts-recommended, + transfig, gs-common, +Build-Conflicts: iptables-dev +Standards-Version: 3.7.3 +Homepage: http://www.xorp.org +Vcs-Svn: svn://svn.debian.org/pkg-xorp/trunk/xorp +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-xorp/trunk/xorp/ + +Package: xorp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser (>= 3.11), daemon +Recommends: iputils-ping, traceroute, iputils-tracepath +Description: eXtensible Open Router Platform + XORP is the eXtensible Open Router Platform. It implements a number of + routing protocols for IPv4 and IPv6 and a unified means to configure them. It + is stable and fully featured enough for production use, and flexible and + extensible enough to enable network research. + . + The following network protocols are currently + supported: BGP, OSPF, RIP/RIPng, IGMP/MLD and PIM-SM. + . + +Package: xorp-doc +Architecture: all +Section: doc +Description: eXtensible Open Router Platform documentation + XORP is the eXtensible Open Router Platform. It implements a number of + routing protocols for IPv4 and IPv6 and a unified means to configure them. + . + This package provides the documentation in PDF format including the + User's Manual and the Developer's information on the available + modules and how to build new routing modules. + . --- xorp-1.8.5.orig/debian/xorp.README.Debian +++ xorp-1.8.5/debian/xorp.README.Debian @@ -0,0 +1,8 @@ +XORP for Debian +--------------- + +This package of XORP has been built with PREFIX=/usr/lib/xorp. +This is where XORP will store all of its files. To be more FHS compliant, +we store stuff in their normal place, and then symlink them to /usr/lib/xorp + + -- Benjamin Sonntag , Sun, 4 Jun 2006 21:02:31 +0200 --- xorp-1.8.5.orig/debian/compat +++ xorp-1.8.5/debian/compat @@ -0,0 +1 @@ +7 --- xorp-1.8.5.orig/debian/xorp_rtrmgr.8 +++ xorp-1.8.5/debian/xorp_rtrmgr.8 @@ -0,0 +1,87 @@ +.TH "xorp" "8" +.SH "NAME" +xorp_rtrmgr \(em XORP Router Manager +.SH "SYNOPSIS" +.PP +\fBxorp_rtrmgr\fR [\fB-a \fIallowed host\fR\fP] [\fB-l \fIfile\fR\fP] [\fB-L \fIsyslog facility\fR\fP] [\fB-n \fIallowed net\fR\fP] [\fB-b|\-c \fIfile\fR\fP] [\fB-i \fIinterface\fR\fP] [\fB-p \fIport\fR\fP] [\fB-P \fIpidfile\fR\fP] [\fB-q \fIseconds\fR\fP] [\fB-t \fIdirectory\fR\fP] [\fB-x \fIdirectory\fR\fP] [\fB-C \fIdirectory\fR\fP] [\fB-m \fIdirectory\fR\fP] [\fB-N\fP] [\fB-h\fP] [\fB-v\fP] [\fB-d\fP] [\fB-r\fP] +.SH "DESCRIPTION" +.PP +This manual page documents briefly the +\fBxorp_rtrmgr\fR command. +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. +.PP +\fBxorp_rtrmgr\fR is the program that that manages the whole +eXtensible Open Router Platform (XORP) platform. The program loads its +configuration file (commonly named \fBconfig.boot\fP) +which will read from the current working directory You can specify a +different filename for the configuration file using the \fB-b\fP command line flag. The \fB-N\fP "no execute" flag will cause +\fBxorp_rtrmgr\fR to startup and pretend the router is operating +normally, but to not actually start any processes. This can be used to +check configuration files. + +.PP +Typically \fBxorp_rtrmgr\fR must be run as root. This is +because it starts up processes that need privileged access to insert routes +into the forwarding path in the kernel. +.PP +To interact with the router via the command line interface, the +operator should use the XORP command shell +\fBxorpsh\fR. +.SH "OPTIONS" +.PP +\fBxorp_rtrmgr\fR allows the following options: +.IP "\fB-a \fIallowed host\fR\fP " 10 +Host allowed by the finder. +.IP "\fB-b, \-c \fIfile\fR\fP " 10 +Boot configuration file to load. +.IP "\fB-C \fIdirectory\fR\fP " 10 +Specify operational commands directory. +.IP "\fB-d\fP " 10 +Run in daemon mode in background. +.IP "\fB-h\fP " 10 +Show summary of options. +.IP "\fB-i \fIinterface\fR\fP " 10 +Set or add an interface run Finder on. +.IP "\fB-l \fIfile\fR\fP " 10 +Log all the program information and errors to a file. +.IP "\fB-L \fIfacility.priority\fR\fP " 10 +Log all the program output to a given syslog facility. +.IP "\fB-m \fIdirectory\fR\fP " 10 +Specify protocol modules directory. +.IP "\fB-n \fIallowed net\fR\fP " 10 +Subnet allowed by the finder. +.IP "\fB-N\fP " 10 +Load the configuration but do not execute XRLs and do not start +processes. +.IP "\fB-p \fIport\fR\fP " 10 +Set port to run Finder on. +.IP "\fB-P \fIfile\fR\fP " 10 +Write the process ID to a given file. +.IP "\fB-q \fIseconds\fR\fP " 10 +Set forced quit period. +.IP "\fB-r\fP " 10 +Restart failed processes (not implemented yet). +.IP "\fB-t \fIdirectory\fR\fP " 10 +Specify templates directory. +.IP "\fB-v\fP " 10 +Print verbose information. +.IP "\fB-x \fIdirectory\fR\fP " 10 +Specify Xrl targets directory. +.SH "SEE ALSO" +.PP +xorpsh (1) +.PP +The programs are documented fully in the \fIXorp +User Manual\fP available at +\fB/usr/share/doc/xorp-doc/\fP in Debian systems when the +xorp-doc package is installed. +.SH "AUTHOR" +.PP +XORP is Copyright (c) 2001-2009 XORP, Inc. +.PP +This manual page was written by Javier Fernandez-Sanguino jfs@debian.org for the +\fBDebian\fP system (but may be used by others). For licensing details +please see \fB/usr/share/doc/xorp/copyright\fP. +.\" created by instant / docbook-to-man, Sat 25 Feb 2012, 10:20 --- xorp-1.8.5.orig/debian/control +++ xorp-1.8.5/debian/control @@ -0,0 +1,30 @@ +Source: xorp +Section: net +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jose Calhariz +Uploaders: Javier Fernandez-Sanguino Pen~a +Build-Depends: debhelper (>= 7), + g++-4.6, + scons, libboost-dev, + autotools-dev, quilt, libssl-dev, + libncurses5-dev | ncurses-dev, docbook-to-man, libpcap0.8-dev, +Build-Conflicts: iptables-dev +Standards-Version: 3.9.2 +Homepage: http://www.xorp.org +Vcs-Svn: svn://svn.debian.org/pkg-xorp/trunk/xorp +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-xorp/trunk/xorp/ + +Package: xorp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser (>= 3.11), +Recommends: iputils-ping, traceroute, iputils-tracepath +Description: eXtensible Open Router Platform + XORP is the eXtensible Open Router Platform. It implements a number of + routing protocols for IPv4 and IPv6 and a unified means to configure them. It + is stable and fully featured enough for production use, and flexible and + extensible enough to enable network research. + . + The following network protocols are currently + supported: BGP, OSPF, RIP/RIPng, IGMP/MLD and PIM-SM. + . --- xorp-1.8.5.orig/debian/control.etch.backport +++ xorp-1.8.5/debian/control.etch.backport @@ -0,0 +1,47 @@ +Source: xorp +Section: net +Priority: extra +Maintainer: Jose Calhariz +Uploaders: Javier Fernandez-Sanguino Pen~a +Build-Depends: debhelper (>= 5), autotools-dev, quilt, libssl-dev, + libncurses5-dev | ncurses-dev, docbook-to-man, libpcap0.8-dev, libsnmp-dev +Build-Depends-Indep: tetex-bin | texlive-base-bin, + tetex-extra, + tetex-extra, + tetex-extra, + tetex-extra, + tetex-extra, + tetex-extra, + tetex-extra, + transfig, gs-common, +Build-Conflicts: iptables-dev +Standards-Version: 3.7.3 +Homepage: http://www.xorp.org +Vcs-Svn: svn://svn.debian.org/pkg-xorp/trunk/xorp +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-xorp/trunk/xorp/ + +Package: xorp +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser (>= 3.11), daemon +Recommends: iputils-ping, traceroute, iputils-tracepath +Description: eXtensible Open Router Platform + XORP is the eXtensible Open Router Platform. It implements a number of + routing protocols for IPv4 and IPv6 and a unified means to configure them. It + is stable and fully featured enough for production use, and flexible and + extensible enough to enable network research. + . + The following network protocols are currently + supported: BGP, OSPF, RIP/RIPng, IGMP/MLD and PIM-SM. + . + +Package: xorp-doc +Architecture: all +Section: doc +Description: eXtensible Open Router Platform documentation + XORP is the eXtensible Open Router Platform. It implements a number of + routing protocols for IPv4 and IPv6 and a unified means to configure them. + . + This package provides the documentation in PDF format including the + User's Manual and the Developer's information on the available + modules and how to build new routing modules. + . --- xorp-1.8.5.orig/debian/xorp.dirs +++ xorp-1.8.5/debian/xorp.dirs @@ -0,0 +1,5 @@ +usr/sbin +usr/lib/xorp +etc/xorp +etc/default +etc/init.d --- xorp-1.8.5.orig/debian/COPYTODO +++ xorp-1.8.5/debian/COPYTODO @@ -0,0 +1,5 @@ + + +Different: +- docs/user_manual/xorp_toc.sty +- cli/libtecla/history.h (BSD?) --- xorp-1.8.5.orig/debian/xorpsh.1 +++ xorp-1.8.5/debian/xorpsh.1 @@ -0,0 +1,67 @@ +.TH "xorp" "1" +.SH "NAME" +xorpsh \(em XORP Command Shell +.SH "SYNOPSIS" +.PP +\fBxorpsh\fR [\fB-c \fIcommand\fR\fP] [\fB-t \fIdirectory\fR\fP] [\fB-e\fP] [\fB-h\fP] [\fB-v\fP] +.SH "DESCRIPTION" +.PP +This manual page documents briefly the +\fBxorpsh\fR command. +.PP +This manual page was written for the \fBDebian\fP distribution +because the original program does not have a manual page. +.PP +\fBxorpsh\fR is the command used to +interact with a eXtensible Open Router Platform (XORP) router. This command +starts up a command line interface (CLI), that allows the configuration of +the router and monitoring of the router state. + +.PP +The \fBxorpsh\fR command provides an interactive +command shell to a XORP user, similar in many ways to the role played by a +Unix shell. In a production router \fBxorpsh\fR might be set +up as an user's login shell \- they would login to the router via ssh and be +directly in the \fBxorpsh\fR. It can also be run +directly from the Unix command line. + +.PP +\fBxorpsh\fR should normally be run as a regular user; +it is neither necessary or desirable to run it as root. If an user is to +be permitted to make changes to the running router configuration, that user +needs to be in the Unix group \fBxorp\fR. +.PP +The Debian package installation automatically sets up both a xorp user +and a xorp group to which this user belongs. However, any user can run the +\fBxorpsh\fR command unless locally restricted by the +administrator. +.SH "OPTIONS" +.PP +\fBxorpsh\fR allows the following options: +.IP "\fB-h\fP " 10 +Show summary of options. +.IP "\fB-v\fP " 10 +Print verbose information. +.IP "\fB-c \fIcommand\fR\fP " 10 +Specify command(s) to execute. +.IP "\fB-t \fIdirectory\fR\fP " 10 +Specify templates directory. +.IP "\fB-e\fP " 10 +Exit immediately if cannot connect to the rtrmgr +.SH "SEE ALSO" +.PP +xorp_rtrmgr (8) +.PP +This program is documented fully in the \fIXorp User +Manual\fP, chapter \fICommand Structure\fP, +available at \fB/usr/share/doc/xorp-doc/\fP in Debian +systems when the xorp-doc package is installed. +.SH "AUTHOR" +.PP +XORP is Copyright (c) 2001-2009 XORP, Inc. +.PP +This manual page was written by Javier Fernandez-Sanguino jfs@debian.org for +the \fBDebian\fP system (but may be used by others). For licensing details +please see \fB/usr/share/doc/xorp/copyright\fP. + +.\" created by instant / docbook-to-man, Sat 25 Feb 2012, 10:21 --- xorp-1.8.5.orig/debian/mini-scripts/copyright-review +++ xorp-1.8.5/debian/mini-scripts/copyright-review @@ -0,0 +1,7 @@ +#!/bin/sh + +for file in `find . -type f -a \( -name "*.py" -o -name "*.sh" -o -name "*.c" -o -name "*.h" -o -name "*.cc" -o -name "*.hh" \) ` ; do + [ -z "`grep -i copyright $file`" ] && echo $file +done + +exit 0 --- xorp-1.8.5.orig/debian/mini-scripts/license-review +++ xorp-1.8.5/debian/mini-scripts/license-review @@ -0,0 +1,7 @@ +#!/bin/sh + +for file in `find . -type f -a \( -name "*.py" -o -name "*.sh" -o -name "*.c" -o -name "*.h" -o -name "*.cc" -o -name "*.hh" \) ` ; do + [ -z "`grep -i gpl $file`" ] && echo $file +done + +exit 0 --- xorp-1.8.5.orig/debian/mini-scripts/copyright-cmd +++ xorp-1.8.5/debian/mini-scripts/copyright-cmd @@ -0,0 +1,24 @@ +grep -ri copyright . | grep -v fprintf | cut -f 1 -d : | uniq > copy-full-list + +grep -ri copyright . | grep " XORP, Inc." | cut -f 1 -d : | uniq > copy-XORP +grep -ri copyright . | grep " Martin C. Shepherd" | cut -f 1 -d : | uniq > copy-Martin_C_Shepherd +grep -ri -C2 copyright . | grep "Free Software Foundation, Inc." | grep ":" | cut -f 1 -d : | sort -u > copy-FSF1 +grep -ri -C2 copyright . | grep "Free Software Foundation, Inc." | grep "-" | cut -f 1 -d - | sort -u > copy-FSF2 +grep -ril "Free Software Foundation" . > copy-FSF3 +grep -ri copyright . | grep " Massachusetts Institute of Technology" | cut -f 1 -d : | uniq > copy-MIT +grep -ri copyright . | grep " Huawei Technologies" | cut -f 1 -d : | uniq > copy-Huawei +grep -ri -C2 copyright . | grep "The Regents of the University of California" | grep "-" | cut -f 1 -d - | sort -u > copy-California +grep -ri copyright . | grep "Microsoft Corporation" | cut -f 1 -d : | sort -u > copy-Microsoft +grep -ri copyright . | grep "Leslie Lamport" | cut -f 1 -d : | sort -u > copy-Lamport +grep -ri copyright . | grep "Laurent Jacques" | cut -f 1 -d : | sort -u > copy-Jacques +grep -ri copyright . | grep "Peter R. Wilson" | cut -f 1 -d : | sort -u > copy-Wilson +grep -ri copyright . | grep "Dug Song" | cut -f 1 -d : | sort -u > copy-Song +grep -ri -C2 copyright . | grep "YOID Project" | cut -f 1 -d - | sort -u > copy-YOID +grep -ri copyright . | grep "University College London" | cut -f 1 -d : | sort -u > copy-London +grep -ri copyright . | grep "Todd C. Miller" | cut -f 1 -d : | sort -u > copy-Miller +grep -ri copyright . | grep "Internet Software Consortium" | cut -f 1 -d : | sort -u > copy-Intsoft +grep -ri copyright . | grep "Winning Strategies, Inc" | cut -f 1 -d : | sort -u > copy-Winning +grep -ri -C2 copyright . | grep "University of Southern California" | grep "-" | cut -f 1 -d - | sort -u > copy-SouthernCal +grep -ri copyright . | grep " Matthew Wilson and Synesis Software" | cut -f 1 -d : | sort -u > copy-Mathew + +sort copy-* | uniq -c | grep " 1 " | cut -f 8- -d " " | xargs grep -i -C2 copyright | less \ No newline at end of file --- xorp-1.8.5.orig/debian/source/format +++ xorp-1.8.5/debian/source/format @@ -0,0 +1 @@ +1.0 --- xorp-1.8.5.orig/debian/patches/io_ip_socket.cc__fix_ipv6_multicast +++ xorp-1.8.5/debian/patches/io_ip_socket.cc__fix_ipv6_multicast @@ -0,0 +1,20 @@ +Index: xorp-1.5-upstream+debian_dir/fea/data_plane/io/io_ip_socket.cc +=================================================================== +--- xorp-1.5-upstream+debian_dir.orig/fea/data_plane/io/io_ip_socket.cc 2009-06-11 15:53:13.000000000 +0100 ++++ xorp-1.5-upstream+debian_dir/fea/data_plane/io/io_ip_socket.cc 2009-06-11 15:55:06.000000000 +0100 +@@ -2216,6 +2216,15 @@ IoIpSocket::send_packet(const string& if + cmsgp->cmsg_type = IPV6_HOPOPTS; + hbhbuf = CMSG_DATA(cmsgp); + currentlen = inet6_opt_init(hbhbuf, hbhlen); ++ ++ // ++ // XXX: A hack for Linux with buggy inet6_opt_init() ++ // implementation. Note that the problem has been fixed ++ // in glibc-2.8. ++ // ++ struct ip6_hbh* ip6_hbh = (struct ip6_hbh *)hbhbuf; ++ ip6_hbh->ip6h_len = (hbhlen / 8) - 1; ++ + if (currentlen == -1) { + error_msg = c_format("inet6_opt_init(len = %d) failed", + hbhlen); --- xorp-1.8.5.orig/debian/patches/io_ip_socket.cc__fix_ipv6_multicast-2 +++ xorp-1.8.5/debian/patches/io_ip_socket.cc__fix_ipv6_multicast-2 @@ -0,0 +1,20 @@ +Index: xorp-1.6-debian_dir/fea/data_plane/io/io_ip_socket.cc +=================================================================== +--- xorp-1.6-debian_dir.orig/fea/data_plane/io/io_ip_socket.cc 2009-06-12 17:36:29.000000000 +0100 ++++ xorp-1.6-debian_dir/fea/data_plane/io/io_ip_socket.cc 2009-06-12 17:36:33.000000000 +0100 +@@ -2281,6 +2281,15 @@ IoIpSocket::send_packet(const string& if + cmsgp->cmsg_type = IPV6_HOPOPTS; + hbhbuf = CMSG_DATA(cmsgp); + currentlen = inet6_opt_init(hbhbuf, hbhlen); ++ ++ // ++ // XXX: A hack for Linux with buggy inet6_opt_init() ++ // implementation. Note that the problem has been fixed ++ // in glibc-2.8. ++ // ++ struct ip6_hbh* ip6_hbh = (struct ip6_hbh *)hbhbuf; ++ ip6_hbh->ip6h_len = (hbhlen / 8) - 1; ++ + if (currentlen == -1) { + error_msg = c_format("inet6_opt_init(len = %d) failed", + hbhlen); --- xorp-1.8.5.orig/debian/patches/packet.cc_ftbfs_540679 +++ xorp-1.8.5/debian/patches/packet.cc_ftbfs_540679 @@ -0,0 +1,30 @@ +Index: xorp-1.6/libproto/packet.cc +=================================================================== +--- xorp-1.6.orig/libproto/packet.cc 2009-11-18 07:31:57.000000000 +0000 ++++ xorp-1.6/libproto/packet.cc 2009-11-18 07:35:54.000000000 +0000 +@@ -235,7 +235,11 @@ IpHeader4Writer::compute_checksum() + ArpHeader& + ArpHeader::assign(uint8_t* data) + { +- ArpHeader* h = reinterpret_cast(data); ++ /* Added to work around warning: cast from 'uint8_t*' to ++ * 'ArpHeader*' increases required alignment of target type. ++ */ ++ void* v = data; ++ ArpHeader* h = reinterpret_cast(v); + + memset(h, 0, sizeof(*h)); + +@@ -245,7 +249,11 @@ ArpHeader::assign(uint8_t* data) + const ArpHeader& + ArpHeader::assign(const PAYLOAD& payload) + { +- const ArpHeader* h = reinterpret_cast(&payload[0]); ++ /* Added to work around warning: cast from 'PAYLOAD*' to ++ * 'ArpHeader*' increases required alignment of target type. ++ */ ++ const void* v = &payload[0]; ++ const ArpHeader* h = reinterpret_cast(v); + + unsigned size = sizeof(*h); + --- xorp-1.8.5.orig/debian/patches/series +++ xorp-1.8.5/debian/patches/series @@ -0,0 +1,8 @@ +# # Do not apply this aligment fix until fully tested: +# #vrrp_packet.cc_ftbfs_540679 +# #packet.cc_ftbfs_540679 + +# # For backporting to older versions of debian than squeeze, that have +# # libc6 lesser than glibc-2.8 +#io_ip_socket.cc__fix_ipv6_multicast-2 + --- xorp-1.8.5.orig/debian/patches/vrrp_packet.cc_ftbfs_540679 +++ xorp-1.8.5/debian/patches/vrrp_packet.cc_ftbfs_540679 @@ -0,0 +1,30 @@ +Index: xorp-1.6/vrrp/vrrp_packet.cc +=================================================================== +--- xorp-1.6.orig/vrrp/vrrp_packet.cc 2009-11-20 16:21:37.000000000 +0000 ++++ xorp-1.6/vrrp/vrrp_packet.cc 2009-11-20 16:24:13.000000000 +0000 +@@ -37,7 +37,11 @@ VrrpHeader::assign(uint8_t* data) + static_assert(sizeof(VrrpHeader) == 8); + static_assert(sizeof(VrrpAuth) == 8); + +- VrrpHeader* vh = reinterpret_cast(data); ++ /* Added to work around warning: cast from 'uint8_t*' to ++ * 'ArpHeader*' increases required alignment of target type. ++ */ ++ void* v = data; ++ VrrpHeader* vh = reinterpret_cast(v); + + vh->vh_v = VRRP_VERSION; + vh->vh_type = VRRP_TYPE_ADVERTISEMENT; +@@ -54,7 +58,11 @@ VrrpHeader::assign(uint8_t* data) + const VrrpHeader& + VrrpHeader::assign(const PAYLOAD& p) + { +- const VrrpHeader* vh = reinterpret_cast(&p[0]); ++ /* Added to work around warning: cast from 'PAYLOD&' to ++ * 'VrrpHeader*' increases required alignment of target type. ++ */ ++ const void* v= &p[0]; ++ const VrrpHeader* vh = reinterpret_cast(v); + + unsigned size = sizeof(*vh) + sizeof(VrrpAuth); +