[Olsr-dev] Debian patches

Henning Rogge (spam-protected)
Tue Jul 24 13:20:01 CEST 2012


I had a look at the patches of debian and I think we can get rid of most 
of them.

(see 
http://ftp.de.debian.org/debian/pool/main/o/olsrd/olsrd_0.6.2-2.debian.tar.gz)

100-debug_level.patch
---------------------

I am not sure why this patch exists in Debian. If you start OLSRd for 
debian in background, you will use the init script which could easily 
add a "-d 0" to the starting parameters.

If someone starts Olsrd by hand, not forking into background is a good 
thing!

110-build_fix.patch
-------------------

The first tricky patch, but a very reasonable problem. I think we should 
add an optional make variable called "TARBALL_RELEASE" or something like 
this that blocks the rebuilding of the src/buildfile.c file.

230-usr-lib-olsrd.patch
-----------------------

Since we allow to overwrite the LIBDIR by using parameters for make, 
debian should do so in "rules" so we can drop the patch.

260-quagga-plugin-detect-protocol-version.patch
-----------------------------------------------

I don't know much about Quagga, but if this is a problem we should 
commit that patch into stable.

270-gui-linux-gtk-align-olsr_ip_addr-to-olsr-definition-of-it.patch
-------------------------------------------------------------------

This patch is already upstream, so it can be dropped from later Debian 
releases. If we start collecting fixes for 0.6.2 (which seems to be the 
release for Wheezy), this could be included in a future bugfix tarball 
(so it can be dropped from debian).

280-fix-linux-gtk-build.patch
-----------------------------

I think we should commit that patch into stable.

290-hardcode-etc-olsrd-olsrd-conf.patch
---------------------------------------

This one is more tricky. The first part (the one for Makefile.inc) could 
be replaced by a make parameter (that overwrites CFGFILE).

The other ones... I am not sure, putting the absolute paths of a 
configuration file (that will be somewhere else on different 
distributions like OpenWRT or OLSRd) is not really a great idea anyways.

What do you think?

Henning Rogge


-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Neuenahrer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:(spam-protected) http://www.fkie.fraunhofer.de
GPG: E1C6 0914 490B 3909 D944 F80D 4487 C67C 55EC CFE0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20120724/87c4eed2/attachment.bin>


More information about the Olsr-dev mailing list