Commit Graph

4802 Commits

Author SHA1 Message Date
Volker Christian
d8776fd36e libucontext: Add package
Description (from libucontext github page):
libucontext (https://https://github.com/kaniini/libucontext) is a
library which provides the ucontext.h C API. Unlike other
implementations, it faithfully follows the kernel process ABI when
doing context swaps. libucontext is used on almost all musl
distributions to provide the legacy ucontext.h API.

This package is meant as a development package. There is no need
to install a package on the router if an application or library
is linked against the static libraries. Though, shared libraries
are provided also.

It is used to link libraries/applications against it which need the
system calls

* makecontext
* swapcontext
* getcontext
* setcontext

E.g. the asynchronous API of libmariadb (c-connector) uses this
system calls. Because libmusl didn't provide that system calls this
synchronous API is currently (without libucontexe) not working - it
segfaults.

Co-developed-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Volker Christian <me@vchrist.at>
(cherry picked from commit 635a702255)
2023-09-16 17:07:43 +08:00
Jeffery To
ff68c364d6 slang2: Remove pcre module
pcre is obsolete and upstream has not yet migrated to pcre2.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 106304c988)
2023-09-09 13:15:02 +08:00
Jeffery To
7758a2da40 slang2: Avoid building dependencies unless necessary
This also hides the module packages in menuconfig unless the libslang2
package is selected.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 03ef02f0f4)
2023-09-09 13:14:33 +08:00
Jeffery To
8b7cb3b300 mpfr: Update to 4.2.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 5c11c3717a)
2023-09-03 22:57:53 +08:00
Luca Barbato
f99d728916 nvme-cli: Fix categorization
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit b5463d16f1)
2023-09-03 18:27:45 +08:00
Luca Barbato
0ae68980d7 nvme-cli: Add new package
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 06e9fdfe00)
2023-09-02 16:10:03 +02:00
Volker Christian
2cba6cd07b file: Fix FTBFS due to missing dependency
Fixes #21583

zstdlib and lzlib support is currently not neccessary for OpenWRT.
Thus, Explicitly disable zstdlib and lzlib as they would be enabled
automatically in case they are already installed.

Signed-off-by: Volker Christian <me@vchrist.at>
(cherry picked from commit 3ee4f030b5)
2023-08-28 08:53:28 +08:00
Volker Christian
d99e9f66cd File: Fix segfault
Executables depending on binary package libmagic segfault in case
package file is not installed. Libmagic needs file
/usr/share/misc/magic to not segfault. Thus, install
/usr/share/misc/magic along with libmagic and not with file.

Signed-off-by: Volker Christian <me@vchrist.at>
(cherry picked from commit 5362b272cb)
2023-08-28 08:53:28 +08:00
Volker Christian
69764b8558 File: Update to version 5.44
Signed-off-by: Volker Christian <me@vchrist.at>
(cherry picked from commit dae4f184f7)
2023-08-28 08:53:28 +08:00
Volker Christian
7f3764293e Nlohmannjson: Update to version 3.11.2
Compile tested: OpenWRT-23.05-rc2, arm_cortex-a7_neon-vfpv4, mips_24kc
Run tested: arm_cortex-a7_neon-vfpv4 (Linksys MR8300), mips_24kc (tplink_archer-a7), OpenWrt 23.05-rc2)

* Update package nlohmannjson to version 3.11.2.
* Version 3.11.2 is source compatible with 3.10.2 so no package should fail to compile
* From version 3.11.2 on forward template declarations are collected in the file
  json_fwd.hpp. The json.hpp still contains all template definitions.
  Because in most compilation units of a software package only the file json_fwd.hpp
  needs to be included, the compilation process is accelerated a lot.

Signed-off-by: Volker Christian <me@vchrist.at>
(cherry picked from commit 8bd6e23fad)
2023-08-27 15:33:28 +08:00
Volker Christian
05bbbb6b53 easyloggingpp: Update version to 9.97.1
Update to version 9.97.1 of easyloggingpp

Changelog from upstream
* Ensuring the build on ARM64 works
* Update gtest and cmake now requires C++14 because of that

Compile tested: arm_cortex-a7_neon-vfpv4, mips_24kc, aarch64_cortex-a53

