Add BUILDONLY since this is only used for the headers.
Rearranged variables for consistency between packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
- Updated download URL and hash
- Removed our include-patch as the problem was fixed upstream
- Removed our MUSL-specific loff_t definition as liburing switched to off_t which is
supported by MUSL out-of-the-box
Signed-off-by: Christian Lachner <gladiac@gmail.com>
Switched to CMake for the faster compilation and the simpler Makefile.
Minor Makefile cleanups.
Before:
time make package/libvorbis/compile -j 12
Executed in 24.40 secs fish external
usr time 21.17 secs 0.00 micros 21.17 secs
sys time 3.05 secs 426.00 micros 3.05 secs
After:
time make package/libvorbis/compile -j 12
Executed in 9.19 secs fish external
usr time 11.29 secs 0.00 micros 11.29 secs
sys time 1.43 secs 421.00 micros 1.43 secs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Switch to CMake. Allows faster compilation and simplification of the
Makefile.
Switched libwslay to a static InstallDev library. Allows further
simplification of the Makefile and a smaller size when used with h2o.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Allows faster compilation and removing various Makefile hacks.
Fixed license to SPDX format.
Added PKG_BUILD_PARALLEL for faster compilation.
Various cleanups for consistency between packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Even though doc2man is explicitly disabled, it is only for the target.
Split out the options to a separate variable.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Since DSA is enabled, dsa.h is needed. Normally this header is included
implicitly with engine.h but with OPENSSL_API_COMPAT >= 0x10100000L ,
this is not so.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Massively cleaned up the Makefile for simplicity.
Added PKG_INSTALL and PKG_BUILD_PARALLEL for consistency between packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This update also:
- enables parallel builds
- moves to the CMake build system
- removes the redundant InstallDev stanza
Signed-off-by: Jonathan G. Underwood <jonathan.underwood@gmail.com>
Changes since the v0.11 release:
Fix stack overflow buffering out-of-sequence streams.
Fix possible divide-by-zero.
Fix issues with seeking in the win32 backend.
Fix an issue where the seek algorithm could be confused by stream data changing between reads.
Clean up compiler and scan-build warnings.
Avoid use of the deprecated ftime() function which has Y2038 problems.
Remove undefined behaviour memcpy(NULL) in op_read_native().
Visual Studio project files updated for libogg 1.3.4 library name change.
Various build systems updates.
Various integration and testing environment improvements.
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
ABI_VERSION is used in Package/libtiffxx/install but not defined, so we
don't get SONAME treatment for libtiffxx. This commit adds the missing
ABI_VERSION.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Compiled and run in x86_64.
Changes:
-Define CK_ATTRIBUTE_FORMAT for GCC >= 2.95.3, to make use of ‘gnu_printf’ format attribute
-Refactor tests to fix signed - unsigned conversions
-Refactor some Check internals to use proper interger types
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
- Add initial Makefile
- Add patch to fix inttypes.h inclusion when __kernel_timespec is unavailable
Signed-off-by: Christian Lachner <gladiac@gmail.com>
Allows removing autotools hacks. Also simplified InstallDev section.
Added ABI_VERSION parameter for proper rebuilds. Also used in the
pkgconfig path fixup.
Small cleanups for consistency between packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Switched to CMake to simplify the Makefile and to remove autotools
hacks.
Replaced InstallDev with CMAKE_INSTALL.
Added PKG_BUILD_PARALLEL for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
libxcrypt is an external version of libc's libcrypt. It allows to use
algorithms now available with the libc. musl in OpenWrt for example
patches out several algorithms for size reasons. But for shadow-utils,
size does not really matter.
The hashes are set to solaris as that default gives a good balance
between compatibility and size. It includes:
bcrypt,
bcrypt_a,
sha512crypt,
sha256crypt,
md5crypt,
descrypt
The STRONG default adds several algorithms not supported by
shadow-utils.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Removed autoreconf as a result.
Unfortunately, the two versions are not identical. Bumped PKG_RELEASE
to deal with it.
Disable static libraries as they're fairly useless.
Adjusted filepaths.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Upstream created proper tarballs. Switch to those.
Removed autoreconf as a result.
Adjusted filepaths.
Removed upstreamed patch.
Disabled static libraries as they're not useful.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Upstream created proper tarballs. Switched to those.
Removed autoreconf as a result.
Adjusted filenames.
Got rid of static compiles as they're pretty useless.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Upstream finally got a proper tarball. Switched to that.
Remove autoreconf as it's no longer needed.
Adjusted new filepaths.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Cmake currently fails to compile properly. While there's a fix
upstream, we can avoid carrying any patches here, and use the more
stable build system, despite being slower.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Just as Rosen did for cereal in #12477.
Likewise, clean up the CMAKE_OPTIONS onto separate lines for readability.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Added miscellaneous fixes.
Fixed PKG_NAME to a sane one as v$(PKG_VERSION) can conflict with
others.
Separate CMAKE_OPTIONS in lines for clarity.
Add JUST_INSTALL_CEREAL to fix compilation with mips64.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Notable changes:
* Move some plugins from libelektra-plugins to libelektra-cpp because
they got reimplemented in C++.
* New package libelektra-zmq
* Move the crypto plugin from libopenssl to libgcrypt
* Disable host build: elektra doesn't need it anymore and nobody uses
kdb during package builds for now.
Closes: #12307
Signed-off-by: Harald Geyer <harald@ccbib.org>
The lxml package depends on the xsltGetProfileInformation() symbol to be
available.
Without it, the library is unusable at newer versions.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
The config symbol SSP_SUPPORT is ambiguous and means different
things to different packages: either "toolchain is compiled
with ssp support" or "toolchain uses gcc libssp". The use of the
symbol should be deprecated and the appropriate symbol used
instead.
Signed-off-by: Ian Cooper <iancooper@hotmail.com>
prereq-build.mk says that GCC 4.8 and above is supported. GCC 4.8
defaults to std=gnu89, breaking the build. GCC5 defaults to gnu99.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
prereq-build.mk says that GCC 4.8 and above is supported. GCC 4.8
does not default to gnu++11. This fixes compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
The minimum version of GCC according to prereq-build.mk is 4.8 which
defaults to gnu89. This breaks the host build when the host GCC is less
than 5, which defaults to gnu99. Add a simple CFLAG to fix.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
It seems 1.11.1 is old and has CVEs.
Removed boost hack since upstream removed boost support.
Removed outdated InstallDev hacks.
Added PKG_CPE_ID.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Update SQLite to version 3.32.0 to mitigate a security vulnerability.
This mitigates CVE-2020-11656
https://nvd.nist.gov/vuln/detail/CVE-2020-11656
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
* p11-kit: fix configuration directory
p11-kit looks for its configuration files in /etc/pkcs11, not /etc/p11-kit
Signed-off-by: Thibaut Robert <thibaut.robert@gmail.com>
* p11-kit: bump PKG_RELEASE
Signed-off-by: Thibaut Robert <thibaut.robert@gmail.com>
Starting in this version the upstream project
- only provides .xz tarball
- meson is the only supported build method
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
When measurement-kit is a build dependency (in PKG_BUILD_DEPENDS) of
another package, this package's build dependencies (in DEPENDS) may not
be selected and so may not be built.
(This package does not produce a shared library; the measurement-kit
target package contains a program that is statically linked to the
measurement-kit library. Other packages may include measurement-kit in
their PKG_BUILD_DEPENDS to link to the static library but not include
measurement-kit as a run-time dependency.)
This adds PKG_BUILD_DEPENDS to this package to ensure that its
dependencies are built in this case.
This also adds MEASUREMENT_KIT_BUILD_DEPENDS that dependant packages
should select to ensure that this package's dependencies are correctly
built. (libevent2-openssl and libevent2-pthreads need to be selected for
the necessary functionality to be enabled when compiling libevent2.)
This also adds openssl as an explicit dependency; it appears to be used
directly by this package.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Various fixes, nothing particularly standout as of particular interest
to OpenWrt. Full changelog at https://c-ares.haxx.se/changelog.html
Signed-off-by: Karl Palsson <karlp@etactica.com>
Fixes compilation when linking statically.
Made URL HTTPS.
Moved description section for consistency between packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Note:
add explicit -latomic on 32-bit MIPS because 32-bit MIPS is not able to perform 64-bit atomics in hardware
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
For speexdsp, support for NEON on aarch64 was added in 1.2.0[1].
[1]: https://github.com/xiph/speexdsp/pull/8
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Until now $(INSTALL_CONF) is used for configuration files that go into
/etc/mysql. This commit replaces that with $(INSTALL_DATA). The
configuration files are not only parsed by the server, but also by the
clients (which can be anybody).
This also removes a comment about a cron job from one of the
configuration files. There is no cron job.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
All packages in the tree that depend on libssh2 _and_ have their own
dependency on a TLS library, depend on OpenSSL by default. It makes
sense for the libssh2 package to default to OpenSSL as well. This way it
does not pull in a second TLS library.
Also, the OpenSSL dependency is changed to
"+!LIBSSH2_MBEDTLS:libopenssl", which fixes build issues in case libssh2
is not selected but built anyway.
And last, Config.in file is removed and its content added to the
Makefile instead.
Closes#12108
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
With openwrt/openwrt@8dcc108760, the ARM
FPU compiler options are no longer part of CONFIG_TARGET_OPTIMIZATION.
This updates various packages that look for NEON/VFP support to search
CONFIG_CPU_TYPE instead.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Besides the version bump, this backports a patch so that cmake uses the
same so version information as the current autotools, allowing the
switch over to cmake.
6.9.5_rev1 Changelog:
- Look-behind bug: if the look-behind contains a branch with a character
length of 0 and an anchor is included in the branch, the whole
look-behind is ignored
- POSIX API disabled by default -- enabled in openwrt, as at least
libevhtp needs it
- Update Unicode version 13.0.0
- NEW: Code point sequence notation \x{HHHH HHHH ...}, \o{OOOO OOOO ...}
- NEW API: retry limit in search functions
- NEW API: maximum nesting level of subexp call
- Fixed behavior of isolated options in Perl and Java syntaxes.
/...(?i).../
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
When libevhtp is added to a package's PKG_BUILD_DEPENDS (i.e. for
seafile-server), libevhtp's target package dependencies are not
automatically selected, in particular libevent2-openssl and
libevent2-pthreads.
Moreover, if libevent-openssl and libevent2-pthreads are not selected,
OpenSSL and thread support are disabled when compiling libevent2, which
in turn causes a compile error when building libevhtp.
This adds a config option, LIBEVHTP_BUILD_DEPENDS, that will select
libevent2-openssl and libevent2-pthreads (via LIBEVHTP_BUILD_SELECT)
when it is selected.
Other build dependencies are moved to PKG_BUILD_DEPENDS.
This also updates seafile-server to remove the (indirect) dependencies
added in 13d843fec1 and instead select
LIBEVHTP_BUILD_DEPENDS.
This also updates the maintainer's email address and adds myself as
another maintainer.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Commit 3a67097 removed the sed scripts that ran on neon-config. Now
there is build failure for Asterisk because a host include directory is
added to the build:
mips_24kc_musl/usr/lib/libintl-stub/include -I/store/buildbot/slave/shared-workdir/build/sdk/staging_dir/target-mips_24kc_musl/usr/include/libxml2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fPIC -DAST_MODULE=\"res_calendar_exchange\" -DAST_MODULE_SELF_SYM=__internal_res_calendar_exchange_self -I/usr/include/neon -I/store/buildbot/slave/shared-workdir/build/sdk/staging_dir/target-mips_24kc_musl/usr/include -pthread -I/store/buildbot/slave/shared-workdir/build/sdk/staging_dir/target-mips_24kc_musl/usr/include
res_calendar_exchange.c:34:10: fatal error: ne_session.h: No such file or directory
#include <ne_session.h>
^~~~~~~~~~~~~~
compilation terminated.
This commit adds back the sed scripts.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit updates Boost to version 1.73.0
In this release, there are two new libraries
- Nowide [2] - Standard library functions with UTF-8 API on Windows,
from Artyom Beilis.
- Static String [3] - A dynamically resizable string of characters
with compile-time fixed capacity and contiguous embedded storage,
from Vinnie Falco and Krystian Stasiowski.
More info about Boost 1.73.0 can be found at the usual place [1].
[1]: https://www.boost.org/users/history/version_1_73_0.html
[2]: https://www.boost.org/libs/nowide/
[3]: https://www.boost.org/libs/static_string/
Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
This is needed for newer versions of libupnpp. This may or may not also
be needed for newer versions of Gerbera.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
From upstream description:
JSON-GLib is a library providing serialization and deserialization
support for the JavaScript Object Notation (JSON) format described by
RFC 4627.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
gperf is a basic tool used when building packages. It's not available on
all hosts, in which case having a host package like this one is
required. For instance the CircleCI environment does not contain gperf,
in which case building of software requiring gperf fails.
This commit reverts the gperf removal.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This is an upstream backport.
Currently on the buildbots, having libffi unavailable leads to long
range build failures.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Converted to meson for speed.
Removed all patches. The issues have all been fixed upstream.
Minor cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
- Remove PKG_REV
- Reorder things to be more sync with other Makefiles
- Add PKG_BUILD_PARALLEL
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
- Change URL to use HTTPS instead of HTTP
- Remove empty row between maintainer and license
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This removes Python build variants and adds PYTHON3_PKG_BUILD:=0 (where
appropriate) for the Seafile packages.
This also updates the way the Python bindings packages are packaged,
using automake installation instead of manual install recipes.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This removes Python-related build variants, and adds
PYTHON3_PKG_BUILD:=0 and minor build adjustments (where appropriate),
for non-Python packages. There should be no changes to build output.
This also updates some include paths for python3-package.mk and/or
python3-host.mk to be relative to the package Makefile.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This adds PYTHON3_PKG_BUILD:=0, to disable the default Python package
build recipe. There should be no changes to build output.
This also updates include paths for python3-package.mk to be relative to
the package Makefile.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Converted to meson for compilation speed.
Removed uClibc-ng patch as tests no longer get built.
Small cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Modified to use meson as upstream has abandoned autotools.
Added license information.
Cleaned up Makefile for consistency between packages.
Added hack to compile static libs.
Removed old patches and add new ones.
Removed BUILD_PARALLEL options. These are default with ninja/meson.
Removed gettext build dependencies. glib2 now includes its own solution.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Massive cleanup of Makefile.
Remove inactive maintainer.
Remove completely unused host build.
Shorten title so that it shows under menuconfig.
Remove pointless static/shared choice.
Add C++17 patch as libcxx seems to need it with this package.
Add ABI_VERSION.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixed license information.
Update argp dependency to be for non glibc.
Added PKG_BUILD_PARALLEL for faster compilation.
Added --as-needed linker flag for slightly smaller size.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Upstream changed the v3.2.0 tag. Previously it referred to
haiwen/libsearpc@23f581b39f; now it refers
to haiwen/libsearpc@d1fd7518a2.
This changes the packaged version to the "new" v3.2.0 and switches to
using the git download method (technically the github_archive method),
since the codeload filenames of the previous and current versions are
the same but the files have different hashes.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Upstream messed up and did not include getlib.sh, causing a wrong version
to be applied to the library.
lrwxrwxrwx 1 libgd.so -> libgd.so.VERSION
-rw-r--r-- 1 libgd.so.VERSION
Signed-off-by: Rosen Penev <rosenp@gmail.com>
The wrong paths are specified, causing failures with depending packages
that use pkgconfig.
Removed CMAKE_INSTALL as a result. No point when InstallDev is explicit.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
The code uses __BEGIN/END_DECLS from glibc's features.h, actually
sys/cdefs.h, which is deprecated. Get rid of it.
Fixed license information.
Fixed musl-fts dependency. It's only valid for musl.
Removed autoreconf as the patch was removed.
Added PKG_INSTALL for consistency between packages.
Added PKG_BUILD_PARALLEL for faster compilation.
Small cleanups for consistency between packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixes input_event usage.
Removed autoreconf as we're not modifying any files.
Added PKG_BUILD_PARALLEL for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Switched to standard tarball. Allows to get rid of build hacks. Also
simplifies the Makefile a bit.
Add PKG_BUILD_PARALLEL for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
It was pointed out in #11504 that the code in python_init_once.patch is
incorrect; the patch does not prevent newtInit() from being called more
than once (in fact it is called twice the first time initScreen() is
called).
Testing without the patch, using the example code from the corresponding
Debian bug report[1], did not result in any segfaults.
This removes the patch from the package build.
Supersedes #11504.
[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557960#5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Helps applications restart safely.
Disabled optssdp. Not used by anything.
Disabled scriptsupport. Not used by anything.
Made all configure options explicit.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixes all known CVEs.
Various Makefile cleanups for consistency between packages.
Added PIC explicitly (was implicit). Removed two extra features.
Removed autoreconf and added PKG_BUILD_PARALLEL for faster compilation.
Roughly matched host configure args with target ones.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Building is failing during the test compilation due to static compilation.
Disable tests as they are not being used.
Signed-off-by: Paulo Machado <pffmachado@yahoo.com>
ICU 66 updates to Unicode 13, including new characters, scripts, emoji, and corresponding API constants. It also updates to CLDR 36.1 with Unicode 13 updates and bug fixes.
Create symbolic link to current version.
FIX CVE-2020-10531
An integer overflow, leading to a heap-based buffer overflow, exists in the UnicodeString::doAppend() function in common/unistr.cpp.
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Moved maintainer above for consistency between packages.
Reordered MESON_ARGS based on order of meson_options.txt.
Disabled Brotli.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This also moves the Python dependency from libsearpc to python3-searpc,
and adds myself as a maintainer.
Patches:
* 001-fix-memory-leak-GH-48.patch: This is (at this time) the only
difference between the tags v3.2.0 and v3.2-latest.
* 002-no-future-import.patch: The future package is only needed for
Python 2 compatibility; all of the functions/symbols it provides are
available in Python 3.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
It seems upstream abandoned sourceforge.
Add license information.
Fix CVE tag. It seems the mass CVE patch placed many wrong CVEs.
Add PKG_BUILD_PARALLEL for faster compilation.
Do not build patented functionality when BUILD_PATENTED is missing.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
The SUBDIRS variable has been removed in kernel 5.4, and was deprecated
since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD.
Signed-off-by: David Bauer <mail@david-bauer.net>
The SUBDIRS variable has been removed in kernel 5.4, and was deprecated
since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD.
Signed-off-by: David Bauer <mail@david-bauer.net>
Patches require a bit of rework:
- dropped 010-missing-header.patch
- add 010-do-not-run-test-progs.patch
- re-updated 020-filterh-use-host-built-version.patch
- Makefile.in gets regenerated from PKG_FIXUP:=autoreconf
- added PKG_FIXUP:=autoreconf ; it's easier to patch automake stuff that
big configure scripts
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
While at it making it as well kernel 5.4 compatible by backporting
upstream patch which synchronizes channel types and modifier lists in
the headers.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Currently the pc file has includedir hard coded to "/usr/include" and
libdir to "/usr/lib". This commit changes this so they can be controlled
via the "prefix" variable.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
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>
This is a beta release that introduces a software fallback mechanism
that greatly speeds up smaller requests by fulfilling them in software,
avoiding the latency of switching to kernel-mode for small jobs.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
- removes 001-automake-compat.patch:
Looks like this was meant as a workaround for a libtool issue. But it
doesn't appear to be needed anymore.
- cleans up installation defines (uses macros, cleans up sed scripts,
removes gratuitous slashes & whitespaces)
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- removes 001-autoconf-compat.patch:
Looks like this was meant as a workaround for a libtool issue. But it
doesn't appear to be needed anymore.
- removes 101-fix_apr_time_now.patch:
Mentioned in https://dev.openwrt.org/ticket/9287, meant as a fix, but
issue was fixed differently in the end (by activating LFS).
- removes 201-upgrade-and-fix-1.5.1.patch:
This is a cross-compile fix. This patch gets replaced by
001-cross-compile.patch from buildroot project. The latter was sent
upstream by buildroot and is in line with the patch used by OpenWrt
for the apache package.
- adds 002-sys-param-h.patch:
Fix PATH_MAX detection by including sys/param.h if available. Also
from buildroot.
Additionally configure variables found in buildroot package are added.
These also enable LFS support. This was previously done (in OpenWrt) by
defining _LARGEFILE64_SOURCE in TARGET_CPPFLAGS. But the configure
variable is cleaner (and easier to follow).
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Removed most patches. The last was upstreamed and the others can be worked
around using Makefile.
Removed inactive maintainer.
Added PKG_BUILD_PARALLEL for faster compilation.
Fixed license information.
Massive reorganization of Makefile for consistency between packages.
Removed --with-sql options. These are totally broken when cross compiling.
Leaving them out works just as well.
Added cpp patch as the test needs a header.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
That is endianness check is provided as option, SSP and other
flags are enabled by openwrt global flags to fix issues in unsupported
systems, and unused flags were removed.
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
squash commits
- add Eric Luehrsen as maintainer
- add ldns-example programs as option
- add ECDSA to support DNSSEC zones with these keys
- remove patches included upstream
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
In addition to being huge (1.5MB on mips24kc), it's not used by anything
here.
I believe this was added for use with kea but OpenSSL works just as well.
Probably faster too.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This version is up to 20% faster than 1.0.1, and allows compilation
without crypto_user information, which is currently failing for targets
still in the 4.9 kernel.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Use a fixed ENGINES_DIR location, instead of trying to read it from the
openssl Makefile.
It also fixes the zero-copy config option not being passed down to the
cmake options.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This was needed at a certain point by fbthrift. It is no longer needed.
A quick look on Arch Linux and Debian packages shows nothing uses it.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
As of version 2.4.2, libseccomp ships a new header file
seccomp-syscalls.h. Install it in InstallDev.
Fixes: 71b663b335 ("libseccomp: update to version 2.4.2")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Rosen Penev <rosenp@gmail.com>
This fixes the following build failure:
[ 66%] Generating ../doc/xml/ftdi_8c.xml
warning: Tag 'PERL_PATH' at line 2083 of file 'Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'MSCGEN_PATH' at line 2105 of file 'Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
[ 72%] Generating ftdi1_doc.i
Traceback (most recent call last):
File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 457, in <module>
main()
File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 453, in main
convert(args[0], args[1], not options.func_def, options.quiet)
File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 430, in convert
p = Doxy2SWIG(input, include_function_definition, quiet)
File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 72, in __init__
f = my_open_read(src)
File "/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/python/doxy2swig.py", line 44, in my_open_read
return open(source)
FileNotFoundError: [Errno 2] No such file or directory: '/home/stijn/Development/LEDE/source/build_dir/target-x86_64_musl/libftdi1-1.4/doc/xml/ftdi_8c.xml'
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Rosen Penev <rosenp@gmail.com>
This version adds a new RegSet API, and fixes the following:
- CVE-2019-19012
- CVE-2019-19203
- CVE-2019-19204
- CVE-2019-19246
- some problems (found by libFuzzer test)
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
004-avoid_ldap_by_defaut.patch:
By default use --avoid-ldap since apache2 is the only user, and we don't
want to add extra dependencies to other apr-utils rdepends. Patch from
Ryan Niebur <ryanryan52@gmail.com>, copied from Debian.
005-apu_config_dont_list_indep_libs.patch:
Prevent recursive linking of dependent libraries by apr-util users.
Patch from Peter Samuelson <peter@p12n.org>, also copied from Debian.
Makes libexpat and libiconv private.
006-avoid_db_by-default.patch:
Make apu-config not output dbm libs by default. See Debian #622081.
Patch from Stefan Fritsch <sf@debian.org>, also copied from Debian
While bumping the revision also correct license information.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This updates the library to address several CVEs, add modern
crypto, and eliminate legacy patches.
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
I was too aggressive in recommending that we remove the module symbolic
links of form libX.so as part of commit c9ce769b. It turns out that at
least Postfix relies on these, and I suspect any application that makes
use of libsasl2 will require them too.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
The test does not compile with --static.
As this does not touch binaries, not bumping the package release.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3.2.x is formally "not maintained" and people should stick with 3.1.x
until a new release of the master branch occurs. However, in reality,
3.2.1 has been released, with performance improvements and fixes.
Signed-off-by: Karl Palsson <karlp@etactica.com>
The php7-mod-gd package requires that freetype support exist in libgd,
but this is not included in the default libgd build. In order to allow
a working php7-mod-gd package while keeping the default libgd package
as small as possible, this commit introduces a -full variant of the
libgd package.
Ref: https://github.com/openwrt/packages/issues/10944
Signed-off-by: W. Michael Petullo <mike@flyn.org>
This functionality can be used by downstream applications such as
ttyd to present their HTTP service as a unix domain socket rather
than a TCP server.
Signed-off-by: Mathew McBride <matt@traverse.com.au>
This adds the following drivers as extra packages:
- openssl
- mysql
- odbc
- pgsql
- sqlite3
- gdbm (dbm)
- ldap
This also removes the gratuitous dependency on libsqlite3 from
libaprutil (dbd_sqlite3 was nevery packaged before, after all).
With this ldap and session-crypto support can be enabled in apache.
The mysql driver is currently marked BROKEN, because apr-util still uses
mysql server headers, which aren't part of mariadb-connector-c. But
there's work underway at apr-util upstream to fix that so that BROKEN
can be removed during a feature version bump.
The gdbm dbm driver got added together with a patch that fixes the error
handling. Patch is from Debian.
Resolves#10886
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Freetype support is required for php7-mod-gd as of commit 0f10c8c8,
which causes the PHP7 package to build using this external libgd library.
This commit adds FREETYPE_INCLUDE_DIRS to the definition of CMAKE_OPTIONS.
Without this, libgd does not build freetype support as shown by
this message:
....
Build libgd:
-- Could NOT find Freetype (missing: FREETYPE_INCLUDE_DIRS)
-- Configuring done
-- Generating done
....
Signed-off-by: W. Michael Petullo <mike@flyn.org>
* allows building as mips16 (fixes broken mips16/32 mixed static linking)
* add some static link related flags to reduce target binary size
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
- removes extra flags '$(FPIC)' etc., there is no good reason for them
being used
- stops removing aclocal.m4 and build/ltmain.sh (reason of removal of
these files is not apparent anymore)
- adds PKG_BUILD_PARALLEL:=1
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- removes '$(FPIC)' and '--without-pic', there is no good reason for
them being used (also @minfrin mentioned memory footprint implications
when '--without-pic' is used)
- stops removing aclocal.m4 and build/ltmain.sh (reason of removal of
these files is not apparent anymore)
- adds PKG_BUILD_PARALLEL:=1
Resolves#10884
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
IPFS C++ HTTP API client library allows C++ applications to communicate with an IPFS node.
It implements IPFS API bindings for C++. Not all methods are implemented.
https://github.com/vasild/cpp-ipfs-http-client
Signed-off-by: Leonid Esman <leonid.esman@gmail.com>
This commit updates Boost to version 1.72.0
There are no new libraries in this release.
Note:
- This commit also adds a post-release patch to fix an issue
with Boost.Coroutine
More info about Boost 1.72.0 can be found at the usual place [1].
[1]: https://www.boost.org/users/history/version_1_72_0.html
Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
backport patch for backtrace detection in h2o.
This patch solves the issue of uclibc pretending to be glibc
Signed-off-by: James Taylor <james@jtaylor.id.au>
musl doesn't support fts. But with the extra package musl-fts installed,
libzip picks up the fts header and fails at the linking stage:
zipcmp.c:(.text.startup+0x130): undefined reference to `fts_open'
/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/lib/gcc/mips-openwrt-linux-musl/8.3.0/../../../../mips-openwrt-linux-musl/bin/ld: zipcmp.c:(.text.startup+0x172): undefined reference to `fts_read'
So with musl-fts we need to link in libfts. To address that this commits
patches the cmake setup to check if fts is available in libc itself or
in any external libfts.
So when musl-fts is installed on the system the setup will be the
following:
musl: use libfts
uclibc: use fts from libc
glibc: like uclibc
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Add myself as maintainer.
Add PKG_CPE_ID.
Switch to submenu for easier readability.
Change libplist-utils name to the utility.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
dnsdist picks up cdb.h but can't link in the static archive.
/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/lib/gcc/mips-openwrt-linux-musl/8.3.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libcdb.a(cdb_init.o): relocation R_MIPS_26 against `fstat' can not be used when making a shared object; recompile with -fPIC
This commit extends the tinycdb Makefile to build and install as well
the shared library as well as the pic archive. dnsdist will then pick
the shared library.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
JSON for Modern C++ library.
Design goals: intuitive syntax, trivial integration, serious testing.
https://nlohmann.github.io/json/
IPFS C++ HTTP API client library depends on this library.
Signed-off-by: Leonid Esman <leonid.esman@gmail.com>
On some host machines (example: Gentoo amd64 no-multilib) by default
cmake will install libraries to lib64. But in OpenWrt the correct libdir
is lib (for instance the RPATH is set to lib). So you may end up with
libraries in lib64 while RPATH points to lib:
sk@darth ~/tmp/openwrt $ ldd staging_dir/hostpkg/bin/protoc
linux-vdso.so.1 (0x00007ffc741ea000)
libprotoc.so.3.8.0.0 => not found
libprotobuf.so.3.8.0.0 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f0a8f7ea000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libstdc++.so.6 (0x00007f0a8f572000)
libm.so.6 => /lib64/libm.so.6 (0x00007f0a8f427000)
libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libgcc_s.so.1 (0x00007f0a8f40d000)
libc.so.6 => /lib64/libc.so.6 (0x00007f0a8f23c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0a8f827000)
sk@darth ~/tmp/openwrt $
Fix this by specifying the libdir during host builds.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>