Clean up Makefile slightly.
Update configure options for the new version.
Remove first patch and update the other one.
Use a different solution for the stack protector on certain platforms.
Run script through shellcheck. Small quote fix.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Refreshed darwin patch.
The first OpenSSL patch is an upstream backport. The second was sent
upstream: https://github.com/NLnetLabs/ldns/pull/68
Small Makefile cleanups for consistency.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This package is completely unused. It's apparently optional with mpd, but
has been unused for some time.
It's also infested with CVEs. Last non-git update is from 2013.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
The newer libupnp is causing problems with libupnpp. While the latter has
migraded to using a different library, it still has support for older
libupnp. Keep using it.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Use standard PKG_INSTALL. Added patch to fix compilation with it.
Use PKG_INSTALL_DIR as a result.
Added PKG_BUILD_PARALLEL for faster compilation.
Fixed license information.
Add build depends for libusb as it is needed for compilation.
Various small cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
There's no reason for it. It breaks parallel building, does not link to
libatomic when necessary, and generates a larger binary for some reason.
The normal package has none of these problems.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Compiled and run in x86_64.
This release adds support for CMake's FetchContent.
Changes:
-Add support for FetchContent in CMake
-Rename CMake project from 'check' to 'Check'
-Fix for checking for wrong tool when building docs in Autotools
-Fix compiler warning with printf format
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
Adds configure variables for features that the compiler or the libc
supports and which cannot be detected by apr-util's configure script
when cross-compiling.
Also removes one call to INSTALL_DIR (no functional change here).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
apr's configure script uses lots of AC_TRY_RUNs and when cross-compiling
needs a leg-up. This commit adds more configure variables (and removes
one, too).
Notable changes:
- apr_cv_use_lfs64=yes is removed (again) after having a discussion
about it with the musl developers. The conclusion was that
_LARGEFILE64_SOURCE is a horrible thing that we don't want and should
avoid (hence the removal of the variable, because defining
_LARGEFILE64_SOURCE is all it does).
- ap_cv_atomic_builtins is set to "yes" for 64-bit platforms. If
anybody is interested in enabling this for other targets feel free to
send a patch after testing it.
- configure doesn't add -lpthread to LIBS when cross-compiling. This is
not a problem for musl but might be for other libcs. This commit adds
to related variable.
- configure caches are added (via patches) for strerror and /dev/zero
mmap tests. The former fixes a warning on musl (where strerror
returns int instead of a pointer) and the latter is required for
pthread pshared mutex apr_lock implementation and cannot be detected
during cross-compile either.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
PKG_CONFIG_DEPENDS causes a rebuild when needed. Alas the apr-util build
system doesn't always work out the way OpenWrt intends it to. This was
found by pure chance. apr-util was in build directory without any
plugins selected. Then apache got selected, causing plugins to be
selected. So PKG_CONFIG_DEPENDS caused a reconfigure and another make in
apr-util. But afterward apache couldn't find symbols related to LDAP.
To workaround this add "clean" to make targets.
No rev bump because no change for the apr-util packages.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This removes the ifneq in InstallDev, because the maintainers are likely
to forget to extend it when new plugins are added (this has already
occurred).
Also, this removes the la files, because OpenWrt won't allow them into
staging anyway.
No rev bump because meaningless for the apr-util packages.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>