Commit Graph

298 Commits

Author SHA1 Message Date
Rosen Penev
ca31c453be libfido2: update to 1.12.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:39 +08:00
Rosen Penev
79c03c8e25 libfido2: update to 1.8.0
Switch to AUTORELEASE for simplicity.

Remove no longer necessary warning fixes.

Add now needed zlib dependency.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:38 +08:00
Rosen Penev
6854ea1319 libffi: don't build host shared libs
Avoids rpath hacks.

Add --with-pic. Needed for static library.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:38 +08:00
Stijn Tintel
b798d81822 libffi: bump to 3.4.2
Remove both patches as they have been upstreamed.
This new release is only available on Github and does not ship configure
or Makefile, so autoreconf is needed.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-11-08 14:58:38 +08:00
Rosen Penev
05dbef1f9c libextractor: fix iconv handling
Autoreconf is enough to fix.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:38 +08:00
Rosen Penev
124b2da87b libexif: update to 0.6.24
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:37 +08:00
Rosen Penev
8879c981ea libexif: update to 0.6.23
Switch to AUTORELEASE for simplicity.

Fix license information.

Add PKG_BUILD_PARALLEL for faster compilation.

Fixes CVE-2020-0198 and CVE-2020-0452.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:37 +08:00
Rosen Penev
a0fa796f08 libesmtp: update to 1.1.0
New upstream. Uses meson now. Removed outdated patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:37 +08:00
Jan Hák
9390d1cdee libedit: update to version 20221030-3.1
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2022-11-08 14:58:37 +08:00
Jan Hak
7f2c327141 libedit: update to version 20210522-3.1
Signed-off-by: Jan Hak <jan.hak@nic.cz>
2022-11-08 14:58:37 +08:00
Rosen Penev
9f60d15f22 libdrm: update to 2.4.114
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:37 +08:00
Rosen Penev
6b9981a731 libdrm: fix bad formats for mips64 and ppc64
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:36 +08:00
Rosen Penev
97e821fc3e libdnet: update to 1.16.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:36 +08:00
Rosen Penev
4cd1608c02 libdnet: fix compilation under macOS
configure checks the host system not the target one. Override these
variables.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:36 +08:00
W. Michael Petullo
80e3eab03a libdaq3: update to 3.0.7
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-11-08 14:58:36 +08:00
Michal Hrusecky
0fbbbcfcb5 libdaq3: Enable NFQ DAQ
Enable support for DAQ module that uses NFQUEUE.

Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
2022-11-08 14:58:35 +08:00
W. Michael Petullo
9118978c0b libdaq3: update to 3.0.5
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-11-08 14:58:35 +08:00
Rosen Penev
5fa9348db5 libconfig: update to 1.7.3
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:35 +08:00
Leo Soares
3974b84276 libcoap: make sure libcoap-3-notls.so is installed
This commit fixes an issue where the `libcoap-3-notls.so` is not installed,
in some cases leaving the target's root with no library and just a broken link
from `libcoap-3.so` to `libcoap-3-notls.so`.

Signed-off-by: Leo Soares <leo@hyper.ag>
2022-11-08 14:58:35 +08:00
Rosen Penev
1caab41298 libcoap: update to 4.3.0
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:35 +08:00
Rosen Penev
7886a16ce2 libcap-ng: update to 0.8.3
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:34 +08:00
Rosen Penev
9979914a08 libcap-ng: update to 0.8.2
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:34 +08:00
Hauke Mehrtens
98adba887b libarchive: Backport build fix for glibc 2.36
This backports a build fix for libarchive when compiling against
glibc 2.36.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-11-08 14:58:34 +08:00
Rosen Penev
8d8825c284 libarchive: update to 3.6.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:33 +08:00
Petr Štetiar
961ba6c465 libarchive: fix ext2fs build race error condition
libarchive looks for ext2fs headers during configure, and if it finds
them it will expect to find them during compile, or on the rare occasion
when they aren't it will fail:

 libarchive/archive_entry.c:59:55: fatal error: ext2fs/ext2_fs.h: No such file or directory

