Permalink
Browse files

Add debian build folder to OLSRd. Create a debian package just with "…

…dpkg-buildpackage"...
  • Loading branch information...
1 parent 0974a4d commit c1d458d7656ba7cad90c877fcc3e082730e3e24d Henning Rogge committed Dec 5, 2010
View
@@ -35,3 +35,15 @@ gui/win32/Shim/Release/
.cproject
.project
.settings
+build-stamp
+configure-stamp
+debian/olsrd/
+debian/olsrd-plugins/
+debian/olsrd-plugins.debhelper.log
+debian/olsrd.debhelper.log
+debian/files
+debian/olsrd-plugins.substvars
+debian/olsrd.postinst.debhelper
+debian/olsrd.postrm.debhelper
+debian/olsrd.prerm.debhelper
+debian/olsrd.substvars
View
@@ -169,70 +169,100 @@ libs_install install_libs:
httpinfo:
$(MAKECMD) -C lib/httpinfo clean
$(MAKECMD) -C lib/httpinfo
+
+httpinfo_install:
$(MAKECMD) -C lib/httpinfo DESTDIR=$(DESTDIR) install
tas:
$(MAKECMD) -C lib/tas clean
$(MAKECMD) -C lib/tas
+
+tas_install:
$(MAKECMD) -C lib/tas DESTDIR=$(DESTDIR) install
dot_draw:
$(MAKECMD) -C lib/dot_draw clean
$(MAKECMD) -C lib/dot_draw
+
+dot_draw_install:
$(MAKECMD) -C lib/dot_draw DESTDIR=$(DESTDIR) install
nameservice:
$(MAKECMD) -C lib/nameservice clean
$(MAKECMD) -C lib/nameservice
+
+nameservice_install:
$(MAKECMD) -C lib/nameservice DESTDIR=$(DESTDIR) install
dyn_gw:
$(MAKECMD) -C lib/dyn_gw clean
$(MAKECMD) -C lib/dyn_gw
+
+dyn_gw_install:
$(MAKECMD) -C lib/dyn_gw DESTDIR=$(DESTDIR) install
dyn_gw_plain:
$(MAKECMD) -C lib/dyn_gw_plain clean
$(MAKECMD) -C lib/dyn_gw_plain
+
+dyn_gw_plain_install:
$(MAKECMD) -C lib/dyn_gw_plain DESTDIR=$(DESTDIR) install
secure:
$(MAKECMD) -C lib/secure clean
$(MAKECMD) -C lib/secure
+
+secure_install:
$(MAKECMD) -C lib/secure DESTDIR=$(DESTDIR) install
pgraph:
$(MAKECMD) -C lib/pgraph clean
$(MAKECMD) -C lib/pgraph
+
+pgraph_install:
$(MAKECMD) -C lib/pgraph DESTDIR=$(DESTDIR) install
bmf:
$(MAKECMD) -C lib/bmf clean
$(MAKECMD) -C lib/bmf
+
+bmf_install:
$(MAKECMD) -C lib/bmf DESTDIR=$(DESTDIR) install
quagga:
$(MAKECMD) -C lib/quagga clean
$(MAKECMD) -C lib/quagga
+
+quagga_install:
$(MAKECMD) -C lib/quagga DESTDIR=$(DESTDIR) install
mdns:
$(MAKECMD) -C lib/mdns clean
$(MAKECMD) -C lib/mdns
+
+mdns_install:
$(MAKECMD) -C lib/mdns DESTDIR=$(DESTDIR) install
+
txtinfo:
$(MAKECMD) -C lib/txtinfo clean
$(MAKECMD) -C lib/txtinfo
+
+txtinfo_install:
$(MAKECMD) -C lib/txtinfo DESTDIR=$(DESTDIR) install
arprefresh:
$(MAKECMD) -C lib/arprefresh clean
$(MAKECMD) -C lib/arprefresh
+
+arprefresh_install:
$(MAKECMD) -C lib/arprefresh DESTDIR=$(DESTDIR) install
watchdog:
$(MAKECMD) -C lib/watchdog clean
$(MAKECMD) -C lib/watchdog
+
+
+watchdog_install:
$(MAKECMD) -C lib/watchdog DESTDIR=$(DESTDIR) install
build_all: all switch libs
View
@@ -0,0 +1,79 @@
+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 <holger@debian.org> Tue, 8 Jul 2008 18:09:15 +0200
Oops, something went wrong.

0 comments on commit c1d458d

Please sign in to comment.