Run tested: Linksys MR8300 (arm_cortex-a7_neon-vfpv4)
            GL.iNet GL-A1800 (arm_cortex-a7_neon-vfpv4)
            TP-Link_Archer A7 (mips_24kc),
            GL.iNet GL-MT3000 (aarch64_cortex-a53)

Signed-off-by: Volker Christian <me@vchrist.at>
(cherry picked from commit d8df885ac6)
2023-08-26 10:57:37 +02:00
Volker Christian
c74e72580b easyloggingpp: Add package
Maintainer: me@vchrist.at
Compile tested: OpenWRT-23.05-rc2, arm_cortex-a7_neon-vfpv4, mips_24kc
Run tested: arm_cortex-a7_neon-vfpv4 (Linksys MR8300), mips_24kc (tplink_archer-a7), OpenWrt 23.05-rc2

Description:
Easylogging++ is single header efficient logging library for C++ applications. It is extremely powerful,
highly extendable and configurable to user's requirements.

Signed-off-by: Volker Christian <me@vchrist.at>
(cherry picked from commit 2611e7c798)
2023-08-26 10:57:37 +02:00
Tianling Shen
5e87866b6a inih: Update to r57
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 195053fba4)
2023-07-16 03:08:07 +08:00
Hirokazu MORIKAWA
01ade55f68 c-ares: bump to 1.19.1
This is a security and bugfix release.

Security
o CVE-2023-32067. High. 0-byte UDP payload causes Denial of Service
o CVE-2023-31147. Moderate. Insufficient randomness in generation of DNS
query IDs
o CVE-2023-31130. Moderate. Buffer Underwrite in ares_inet_net_pton()
o CVE-2023-31124. Low. AutoTools does not set CARES_RANDOM_FILE during cross
compilation

Fixing libcares.pc
 The pkg-config file libcares.pc in version 1.19.1 has been changed to be unsuitable for OpenWrt
 and causes build errors with Openwrt packages that use libcares.
 For this reason, libcares.pc was replaced.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 4c4d3b9001)
2023-06-22 22:25:50 +08:00
Eneas U de Queiroz
771e7385ea gost_engine: disable tests, reset patches dir
Tests are breaking compilation for mipsel targets because of the removal
of the sysmips call.  Let's just not build them.

While at it, remove patches from 1.1 version and move the current ones
to the default 'patches' directory.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 085dc8d965)
2023-06-19 16:59:26 +08:00
Hirokazu MORIKAWA
13fe4f122b libuv: bump to 1.45.0
1.45.0
* linux: introduce io_uring support
* src: add new metrics APIs
* unix,win: give thread pool threads an 8 MB stack
* win,unix: change execution order of timers

1.44.2
* loop: better align order-of-events behavior between platforms
* zos: fix fs event not fired if the watched file is moved/removed/recreated
* win: Fix pipe resource leak if closed during connect (and other bugs)
* zos: don't error when killing a zombie process
* macos: avoid posix_spawnp() cwd bug
* kqueue: skip EVFILT_PROC events when invalidating events for an fd.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit cf7e9a77c9)
2023-06-19 14:45:32 +08:00
Hirokazu MORIKAWA
3bd3ae1489 icu: bump to 73.2
ICU 73.2 updates to CLDR 43.1 locale data. These are maintenance releases for ICU 73 and CLDR 43, with limited sets of bug fixes and no API or structural changes.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit a5e21caa82)
2023-06-17 16:33:50 +08:00
Hirokazu MORIKAWA
e04d159909 libmraa: riscv64 not supported
Addresses buildbot errors

> CMake Error at CMakeLists.txt:193 (message):
>  Only x86, arm, mips, PERIPHERALMAN and mock platforms currently supported

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 8b777d2ec6)
2023-06-15 21:01:11 +08:00
Oskari Rauta
6b87b20785 gnu-efi: update to version 3.0.17
update library + add new package containing efi programs
provided by gnu-efi library.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
(cherry picked from commit 232b73ed9a)
2023-06-15 02:16:24 +08:00
Jitao Lu
4ed85ea247 glib2: disable gnulib printf
A compiler bug (suspiciously) blocks gnulib compilation for
mipsel_24kc_24kf. While we had this patch to disable gnulib, it was
accidentally removed by 5d27631d9f. Add it
back to fix the long broken build for mipsel_24kc_24kf.

