Commit Graph

5263 Commits

Author SHA1 Message Date
Josef Schlehofer
8308097182 gperftools: include headers in the staging_dir
This fixes version detection issues when other packages (like snort3)
try to find the tcmalloc library using CMake's find_package(). Without
the headers in the staging directory, CMake cannot read the version
information from tcmalloc.h, resulting in empty version strings.

Fixes:
Found TCMalloc: /builder/staging_dir/target-x86_64_musl/usr/lib/libtcmalloc.so (found version "")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit e52a809371)
2025-10-10 08:39:59 +02:00
John Audia
0723d0f62e libdaq3: update to 3.0.21
Update to latest version.

Changelog: https://github.com/snort3/libdaq/releases/tag/v3.0.21

Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 64b8872cf4)
2025-10-08 16:09:19 +02:00
Josef Schlehofer
bf9b96456d gperftools: make libunwind dependency conditional
Make libunwind support optional depending on package availability.

Previously, gperftools unconditionally enabled libunwind as
mandatory dependency, which led to build failures on architectures where
libunwind is not provided.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 69bf2443d9)
2025-10-01 00:51:39 +02:00
Josef Schlehofer
9f5d22e99c gperftools: enable it for mips*
It should be working for mips*,
so enable it and let's see. :-)

In the past, there were some issues related to mips,
when the package was added, but these days, it appears
that these issues are gone. More details
about those issues could be found in the GitHub pull request
when gperftools was added. Reference is in the Fixes tag.

Fixes: c1b4e80825 ("gperftools: add new package")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 4dc36ae9fd)
2025-10-01 00:51:33 +02:00
Josef Schlehofer
29a122d807 treewide: drop anything related to uClibc
uClibc-ng was removed in 2020 from OpenWrt main repo [1].
These things are leftovers.

[1] https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=63fb175203bbf3b336804587c2f5b3a2d8132ec1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 3aab1ef313)
2025-09-26 00:54:33 +02:00
John Audia
700b152306 gperftools: update to 2.17.2
Bump to latest release and removed upstreamed patch.

Resulting libs give a fully functional snort3 which was built against
this new version.

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc (Intel N150 based box)

Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 465eddb46d)
2025-09-23 18:16:06 +02:00
John Audia
db82803f6e gperftools: bump to version 2.17
Changelog: https://github.com/gperftools/gperftools/releases/tag/gperftools-2.17

Add patch to fix build of some ARM toolchains

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 0a0f2e884c)
2025-09-23 18:15:55 +02:00
Lukas Voegl
e1c314797b treewide: include nls.mk when depending on glib2
When compiling glib2 with NLS, it automatically sets linker flags to `-lglib-2.0 -lintl` in pkg-config (.pc) files.

Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
(cherry picked from commit 7ee547b440)
2025-09-13 10:30:15 +02:00
Daniel Golle
8f71395fcd glib-networking: update to version 2.80.1
2.80.1 - January 8, 2025
========================

 - OpenSSL: fix crash in complete_handshake (!251, Dario Saccavino)
 - OpenSSL: fix invalid free in openssl_get_binding_tls_server_end_point() (!255)
 - TLS test should handle G_IO_ERROR_WOULD_BLOCK (!253, Richard Purdie and Alexander Kanavin)
 - Updated translations

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit b49f4cc0a3)
2025-09-13 10:29:57 +02:00
Daniel Golle
055f363620 glib-networking: add package
Add GIO modules for TLS support as well as defining proxies via well-known
environment variables.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 223d7e2995)
2025-09-13 10:29:51 +02:00
Tianling Shen
c07c3f06a9 libtorrent-rasterbar: update boost dependencies
libtorrent only links to boost headers since boost 1.69.
Remove boost-system from the dependencies and add boost as build
dependency.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 7be94fac37)
2025-09-05 18:37:31 +08:00
Thibaut VARÈNE
f4a0ee01e0 libradcli: fix build options
The provided Config.in was never sourced from the Makefile, making it
impossible to toggle TLS support.

This commit adds the necessary Makefile glue to fix this.

