Commit Graph

2581 Commits

Author SHA1 Message Date
Sebastian Kemper 4cba41ac1d apr-util: sync with master
This is a squash of the following cherry-picked commits:

27c4723936
03124bf4b4
141bd55316
40c7e95210
1d25dcde24
ea5b746e58
a62c0e599b
a16b294805
c24f5d258b
f6c218e74d

Short summary:

- adds external modules (crypto-openssl dbd-mysql dbd-odbc dbd-pgsql
  dbd-sqlite3 dbm-gdbm ldap)
- Makefile and patches are updated and cleaned
- adds myself as maintainer
- improves the cross-compile setup (via configure variables sed scripts)

For more details please check the individual commits provided above.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-08 21:58:31 +01:00
Sebastian Kemper 391f5f087e apr: bump to 1.7.0 & sync with master
This is a squash of the following cherry-picked commits:

40a29bf055
40c7e95210
893a804c95
12037b3f29
193c3913b6
430ab5f9b3
0c6d461cc9
86396c6a49

Short summary:

- version is bumped to 1.7.0
- Makefile and patches are updated and cleaned
- adds myself as maintainer
- improves the cross-compile setup (via configure variables, patches &
  sed scripts)

For more details please check the individual commits provided above.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-08 21:39:29 +01:00
Josip Kelečić 0263d22733 sqlite3: update to version 3.31.1
Signed-off-by: Josip Kelečić <josip.kelecic@sartura.hr>
2020-02-03 19:54:06 +01:00
Sebastian Kemper 0eb7b3e4ed libxml2: install xml2-config with host triplet
Currently only xml2-config is installed, for both the normal libxml2
package as well as the host package. The problem with that is that due
to multilib considerations the build host may have xml2-config installed
with a host triplet prefix, like x86_64-pc-linux-gnu-xml2-config (and
xml2-config as a symbolic link to it). Gentoo for instance sets it up
like this.

Packages may actually search for a prefixed xml2-config before searching
for xml2-config. An example would be Asterisk:

checking for x86_64-pc-linux-gnu-xml2-config... /usr/bin/x86_64-pc-linux-gnu-xml2-config

This then introduces wrong information into the build, for instance
bad includes:

~/tmp/openwrt $ /usr/bin/x86_64-pc-linux-gnu-xml2-config --cflags
-I/usr/include/libxml2

When the intention is to use OpenWrt's own (host) libxml2 one would like
to see this output used instead:

~/tmp/openwrt $ ./staging_dir/hostpkg/bin/xml2-config --cflags
-I/home/sk/tmp/openwrt/staging_dir/hostpkg/include/libxml2

This commit addresses this by installing xml2-config with a suitable
prefix and creating a symbolic link xml2-config. This is done for both
the host package and the normal package. The latter also needs this fix
because the target may use the same triplet as the host system (for
instance x86_64 cross-compiling for x86_64).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-01 15:39:19 +01:00
Sebastian Kemper 6e5977094e libxml2/host: revert xml2-config prefix fix
Commit 218f0229a4594b32d9db6ad0678cdce7e2663e27 added a workaround for a
problem. The host compile overwrote xml2-config in
"$(STAGING_DIR)/host/bin". The workaround fixed the issue for regular
target packages. But it didn't leave a proper xml2-config script for
host packages.

Times have changed. Host packages are now installed in
"$(STAGING_DIR_HOSTPKG). So there is no longer any danger of the host
package overwriting the xml2-config script for target packages. So
revert the mentioned commit, leaving us with two proper xml2-config
scripts, one for target package builds and one for host package builds.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-02-01 15:37:57 +01:00
Sebastian Kemper 1ec76dd7ca libxslt/host: depend on libxml2/host
The host build requires libxml2-dev. This commit adds the dependency for
libxml2/host, as the host system may not have it installed. This also
avoids using the host's xml2-config (in /usr/bin for instance) while
linking to libraries in staging_dir/hostpkg.

ldd staging_dir/hostpkg/bin/xsltproc | grep xml2
	libxml2.so.2 => /home/sk/tmp/openwrt/staging_dir/hostpkg/lib/libxml2.so.2 (0x00007fcc0644c000)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry-picked from 05f0beb6a8)
