Commit Graph

4532 Commits

Author SHA1 Message Date
Fabrice Fontaine 87cf217806 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
(cherry picked from commit 5afe5c9031)
2024-03-19 13:28:12 +01:00
Sebastian Kemper 16480e7038 tiff: force libdeflate support to off
Commit 81d2b72 added a package providing libdeflate. Tiff by default
links to it, causing a build error.

Package libtiff is missing dependencies for the following libraries:
libdeflate.so.0

This commit forces libdeflate use off to avoid this. No revision bump is
done because the package is currently not compiling anyway.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit e3c6da4e25)
2024-02-21 08:08:53 +01:00
Daniel Golle b72390bb95 libb64: add package
Add generic base64 encode/decode (static) library.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 6993b5d945)
2024-02-20 09:05:54 +01:00
Tianling Shen f5e224ced4 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>
(cherry picked from commit 8591e8fb3f)
2024-02-20 09:05:31 +01:00
Daniel Golle c91b629ba6 libdeflate: add package
Add package for libdeflate which is a library for fast, whole-buffer
DEFLATE-based compression and decompression.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 81d2b7262e)
2024-02-20 09:05:26 +01:00
Daniel Golle 848f917a5e libdht: add package
Add Kademlia Distributed Hash Table (DHT) library.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit a281a8af9f)
2024-02-20 09:05:10 +01:00
Daniel Golle 9185c338f0 libutp: add package
Add Transmission version of the uTorrent Transport Protocol library.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 1ecef46f1c)
2024-02-20 09:04:50 +01:00
Rosen Penev c0a189955b expat: update to 2.5.0
Fixes: CVE-2022-43680

Added GitHub mirror.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 409dbb05c9)
2023-11-02 23:37:26 +01:00
Peter van Dijk 81d6e449c2 h2o: ABI-breaking patch for CVE-2023-44487
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>

(cherry picked from commit 5b9239a95b)
2023-11-02 00:28:27 +08:00
Daniel Golle b552374a3e postgresql: update to version 14.9
Update to latest PostgreSQL version 14 for OpenWrt 22.03.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-10-30 13:31:25 -07:00
Luiz Angelo Daros de Luca cf9f81240f libvpx: update to 1.13.1
v1.13.0

This release includes more Neon and AVX2 optimizations, adds a new codec
control to set per frame QP, upgrades GoogleTest to v1.12.1, and includes
numerous bug fixes.

v1.13.1

This release contains two security related fixes. One each for VP8 and VP9.

- https://crbug.com/1486441 (CVE-2023-5217)
- Fix bug with smaller width bigger size (CVE-2023-44488)

Fixes #22318

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
(cherry picked from commit 36566a99af)
2023-10-08 08:34:19 +02:00
Rosen Penev d5b991ce19 libvpx: update to 1.12.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit d4410f7750)
2023-10-08 08:33:49 +02:00
Josef Schlehofer f583a17e1c czmq: drop libpcre dependency
It seems like the libpcre dependency was added by mistake.
While checking in the source code of czmq (Makefile.am, CMakeLists.txt),
I see there are several dependencies, but there isn't PCRE.

Fixes: 936a48a ("czmq: add new package")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit e3ab95185c)
2023-09-22 09:26:06 +02:00
Jitao Lu 2b8e549f8e 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>
(cherry picked from commit 68f23a9c33)
2023-09-21 09:35:03 +02:00
Florian Eckert 0d13ad10fd glib2: fix host build offline download
If buildsystem does not have a internet connection, then the build
fails. This is because of the fact, that glib2 is downloading and building
the missing dependencies during host compilation.

This cannot be allowed to happen. The package must also be built without
an internet connection.

Adding the missing host build dependency and removing the 'forcefallback'
fixes this issue.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit c664b83535)
2023-09-21 09:34:34 +02:00
Matthias Schiffer 3363e36066
libuecc: update repository URL
I've changed my username to neocturne.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
(cherry picked from commit 1df594bc01)
2023-09-20 21:57:44 +02:00
Andy Walsh 944a3cf18f samba4: drop maintainership
drop maintainership:
* samba4
* ksmbd-tools
* perl-parse-yapp
* libtirpc
* softethervpn5
* wsdd2
* rpcsvc-proto

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
(cherry picked from commit cd49a8fb27)
2023-09-20 02:21:29 +02:00
Tianling Shen bcb03c07db 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-09-20 02:14:44 +02:00
Rosen Penev e51d6bbb1e glib2: update to 2.74.0
Remove upstreamed patch and delete pointless one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 5d27631d9f)
2023-09-15 09:55:19 +02:00
Rosen Penev 37a240dcdd 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>
(cherry picked from commit 568669dc46)
2023-09-15 09:55:01 +02:00
Tianling Shen 6f180964af msgpack-c: Update to 6.0.0
Removed 010-no-gtest.patch as upstream no longer detects it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 394cc366b3)
2023-09-01 22:06:35 +02:00
Hirokazu MORIKAWA e061716ae0 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:26:17 +08:00
Hirokazu MORIKAWA 9bc26cef1a 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:10 +08:00
Michael Heimpold af9503372e libxml2: update to 2.10.4
This fixes:
    - CVE-2023-29469
    - CVE-2023-28484