Also default to TLS disabled, as was the de-facto case since Config.in
was never sourced (and thus the default 'y' never enabled).

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
(cherry picked from commit 5ffca82f54)
2025-08-28 17:32:26 +03:00
George Sapkin
fba861b38d sqlite3: bump to 3.50.4
Changelog: https://sqlite.org/releaselog/3_49_2.html
Changelog: https://sqlite.org/releaselog/3_50_0.html
Changelog: https://sqlite.org/releaselog/3_50_1.html
Changelog: https://sqlite.org/releaselog/3_50_2.html
Changelog: https://sqlite.org/releaselog/3_50_3.html
Changelog: https://sqlite.org/releaselog/3_50_4.html
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit 810341cf33)
2025-08-08 16:14:38 +08:00
George Sapkin
699dda7ff9 sqlite3: require matching lib version in shell
Shell expects a matching library version to be installed. Specify a
matching version using EXTRA_DEPENDS.

Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit 5b8e0fd464)
2025-08-08 16:14:38 +08:00
Tianling Shen
771e021d1c inih: Update to r61
Release note: https://github.com/benhoyt/inih/releases/tag/r61

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit f6f3f4c5fd)
2025-08-06 19:03:41 +08:00
John Audia
62ea8e8e02 libdaq3: update to 3.0.20
Update to latest version.

Changelog: https://github.com/snort3/libdaq/releases/tag/v3.0.20

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-07-18 13:06:41 +02:00
Josef Schlehofer
29ccba7ee1 postgresql: update to version 15.13
Changelog:
https://www.postgresql.org/docs/release/15.7/
https://www.postgresql.org/docs/release/15.8/
https://www.postgresql.org/docs/release/15.9/
https://www.postgresql.org/docs/release/15.10/
https://www.postgresql.org/docs/release/15.11/
https://www.postgresql.org/docs/release/15.12/
https://www.postgresql.org/docs/release/15.13/

Removed patch:
700-no-arm-crc-march-change.patch: the patch was
removed from this repository in the master branch
and I see that there were some changes in upstream, so
it should be fixed [1].

[1] 851c6ff18f

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-07-17 11:47:00 +01:00
Robert Marko
27cce30b57 libffi: drop autoreconf
Trying to compile libffi now that automake has been updated to 1.17 will
fail, however there is no reason for us to be calling autoreconf as libffi
release tarballs already contain the generated configure script.

So, drop the unnecessary autoreconf that seems to be leftover from the
previous 3.4.2 bump as we dont have any patches targeting configure.ac nor
libffi in general.

Fixes: openwrt/openwrt#18041
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit c8949c84a2)
2025-07-08 08:31:56 +02:00
John Audia
4e1f0e137a libffi: update to 3.4.7
3.4.7 Feb-8-2024
        Add static trampoline support for Linux on s390x.
        Fix BTI support for ARM64.
        Support pointer authentication for ARM64.
        Fix ASAN compatibility.
        Fix x86-64 calls with 6 GP registers and some SSE registers.
        Miscellaneous fixes for ARC and Darwin ARM64.
        Fix OpenRISC or1k and Solaris 10 builds.
        Remove nios2 port.

Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 00f28b8281)
2025-07-08 08:31:49 +02:00
Wei-Ting Yang
cadbbc1dec treewide: assign some PKG_CPE_IDs
Assign some PKG_CPE_IDs to enhance CVE coverage.

https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=aardvark-dns
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=alpine_project
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=boringssl
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=ecdsautils
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=file_project
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=knot_resolver
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=libwrap
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=lsof_project
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=nfdump
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=nlnetlabs%20name_server_daemon
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=rclone
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=setserial
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tang_project
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tesseract_project
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=tmate-ssh-server
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=ttyd
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=uw-imap
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=v2ray-core
https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=zstandard

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit ae56deff2c)
2025-06-30 10:18:26 +02:00
Fabrice Fontaine
11e51e4df4 libs/libuv: fix PKG_CPE_ID
libuv:libuv is a better CPE ID than libuv_project:libuv as this CPE ID
has the latest CVEs (whereas libuv_project:libuv only has a CVE from
2015):
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:libuv:libuv

Fixes: f8ecbf529b (libuv: update to 1.32.0)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
(cherry picked from commit 1774871476)
2025-06-30 10:18:26 +02:00
Fabrice Fontaine
72a3373f3d libs/libupnp: fix PKG_CPE_ID
pupnp_project:pupnp is a better CPE ID than libupnp_project:libupnp as
this CPE ID has the latest CVEs from 2021 (whereas
libupnp_project:libupnp only has CVEs up to 2020):
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:pupnp_project:pupnp

Fixes: 299e5b0a9b (treewide: add PKG_CPE_ID for better cvescanner coverage)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
(cherry picked from commit 911d890b11)
2025-06-30 10:18:26 +02:00
Tomasz Maciej Nowak
efe4a18b12 lttng-ust: bump version to 2.13.9
Fixes build on platforms without 64-bit atomics.

