[packages] tinc: The initscript for tinc writes a temporary config into /tmp/tinc.
In the prepare_net function it appends flags and params from the uci config to
the temporary tinc.conf for each net. These values are appended to the
config file on each /etc/init.d/tinc restart and the file grows. By
removing all old temporary config this problem is solved. Then we should
also remove the temporary config for a net which is stopped to free up
some bytes in memory.
Contribution from Manuel Munz <freifunk@somakoma.de>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/packages@35053 3c298f89-4303-0410-b956-a3cf2f4a3e73
[packages] tinc: Version bump 1.0.20

With pleasure we announce the release of tinc version 1.0.20. Here is a
summary of the changes:

 * Use /dev/tap0 by default on FreeBSD and NetBSD when using switch mode.

 * Minor improvements and clarifications in the documentation.

 * Allow tinc to be cross-compiled with Android's NDK.

 * The discovered PMTU is now also applied to VLAN tagged traffic.

 * The LocalDiscovery option now makes use of all addresses tinc is bound to.

 * Fixed support for tunemu on iOS devices.

 * The PriorityInheritance option now also works with switch mode.

 * Fixed tinc crashing when using a SOCKS5 proxy.

Thanks to Mesar Hameed, Vilbrekin and Martin Schürrer for their contributions
to this version of tinc.

This version of tinc is compatible with 1.0pre8, 1.0 and later, but not
with earlier version of tinc.

Note that this will be one of the last releases of the 1.0 branch of tinc. Most
of the development is now happening on the 1.1 branch, with tinc 1.1pre6 being
the latest pre-release version, which you are encouraged to try out. The 1.1
branch is backwards compatible with tinc 1.0.

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/packages@36041 3c298f89-4303-0410-b956-a3cf2f4a3e73
[packages] olsrd: version bump to 0.6.4

the patch 100-olsrd-fix-stack-corruption-in-net_output.patch was merged upstream in the olsrd repository with commit f4d250ad4fad5fcfe5b5feaac3f3e121adef3fba

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/packages@34181 3c298f89-4303-0410-b956-a3cf2f4a3e73
[packages] olsrd: Version bump to 0.6.5.1 , note that tas plugin has been discontinued in this release and two new plugins are included, the pud and sgwdynspeed plugins

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/packages@35594 3c298f89-4303-0410-b956-a3cf2f4a3e73
[packages] olsrd: use system-logger instead of dumping to stdout

packages: olsrd: use system-logger instead of dumping to stdout,
which is cleaner and also seen if not interactive called. minor
cleanups in some messages, also show function-name in messages.
by using 'logger -s' we can see the message on screen and in logs.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/packages@35678 3c298f89-4303-0410-b956-a3cf2f4a3e73
[packages] olsrd: don't try to start smartgw if not all deps are installed

[packages] olsrd: don't try to start smartgw if not all deps are installed
if kmod-ipip is missing, there is no need to invoke an expensive operation.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/packages@35679 3c298f89-4303-0410-b956-a3cf2f4a3e73
[packages] olsrd: init: cleanup an expensive/forky call

for determining all gateways in all routing tables
1) write out the ip-call, never ever abbreviate in scripts
2) avoid forks: sorting/uniq is not needed, if we only append
   yet unappended words
3) use an extra function() for this, better readable
4) check for installed ip-command

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/packages@35680 3c298f89-4303-0410-b956-a3cf2f4a3e73
[packages] olsrd: Version bump 0.6.5.2

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/packages@35784 3c298f89-4303-0410-b956-a3cf2f4a3e73
olsrd: init: for better reuse, make a function out of a procedure get_value_for_entry()

[packages] olsrd: init: for better reuse, make a function out of a procedure get_value_for_entry()

Later we want to reuse that functionality, to avoid code duplication
we make a function with clean entry and return-codes, so we can do e.g.:

get_value_for_entry "$entry" || continue

which is also better readable.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
olsrd: init: parse new var 'speed', which translates to several other vars

[packages] olsrd: init: parse new var 'speed', which translates to several other vars

Like in the Freifunk-Firmware from sven-ola we accept now a per-interface
option 'speed', which should range from 1...20 and is sanitized. when the
value is not in valid range, it defaults to 6 which allows the daemon to
start and behave like in a city-wide mesh. (same default like in freifunk firmware)

The value 'speed' overrides the normal values for emission intervals like
Hello-, Tc-, Mid-, Hna-Interval/ValidityTime or sets them explicitely. this
makes it much easier to play with intervals on several routers:

Instead of changes eight values, we only have to alter 1 value.

The value-calculation is tested since several years.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
olsrd: init: reduce code duplication by reusing already_in_schema()

[packages] olsrd: init: reduce code duplication by reusing already_in_schema()

changed scope/position of this function, and reuse it.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
[packages] olsrd: put default speed in interface configuration template
tinc: update to 1.0.21 (CVE-2013-1428)

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/packages@36402 3c298f89-4303-0410-b956-a3cf2f4a3e73
AA: tinc: merge r36041 and r36402 (CVE-2013-1428)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/packages_12.09@36403 3c298f89-4303-0410-b956-a3cf2f4a3e73
AA: bind: merge r36404 (CVE-2013-2266)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/packages_12.09@36405 3c298f89-4303-0410-b956-a3cf2f4a3e73
Dirty patch to put /1 networks in table 113 by default
Enable debug messages for olsrd
Merge branch 'packages_12.09' into packages_12.09-zioproto