2020-01-28 09:31:40 -08:00
Jan Pavlinec 4689c0998b libxslt: patch security issues
Fixes:
CVE-2019-13117
CVE-2019-13118

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from f77c53cff1)
2020-01-28 09:31:18 -08:00
Florian Eckert db7c84f672 libxslt: add host build
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry-picked from 48ad713a14)
2020-01-28 09:29:33 -08:00
Nicholas Smith c9cf3c2778 libqmi: add libqmi to packages
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2020-01-28 11:51:42 +10:00
Nicholas Smith 5f27a47010 libmbim: add libmbim to packages
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2020-01-28 11:51:25 +10:00
Andy Walsh e6c686454c glib2: fix mips16 build, add size reducing static link, fpic CFLAGS
* 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>
(cherry-picked from a558b20944)
2020-01-27 15:46:16 -08:00
Rosen Penev ef940752d2 glib2: Disable Werror
On GCC9, it throws a Wformat-nonliteral error. Unfortunately, there's no
easy was to fix it as it is fortify-headers where the warning ultimately
comes from.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from abdec8939e)
2020-01-27 15:45:32 -08:00
Jiri Slachta eee4d0830d tiff: update version to 4.1.0
Signed-off-by: Jiri Slachta <jiri@slachta.eu>
2020-01-26 09:11:27 +01:00
Eneas U de Queiroz 1410d6b737 afalg_engine: bump to v1.1.0
This version is up to 20% faster than 1.0.1.
Build without cryptouser information, which is not available in 19.07.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-01-19 16:16:25 -03:00
Josef Schlehofer 072fcb5ce4 libseccomp: add seccomp-syscalls.h to InstallDev
In the version 2.4.2, there was introduced a new header file.
Ship it to InstallDev

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-01-19 11:37:57 +01:00
Eneas U de Queiroz 8ba3c7b19d afalg_engine: fix ENGINES location, zero-copy
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>
(cherry-picked from 6a5f7920e9)
2020-01-17 15:37:26 -08:00
Eneas U de Queiroz 776216a652 afalg_engine: add new package
This is an alternate AF_ALG engine for openssl, based on the devcrypto
engine, but using the AF_ALG interface instead of /dev/crypto.

It is different than the AF_ALG engine that ships with OpenSSL:
  - it uses sync calls, instead of async
  - it suports more algorithms

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 0e0bd6da4b)
2020-01-17 09:40:32 -03:00
Jan Pavlinec ba43556aed libarchive: update to version 3.4.1 (security fix)
Fixes CVE-2019-19221

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from df634dcc92)
2020-01-16 14:35:18 -08:00
Eneas U de Queiroz ff87e8dbfa oniguruma: bump to version 6.9.4
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>
(cherry-picked from 94895ec818)
2020-01-16 14:34:14 -08:00
Josef Schlehofer 6a64b7affe libseccomp: update to version 2.4.2
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-01-13 22:58:48 +01:00
Jan Pavlinec ffdbf4e7c3 measurement-kit: update to version 0.10.8
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 744e2dd19d)
2020-01-11 09:20:17 +01:00
Jan Pavlinec 8f037084bc measurement-kit: update package
Changes:
-add InstallDev section
-remove uclibc patch (issue fixed in upstream)

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit df853b2d20)
2020-01-11 09:20:08 +01:00
Jan Pavlinec 8f2eb8f2da measurement-kit: update to version 0.10.6
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 2949906ec4)
2020-01-11 09:20:02 +01:00
Sebastian Kemper 9adadfd8ec sqlite3: bump to version 3.30.1
Fixes CVE-2019-16168

In other news:

