1
0
mirror of https://git.openwrt.org/feed/routing.git synced 2024-06-15 19:54:02 +02:00
Commit Graph

57 Commits

Author SHA1 Message Date
Simon Wunderlich
9c4108db7c alfred: bump version to 2014.0.0
bump alfred to version 2014.0.0. From the CHANGELOG:

 * add installation of the alfred-gpsd manpage
 * add -lm to linker flags for libgps in alfred-gpsd

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
2014-01-15 18:24:47 +01:00
Gui Iribarren
e2cfab7f28 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>
2013-12-16 16:03:44 +01:00
Gui Iribarren
47a466ede6 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>
2013-12-16 16:03:44 +01:00
Gui Iribarren
fc93a9c434 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>
2013-11-12 20:43:27 +01:00
Simon Wunderlich
072ba90ce4 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>
2013-10-23 01:37:47 +02:00
Gui Iribarren
14f85e7240 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>
2013-10-23 01:37:47 +02:00
Simon Wunderlich
f76074d424 alfred: add alfred 2013.3.0 to feed
Add A.L.F.R.E.D - Almighty Lightweight Fact Remote Exchange Daemon
to the OpenWRT routing feed. This package contains the latest stable
release of alfred which has been recently published by the
open-mesh.org community. A description follows below.

alfred is a user space daemon for distributing arbitrary local
information over the mesh/network in a decentralized fashion. This data
can be anything which appears to be useful - originally designed to
replace the batman-adv visualization (vis), you may distribute
hostnames, phone books, administration information, DNS information,
the local weather forecast ...

alfred runs as daemon in the background of the system. A user may insert
information by using the alfred binary on the command line, or use
special programs to communicate with alfred (done via unix sockets).
alfred then takes care of distributing the local information to other
alfred servers on other nodes. This is done via IPv6 link-local
multicast, and does not require any configuration. A user can request
data from alfred, and will receive the information available from all
alfred servers in the network.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
2013-08-19 23:17:47 +02:00