Fixes: #19511
Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
2023-06-11 20:56:12 +03:00
Hirokazu MORIKAWA
2eabf45e4b avahi: Import patches for security fixes
Imported patches included in debian and other package.

* 200-Fix-NULL-pointer-crashes-from-175.patch
  CVE-2021-3502
   A flaw was found in avahi 0.8-5. A reachable assertion is present in avahi_s_host_name_resolver_start function allowing a local attacker to crash the avahi service by requesting hostname resolutions through the avahi socket or dbus methods for invalid hostnames. The highest threat from this vulnerability is to the service availability.

* 201-Avoid-infinite-loop-in-avahi-daemon-by-handling-HUP-event.patch
  CVE-2021-3468
   A flaw was found in avahi in versions 0.6 up to 0.8. The event used to signal the termination of the client connection on the avahi Unix socket is not correctly handled in the client_work function, allowing a local attacker to trigger an infinite loop. The highest threat from this vulnerability is to the availability of the avahi service, which becomes unresponsive after this flaw is triggered.

* 202-avahi_dns_packet_consume_uint32-fix-potential-undefined-b.patch
   avahi_dns_packet_consume_uint32 left shifts uint8_t values by 8, 16 and 24 bits to combine them into a 32-bit value. This produces an undefined behavior warning with gcc -fsanitize when fed input values of 128 or 255 however in testing no actual unexpected behavior occurs in practice and the 32-bit uint32_t is always correctly produced as the final value is immediately stored into a uint32_t and the compiler appears to handle this "correctly".
Cast the intermediate values to uint32_t to prevent this warning and ensure the intended result is explicit.

* 203-Do-not-disable-timeout-cleanup-on-watch-cleanup.patch
   This was causing timeouts to never be removed from the linked list that tracks them, resulting in both memory and CPU usage to grow larger over time.

* 204-Emit-error-if-requested-service-is-not-found.patch
   It currently just crashes instead of replying with error. Check return
value and emit error instead of passing NULL pointer to reply.

* 205-conf-file-line-lengths.patch
   Allow avahi-daemon.conf file to have lines longer than 256 characters (new limit 1024).

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit 779af4d40c)
2023-06-10 15:27:06 +08:00
Tianling Shen
d1bb684fb3 Merge pull request #21235 from jefferyto/python-gmpy2-2.1.5-openwrt-23.05
[openwrt-23.05] python-gmpy2: Update to 2.1.5; add new dependencies
2023-06-01 16:01:34 +08:00
Tianling Shen
ffe0d67b08 inih: add new package
It's required by next xfsprogs update.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit abfe6272cd)
2023-06-01 14:52:08 +08:00
Jeffery To
a1e8a38410 libmpc: Add package
From the documentation:

GNU MPC is a portable library written in C for arbitrary precision
arithmetic on complex numbers providing correct rounding. It implements
a multiprecision equivalent of the C99 standard. It builds upon the GNU
MP and the GNU MPFR libraries.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4d64d5f80a)
2023-05-31 22:11:01 +08:00
Jeffery To
f743dca6c8 mpfr: Add package
From the documentation:

MPFR is a portable library written in C for arbitrary precision
arithmetic on floating-point numbers. It is based on the GNU MP library.
It aims to provide a class of floating-point numbers with precise
semantics.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 925bd16945)
2023-05-31 22:10:44 +08:00
Tianling Shen
7cd7833774 ipfs-http-client: remove package
This package lacks proper maintenance in both upstream and here.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 72c8977b3b)
2023-05-24 14:29:49 +08:00
W. Michael Petullo
4a7822604a vips: update to 8.14.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 16:31:33 +03:00
Oskari Rauta
cb7aa1e2da zmq: fix gcc 13 errors
gcc 13 compatibility patch is from alpine linux.
https://git.alpinelinux.org/aports/tree/main/zeromq/gcc13.patch

fixes #20972