Full changelog:
https://download.gnome.org/sources/libxml2/2.10/libxml2-2.10.4.news

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-05-13 09:40:02 +02:00
Tianling Shen 2e667a1f8c
sqlite3: Update to 3.41.2
Fixes: CVE-2021-20227

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit f1e33826fb)
2023-05-04 20:11:29 +08:00
Jeffery To 5f26bba471 slang2: Update to 2.3.3, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 47d67e43bf)
2023-05-01 13:33:11 +03:00
Jeffery To 7d7663dc1e
newt: Update to 0.52.23
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit ce086321a0)
2023-04-24 16:13:07 +08:00
Tianling Shen 33431b63b4
sqlite3: Update to 3.41.1
Removed `SQLITE3_JSON1` option as it was dropped by upstream.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit a7dfb006fe)
2023-03-25 23:59:58 +08:00
Tianling Shen 3e2c1336a0
msgpack-c: Update to 5.0.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 5890d2f2d7)
2023-02-27 10:30:23 +08:00
Aquila Cooper 8038868baf
getdns: Update to 1.7.3
Changelog from upstream (https://github.com/getdnsapi/getdns/releases/tag/v1.7.3):

* 2022-12-22: Version 1.7.3
  * PR getdnsapi/getdns#532: Increase CMake required version 3.5 -> 3.20, because we
    need cmake_path for Absolute paths in pkg-config (See Issue getdnsapi/getdns#517)
    Thanks Gabriel Ganne
  * Updated to Stubby 0.4.3 quickfix release

* 2022-08-19: Version 1.7.2
  * Stubby updated to 0.4.2 quickfix release

* 2022-08-19: Version 1.7.1
  * Always send the `dot` ALPN when using DoT
  * Strengthen version determination for Libidn2 during cmake processing
    (thanks jpbion).
  * Fix for issue in UDP stream selection in case of timeouts.
    Thanks Shikha Sharma
  * Fix using asterisk in ipstr for any address. Thanks uzlonewolf.
  * Issue getdnsapi/stubby#295: rdata not correctly written for validation for
    certain RR type. Also, set default built type to RelWithDebInfo and
    expose CFLAGS via GETDNS_BUILD_CFLAGS define and via
    getdns_context_get_api_information()
  * Issue getdnsapi/getdns#524: Bug fixes from submodules' upstream?
    Thanks Johnnyslee
  * Issue getdnsapi/getdns#517: Allow Absolute path CMAKE_INSTALL_{INCLUDE,LIB}DIR in
    pkg-config files. Thanks Alex Shpilkin
  * Issue getdnsapi/getdns#512: Update README.md to show correct PGP key location.
    Thanks Katze Prior.

Signed-off-by: Aquila Cooper <aquila@cpr.is>
2023-01-07 04:50:00 +00:00
Tianling Shen 4b30c97b57
libtorrent-rasterbar: Update to 2.0.8
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 991c2d452c)
2023-01-06 16:35:02 +08:00
Rosen Penev f8cd482074
libmaxminddb: install pkgconfig file
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit c0be86e1ac)
2023-01-03 22:05:23 -08:00
Rosen Penev 55222315f1
libmaxminddb: update to 1.7.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 448cd7fba1)
2023-01-03 22:05:23 -08:00
Espen Jürgensen 94a947f1cc mxml: update to 3.3.1
Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
(cherry picked from commit 94f6216ef5)
2023-01-01 20:36:47 +02:00
Michal Vasilek e4fc506443
libarchive: add missing CONFLICT
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-12-22 14:36:28 +01:00
Michal Vasilek a139b554c9
libarchive: fix CVE-2022-36227
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-12-22 11:41:55 +01:00
Michal Vasilek ab468882d5
libarchive: update to 3.5.3
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-12-22 11:36:44 +01:00
Michal Vasilek e9bc14cf36
apr-util: disable parallel build
Build reliably fails with -j20

    crypto/apr_passwd.c:200:1: fatal error: error closing -: Broken pipe
      200 | }
          | ^
    compilation terminated.

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
(cherry picked from commit bd9e119d68)
2022-12-16 20:48:28 -08:00
W. Michael Petullo 7e75519ac1
libgpg-error: copy gpg-error.pc to staging directory
Packages like libassuan and libksba would not compile after updating
libgpg-error to 1.46. This was because gpg-error.m4 (and thus the affected
packages' configure scripts) relies on gpgrt-config, which in turn needs
access to gpg-error.pc. This modifies the libgpg-error build process to
copy gpg-error.pc to OpenWrt's staging directory, so that it is available
for subsequent dependent package builds.

Fixes: https://github.com/openwrt/packages/issues/19880

Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry picked from commit a93e0269a1)
2022-12-03 12:54:14 +01:00
Maxim Anisimov f19180a1d8
libqmi: bump to 1.30.8
Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
(cherry picked from commit 0b0d8163d5)
2022-11-30 13:03:00 +01:00
Christian Lachner 11d749180a
liburing: Update to v2.3
- Updated download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
(cherry picked from commit f01ebf5f33)
2022-11-25 20:11:03 +01:00
Christian Lachner 17b54726de
liburing: Update to v2.2
- Updated download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
(cherry picked from commit 3f82f9a002)
2022-11-25 20:10:59 +01:00
Rosen Penev b7c43947fb
libgphoto2: update to 2.5.30
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 8f3a4366f0)
2022-11-25 20:09:52 +01:00
Tianling Shen bee5b07c65
sqlite3: Update to 3.40.0
1. Added a new option for SQLITE3_COLUMN_METADATA.
2. Minor cleanup Makefile and fixed 2 typo errors.

