Add bmx6-table plugin for bmx6 in Makefile
batman-adv: upgrade package to latest release 2013.4.0

Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
alfred: Add a lightweight framework for running facter scripts that feed data into alfred every 5 minutes

Alfred expects to be fed data periodically, but there's currently no easy
way to do that from scripts, prompting people to write whole C programs
to accomplish tasks that could easily be scripted.
Provide a really simple framework to run scripts every 5 minutes, using a
cronjob, when alfred is started by the init.d script.

Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
alfred: bump version to 2013.4.0

bump alfred to version 2013.4.0. From the CHANGELOG:

 * add new json output format for vis
 * add gps location information service for alfred
 * allow network interface to vanish and return without restart
 * allow to switch between master and slave operation without restart
 * renamed vis to batadv-vis to avoid collisions with other vis binaries
 * add manpages
 * various code cleanups
 * bugs squashed:

   * handle failing write() in unix sockets
   * Fix crash when vis opened empty file

alfred-gpsd is optional and requires libgps from the gpsd package to
compile. It needed its own -lm for libgps which does not link to libm
by itself, a patch for upstream alfred has been posted.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
ndppd: new upstream release 0.2.3

Also update maintainer email address and cherry-pick commit 00da8bf to
prevent daemonizing before reading the configuration file.

Signed-off-by: Gabriel Kerneis <gabriel@kerneis.info>
babeld: migrate from openwrt/packages

- Update maintainer email address
- Wait for babel to die in init script (avoid race-condition on restart)

Signed-off-by: Gabriel Kerneis <gabriel@kerneis.info>
ahcpd: migrate from openwrt/packages

Update maintainer email address

Signed-off-by: Gabriel Kerneis <gabriel@kerneis.info>
luci-app-bmx6: show the IPv6 tunnels of bmx6 in the node's web page
olsrd: hotplug: dont test if daemon is enabled, but look for a written PID-file. this solves the issue, that hotplug fires multiple restarts during boot for each upcoming interface (e.g. lo, lan, wan, wifi1, wifi2) which is racy somehow, but leaves hotplug itself working after normal startup. also reduce forking by directly sourcing '/etc/init.d/olsrd' via rc.common
Fix config creation for multiple LinkQualityMult entries in uci config
alfred: optionally bundle a lua script for generating a bat-hosts

Provide a lua script that uses alfred to propagate and collect all
interface mac + names, then generate a /tmp/bat-hosts file.
If there's already a (probably hand-made) /etc/bat-hosts it won't overwrite it,
but if there's none, it will symlink /etc/bat-hosts -> /tmp/bat-hosts

Signed-off-by: Gui Iribarren <gui@altermundi.net>
Thanks-to: Joshua Head <joshua.head@outlook.com>
[sw@simonwunderlich.de: bumped release number]
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Merge pull request #10 from mmunz/upstream

Fix config creation for multiple LinkQualityMult entries in uci config
olsrd: hotplug-script: take config-file as marker for 'init-script-was-already-invoked-once' and not the pidfile: the pidfile ist not written if the daemon couldnt startup, e.g. because no interface was up yet and 'AllowNoInt' was not configured - thanks to bluse-blue for reporting this issue on a WDR4900v1
Merge branch 'master' into bmx6_testing
bmx6: update to current master revision
nodogsplash: check if TrafficControl is enabled before testing imq module requirement.

This avoids failing to start in current OpenWrt Attitude Adjustment and trunk,
which lack IMQ support (and WONTFIX). Suggested in the issue discussed in:
http://ml.ninux.org/pipermail/nodogsplash/2013-May/000009.html

Signed-off-by: Gui Iribarren <gui@altermundi.net>
nodogsplash: recognize yes, true or 1 as valid TrafficControl values
alfred: fix batadv-vis invocation in init.d script

broken (wouldn't start, failing silently) since the following commit:
 * "renamed vis to batadv-vis to avoid collisions with other vis binaries"
which renamed only some instances of the "vis" command

Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
alfred: workaround race condition when batmanif is not ready at boot time

Wait up to 30 seconds during init.d script on boot, so that batmanif can
come up. If the timeout is reached, the init.d script refuses to start
alfred and related daemons.

This prevents an alfred crash when it would start during early boot, before
batmanif is available. Instead, alfred is started as soon as batmanif appears,
if that happens during the 30-second window.

Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Merge pull request #12 from openwrt-routing/nds-optional-imq

nodogsplash: check if TrafficControl is enabled before testing imq module requirement.