Commit Graph

2694 Commits

Author SHA1 Message Date
Josef Schlehofer 8677a0e3e5 libredblack: pass CFLAGS properly
Fixes build with enabled ASLR PIE

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit a615a821d9)
2020-03-23 12:32:11 +01:00
Hirokazu MORIKAWA 2509b0e894 icu: update to 66.1
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>
2020-03-19 16:26:30 +09:00
Rosen Penev 2085b990ff libarchive: update to 3.4.2
Switch to normal tarballs. Remove autoreconf as a result.

Several Makefile cleanups for consistency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit c22dd1bf74)
2020-03-16 22:20:43 +01:00
Josef Schlehofer 5827a1ed2c x264: add CONFIGURE_VARS and MAKE_FLAGS when NASM is not selected
- Remove dot in TITLE
- Use HTTPS in URL

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit faac2352e2)
2020-03-15 22:08:40 +01:00
Hirokazu MORIKAWA 408f666e64 libuv: update to 1.34.2
https://github.com/openwrt/packages/pull/11320#issuecomment-594032207

luv, libwebsockets, ttyd, netdata are build OK.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2020-03-04 11:14:26 -08:00
Rosen Penev 61b732e62f libaio: Update to 0.3.112
Replace inactive maintainer with myself.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 7cd204e99e)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[compile tested on powerpc_8540]
2020-03-02 16:24:08 +01:00
Nikos Mavrogiannopoulos 8b1101bbde gnutls: updated to 3.6.12
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-02-26 06:06:57 +01:00
Rosen Penev 76947a8be5 boost: reintroduce uClibc-ng patch
It's all fixed upstream. Backported a combination of three patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-16 00:19:30 -08:00
Rosen Penev b4febf32c5 liburcu: Don't build under ARC, not even InstallDev
This should finally get rid of buildbot failures.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 13810e0980)
2020-02-15 22:07:11 -08:00
Rosen Penev c7e1106d18 nss: Fix compilation with uClibc-ng
_GNU_SOURCE is needed for fdopen, sigaction, and probably more.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 7940093fd0)
2020-02-15 22:04:23 -08:00
Rosen Penev bdca0e7bf8 measurement-kit: Fix compilation with uClibc-ng
The define in the codebase is wrong. Fixed in the Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit a5b7a461d3)
2020-02-15 22:03:09 -08:00
Jan Pavlinec 8e746461f8 measurement-kit: update to version 0.10.9
Changes:
-enable geoip
-add geoip db package

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 3ee1b8eae5)
2020-02-15 22:02:53 -08:00
Rosen Penev 659b1b8074 boost: Fix embarassing ARC typo
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-02-15 21:55:30 -08:00
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