Fixes: https://github.com/openwrt/packages/issues/26575
Changelog: https://github.com/lttng/lttng-ust/compare/v2.13.5...v2.13.9
Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
(cherry picked from commit ceb3349f38)
2025-06-21 13:07:26 +02:00
Austin Lane
efd09d7f72 liborcania: Install library on target
Signed-off-by: Austin Lane <vidplace7@gmail.com>
(cherry picked from commit 768b995f98)
2025-06-12 05:31:47 +02:00
Austin Lane
0709797b98 libulfius: Install library on target
Signed-off-by: Austin Lane <vidplace7@gmail.com>
(cherry picked from commit 6c62e0fcfe)
2025-06-12 05:29:30 +02:00
Georgi Valkov
6bd9dfc73d libideviceactivation: fix compilation with full NLS
nls.mk is needed.

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
(cherry picked from commit c287cbf11e)
2025-06-11 22:29:50 +02:00
Donald Hoskins
50a5db44b9 libopenldap: Add missing Config.in hook
Package has a consistent Config.in file, but it isn't added to all parts of the file.

libopenldap is unable to be built with --enable-debug because the Config.in is never
attached to the libopenldap.

Signed-off-by: Donald Hoskins <grommish@gmail.com>
2025-06-10 11:09:21 +02:00
Kevin Jilissen
1cfdaeb792 ethtool-lua: Initial packaging
The ethtool-lua library is a partial re-implementation of the ethtool.
The goal is to provide the CLI queries and configuration options as a
Lua API.

The reason for staring this library, was the desire for a nice and
efficient way to query DSA switch statistics in the
prometheus-node-exporter-lua on OpenWRT devices. Existing suggestions
around the internet focussed mainly on calling the ethtool CLI program
and parsing the output. This is neither elegant nor efficient, as the
collection time for this implementation was 300% higher on my rtl838x
based switch running OpenWRT.

This package can be easily compiled and packaged for OpenWRT, as it was
initially created as an OpenWRT package.

Signed-off-by: Kevin Jilissen <info@kevinjilissen.nl>
[improve PKG_SOURCE/PKG_SOURCE_URL]
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
(cherry picked from commit 054ba0ce9c)
2025-06-08 17:13:07 -04:00
George Sapkin
acd385976d sqlite3: add legacy SONAME
With no SONAME set, when linking against the full library path, that
path will be used. But if SONAME is set, it will be used instead.

Set --soname=legacy to add a SONAME to the library to allow projects
that use full path to link correctly.

Link: https://sqlite.org/src/forumpost/5a3b44f510df8ded
Fixes: https://github.com/openwrt/packages/issues/26449
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit 53f8aa5c51)
2025-05-25 01:12:03 +08:00
George Sapkin
901589b331 sqlite3: bump to 3.49.1
Changelog: https://sqlite.org/releaselog/3_49_1.html
Suggested-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit aebfd49794)
2025-05-25 01:12:03 +08:00
Paul Donald
3806920406 sqlite3: bump to 3.47.2
https://sqlite.org/changes.html

build: x86_64
run tested: x86_64

```
3.47.2 2024-12-07 20:39:59 2aabe05e2e8cae4847a802ee2daddc1d7413d8fc560254d93ee3e72c14685b6c (64-bit)
```

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit db051c6ad9)
2025-05-25 01:12:03 +08:00
Jan Hák
597c40195b libedit: update to version 20250104-3.1
Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry picked from commit 9b847a4e13)
2025-05-22 14:28:40 +02:00
Jan Hák
e0ec0bca76 liburcu: update to version 0.15.2
Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry picked from commit e4d8a07077)
2025-05-22 14:28:21 +02:00
Jan Hák
0b935d913a liburcu: update to version 0.15.1
Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry picked from commit 4f2aba1c34)
2025-05-22 14:28:16 +02:00
Jan Hák
1d24a3ef6b liburcu: update to version 0.15.0
Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry picked from commit 5445ad8c30)
2025-05-22 14:28:11 +02:00
Antonio Pastor
b3eb363514 iniparser: library for parsing of ini files in C
Package is present in multiple linux distributions.
Upstream is actively maintained.

Signed-off-by: Antonio Pastor <antonio.pastor@gmail.com>
(cherry picked from commit 456d8ff5d5)
2025-05-07 19:53:01 +03:00
Tianling Shen
dbf721d027 libtorrent-rasterbar: enable python package
The python package now works with Python 3.11.

Also simplify Build/InstallDev with CMAKE_INSTALL.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 800924c435)
2025-05-04 20:35:47 +08:00
Tianling Shen
87dba14614 libtorrent-rasterbar: Update to 2.0.11
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit d6a058775d)
2025-05-04 20:35:44 +08:00
Tianling Shen
a1b077ae25 inih: Update to r59
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 9e3887d8d4)
2025-04-20 20:50:17 +08:00
George Sapkin
a7cee9edfb expat: bump to 2.7.1 to fix several CVEs
Addresses CVE-2024-8176 and CVE-2024-50602.

