debian/0000755000000000000000000000000012232550201007156 5ustar debian/control0000644000000000000000000000605012126454557010605 0ustar Source: olsrd Section: net Priority: extra Maintainer: Roland Stigge Uploaders: Hans-Christoph Steiner Build-Depends: debhelper (>= 9), bison, flex, pkg-config, libgtk2.0-dev, python-gtk2-dev, liblua50-dev Standards-Version: 3.9.4 Homepage: http://olsr.org/ Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/olsrd/ Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/olsrd/ Package: olsrd Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: olsrd-plugins Description: optimized link-state routing daemon (unik-olsrd) unik-olsrd is an implementation of the Optimized Link State Routing protocol for Mobile Ad-Hoc networks(MANET). The protocol is described in RFC3626. It is designed to be run as a standalone server process. . OLSR operates as a table driven, proactive protocol, i.e., it exchanges topology information with other nodes of the network regularly. It is developed to work independently from other protocols. Likewise, OLSR makes no assumptions about the underlying link-layer. Package: olsrd-plugins Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, olsrd (= ${binary:Version}) Description: various plugins to enhance olsrd olsrd is an implementation of the Optimized Link State Routing protocol for Mobile Ad-Hoc networks(MANET) . The following plugins are available: . * httpinfo - tiny webserver for information purposes * dyn_gw - dynamically announce uplinks * dot_draw - generates output (over a TCP socket) in the dot format * secure - secure OLSR routing with a shared key * nameservice - announce hostnames and dns servers * bmf - basic multicast forwarding * quagga - import external routes from quagga * txtinfo - display information about the OSLR node . The following plugins are also included, even though experimental and demo plugins: . * pgraph - performance graph * watchdog - detection of olsrd freeze * tas - tiny application server * mini - minimal example plugin (demo) * dyn_gw_plain - dyn_gw without ping/libthread * arprefresh - optimize kernel arp cache from olsr UDP sniffing * mdnsp - multicast DNS via OLSR mesh network * p2pd - distribute P2P Discovery messages Package: olsrd-gui Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, olsrd (= ${binary:Version}) Description: GTK GUI to control and get info about olsrd olsrd-gui is a GTK GUI for controlling and getting information from a running olsrd, a daemon for OLSR mesh networking. It uses IPC to talk to olsrd, so /etc/olsrd/olsrd.conf must enable IPC connections for olsrd-gui to work. . OLSR operates as a table driven, proactive protocol, i.e., it exchanges topology information with other nodes of the network regularly. It is developed to work independently from other protocols. Likewise, OLSR makes no assumptions about the underlying link-layer. debian/changelog0000644000000000000000000003017212232531527011045 0ustar olsrd (0.6.6.1-1) unstable; urgency=low * New upstream release -- Roland Stigge Fri, 25 Oct 2013 20:01:53 +0200 olsrd (0.6.5.2-1~) experimental; urgency=low * New upstream release * remove patches that have been included or obsoleted upstream * update build process based on upstream changes -- Hans-Christoph Steiner Mon, 01 Apr 2013 22:39:25 -0700 olsrd (0.6.3-6) unstable; urgency=low * include upstream fix for brokenness on amd64 (Closes: #704025) -- Hans-Christoph Steiner Wed, 27 Mar 2013 14:46:23 -0700 olsrd (0.6.3-5) unstable; urgency=low * fixed build system so all hardening flags are applied * fixed some lintian warnings * make tas plugin build against Debian's lua rather than the lua sources that are included in the olsrd orig tarball -- Hans-Christoph Steiner Fri, 05 Oct 2012 17:38:02 -0400 olsrd (0.6.3-4) unstable; urgency=low * debian/rules: Drop OS=linux from the make call, fixing FTBFS on !linux, thanks to Evgeni Golov (Closes: #679761) -- Roland Stigge Fri, 06 Jul 2012 18:58:27 +0200 olsrd (0.6.3-3) unstable; urgency=low * update broken jsoninfo plugin with patches from upstream git * updated default config based on settings from funkfeuer and commotionwireless.net -- Hans-Christoph Steiner Sat, 30 Jun 2012 09:57:55 -0400 olsrd (0.6.3-2) unstable; urgency=low * Re-upload to unstable -- Roland Stigge Sun, 24 Jun 2012 18:00:24 +0200 olsrd (0.6.3-1) experimental; urgency=low * New upstream release * debian/control: Standards-Version: 3.9.3 -- Roland Stigge Fri, 08 Jun 2012 12:30:36 +0200 olsrd (0.6.2-2) unstable; urgency=low * debian/control: Build-Depends: debhelper (>= 9) (Closes: #658330) * Integrated patches by Hans-Christoph Steiner: - Added olsrd-gui (Closes: #658329) - debian/control: Recommends: olsrd-plugins (Closes: #658557) - Fix *.d clean problem (Closes: #658559) - Added olsr_switch (Closes: #658560) - Fix conffile location to /etc/olsrd/olsrd.conf (Closes: #658561) Thanks Hans-Christoph! -- Roland Stigge Sun, 19 Feb 2012 16:14:34 +0100 olsrd (0.6.2-1) unstable; urgency=low * New upstream release (repackaged and cleaned from debian/ dir) * Adjusted patches to upstream tarball * Removing obsolete options LinkQualityDijkstraLimit and LinkQualityWinSize from default configuration file (Closes: #652690) -- Roland Stigge Sun, 01 Jan 2012 23:20:20 +0100 olsrd (0.6.1-5) unstable; urgency=low * dh style debian/rules * debian/compat: 9, exports dpkg-buildflags (Closes: #643472) -- Roland Stigge Sun, 02 Oct 2011 14:59:17 +0200 olsrd (0.6.1-4) unstable; urgency=low * Added debian/watch -- Roland Stigge Mon, 01 Aug 2011 21:54:18 +0200 olsrd (0.6.1-3) unstable; urgency=low * Added armv7l to arch list for -fPIC in make/Makefile.linux (Closes: #636205) -- Roland Stigge Mon, 01 Aug 2011 21:23:31 +0200 olsrd (0.6.1-2) unstable; urgency=low * Add patch to upstream to add mips and mips64 to -fPIC arch list (fixes FTBFS on mips*) -- Roland Stigge Sat, 07 May 2011 13:11:27 +0200 olsrd (0.6.1-1) unstable; urgency=low [ Holger Levsen ] * New upstream version with quite some fixes and new features, see upstream changelog for details. Quoting from there: Change in version number system. No more -rcX for release candidates and -rX for bugfix releases. In future bugfix releases or updates of plugins will increase the third digit of the version string while feature releases will increase the first and/or the second one. * Update package description, OLSR is no experimental protocol anymore. [ Roland Stigge ] * New maintainer (Closes: #612277) * Adjusted debian patches to work with 0.6.1 * debian/control: - Standards-Version: 3.9.2 - Build-Depends: debhelper (>=8) * Debian source format: 3.0 (quilt) * Included remaining plugins * New upstream version works with newer kernels (Closes: #605296) * New upstream version fixes memory leak (Closes: #605295) -- Roland Stigge Tue, 03 May 2011 15:30:56 +0200 olsrd (0.5.6-r8-1) unstable; urgency=low * New upstream version, the eighth maintenance release of 0.5.6, introducing options to set the source and destination IP of the OLSR packets and a more flexible handling config handling as well as some bug fixes including memory leaks. -- Holger Levsen Wed, 20 Jan 2010 01:13:43 +0000 olsrd (0.5.6-r7-1) unstable; urgency=low * New upstream version, the seventh maintenance release of 0.5.6, with some improvements in the ETX-FFmetric and new stabilization patches for the route generation. -- Holger Levsen Wed, 11 Nov 2009 17:53:26 +0100 olsrd (0.5.6-r6-3) unstable; urgency=low * Brown paper bag release: add 270-make-kfbsd.patch to debian/patches/series so it actually gets applied. (Closes: #544758) -- Holger Levsen Mon, 19 Oct 2009 11:31:38 +0200 olsrd (0.5.6-r6-2) unstable; urgency=low * Do not override the general setting in Makefile.kfbsd to "honor DESTDIR in make install". Thanks to Petr Salinger for the patch. (Closes: #544758) -- Holger Levsen Sat, 17 Oct 2009 13:00:41 +0000 olsrd (0.5.6-r6-1) unstable; urgency=low * New upstream version, the sixth maintenance release of 0.5.6, adding support for Debian kfreebsd (Closes: #544758) and including fixes for httpinfo, txtinfo and dotdraw plugin to prevent them blocking in case of timed out outgoing connections. Drop 250-dot-draw-plugin-honor-accept-parameter.patch as it has been included in the new upstream release. * Fix incorrect runlevels and dependencies in init.d LSB header, thanks to Petter Reinholdtsen for spotting the issues and providing the patch. (Closes: #548607) * Bump standards version to 3.8.3, no changes necessary. -- Holger Levsen Sat, 10 Oct 2009 14:55:37 +0200 olsrd (0.5.6-r5-1) unstable; urgency=low * New upstream version, the fifth maintenance release of 0.5.6. * Add patch by Sebastian Harl to add a listen parameter to the dot_draw plugin. (Closes: #532573) - Thanks, Sebastian! * Re-enable quagga plugin. Since olsrd is licenced under the 3 clause BSD licence and quagga is GPL-2 code, the resuling binary is GPL-2 licenced too, and thats fine. (Closes: #532761) Add patch by Florian Forster to determine quagga protocol version - thanks Florian! * Add descriptions of quagga, bmf and txtinfo plugins to package description. (Closes: #532765) * Bump standards version to 3.8.2. * Update years in debian/copyright. -- Holger Levsen Tue, 04 Aug 2009 12:10:35 +0000 olsrd (0.5.6-r4-1) unstable; urgency=low * New upstream version, the fourth maintenance release of 0.5.6. * olsrd.init: - do not write the pidfile until olsrd has actually been started (Closes: #519842) - thanks to Sebastian Reichel for the bug report! - only start olsrd if it is not already running. * Bump standards-version to 3.8.1. -- Holger Levsen Sat, 30 May 2009 09:14:27 +0000 olsrd (0.5.6-r3-1) unstable; urgency=low * New upstream release, the third maintenance release of 0.5.6. * Adopt debian/patches/200-etc-olsrd.patch to cope with the whitespace changes in the new release. -- Holger Levsen Sat, 14 Mar 2009 18:31:55 +0100 olsrd (0.5.6~rc7-1) unstable; urgency=low * New upstream release candidate. * Use a PID file. (Closes: #484128) * Bump standards-version to 3.8.0, no changes needed. * Install the plugins into /usr/lib/olsrd/, to get rid off all the lintian overrides. Adapted README.Debian to reflect that. * Compile the source without DESTDIR, just install it to DESTDIR. * Modify the plugin targets in the upstream Makefile to provide distinct $pluginname_install targets, otherwise DESTDIR shows up in rpath. * Drop debian/patches/210-txtinfo-Makefile.patch as it has been adapted by upstream. -- Holger Levsen Sat, 12 Jul 2008 16:38:15 +0000 olsrd (0.5.5-3) unstable; urgency=low * No longer work around a bug in debhelper (#470913) in debian/rules, which was introduced in 0.5.5-2 to fix #471627. Due to this, it's also not necessary to manually uncompress and compress some manpages, as debhelper now handles this as well. -- Holger Levsen Wed, 2 Apr 2008 13:06:27 +0200 olsrd (0.5.5-2) unstable; urgency=low * update debian/copyright to clarify that src/cfgparser/oparse.(c|h) has a special exception which allows distributing it under other conditions than the GPL in special cases * fix handling of zipped manpages (Closes: #471627) * remove the quagga plugin from the binary package, as it is GPL licenced and cannot be distributed together with the BSD licenced olsrd * remove linda overwrites as linda is deprecated * updated lintian overwrites -- Holger Levsen Mon, 31 Mar 2008 08:50:25 +0000 olsrd (0.5.5-1) unstable; urgency=low * new upstream version * removed unused lintian overwrites * upgraded to policy 3.7.3, no changes requiered * made debian/copyright machine readable following http://wiki.debian.org/Proposals/CopyrightFormat and converted it to utf8 * patch upstream Makefile to use /usr/lib on amd64 (Closes: #461604) -- Holger Levsen Sat, 09 Feb 2008 09:39:28 +0000 olsrd (0.5.4-2) unstable; urgency=low * clean up olsrd makefile, fix a very annoying dependency bug in the olsrd build system (Closes: #452100) - taken from OpenWRT, thanks to Felix Fietkau -- Holger Levsen Tue, 20 Nov 2007 14:26:34 +0100 olsrd (0.5.4-1) unstable; urgency=low * new upstream version * add Homepage and Vcs-* headers to debian/control * olsrd.conf: small improvements as suggested by Jens Nachtigall - Thanks! -- Holger Levsen Fri, 16 Nov 2007 12:02:21 +0000 olsrd (0.5.3-3) unstable; urgency=low * Undefine STRIP when running make install and instead use dh_strip so that DEB_BUILD_OPTIONS=nostrip can be used (Closes: #437676) -- Holger Levsen Sat, 18 Aug 2007 23:06:02 +0200 olsrd (0.5.3-2) unstable; urgency=low * improved olsrd.conf settings (Thanks elektra!) and made olsrd quiet on default -- Holger Levsen Sun, 12 Aug 2007 19:38:19 +0200 olsrd (0.5.3-1) unstable; urgency=low * new upstream version (Closes: #404899, #405331) * include bmf, quagga and txtinfo plugins in binary package -- Holger Levsen Sun, 5 Aug 2007 01:49:19 +0200 olsrd (0.5.2-1) unstable; urgency=low * new upstream release (Closes: #426580) * added build-dependency on bison and flex * removed dependency on libpthread2 (Closes: #412752) * maintainer address updated * updated README.Debian * cleaned up debian/patches/ (from openwrt) as they are included upstream by now * added debian/todo in source * make init-script exit gracefully if stopping olsrd fails (Closes: #412936) -- Holger Levsen Wed, 1 Aug 2007 00:58:23 +0200 olsrd (0.4.10-3) unstable; urgency=low * improved Makefile clean target to allow rebuilds * fixed and improved broken /etc/default/olsrd and /etc/init.d/olsrd * improved README.Debian and olsrd.conf -- Holger Levsen Wed, 20 Dec 2006 22:57:21 +0000 olsrd (0.4.10-2) unstable; urgency=low * fix debian/copyright (gui/linux-gtk is GPL licenced, not BSD like the rest) * upgraded debian/compat debhelper source-depends version to 5 (as it's enough if 0.4.10-1 builds on sarge without changes) * use ${binary:Version} format for olsrd-plugins depends on olsrd, for the same reason -- Holger Levsen Sun, 17 Dec 2006 18:51:00 +0000 olsrd (0.4.10-1) unstable; urgency=low * Initial release (Closes: #401307, #243527) -- Holger Levsen Sat, 9 Dec 2006 17:04:26 +0000 debian/watch0000644000000000000000000000010011622271612010206 0ustar version=3 http://www.olsr.org/releases/0.6/ olsrd-(.*)\.tar\.gz debian/olsrd-gui.docs0000644000000000000000000000002511720211321011730 0ustar gui/linux-gtk/README debian/olsrd.postinst0000644000000000000000000000047511264102470012121 0ustar #!/bin/sh set -e # Recover from incorrect init.d script headers in version 0.5.6-r5-1 and earlier if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "0.5.6-r5-1" \ && [ -f /etc/rcS.d/S[0-9][0-9]olsrd ] \ && ! [ -f /etc/rc2.d/S[0-9][0-9]olsrd ] ; then update-rc.d -f olsrd remove fi #DEBHELPER# debian/olsrd.dirs0000644000000000000000000000004010737157135011177 0ustar usr/sbin etc/default/ etc/olsrd debian/rules0000755000000000000000000000333412126467162010260 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: $(MAKE) DEBUG=0 VERBOSE=1 build_all $(MAKE) -C gui/linux-gtk $(MAKE) -C src/olsr_switch override_dh_auto_clean: dh_auto_clean $(MAKE) distclean override_dh_auto_install: $(MAKE) VERBOSE=1 STRIP=: DESTDIR=$(CURDIR)/debian/olsrd \ prefix=/usr libdir=/usr/lib/olsrd install $(MAKE) VERBOSE=1 STRIP=: DESTDIR=$(CURDIR)/debian/olsrd-plugins \ prefix=/usr libdir=/usr/lib/olsrd libs_install $(MAKE) -C gui/linux-gtk VERBOSE=1 DESTDIR=$(CURDIR)/debian/olsrd-gui \ prefix=/usr install install -d $(CURDIR)/debian/olsrd/usr/sbin/ install -p -m0755 files/olsrd-adhoc-setup $(CURDIR)/debian/olsrd/usr/sbin/ install -d $(CURDIR)/debian/olsrd/usr/bin/ install -p -m0755 olsr_switch $(CURDIR)/debian/olsrd/usr/bin/ install -d $(CURDIR)/debian/olsrd/usr/share/man/man8 install -p -m0644 files/olsr_switch.8.gz \ $(CURDIR)/debian/olsrd/usr/share/man/man8 install -d $(CURDIR)/debian/olsrd/usr/share/doc/olsrd/examples install -p -m0644 files/olsrd.conf.[a-z]* \ $(CURDIR)/debian/olsrd/usr/share/doc/olsrd/examples install -d $(CURDIR)/debian/olsrd-gui/usr/share/doc/olsrd-gui/ install -p -m0644 gui/linux-gtk/CHANGELOG \ $(CURDIR)/debian/olsrd-gui/usr/share/doc/olsrd-gui/changelog gzip -9 $(CURDIR)/debian/olsrd-gui/usr/share/doc/olsrd-gui/changelog # provide better default config install -p -m0644 $(CURDIR)/debian/olsrd.conf \ $(CURDIR)/debian/olsrd/etc/olsrd/olsrd.conf install -p -m0644 $(CURDIR)/debian/olsrd-default \ $(CURDIR)/debian/olsrd/etc/default/olsrd override_dh_compress: # compress, but don't compress README_NAMESERVICE, for consistency reasons dh_compress -XREADME_NAMESERVICE -XREADME_BMF debian/patches/0000755000000000000000000000000012232550047010615 5ustar debian/patches/111-build-mips-and-armhf.patch0000644000000000000000000000070212232534327016040 0ustar --- make/Makefile.linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- olsrd-0.6.6.1.orig/make/Makefile.linux +++ olsrd-0.6.6.1/make/Makefile.linux @@ -39,7 +39,7 @@ UNINSTALL_LIB = rm -f $(LIBDIR)/$(PLUGIN ifdef OLSRD_PLUGIN GENERATE_PIC = true endif -ifeq ($(filter-out mips mips64 alpha x86_64 parisc64 ia64, $(ARCH)),) +ifeq ($(filter-out armv7l mips mips64 alpha x86_64 parisc64 ia64, $(ARCH)),) GENERATE_PIC = true endif debian/patches/series0000644000000000000000000000024512126472332012035 0ustar 110-build_fix.patch 111-build-mips-and-armhf.patch 260-quagga-plugin-detect-protocol-version.patch 290-hardcode-etc-olsrd-olsrd-conf.patch 310-hardening-fixes.patch debian/patches/260-quagga-plugin-detect-protocol-version.patch0000644000000000000000000000074111764361562021511 0ustar Index: olsrd-0.6.3/lib/quagga/src/quagga.h =================================================================== --- olsrd-0.6.3.orig/lib/quagga/src/quagga.h 2012-06-03 10:07:07.000000000 +0200 +++ olsrd-0.6.3/lib/quagga/src/quagga.h 2012-06-08 13:21:14.000000000 +0200 @@ -33,6 +33,10 @@ void zebra_redistribute(uint16_t cmd); void zebra_hello(uint16_t cmd); +#ifndef ZEBRA_HEADER_MARKER +#define ZEBRA_HEADER_MARKER 255 +#endif + /* * Local Variables: * c-basic-offset: 2 debian/patches/110-build_fix.patch0000644000000000000000000000057212232534327014111 0ustar --- Makefile | 2 -- 1 file changed, 2 deletions(-) --- olsrd-0.6.6.1.orig/Makefile +++ olsrd-0.6.6.1/Makefile @@ -83,8 +83,6 @@ cfgparser: $(CFGDEPS) src/builddata.o switch: $(MAKECMDPREFIX)$(MAKECMD) -C $(SWITCHDIR) -# generate it always -.PHONY: src/builddata.c src/builddata.c: $(MAKECMDPREFIX)$(RM) "$@" $(MAKECMDPREFIX)echo "#include \"defs.h\"" >> "$@" debian/patches/290-hardcode-etc-olsrd-olsrd-conf.patch0000644000000000000000000001455612232534327017673 0ustar From: Hans-Christoph Steiner Description: hard-code /etc/olsrd and /usr/lib/olsrd for Debian-style This patch sets up /etc/olsrd as the config dir and /usr/lib/olsrd as the dir for olsrd plugins, following Debian convention. --- Makefile.inc | 4 ++-- lib/arprefresh/README_ARPREFRESH | 2 +- lib/bmf/README_BMF | 10 +++++----- lib/mini/README_MINI | 2 +- lib/nameservice/README_NAMESERVICE | 2 +- lib/pgraph/README_PGRAPH | 4 ++-- lib/quagga/README_QUAGGA | 2 +- lib/watchdog/README_WATCHDOG | 2 +- make/Makefile.linux | 4 ++-- src/main.c | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) --- olsrd-0.6.6.1.orig/Makefile.inc +++ olsrd-0.6.6.1/Makefile.inc @@ -57,10 +57,10 @@ TAGCMD ?= etags # target directories and names DESTDIR ?= -ETCDIR ?= $(DESTDIR)/etc +ETCDIR ?= $(DESTDIR)/etc/olsrd USRDIR ?= $(DESTDIR)/usr INCLUDEDIR ?= $(DESTDIR)/usr/include -LIBDIR ?= $(USRDIR)/lib +LIBDIR ?= $(USRDIR)/lib/olsrd SBINDIR ?= $(USRDIR)/sbin SHAREDIR ?= $(USRDIR)/share DOCDIR ?= $(SHAREDIR)/doc --- olsrd-0.6.6.1.orig/lib/arprefresh/README_ARPREFRESH +++ olsrd-0.6.6.1/lib/arprefresh/README_ARPREFRESH @@ -21,7 +21,7 @@ None. SAMPLE CONFIG --------------------------------------------------------------------- -add in /etc/olsrd.conf: +add in /etc/olsrd/olsrd.conf: LoadPlugin "arprefresh.so.0.1" { --- olsrd-0.6.6.1.orig/lib/bmf/README_BMF +++ olsrd-0.6.6.1/lib/bmf/README_BMF @@ -44,7 +44,7 @@ Set permissions, e.g.: chmod 0700 /dev/net/tun -To configure BMF in OLSR, you must edit the file /etc/olsrd.conf +To configure BMF in OLSR, you must edit the file /etc/olsrd/olsrd.conf to load the BMF plugin. For example, add the following lines: LoadPlugin "olsrd_bmf.so.1.7.0" @@ -184,7 +184,7 @@ the forwarding towards non-OLSR enabled ------------------------- All configuration of BMF is done via the "LoadPlugin" section in -the /etc/olsrd.conf file. +the /etc/olsrd/olsrd.conf file. The following gives an overview of all plugin parameters that can be configured. Unless otherwise stated, settings may differ for each node in the @@ -354,7 +354,7 @@ non-OLSR interfaces. If you have network interfaces on which OLSR is *not* running, but you *do* want to forward multicast and local-broadcast IP packets, specify these interfaces one by one as "NonOlsrIf" parameters in the BMF plugin section -of /etc/olsrd.conf. For example: +of /etc/olsrd/olsrd.conf. For example: LoadPlugin "olsrd_bmf.so.1.7.0" { @@ -374,7 +374,7 @@ as an OLSR-enabled interface. In a typical interworking configuration there is a network of OLSR hosts in which one host acts as a gateway to a fixed infrastructure network. Usually that host will be advertising a default route via the HNA -mechanism, e.g. by adding the following lines to its /etc/olsrd.conf +mechanism, e.g. by adding the following lines to its /etc/olsrd/olsrd.conf file: Hna4 @@ -411,7 +411,7 @@ add the following line /etc/mrouted.conf Finally, mrouted does not accept interfaces with prefix length 32. Therefore, override the default IP address and prefix length of -the BMF network interface, by editing the /etc/olsrd.conf file. +the BMF network interface, by editing the /etc/olsrd/olsrd.conf file. For example: LoadPlugin "olsrd_bmf.so.1.7.0" --- olsrd-0.6.6.1.orig/lib/mini/README_MINI +++ olsrd-0.6.6.1/lib/mini/README_MINI @@ -24,7 +24,7 @@ PlParam "test" "anything" SAMPLE CONFIG --------------------------------------------------------------------- -add in /etc/olsrd.conf: +add in /etc/olsrd/olsrd.conf: LoadPlugin "olsrd_mini.so.0.1" { --- olsrd-0.6.6.1.orig/lib/nameservice/README_NAMESERVICE +++ olsrd-0.6.6.1/lib/nameservice/README_NAMESERVICE @@ -142,7 +142,7 @@ PlParam "macs-change-script" "/path/to/s SAMPLE CONFIG --------------------------------------------------------------------- -add in /etc/olsrd.conf: +add in /etc/olsrd/olsrd.conf: LoadPlugin "olsrd_nameservice.so.0.2" { --- olsrd-0.6.6.1.orig/lib/pgraph/README_PGRAPH +++ olsrd-0.6.6.1/lib/pgraph/README_PGRAPH @@ -39,7 +39,7 @@ Usage: run "make" and "make install" This will create the "olsrd_pgraph.so.1.1" file and install it. - 3) Modify the "/etc/olsrd.conf" file of the system you wish to + 3) Modify the "/etc/olsrd/olsrd.conf" file of the system you wish to monitor from to load the plugin. Add the line: "LoadPlugin "olsrd_pgraph.so.1.1" {}" @@ -51,7 +51,7 @@ Usage: # By default only localhost will be able to connect to the IPC # system of the olsrd process so if you are not going to be # running pgraph locally, modify the "Host" variable of the - # "IpcConnect" structure in the "/etc/olsrd.conf" file to + # "IpcConnect" structure in the "/etc/olsrd/olsrd.conf" file to # reflect the IP address of the host you will be connecting from. 5) Start olsrd and make sure that the plugin has loaded correctly. --- olsrd-0.6.6.1.orig/lib/quagga/README_QUAGGA +++ olsrd-0.6.6.1/lib/quagga/README_QUAGGA @@ -58,7 +58,7 @@ PlParam "Version" "" SAMPLE CONFIG --------------------------------------------------------------------- -add in /usr/local/etc/olsrd.conf: +add in /etc/olsrd/olsrd.conf: LoadPlugin "olsrd_quagga.so.0.2.2" { --- olsrd-0.6.6.1.orig/lib/watchdog/README_WATCHDOG +++ olsrd-0.6.6.1/lib/watchdog/README_WATCHDOG @@ -21,7 +21,7 @@ PlParam "interval" "5" SAMPLE CONFIG --------------------------------------------------------------------- -add in /etc/olsrd.conf: +add in /etc/olsrd/olsrd.conf: LoadPlugin "olsrd_watchdog.so.0.1" { --- olsrd-0.6.6.1.orig/make/Makefile.linux +++ olsrd-0.6.6.1/make/Makefile.linux @@ -5,8 +5,8 @@ ARCH := $(shell uname -m) DESTDIR ?= -prefix ?= /usr/local -libdir ?= $(prefix)/lib +prefix ?= /usr +libdir ?= $(prefix)/lib/olsrd datarootdir ?= $(prefix)/share mandir ?= $(datarootdir)/man sbindir ?= $(prefix)/sbin --- olsrd-0.6.6.1.orig/src/main.c +++ olsrd-0.6.6.1/src/main.c @@ -394,7 +394,7 @@ int main(int argc, char *argv[]) { strscpy(conf_file_name + len, "olsrd.conf", sizeof(conf_file_name) - len); #else /* _WIN32 */ - strscpy(conf_file_name, OLSRD_GLOBAL_CONF_FILE, sizeof(conf_file_name)); + strscpy(conf_file_name, "/etc/olsrd/olsrd.conf", sizeof(conf_file_name)); #endif /* _WIN32 */ olsr_cnf = olsrd_get_default_cnf(); debian/patches/310-hardening-fixes.patch0000644000000000000000000000120212232534327015210 0ustar --- Makefile | 2 ++ Makefile.inc | 1 + 2 files changed, 3 insertions(+) --- olsrd-0.6.6.1.orig/Makefile +++ olsrd-0.6.6.1/Makefile @@ -54,6 +54,8 @@ LDFLAGS += -Wl,--out-implib=libolsrd.a LDFLAGS += -Wl,--export-all-symbols endif +LDFLAGS += -Wl,-z,now -pie + SWITCHDIR = src/olsr_switch CFGDIR = src/cfgparser include $(CFGDIR)/local.mk --- olsrd-0.6.6.1.orig/Makefile.inc +++ olsrd-0.6.6.1/Makefile.inc @@ -165,6 +165,7 @@ endif LDFLAGS += -shared LDFLAGS += -Wl,-soname,$(PLUGIN_SONAME) LDFLAGS += -Wl,--version-script=version-script.txt +LDFLAGS += -Wl,-z,now else # c and ld flags for main ifeq ($(OS),win32) debian/olsrd-adhoc-setup.10000644000000000000000000000140611772702662012620 0ustar .\" Hey, EMACS: -*- nroff -*- .TH olsrd-adhoc-setup 1 "2012" .SH NAME olsrd-adhoc-setup \- setup the wifi interface for meshing with olsrd .SH SYNOPSIS .B olsrd-adhoc-setup [ .B "wifi interface" ] [ .B "channel" ] [ .B "SSID" ] [ .B "BSSID" ] .SH DESCRIPTION This manual page documents briefly the .B olsrd-adhoc-setup command. In order to run .B olsrd to connect to a mesh network, the wifi interface needs to first be setup in adhoc mode with the correct settings and a usable IP address in order for your .B olsrd to start talking to the rest of the mesh. This script automates that process. . .PP .SH SEE ALSO .BR olsrd (8), .BR olsrd-conf (5). .br .SH AUTHOR olsrd-adhoc-setup was written by Hans-Christoph Steiner debian/olsrd.manpages0000644000000000000000000000003311772702662012034 0ustar debian/olsrd-adhoc-setup.1 debian/olsrd-gui.manpages0000644000000000000000000000002311720211321012571 0ustar debian/olsrd-gui.1 debian/README.Debian0000644000000000000000000000561611035067320011234 0ustar olsrd for Debian ---------------- Configuration ------------- Before running olsrd you must edit the default configuration file /etc/olsrd/olsrd.conf (the location differs in the debian package from the upstream default /etc/olsrd.conf). The one change you must make is to define on which interfaces olsrd is supposed to act on. If you want, you can run olsrd via init.d by editing /etc/default/olsrd - the default configuration is to not start olsrd on boot. It needs root privileges to run olsrd. To debug olsrd you can start it with "/etc/init.d/olsrd start debug". You also need to configure your network interface. For example, for freifunk.hamburg.net the following settings are used: ifconfig eth1 $YOUR_IP broadcast 10.127.255.255 iwconfig eth1 essid hamburg.freifunk.net channel 10 mode ad-hoc enc off Options in the olsrd config file can also be overridden by command line options or in /etc/default/olsrd. See the manual pages olsrd(8) and olsrd.conf(5) for details. If debug level is set to 0 olsrd will detach and run in the background (this is the default in the debian package), if not it will keep running in your shell. Plugins ------- The following plugins are included in the olsrd-plugins package and are explained in detail in /usr/share/doc/olsrd-plugins: - httpinfo - tiny webserver for information purposes - dyn_gw - dynamically announce uplinks - dot_draw - generates output (over a TCP socket) in the dot format - secure - secure OLSR routing with a shared key - nameservice - announce hostnames and dns servers - bmf - basic multicast forwarding plugin for olsrd - txtinfo The following plugins are not included in the olsrd-plugins binary package: - quagga - quagga plugin - tas - (not at all) tiny application server, no useful apps exist - powerinfo - displays /proc/apm on 127.0.0.1:8888 - pgraph - obsoleted by httpinfo and dot-draw - mini - minimal example plugin, useful as a howto for writing plugins If you need them, you can easily build them from the debian source package yourself: define which (additional) plugins you want in debian/rules, and rebuild the package. And if you tell me a good reason why they should be included in the binary package, I'll be glad to add them :) About this package ------------------ This is actually the unik-olsrd implementation, but because it's the only commonly used one (the other two, nrl- and inria-olsrd are mostly used where they were written) and the one found on www.olsr.org, so I decided to call the package olsrd. The config file shipped in /etc/olsrd/olsrd.conf is based on the one from http://olsrexperiment.de/sven-ola/nylon/packages/olsrd/files/olsrd.conf-sven-ola and has been successfully used in the freifunk networks in Berlin and Hamburg (Germany). The plugins are installed in /usr/lib/olsrd/ which differs from the upstream default /usr/lib/. -- Holger Levsen Tue, 8 Jul 2008 18:09:15 +0200 debian/olsrd.conf0000644000000000000000000001717211772672475011212 0ustar # # olsr.org OLSR daemon config file # # Lines starting with a # are discarded # # This file was shipped with the debian olsrd package # # Debug level(0-9) # If set to 0 the daemon runs in the background DebugLevel 0 # the interface the mesh runs on is specified at run time using the -i flag InterfaceDefaults { # Olsrd can autodetect changes in NIC configurations (IP address # changes etc.). This is enabled by default and the interval to # poll for changes on is defined by NicChgsPollInt. This polling # can be disabled pr. NIC by setting AutoDetectChanges to no. #AutoDetectChanges no # IPv4 broadcast address to use. The # one usefull example would be 255.255.255.255 # If not defined the broadcastaddress # every card is configured with is used Ip4Broadcast 255.255.255.255 # IPv6 address scope to use. # Must be 'site-local' or 'global' #Ip6AddrType site-local # IPv6 multicast address to use when # using site-local addresses. # If not defined, ff05::15 is used #Ip6MulticastSite ff05::11 # IPv6 multicast address to use when # using global addresses # If not defined, ff0e::1 is used #Ip6MulticastGlobal ff0e::1 # Emission intervals. # If not defined, RFC proposed values will # be used in most cases. # Hello interval in seconds(float) HelloInterval 6.0 # HELLO validity time HelloValidityTime 600.0 # TC interval in seconds(float) TcInterval 0.5 # TC validity time TcValidityTime 300.0 # MID interval in seconds(float) MidInterval 10.0 # MID validity time MidValidityTime 300.0 # HNA interval in seconds(float) HnaInterval 10.0 # HNA validity time HnaValidityTime 300.0 # When multiple links exist between hosts # the weight of interface is used to determine # the link to use. Normally the weight is # automatically calculated by olsrd based # on the characteristics of the interface, # but here you can specify a fixed value. # Olsrd will choose links with the lowest value. #Weight 0 # If a certain route should be preferred # or ignored by the mesh, the Link Quality # value of a node can be multiplied with a factor # entered here. In the example the route # using 192.168.0.1 would rather be ignored. # A multiplier of 0.5 will result in a small # (bad) LinkQuality value and a high (bad) # ETX value. #LinkQualityMult 192.168.0.1 0.5 # This multiplier applies to all other nodes # LinkQualityMult default 0.8 } ## these settings should work for funkfeuer, freifunk, etc. # Fisheye mechanism for TC messages 0=off, 1=on LinkQualityFishEye 1 #LinkQualityAlgorithm "etx_ff" ## if using commotionwireless.net, comment the line above and uncomment these: #LinkQualityFishEye 0 #LinkQualityAlgorithm "etx_ffeth" # IP version to use (4 or 6) IpVersion 4 # Clear the screen each time the internal state changes ClearScreen yes # HNA IPv4 routes # syntax: netaddr netmask # Example Internet gateway: # 0.0.0.0 0.0.0.0 Hna4 { # Internet gateway: # 0.0.0.0 0.0.0.0 # more entries can be added: # 192.168.1.0 255.255.255.0 } # HNA IPv6 routes # syntax: netaddr prefix # Example Internet gateway: Hna6 { # Internet gateway: # :: 0 # more entries can be added: # fec0:2200:106:: 48 } # Should olsrd keep on running even if there are # no interfaces available? This is a good idea # for a PCMCIA/USB hotswap environment. # "yes" OR "no" AllowNoInt yes # TOS(type of service) value for # the IP header of control traffic. # If not set it will default to 16 #TosValue 16 # The fixed willingness to use(0-7) # If not set willingness will be calculated # dynamically based on battery/power status # if such information is available Willingness 3 # Allow processes like the GUI front-end # to connect to the daemon. IpcConnect { # Determines how many simultaneously # IPC connections that will be allowed # Setting this to 0 disables IPC MaxConnections 0 # By default only 127.0.0.1 is allowed # to connect. Here allowed hosts can # be added Host 127.0.0.1 #Host 10.0.0.5 # You can also specify entire net-ranges # that are allowed to connect. Multiple # entries are allowed #Net 192.168.1.0 255.255.255.0 } # Wether to use hysteresis or not # Hysteresis adds more robustness to the # link sensing but delays neighbor registration. # Used by default. 'yes' or 'no' # Do not use hysteresis with ETX! UseHysteresis no # Hysteresis parameters # Do not alter these unless you know # what you are doing! # Set to auto by default. Allowed # values are floating point values # in the interval 0,1 # THR_LOW must always be lower than # THR_HIGH. #HystScaling 0.50 #HystThrHigh 0.80 #HystThrLow 0.30 # Link quality level # 0 = do not use link quality # 1 = use link quality for MPR selection # 2 = use link quality for MPR selection and routing # Defaults to 0 LinkQualityLevel 2 # Polling rate in seconds(float). # Default value 0.05 sec Pollrate 0.1 # TC redundancy # Specifies how much neighbor info should # be sent in TC messages # Possible values are: # 0 - only send MPR selectors # 1 - send MPR selectors and MPRs # 2 - send all neighbors # # defaults to 0 TcRedundancy 2 # # MPR coverage # Specifies how many MPRs a node should # try select to reach every 2 hop neighbor # # Can be set to any integer >0 # # defaults to 1 MprCoverage 5 # Olsrd plugins to load # This must be the absolute path to the file # or the loader will use the following scheme: # - Try the paths in the LD_LIBRARY_PATH # environment variable. # - The list of libraries cached in /etc/ld.so.cache # - /lib, followed by /usr/lib # Configuration examples for plugins: # see /usr/share/doc/olsrd-plugins/ for some for documentation # these are loaded from LD_LIBRARY_PATH #LoadPlugin "olsrd_httpinfo.so.0.1" #{ # defaults to 1978 #PlParam "Port" "8080" # if you dont set these, the default is to listen only on the loopback device #PlParam "Host" "80.23.53.22" #PlParam "Net" "10.0.0.0 255.0.0.0" #PlParam "Net" "0.0.0.0 0.0.0.0" #PlParam "Host" "127.0.0.1" #} ## for more info: http://olsr.org/?q=txtinfo_plugin #LoadPlugin "olsrd_txtinfo.so.0.1" #{ # PlParam "port" "2006" # PlParam "accept" "0.0.0.0" #} ## for more info: http://olsr.org/?q=jsoninfo_plugin #LoadPlugin "olsrd_jsoninfo.so.0.0" #{ # PlParam "port" "9090" # PlParam "accept" "0.0.0.0" #} # useful if your machine has an uplink #LoadPlugin "olsrd_dyn_gw.so.0.4" #{ # Here parameters are set to be sent to the # plugin. Theese are on the form "key" "value". # Parameters ofcause, differs from plugin to plugin. # Consult the documentation of your plugin for details. # Example: dyn_gw params # how often to check for Internet connectivity # defaults to 5 secs #PlParam "Interval" "40" # if one or more IPv4 addresses are given, do a ping on these in # descending order to validate that there is not only an entry in # routing table, but also a real internet connection. If any of # these addresses could be pinged successfully, the test was # succesful, i.e. if the ping on the 1st address was successful,the # 2nd won't be pinged #PlParam "Ping" "141.1.1.1" #PlParam "Ping" "194.25.2.129" #} #LoadPlugin "olsrd_nameservice.so.0.2" #{ #PlParam "name" "xxx" #PlParam "a.b.c.d" "xxx-eth" #PlParam "a.b.c.e" "xxx-bbb" #PlParam "a.b.c.f" "xxx-olsr" #PlParam "suffix" ".olsr" #} #LoadPlugin "olsrd_dot_draw.so.0.3" #{ # accept connection from IP: # default 127.0.0.1 (localhost) #PlParam "accept" "192.168.0.5" #PlParam "port" "2004" #} debian/olsrd.docs0000644000000000000000000000041711560052372011166 0ustar unmaintained/features.txt unmaintained/README unmaintained/README-FreeBSD-libnet unmaintained/README-Link-Quality-Fish-Eye.txt unmaintained/README-Link-Quality-Fish-Eye.txt unmaintained/README-Link-Quality.html unmaintained/README-Olsr-Switch.html README-Olsr-Extensions debian/olsrd.init0000644000000000000000000000422512032641717011204 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: olsrd # Required-Start: $network $remote_fs $syslog # Required-Stop: $network $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start the OLSR mesh daemon # Description: System mode startup script for # the olsr.org OLSR mesh daemon. ### END INIT INFO # Based on skeleton script written by Miquel van Smoorenburg . # Modified for Debian # by Ian Murdock . # Modified for olsrd # by Holger Levsen # # Version: 21-Dec-2006 # modified: 01-Aug-2007 # 31-Jun-2008 # 30-May-2009 # 02-Oct-2012 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/olsrd NAME=olsrd DESC=olsrd PID_FILE=/var/run/$NAME.pid test -x $DAEMON || exit 0 # Include olsrd defaults if available if [ -f /etc/default/olsrd ] ; then . /etc/default/olsrd fi set -e case "$1" in debug) echo -n "Starting $DESC: " start-stop-daemon --start --quiet --exec $DAEMON --pidfile $PID_FILE -- $DAEMON_OPTS # sleep til olsrd has been started while ! pidof $NAME > /dev/null ; do sleep 1 done echo "$NAME." echo $(pidof $NAME) > $PID_FILE ;; start) if [ "$START_OLSRD" != "YES" ] ; then exit 0 ; fi if [ "$SETUP_ADHOC" = "YES" ] ; then test -x /usr/sbin/olsrd-adhoc-setup && \ /usr/sbin/olsrd-adhoc-setup $MESH_IF $channel $ssid $bssid fi if [ "$(pidof $NAME)" != "" ] ; then echo "$NAME already running, doing nothing." exit 0 fi echo -n "Starting $DESC: " start-stop-daemon --start --quiet --exec $DAEMON --pidfile $PID_FILE -- $DAEMON_OPTS # sleep til olsrd has been started while ! pidof $NAME > /dev/null ; do sleep 1 done echo "$NAME." echo $(pidof $NAME) > $PID_FILE ;; stop) pidof $NAME || exit 0 echo -n "Stopping $DESC: " start-stop-daemon --stop --quiet --exec $DAEMON --pidfile $PID_FILE rm -f $PID_FILE echo "$NAME." ;; restart|force-reload) echo -n "Restarting $DESC: " $0 stop sleep 1 $0 start ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart}" >&2 exit 1 ;; esac exit 0 debian/source/0000755000000000000000000000000012232550047010466 5ustar debian/source/format0000644000000000000000000000001411560052372011675 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000002150711236020002011110 0ustar This package was downloaded from http://www.olsr.org/releases/ Files: debian/* Copyright: © 2006-2009 Holger Levsen Licence: GPL-2+ The Debian packaging 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. On Debian systems, the full text of the GPL-2+ is available at /usr/share/common-licenses/GPL-2 Files: * Copyright: © 2003-2005 Andreas Tønnesen , 2004 Thomas Lopatic , 2006, 2007 Sven-Ola , 2005, Bruno Randolf , 2007 Bernd Petrovitsch and 2006 Jens Nachtigall Licence: BSD-3 | 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 name of olsr.org, olsrd 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 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. Files: gui/linux-gtk/* Copyright: © 2003 Andreas Tønnesen (andreto@ifi.uio.no) Licence: GPL-2+ olsrd/gui/linux-gtk 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. On Debian systems, the full text of the GPL-2+ is available at /usr/share/common-licenses/GPL-2 Files: lib/bmf* Copyright: © 2005 - 2007, Thales Communications, Huizen, The Netherlands. Written by Erik Tromp. Licence: BSD-3 | 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 name of Thales, BMF 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 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. Files: src/cfgparser/oparse.c src/cfgparser/oparse.h Copyright: © 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. Licence: GPL-2+ | src/cfgparser/oparse.(c|h) 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. | On Debian systems, the full text of the GPL-2+ is available at | /usr/share/common-licenses/GPL-2 | | As a special exception, you may create a larger work that contains | part or all of the Bison parser skeleton and distribute that work | under terms of your choice, so long as that work isn't itself a | parser generator using the skeleton or a modified version thereof | as a parser skeleton. Alternatively, if you modify or redistribute | the parser skeleton itself, you may (at your option) remove this | special exception, which will cause the skeleton and the resulting | Bison output files to be licensed under the GNU General Public | License without this special exception. | | This special exception was added by the Free Software Foundation in | version 2.2 of Bison. Files: lib/tas/src/lua/* lib/tas/lua_licence.txt Copyright: © 1994-2004 Tecgraf, PUC-Rio Licence: other-BSD |* Copyright (C) 1994-2004 Tecgraf, PUC-Rio. 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, sublicense, and/or sell copies of the Software, and to | permit persons to whom the Software is furnished to do so, subject to | the following conditions: | | The above copyright notice and this permission notice shall be | included in all copies or substantial portions of the Software. | | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: lib/quagga/src/quagga.h lib/quagga/src/olsrd_plugin.c lib/quagga.c Copyright: © 2006 Immo 'FaUl' Wehrenberg Licence: GPL-2+ lib/quagga/src/quagga.h 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. On Debian systems, the full text of the GPL is available at /usr/share/common-licenses/GPL-2 Files: lib/quagga/src/quagga/zebra.h Copyright: © 1997, 1998, 1999, 2000, 2001, 2002 Kunihiro Ishiguro Licence: GPL-2+ lib/quagga/zebra.h 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. On Debian systems, the full text of the GPL-2+ is available at /usr/share/common-licenses/GPL-2 Files: lib/secure/src/md5.(c|h) Copyright: © 1991, 1992 RSA Data Security, Inc. Created 1991. Licence: other | All rights reserved. | License to copy and use this software is granted provided that it | is identified as the "RSA Data Security, Inc. MD5 Message-Digest | Algorithm" in all material mentioning or referencing this software | or this function. | | License is also granted to make and use derivative works provided | that such works are identified as "derived from the RSA Data | Security, Inc. MD5 Message-Digest Algorithm" in all material | mentioning or referencing the derived work. | | RSA Data Security, Inc. makes no representations concerning either | the merchantability of this software or the suitability of this | software for any particular purpose. It is provided "as is" | without express or implied warranty of any kind. | | These notices must be retained in any copies of any part of this | documentation and/or software. debian/compat0000644000000000000000000000000211642060565010371 0ustar 9 debian/olsrd-gui.10000644000000000000000000000077711720211321011156 0ustar .\" Hey, EMACS: -*- nroff -*- .TH olsrd-gui 1 "2012" .SH NAME olsrd-gui \- control and view status of olsrd routing daemon .SH SYNOPSIS .B olsrd-gui [ .B "host-or-IP" ] .SH DESCRIPTION This manual page documents briefly the .B olsrd-gui command. It connects to a running olsrd over an IPC connection configured in .B /etc/olsrd/olsrd.conf . .PP .SH SEE ALSO .BR olsrd (8), .BR olsrd-conf (5). .br .SH AUTHOR olsrd-gui was written by Andreas Tonnesen . debian/olsrd-plugins.dirs0000644000000000000000000000001611035067320012645 0ustar usr/lib/olsrd debian/olsrd-default0000644000000000000000000000171511774661404011674 0ustar # Defaults for olsrd initscript # sourced by /etc/init.d/olsrd # installed at /etc/default/olsrd by the maintainer scripts # # Uncomment the next line run olsrd automatically at startup # #START_OLSRD="YES" # # Uncomment the next line to force-configure the wifi interface to be setup # for ad-hoc mode using the /usr/sbin/olsrd-adhoc-setup script whenever olsrd # is started. # #SETUP_ADHOC="YES" # # debuglevel from 1 (=quiet) to 9 (=max debug) # for running from init.d 0 is recommended # DEBUGLEVEL=0 # # Specify the network interfaces that olsrd will run on, this will most likely # be your wifi interface. # MESH_IF=wlan0 # # The wifi channel to setup using olsrd-adhoc-setup # channel=5 # # The SSID for the mesh network to connect to using olsrd-adhoc-setup # ssid=commotionwireless.net # # The BSSID for the mesh network to connect to using olsrd-adhoc-setup # bssid=02:ca:ff:ee:ba:be # # "command-line options" # DAEMON_OPTS="-i $MESH_IF -d $DEBUGLEVEL" debian/todo0000644000000000000000000000007111036157247010062 0ustar - remove debian/patches/240-plugin-install-targets.patch debian/olsrd-plugins.docs0000644000000000000000000000064411560052372012647 0ustar lib/dyn_gw/README_DYN_GW lib/httpinfo/README_HTTPINFO lib/dot_draw/README_DOT_DRAW lib/nameservice/README_NAMESERVICE lib/secure/README_SECURE lib/bmf/README_BMF lib/quagga/README_QUAGGA lib/txtinfo/README_TXTINFO lib/watchdog/README_WATCHDOG lib/mini/README_MINI lib/pgraph/README_PGRAPH lib/mdns/README lib/p2pd/README lib/arprefresh/README_ARPREFRESH lib/dot_draw/README_DOT_DRAW lib/dyn_gw_plain/README_DYN_GW_PLAIN