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>
- 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>