- adds ABI_VERSION
- prefers INSTALL_DATA over CP
- removes gratuitous trailing slashes

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry-picked from commit 33fecfefec)
2020-01-04 23:21:19 +01:00
Sebastian Kemper 3bfc11ea22 sqlite3: bump to 3.29.0
Fixes CVE-2019-5018
Also drops upstreamed patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 2f7fbde7d6)
2020-01-04 23:19:54 +01:00
Rosen Penev 9ec8652533 Merge pull request #10940 from Andy2244/samba-4.11.4-(19.07)
[19.07] samba4: update to 4.11.4 (python3 version), add rpcsvc-proto, add libasn1 host build
2020-01-03 16:32:02 -08:00
Andy Walsh 85066d81d0 samba4: update to 4.11.4 (python3 version), add rpcsvc-proto, add libasn1 host build
* update to 4.11.4 (python3 version)
* re-enable AD-DC option
* add 'samba_nice' UCI option via "config procd 'extra'"
* restructure buildsteps (don't rely on waf --targets logic)
* move quota option into VFS
* move ACL option into AC-DC
* add more admin-tools
* use rpath_install for libs
* fix rpath + rstrip

extra:
* add rpcsvc-proto package _(don't rely on nfs-utils/host for headers, rpcgen anymore)_
* add libasn1 host build _(samba4 is looking for the bins)_

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-01-04 01:08:11 +01:00
Andy Walsh 71d639a45f libtirpc: update to 1.2.5
* update to 1.2.5
* remove upstream merged patches

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-01-04 00:48:23 +01:00
Hirokazu MORIKAWA a23285c002 libuv: update to 1.32.0
[openwrt-19.07] libuv: update to 1.32.0

update to 1.32.0
Update is required to build the latest node.js v12.x.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2019-12-24 10:54:22 +09:00
Jan Pavlinec c1b410d7a5 lmdb: use toolchain AR for compilation
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 7c82793719)
2019-12-21 21:53:13 +01:00
Rosen Penev 9fffb2b688 icu: Backport C++11 math patch
Fixes compilation with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 93d049951d)
2019-12-19 20:34:21 -08:00
Lucian Cristian 96c667a128 nspr: update to 4.24
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 07f62dbe46)
2019-12-18 23:49:45 +01:00
Lucian Cristian ad246b3633 nspr: update to 4.23
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit d9bb633a49)
2019-12-18 23:49:40 +01:00
Lucian Cristian 8f48dc3341 nspr: update to 4.22
drop upstreamed patches

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit af9209fb31)
2019-12-18 23:49:34 +01:00
Lucian Cristian 78e241c54b nss: update to 3.48
also package libnssckbi.so

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 4ad6e14ac8)
2019-12-18 23:47:54 +01:00
Lucian Cristian 7e51bdee04 nss: update to 3.47.1 and fix xscale
also refresh patches

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 3bacf6e9cb)
2019-12-18 23:47:49 +01:00
Lucian Cristian da51495aa8 nss: update to 3.47
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 8013893745)
2019-12-18 23:47:43 +01:00
Lucian Cristian 5b1beec9d9 nss: update to 3.46.1
and clean some comments

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 4da3baea35)
2019-12-18 23:47:36 +01:00
Lucian Cristian d4d798baad nss: update to 3.46
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 257351976f)
2019-12-18 23:47:31 +01:00
Rosen Penev 0b2a73d15b nss: Replace usleep with nanosleep
usleep is deprecated and is optionally not available with uClibc-ng.

Added PKG_LICENSE_FILES.

Added PKG_CPE_ID for proper CVE tracking.

Other minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 1f1cec28b7)
2019-12-18 23:46:54 +01:00
Lucian Cristian 666cce12c0 nss: update to 3.45
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 80c7a5c119)
2019-12-18 23:46:49 +01:00
Lucian Cristian 01b9bf1a18 nss: update to 3.44.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 9a4dae73b4)
2019-12-18 23:46:42 +01:00
Michael Heimpold 7ebd7011cc libmodbus: update to 3.1.6
Also fix the license information: in older versions the test programs
were GPL 3 licensed, but meanwhile it changed to BSD license.
But since this package only packages the library itself, we can
safely focus only on the LGPL here which covers the library itself.

While at, fix a minor nitpick during library symlink installation.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2019-12-17 14:35:54 +00:00
Nikos Mavrogiannopoulos 1781209bed gnutls: fixed pkg-hash to the right one
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-12-02 17:41:58 +01:00
Nikos Mavrogiannopoulos b551c53299 gnutls: updated to 3.6.11
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-12-02 17:14:24 +01:00
Rosen Penev f00d0a0185 boost: Fix fiber compilation for mips
The issue was that the pause instruction was emitted through an asm
directive which was not correct for some mips platforms.

Simplified boost-fiber-exclude as a result.

Removed uClibc-ng math patch. It was not correct as it broke float and
long double support (std variants use function overloads). A different
solution was applied upstream. As it's quite annoying to backport, just
wait until a new release comes with that change. ARC as a platform is
barely supported anyways.

Swapped asio patch for the upstream submission, which is unfortunately, in
limbo.

Refreshed remaining patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from f795779c0a)
2019-11-16 18:14:11 -08:00
Rosen Penev 6371fc55d9 boost: Remove several host libraries
The facebook people have been working on removing Boost dependencies from
their projects. This is the current state.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from ddd4109c1c)
2019-11-16 18:13:52 -08:00
Rosen Penev 6002ef66b5 boost: Remove thread dependency from context
thread is only used when the C++ mutex header is missing. AFAIK, this is
the case on Windows and not on Linux. Certainly not in OpenWrt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 260d4a346a)
2019-11-16 18:12:52 -08:00
DENG Qingfang 39001de7b0 pcre: remove unnecessary dependency on C++ lib
Add libpcrecpp to PKG_CONFIG_DEPENDS to properly trigger
reconfiguration, avoiding unnecessary dependency.

This reverts commit 17090fecf1.
This reverts commit ec138f51ab.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
(cherry-picked from 41814de0fc)
2019-11-12 20:16:00 -08:00
Jan Hák f7cc8ad37b libedit: update to 20191025-3.1
Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry-picked from commit 440c27a4a5)
2019-11-10 18:31:41 +01:00