I also renamed one of patches, so patch filenames are more unified.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-20 13:00:04 +03:00
W. Michael Petullo
03e2016299 openldap: update to 2.6.4
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:17:03 +08:00
W. Michael Petullo
b9792544de libsoup3: update to 2.6.4
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:15:59 +08:00
W. Michael Petullo
e44d24cf05 libgpg-error: update to 1.47
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:15:49 +08:00
W. Michael Petullo
427c9b6974 libgcrypt: update to 1.10.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:15:16 +08:00
W. Michael Petullo
71fb98ea45 libpsl: update to 0.21.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:13:27 +08:00
Tianling Shen
7730e8ea1e gnutls: fix build with zabbix
Zabbix verifies the version of gnutls by search in the header gnutls.h.
This is done with 'cat' and 'egrep'. The problem here is now that the
preprocess definition did changed in gnutls.h, so the regex does not
match anymore.

The following error message acourse in the log:
> configure: error: GnuTLS library version requirement not met (>= 3.1.18)

To fix this backport an upstream patch to let the regex work again.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-20 13:06:29 +08:00
Tianling Shen
f03a2827ea efivar: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Backport an upstream fix to replace these old data types.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-20 13:05:33 +08:00
Nick Hainke
c7aba534f0 pcre: move pcre from base repository to packages feed
pcre is no longer needed in the base repository. However, some packages
still rely on it in the packages and telephony feed.

Cross-reference to base repository:
e3e6652a550d ("pcre: move package to packages feed")

While working on it remove AUTORELEASE.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-18 10:20:59 +02:00
Nick Hainke
327c3ed2fe pcre2: package moved to base feed
The package is needed by selinux, so it was moved to the base repository.
Remove it from openwrt packages feed.

Cross-reference:
c39b0646f3f2 ("pcre2: import pcre2 from packages feed")

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-18 10:20:59 +02:00
Robert Högberg
a417171d93 libvorbisidec: Fix error in package description
libvorbisidec needs libogg since
8886a2805f

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2023-05-18 10:31:33 +03:00
Tianling Shen
1dcaf5210e gpgme: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-18 10:29:29 +03:00
Tianling Shen
8591e8fb3f libdeflate: Update to 1.18
Release note:
https://github.com/ebiggers/libdeflate/blob/master/NEWS.md#version-118

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-18 10:29:08 +03:00
Hirokazu MORIKAWA
992b529d2a libupm: Workaround for errors with GCC13
Workaround for errors with GCC13
 https://github.com/openwrt/packages/issues/20994

patch
 https://github.com/oskarirauta/local-overrides/blob/main/libs/libupm/patches/011-gcc-13-compatibility-fixes.patch

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-05-18 10:28:36 +03:00
Nikos Mavrogiannopoulos
77d9de45d0 Merge pull request #21007 from micmac1/gnutls-unistring-optional
gnutls: load libunistring-optional gnulib module
2023-05-18 09:09:53 +02:00
Tianling Shen
b232d9cbb3 lttng-ust: Update to 2.13.5
Added a patch to disable building tests.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-18 06:50:36 +02:00
Tianling Shen
9f32a9b663 libpciaccess: Update to 0.17
Backported an upstream commit to fix build with musl 1.2.4.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-17 16:03:03 +08:00
Tianling Shen
4d7d7a01bd alsa-ucm-conf: Update to 1.2.9
* updated source url (prefer https rather than http/ftp)

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-17 09:24:45 +08:00
Tianling Shen
18cfa22c65 alsa-lib: Update to 1.2.9
* updated source url (prefer https rather than http/ftp)
* refreshed patches

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-17 09:24:45 +08:00
Lucian Cristian
9ecbba977e nspr: fix musl compile
Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-05-16 23:32:58 +02:00
Lucian Cristian
516610df29 nss: update to 3.89.1
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2023-05-16 23:30:44 +02:00
Nick Hainke
539a2f4478 libpng: update to 1.6.39
Changelog:
https://github.com/glennrp/libpng/blob/v1.6.39/CHANGES

Fixes CVE-2019-6129.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-16 20:19:08 +02:00
Nick Hainke
342a2d4295 tiff: update to 4.5.0
Release Notes:
http://www.simplesystems.org/libtiff/releases/v4.5.0.html

Remove upstreamed:
- 010-CVE-2022-2519.patch
- 020-CVE-2022-2520.patch

Fixes: CVE-2022-2056, CVE-2022-2057, CVE-2022-2058, CVE-2022-3570,
       CVE-2022-3598, CVE-2022-3627, CVE-2022-3597, CVE-2022-3626,
       CVE-2022-3599, CVE-2022-34526
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-16 20:15:29 +02:00