Use INSTALL_CONF instead of INSTALL_DATA to install configuration
files under /etc with correct permissions.
This improves security by ensuring config files are not world-readable.
INSTALL_DATA sets mode 0644, while INSTALL_CONF sets mode 0600.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
The extra quotation marks in the PKG_MAINTAINER line of the '.packageinfo'
file does not produce valid JSON when 'package-metadata.pl pkgmanifestjson'
is used.
Therefore, the word with the surrounding quotation marks is removed.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
The build failed because various string functions couldn't be found. This
happened because the indirect include of string.h is now gone.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
The build system of this package is written in a way that it is safe to run
the make steps in parallel. The build time can be reduced slightly on
modern systems.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
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 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>
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>
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>
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>
The open-mesh.org server is not serving plain HTTP pages since a while.
Updating the default URL to https is therefore prefered.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
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>