Fixes: CVE-2022-35737

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit a4a0f0793b)
2022-11-22 14:37:31 +08:00
Josef Schlehofer b4d1b8424e
libwebsockets: fix recursive dependency
While running `make menuconfig`, it was discovered then there is a
recursive dependency like this:
tmp/.config-package.in:59138:error: recursive dependency detected!
tmp/.config-package.in:59138:	symbol PACKAGE_libwebsockets-openssl is selected by PACKAGE_libwebsockets-mbedtls
tmp/.config-package.in:59122:	symbol PACKAGE_libwebsockets-mbedtls depends on PACKAGE_libwebsockets-openssl

It is not possible with the recently added conflicts that two packages
(OpenSSL and full variant, which uses OpenSSL as well), which are almost the same
provides the same named package libwebsockets as their conflict - Mbed
TLS.

Fixes: 676c5c72b5 ("libwebsockets: OpenSSL
and mbedTLS variants should conflict")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit a4e8cbb89a)
2022-10-27 14:24:51 +02:00
Josef Schlehofer fefd89f774
libwebsockets: OpenSSL and mbedTLS variants should conflict
They provide the same files, but they don't conflict to each other, this
means that users can install them side by side.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 676c5c72b5)
2022-10-25 14:29:25 +02:00
Josef Schlehofer 21ac9491f1
libwebsockets: full variant provides OpenSSL
For some time, it is not possible to install ttyd and mosquitto-ssl at the
same time, so let's solve it that libwebsockets-full provides
libwebsockets-openssl. This allows to install ttyd and mosquitto at
the same time.

Also, we need to add conflict, because we should not have installed
libwebsockets-openssl and libwebsockets-full at the same time as they
provides the same files.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 77e682a11c)
2022-10-25 14:29:20 +02:00
Michael Heimpold 822cd366d6
Merge pull request #19619 from mhei/22.03-libxml2-update-2.10.3
[22.03] libxml2: update to 2.10.3
2022-10-18 08:00:13 +02:00
Michael Heimpold 37fd7c0316 libxml2: update to 2.10.3
This fixes:
    - CVE-2022-40303
    - CVE-2022-40304

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
(cherry picked from commit c2742973b0)
2022-10-17 22:05:59 +02:00
Daniel Golle 5ca1c82f87
libksba: update to version 1.6.1
Update to stable release 1.6.1.
See commit log since version 1.6.0 for changes[1].

[1]: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=shortlog;h=d3c1e063d708a46ef39152256f8b1ea466b61be0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit df589ce880)
2022-10-13 19:58:30 +01:00