Full changelog linked below.

Changelog: https://github.com/libexpat/libexpat/blob/R_2_7_1/expat/Changes
Fixes: https://github.com/openwrt/packages/issues/26255
Fixes: https://github.com/advisories/GHSA-9hcv-xw76-m4h6
Fixes: https://github.com/advisories/GHSA-79wf-qgrg-2p6c
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit c591f69b9b)
2025-04-16 18:50:40 +02:00
Tianling Shen
5685c1be3e libcbor: disable sanitize by default
musl libc does not support this feature, and for glibc, additional
library libasan is required. Disable it explicitly to avoid build issue
when CONFIG_DEBUG is selected.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 1fc56e79d5)
2025-04-15 19:46:19 +08:00
Petr Štetiar
d21fd04a81 libarchive: bump to 3.7.9 fixing CVE-2025-25724, CVE-2025-1632, CVE-2024-57970
Libarchive 3.7.9 is a bugfix release, fixing a regression in libarchive
3.7.8 regarding GNU sparse entries was fixed.

Libarchive 3.7.8 is a bugfix and security release:

  Security fixes:

    * tar reader: Handle truncation in the middle of a GNU long linkname (CVE-2024-57970)
    * unzip: fix null pointer dereference (CVE-2025-1632)
    * tar reader: fix unchecked return value in list_item_verbose() (CVE-2025-25724)

  Important bugfixes:

    * 7zip reader: add SPARC and POWERPC filter support for non-LZMA compressors
    * tar reader: Ignore ustar size when pax size is present
    * tar writer: Fix bug when -s/a/b/ used more than once with b flag
    * cpio: Fix a Y2038 bug on Windows
    * libarchive: Handle ARCHIVE_FILTER_LZOP in archive_read_append_filter
    * libarchive: Adding missing seeker function to archive_read_open_FILE()

Full Changelog: https://github.com/libarchive/libarchive/compare/v3.7.7...v3.7.8

Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 4803944c5a)
2025-04-14 13:47:05 +02:00
Matthias Franck
5a1e4db114 libarchive: bump to 3.7.7 fixing a lot of security issues
libarchive fixed a lot of security issues in the last few releases, listing only
notable changes,

libarchive 3.7.5:

   * rar4: protect copy_from_lzss_window_to_unp()  CVE-2024-20696
   * rar4: fix CVE-2024-26256

libarchive 3.7.6:

   * this release fixes a tar regression introduced in libarchive 3.7.5

libarchive 3.7.7:

   * gzip: prevent a hang when processing a malformed gzip inside a gzip (OSS-Fuzz)
   * tar: don't crash on truncated tar archives (OSS-Fuzz)
   * tar: fix two leaks in tar header parsing

Link: https://github.com/libarchive/libarchive/releases

Signed-off-by: Matthias Franck <matthias.franck@softathome.com>
(cherry picked from commit 39b1179bd6)
2025-04-14 13:47:02 +02:00
Lucian CRISTIAN
e4045cdbe9 libyang: update to 2.1.128
this is needed for frr 10+

Signed-off-by: Lucian CRISTIAN <lucian.cristian@gmail.com>
2025-01-26 17:12:56 +08:00
Tianling Shen
73664ef728 libtorrent-rasterbar: Update to 2.0.10
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit c83362fc6d)
2025-01-08 17:00:29 +08:00
Daniel Golle
285ed06625 ell: update to version 0.70
c8f4dbc util: Add l_memcpy
 e5007ce unit: Add l_memcpy test
 373b828 Release 0.70

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 11b3b811b3)
2024-11-26 12:26:04 +00:00
Daniel Golle
85a9566b39 libpng: add symlink to debug library
Add convenience symlink when building with CONFIG_DEBUG.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 5313dd9be6)
2024-11-26 12:26:04 +00:00
Gábor Deé
44d2aff327 libdeflate: update to 1.22
Release note:
https://github.com/ebiggers/libdeflate/blob/master/NEWS.md#version-122

Signed-off-by: Gábor Deé <dee.gabor@gmail.com>
2024-11-03 19:22:17 +02:00
Rosen Penev
1fcaf0ac1f libseccomp: update to 2.5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-10-31 13:57:58 +01:00
Rosen Penev
7e272a577e libuwifi: update to latest master
Fix version to be apk compatible.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-10-29 11:21:43 +01:00