As we just need headers for some type constants, let's re-use headers
from tools/e2fsprogs package which are always available.

Reported-by: Adam Dov <adov@maxlinear.com>
Suggested-by: Paul Eggleton <paul.eggleton@linux.intel.com>
References: https://git.yoctoproject.org/poky/commit/?id=f0b9a7cf9f80be1917e45266fa201f464a28c1e5
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-11-08 14:58:33 +08:00
Josef Schlehofer
4476c2e504 libarchive: add conflict to bsdtar/bsdtar-noopenssl
Fixes:
Packages 'bsdtar' and 'bsdtar-noopenssl' do not conflict while providing same file: /usr/bin/bsdtar

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-11-08 14:58:33 +08:00
Rosen Penev
34d91d63db libarchive: update to 3.5.2
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:33 +08:00
Rosen Penev
963630b717 libaio: update to 0.3.113
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:33 +08:00
Eric Luehrsen
13a1dd8467 ldns: update to 1.8.3
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2022-11-08 14:58:33 +08:00
Eric Luehrsen
97a0dd79c0 ldns: update to 1.8.1
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2022-11-08 14:58:32 +08:00
Rosen Penev
b4583a3a22 jsoncpp: update to 1.9.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:32 +08:00
Hirokazu MORIKAWA
acc6d5be7f icu: bump to 72.1
It updates to Unicode 15, including new characters, scripts, emoji, and corresponding API constants. It also updates to CLDR 42 locale data with various additions and corrections.

ICU 72 adds technology preview implementations for person name formatting, as well as for a new version of message formatting based on a proposed draft Unicode specification.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-11-08 14:58:32 +08:00
Daniel Golle
61ff06899f hiredis: update to version 1.0.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-11-08 14:58:32 +08:00
Rosen Penev
a7a3ea5928 hiredis: fix compilation with macOS
uname is used to test the host OS. Override it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:32 +08:00
Rosen Penev
36b075248f hidapi: update to 0.12.0
Switch to cmake.

Add upstream patch fixing iconv detection.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:32 +08:00
Rosen Penev
9eab0ce0a0 hidapi: update to 0.10.1
Switch to AUTORELEASE for simplicity.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:58:31 +08:00
Boris Krasnovskiy
9cfc82bdb3 gnutls: Avoid building unused gnutls dependency
Avoid building unused gnutls dependency

Signed-off-by: Boris Krasnovskiy <borkra@gmail.com>
2022-11-08 14:43:46 +08:00
Rosen Penev
e03daef9d1 glib2: backport locale fix
Fixes compilation with non English locale.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:43:46 +08:00
Rosen Penev
b3d7dc82dd glib2: update to 2.74.0
Remove upstreamed patch and delete pointless one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:43:45 +08:00
Stijn Tintel
45982f74ab glib2: disable fortify source
The glib2 package fails to build when CONFIG_PKG_FORTIFY_SOURCE_1 or
CONFIG_PKG_FORTIFY_SOURCE_2 is enabled in the OpenWrt config:

In file included from ../glib/libcharset/localcharset.c:28:
/home/stijn/Development/OpenWrt/openwrt/staging_dir/toolchain-powerpc64_e5500_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'snprintf':
/home/stijn/Development/OpenWrt/openwrt/staging_dir/toolchain-powerpc64_e5500_gcc-11.2.0_musl/include/fortify/stdio.h:101:9: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
  101 |         return __orig_snprintf(__s, __n, __f, __builtin_va_arg_pack());
      |         ^~~~~~
/home/stijn/Development/OpenWrt/openwrt/staging_dir/toolchain-powerpc64_e5500_gcc-11.2.0_musl/include/fortify/stdio.h: In function 'sprintf':
/home/stijn/Development/OpenWrt/openwrt/staging_dir/toolchain-powerpc64_e5500_gcc-11.2.0_musl/include/fortify/stdio.h:110:17: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
  110 |                 __r = __orig_snprintf(__s, __b, __f, __builtin_va_arg_pack());
      |                 ^~~
