batmand: Refresh patches with quilt The test builds are now requiring quilt refreshed patches instead of git patches. Otherwise the build check will not even try to build something. Signed-off-by: Sven Eckelmann <sven@narfation.org>
batmand: Convert to procd based init script The legacy init script had various problems in comparison with procd based init scripts. It wasn't able to correctly track the running process instance and thus could: * accidentally kill another (non init controlled) daemon instance when stop is used * not restart the daemon depending on config changes when reload is used The information about a running instance and its parameters can now be handled by a global controller (procd). The process must not fork anymore and leave the control to procd. The process with its parameters can then be used by procd to trigger the stop/start of the process at the right time. Signed-off-by: Sven Eckelmann <sven@narfation.org>
batmand: Use standard Build/Compile rule batmand isn't using any special rules in Build/Compile. It is cleaner to directly use the global Build/Compile/Default instead of having a functional similar copy in the package Makefile Signed-off-by: Sven Eckelmann <sven@narfation.org>
treewide: Basic cleanup and alignment to package guidelines (#383) This is a very basic cleanup, several packages needs more work but this at least drops git for https and removes the use of PKG_MD5SUM and some minor fixes. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
batmand: Use git repository to retrieve sources The current package is build around the subversion repository which does not exist anymore. The package can therefore be moved to the git repository to have an official source for the revision used in OpenWrt. The SVN version of batman r1439 was actually r1435. The git export of revision r1435 is referenced by this commit. The version number was only increased to 1440 to create a new source tarball. SVN revision r1440 is not a commit for batman and therefore no code changes in batman was done in r1440. Signed-off-by: Sven Eckelmann <sven@narfation.org>
vis: Extract vis package from batmand The batmand and vis sources are actually stored in two different repositories. It therefore makes more sense to have these two packages also split in two different OpenWrt packages. This also allows to get the vis sources directly from the git repository. The SVN version of vis r1439 was actually r1346. The git export of revision r1346 is referenced by this commit. Signed-off-by: Sven Eckelmann <sven@narfation.org>
batmand: Replace maintainer with Elektra The mail address for Marek Lindner was not up to date. Marek was also not maintaining this package and was forwarding requests to Elektra: "Elektra is the maintainer for batmand. I'd rather not interfere." https://github.com/openwrt-routing/packages/pull/134#issuecomment-236346560 Signed-off-by: Sven Eckelmann <sven@narfation.org>
batmand: switch to tarball download, fix build with musl libc Since the upstream SVN repository is not available anymore, update the Makefile to fetch tarballs cached by the LEDE or OpenWrt projects instead. Also add a missing -D_GNU_SOURCE to the target flags to fix compilation with musl libc. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
batmand: adjust folder name to application name Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>