/home/stijn/Development/OpenWrt/openwrt/staging_dir/toolchain-powerpc64_e5500_gcc-11.2.0_musl/include/fortify/stdio.h:114:17: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
  114 |                 __r = __orig_sprintf(__s, __f, __builtin_va_arg_pack());
      |                 ^~~

Disable fortify source for the package as a workaround.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-11-08 14:43:45 +08:00
Rosen Penev
69c59fc2d1 glib2: remove libiconv/host build dependency
No longer present. The original reason for having it was an unfortunate
side effect of the way meson uses HOST_LDFLAGS. Since the transistion to
use dependency('iconv'), this is no longer relevant.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:43:45 +08:00
Rosen Penev
0ccf4966e2 glib2: replace intl patch with upstream solution
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:43:45 +08:00
Sebastian Kemper
edde446cac glib2: update libintl handling
glib2's meson.build runs check cc.has_function('ngettext', args :
osx_ldflags) and, if successful, it never looks for non-libc libintl.
For musl and glibc this test is always successful.

glib2 unconditionally sets ENABLE_NLS, so during compile <libintl.h>
gets included always. But then we have a disconnect when the OpenWrt pkg
is being built with BUILD_NLS=y, because the <libintl.h> will be from
libintl-full but glib2 will not link to libintl-full.

With BUILD_NLS=n there's no problem, because the <libintl.h> will be
from libc.

In lieu of proper libintl detection in glib2's meson build, removing the
SED call from the Makefile together with the added patch sorts this out.
The SED call can be removed because when we force libintl-full use, the
meson build will put the necessary linker flag into the pkg-config file
itself.

Alpine Linux does something similar (see [1]), but they always force
the use of the external libintl. I assume they always go for full NLS
support.

[1] https://git.alpinelinux.org/aports/tree/main/glib/musl-libintl.patch

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-11-08 14:43:45 +08:00
Rosen Penev
3de25485dd glib2: update to 2.70.5
Enabled glib_checks to fix podman.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:43:44 +08:00
Alois Klink
adda53bcb1 gdbm: configure with --without-readline
By default, gdbm configures/builds with readline and curses support
if they exist.

This can cause race conditions when compiling gdbm and ncurses in
parallel, as gdbm may try to link to ncurses when it doesn't exist.

This commit forces gdbm to skip using readline/ncurses, since it's
unlikely that anybody is using the line-editing feature of gdbm.

See [gdbm's README][1] for more info.

[1]: https://git.gnu.org.ua/gdbm.git/tree/README?h=v1.21#n50

Signed-off-by: Alois Klink <alois@aloisklink.com>
2022-11-08 14:35:58 +08:00
Rosen Penev
ba61c57124 gdbm: update to 1.21
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:35:57 +08:00
Alexandru Ardelean
4d3d18e707 libs: gdbm: enable/install Berkley DBM compat layer
Python supports both GNU dbm and Berkley DBM.
GNU dbm also has a compatibility layer for Berkeley.

The current Berkley DB in OpenWrt is 4.7 and hasn't been updated in ages.
It's also pretty big.

So, an alternative for Python is to use GNU dbm for both (GNU and Berkley).

Also, removing static shared libraries from the build, to encourage the
usage of the shared ones.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-11-08 14:35:57 +08:00
Rosen Penev
c9f65d1ae4 freetype: update to 2.11.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:35:57 +08:00
Rosen Penev
66f17c5245 elektra: actually fix compilation with iconv
find_package needs to be moved outside of if.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:35:57 +08:00
Rosen Penev
b15f69d3ea elektra: fix compilation with external iconv
Patch mostly taken from hidapi.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-11-08 14:35:57 +08:00