Commit Graph
5093 Commits
Author SHA1 Message Date
George Sapkin af41897f31 golang: bump 1.26 to 1.26.6
Fixes: CVE-2026-33818
Fixes: CVE-2026-39821
Fixes: CVE-2026-46600
Fixes: CVE-2026-56853
Fixes: CVE-2026-56858
Fixes: CVE-2026-56859
Fixes: CVE-2026-56860
Fixes: CVE-2026-56862
Fixes: CVE-2026-56864
Fixes: CVE-2026-56865
Changes: https://github.com/golang/go/issues?q=milestone%3AGo1.26.6+label%3ACherryPickApproved
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit ae3874f304)
2026-08-17 15:43:54 +03:00
Josef Schlehofer 5b6cc215db rust: build soft-float on soft-float PowerPC subtargets
RUSTC_TARGET_ARCH comes from the GNU triple, so every 32-bit PowerPC
subtarget gets powerpc-unknown-linux-musl. That triple is hard-float and
mpc85xx is not: its e500v2 has no floating-point unit, and the toolchain
reports _SOFT_FLOAT and calls __divdf3 for a division.

So rustc emits lfd, stfd and fdiv for a core with no floating-point
registers, and passes doubles in a way nothing else in the image does. It
does not fail outright — a speed test reported negative throughput, and
formatting one of those values tripped an assertion inside core.

Pass -Ctarget-feature=-hard-float where CONFIG_SOFT_FLOAT says so. The same
flag has to reach the std that rust/host builds, or std and the packages
linked against it disagree about how a double is passed.

Signed-off-by: Josef Schlehofer <pepe@bloodkings.eu>
(cherry picked from commit 388c3b6ad4)
2026-08-16 08:21:15 +02:00
Josef Schlehofer c4418092cd rust: fix compare_exchange_weak never succeeding on mpc85xx
LLVM places the release fence of a cmpxchg between the load-linked and the
store-conditional. On e500v2 that clears the reservation, so the
store-conditional always fails. The strong form retries and re-reserves; the
weak form has no retry and can never succeed.

fetch_update in core is a weak retry loop, so it spins forever and anything
using it hangs. A tokio reactor livelocks on its first I/O event, burning
CPU without issuing a syscall, which makes async Rust unusable on the
subtarget.

Carry the fix as a patch until it reaches a rustc release. It adds a
TargetLowering hook, defaulting to false, so only PowerPC changes.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 9ea0d00d93)
2026-08-16 08:21:11 +02:00
Josef Schlehofer f8b35d48b9 luajit2: update to 2026-07-31
Also refresh 020-riscv64-support.patch from the current state of
openresty/luajit2#236. The previous snapshot defined
asm_tail_prep(ASMState *as), but since openresty/luajit2 commit
68354f44 the callers pass a second TraceNo argument, so the riscv64
build failed with:

  lj_asm.c:2559:5: error: too many arguments to function 'asm_tail_prep'

The refreshed patch carries the upstream adaptation and restores the
build. The other four patches apply unchanged.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 578758e1f6)
2026-08-15 12:27:31 +02:00
Josef Schlehofer a6a052ee8c luajit2: fix build and runtime on powerpc
luajit2 currently fails to link for powerpc: lj_vm.o emits PLT calls
that force BSS-PLT, which the inline-PLT relocations emitted by GCC 12
and newer do not support. Add the same GOT-based fix that
lang/lua/luajit has carried as 060-ppc-musl.patch since 2019.

With that in place the package builds, but ipairs() and pairs() turn
out to be broken on 32-bit big-endian soft-float targets. Both are
regressions in luajit2's PPC64 patch and do not affect upstream
LuaJIT. To be submitted to openresty/luajit2 as well.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit a6b248d6b8)
2026-08-15 12:27:31 +02:00
Seo Suchan f0c97a4f8b luajit2: update test-version.sh to actual test
old just disabled version test, but as LuaJIt 2.1. part is stable.
So we can use that for test if luajit2 itself able to run.

Fixes: c7ca6d46f7 luajit2: ("add test-version.sh")
Suggested-by: Josef Schlehofer <pepe.schlehofer@gmail.com>

Signed-off-by: Seo Suchan <tjtncks@gmail.com>
(cherry picked from commit 5504291b81)
2026-08-15 12:27:31 +02:00
Seo Suchan 064e33e045 luajit2: add test-version.sh
luajit2 use build number at -v, but releases are named by date

Signed-off-by: Seo Suchan <tjtncks@gmail.com>
(cherry picked from commit c7ca6d46f7)
2026-08-15 12:27:31 +02:00
Javier Marcet 4b017dedf3 luajit2: update to v2.1-20260227
For changes, see tagged commit:
https://github.com/openresty/luajit2/releases/tag/v2.1-20260227

Signed-off-by: Javier Marcet <javier@marcet.info>
(cherry picked from commit 1b59cb61a7)
2026-08-15 12:27:31 +02:00
hingbong 4e6946299b rust: update to 1.96.0
Changelog:
- https://github.com/rust-lang/rust/releases/tag/1.95.0
- https://github.com/rust-lang/rust/releases/tag/1.96.0

Signed-off-by: hingbong <hingbonglo@gmail.com>
(cherry picked from commit a12632f22b)
2026-08-11 14:51:18 +02:00
Hirokazu MORIKAWA cd7ba48b99 node: bump to 22.23.2
This is a security release.
Notable Changes
* (CVE-2026-56846) http2: retain header memory in session accounting (Matteo Collina) – High
* (CVE-2026-56848) http2: defer rst stream while in scope (Matteo Collina) – High
* (CVE-2026-58043) permission: avoid granting radix split nodes (RafaelGSS) – High
* (CVE-2026-56850) https: distinguish PFX object-array agent keys (RafaelGSS) – Medium
* (CVE-2026-58040) https: bind identity checks to session reuse (Matteo Collina) – Medium
* (CVE-2026-58042) dns: handle large resolveAny address replies (RafaelGSS) – Medium
* (CVE-2026-58045) zlib: throw on out-of-bounds write buffers (RafaelGSS) – Medium
* (CVE-2026-56847) permission: enforce fs write permission for trace events (RafaelGSS) – Low
* (CVE-2026-58039) permission: check final report output path (RafaelGSS) – Low
* (CVE-2026-58044) http: reject requests exceeding max header count (Matteo Collina) – Low
* deps: update llhttp to 9.4.3 (Paolo Insogna)
* deps: update undici to 6.28.0 (Node.js GitHub Bot)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit a8b6b3b551)
2026-08-04 14:12:35 +02:00
Andy Chiang 3dc6fa0d38 golang: bump 1.26 to 1.26.5
Fixes: CVE-2026-39822
Fixes: CVE-2026-42505
Changes: https://github.com/golang/go/issues?q=milestone%3AGo1.26.5+label%3ACherryPickApproved

Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
(cherry picked from commit 66febba4e1)
2026-07-27 12:10:21 +08:00
Alexandru Ardelean 9fd16b1c1c python3-drf-nested-routers: update to 0.95.0; add test.sh
Add PYPI_SOURCE_NAME:=drf_nested_routers as the 0.95.0 sdist
uses underscores in the filename.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 0f833b1b9c)
2026-07-16 08:51:08 +02:00
Alexandru Ardelean 07151fd2f1 python3-django-restframework: update to 3.17.1
Update package to 3.17.1.

Bug fix:
- HTMLFormRenderer crashed with empty datetime field values

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit b5a553b457)
2026-07-16 08:51:08 +02:00
Alexandru Ardelean 759dddafdd python3-django-cors-headers: update to 4.9.0; add test.sh
Major changes since 3.10.0:

4.0:
- add CORS_ALLOW_PRIVATE_NETWORK setting for Local Network Access spec support
- add async middleware support, reducing overhead on async views
- remove deprecated CORS_REPLACE_HTTPS_REFERER and CorsPostCsrfMiddleware
- remove three header names from default allowed list (accept-encoding, dnt, origin)

4.3:
- fix access-control-allow-credentials header not being omitted on
  non-allowed responses

4.6:
- drop support for Django 3.2 through 4.1

4.9:
- add Django 6.0 support
- tighten validation of sequence-type settings (e.g. CORS_ALLOW_METHODS)

Add PYPI_SOURCE_NAME:=django_cors_headers as the 4.x sdist uses
underscores in the filename.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit ccd69a148f)
2026-07-16 08:51:08 +02:00
Wei-Ting Yang d5540bad18 django: bump to version 6.0.7
Fix CVE-2026-48588, CVE-2026-53877, and CVE-2026-53878.

Full release notes:
https://docs.djangoproject.com/en/6.0/releases/6.0.7/

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit 4af6cb6efd)
2026-07-16 08:51:08 +02:00
Wei-Ting Yang b6d2506585 django: bump to version 6.0.6
Fix CVE-2026-6873, CVE-2026-7666, CVE-2026-8404, CVE-2026-35193, and
CVE-2026-48587.

Full release notes:
https://docs.djangoproject.com/en/6.0/releases/6.0.6/

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit acb028dbf7)
2026-07-16 08:51:08 +02:00
Wei-Ting Yang 0f41b7e9b2 django: bump to version 6.0.5
Fix CVE-2026-5766, CVE-2026-35192, and CVE-2026-6907.

Full release notes:
https://docs.djangoproject.com/en/6.0/releases/6.0.5/

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit d677c11d96)
2026-07-16 08:51:08 +02:00
Alexandru Ardelean fb1f91cc5e python3-django: update to 6.0.4
Update package to 6.0.4.

Security fixes:
- CVE-2026-33033: DoS fix in MultiPartParser -- base64-encoded multipart
  uploads with excessive whitespace could cause repeated memory copying
- CVE-2026-3902: ASGI header spoofing fixed -- headers containing underscores
  are now ignored by ASGIRequest to prevent hyphen/underscore conflation
  attacks
- CVE-2026-4277: Privilege abuse in GenericInlineModelAdmin -- add permissions
  on inline model instances were not validated against forged POST data
- CVE-2026-4292: Privilege abuse in ModelAdmin.list_editable -- changelist
  forms incorrectly allowed new instances to be created via forged POST data
- CVE-2026-33034: DoS via ASGI memory upload limit bypass -- missing or
  understated Content-Length could bypass DATA_UPLOAD_MAX_MEMORY_SIZE

Bug fixes:
- alogin/alogout regression where request.user was not set/cleared if already
  materialized by sync middleware
- RelatedFieldWidgetWrapper regression incorrectly wrapping all widgets in a
  fieldset in admin forms

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 06eb22a606)
2026-07-16 08:51:08 +02:00
Alexandru Ardelean 8272fcce5d python-sqlparse: bump to 0.5.5
Changes since 0.4.4:
- v0.5.0: Improved handling of CTEs and window functions
- v0.5.0: Better token classification for SQL dialects
- v0.5.x: Various bug fixes for edge cases in formatting
  and statement splitting

Also add test.sh to verify formatting, splitting, and parsing.

Link: https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 2eef8732a3)
2026-07-16 08:51:08 +02:00
Wei-Ting Yang 5a36a775df python-asgiref: improve version check in test.sh
Verify that asgiref.__version__ strictly equals the expected version
argument ($2), instead of just checking that it is non-empty.

Also remove single quotes from EOF to enable variable expansion.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit bdab2f1f59)
2026-07-16 08:51:08 +02:00
Alexandru Ardelean c9981d527c python-asgiref: bump to 3.11.1
Changelog: https://github.com/django/asgiref/blob/main/CHANGELOG.txt

Multiple minor/patch releases since 3.7.2 with bug fixes and
Python 3.13+ compatibility improvements. Resets PKG_RELEASE to 1.
Add test.sh to verify async_to_sync and sync_to_async adapters.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 5a7fbc8303)
2026-07-16 08:51:08 +02:00
Alexandru Ardelean f9656b220e vobject: update to 0.9.9; add test.sh
Changelog since 0.9.6.1:
- add product version number to the PRODID tag in iCalendar output
- add support for GEO tags in vCards
- various bugfixes and compatibility improvements

Also need to update setup.cfg at build time to insert the version
to allow the package to build.
Otherwise we get
```
2026-04-21T08:17:17.9341927Z   File "/builder/staging_dir/hostpkg/lib/python3.14/site-packages/setuptools/config/setupcfg.py", line 296, in __setitem__
2026-04-21T08:17:17.9342520Z     parsed = self.parsers.get(option_name, lambda x: x)(value)
2026-04-21T08:17:17.9343117Z   File "/builder/staging_dir/hostpkg/lib/python3.14/site-packages/setuptools/config/setupcfg.py", line 602, in _parse_version
2026-04-21T08:17:17.9343777Z     return expand.version(self._parse_attr(value, self.package_dir, self.root_dir))
2026-04-21T08:17:17.9344201Z                           ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-21T08:17:17.9344938Z   File "/builder/staging_dir/hostpkg/lib/python3.14/site-packages/setuptools/config/setupcfg.py", line 421, in _parse_attr
2026-04-21T08:17:17.9345544Z     return expand.read_attr(attr_desc, package_dir, root_dir)
2026-04-21T08:17:17.9345876Z            ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-21T08:17:17.9346409Z   File "/builder/staging_dir/hostpkg/lib/python3.14/site-packages/setuptools/config/expand.py", line 191, in read_attr
2026-04-21T08:17:17.9346947Z     return getattr(module, attr_name)
2026-04-21T08:17:17.9347261Z AttributeError: module 'vobject' has no attribute 'VERSION'
2026-04-21T08:17:17.9598878Z
```

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 970bbeb3b5)
2026-06-24 22:20:54 +02:00
Hirokazu MORIKAWA 575e71df80 node: bump to 22.23.0
This is a security release.
Notable Changes

    (CVE-2026-48618) tls: normalize hostname for server identity checks (Matteo Collina) – High
    (CVE-2026-48933) crypto: guard WebCrypto cipher output length (Filip Skokan) – High
    (CVE-2026-48937) deps: fix integration issues with the latest nghttp2 – Medium
    (CVE-2026-48930) dns,net: reject hostnames with embedded NUL bytes (Matteo Collina) – Medium
    (CVE-2026-48619) http2: cap originSet size to prevent unbounded memory growth (Matteo Collina) – Medium
    (CVE-2026-48615) lib,test: redact proxy credentials in tunnel errors (Matteo Collina) – Medium
    (CVE-2026-48934) tls: bind reusable sessions to authenticated host (Matteo Collina) – Medium
    (CVE-2026-48928) tls: fix case-sensitive SNI context matching (Matteo Collina) – Medium
    (CVE-2026-48617) permission: handle process.chdir on writereport (RafaelGSS) – Low
    (CVE-2026-48931) http: fix response queue poisoning in http.Agent (Matteo Collina) – Low
    (CVE-2026-48935) permission: disable FileHandle utimes with permission model (RafaelGSS) – Low

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
(cherry picked from commit a408cf014b)
2026-06-24 15:41:54 +03:00
George Sapkin 1f716bde7d golang: bump 1.26 to 1.26.4
Fixes: CVE-2026-27145
Fixes: CVE-2026-42504
Fixes: CVE-2026-42507
Changes: https://github.com/golang/go/issues?q=milestone%3AGo1.26.4+label%3ACherryPickApproved
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit 7fe08b4652)
2026-06-21 19:55:39 +03:00
George Sapkin c9ee3f01c8 golang: use upstream build ID logic
Don't override the upstream build ID logic to hopefully improve
reproducibility.

Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit 6149f90711)
2026-06-21 19:55:39 +03:00
Josef Schlehofer 1f0b486578 python3: fix host python extension compilation on macOS
On macOS (Darwin) hosts, building host Python C extensions (such as Cython) using the '-shared' flag and linking against '-lpython3.x' causes the host Python interpreter to load a duplicate copy of the Python runtime. This leads to type checking mismatches and segmentation faults (SIGSEGV) when importing the compiled extension.

For example, running:
    ./staging_dir/hostpkg/bin/python3 -c "import Cython.Utils"
crashes with:
    Segmentation fault: 11

To build shared modules correctly on macOS, they must be compiled as bundles using the '-bundle -undefined dynamic_lookup' flags instead of '-shared', and they should not link against the Python library (no '-lpython3.x' in LDFLAGS).

Fix this by dynamically adjusting LDSHARED and LDFLAGS in python3-host.mk when the host OS is Darwin.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit ea541f48b5)
2026-06-10 08:28:33 +02:00
Georgi Valkov 63c84107be rust: fix host build on x64 Darwin
rust/host fails to compile on macOS running on Intel x64
because the host target triple is autogenerated to be
'arm64-unknown-linux-'. Rust doesn't have such a target triple, thus the
build fails because there are no pre-built artefacts for bootstrapping.

Fix this by setting RUSTC_HOST_ARCH to 'x86_64-apple-darwin' in case
our host is HOST_ARCH=x86_64 and HOST_OS=Darwin.
This fix is based on the existing fix for Apple silicon [1].

Fixes:
  File "/Volumes/pepe/py/openwrt/build_dir/target-x86_64_musl/host/rustc-1.96.0-src/x.py", line 53, in <module>
    bootstrap.main()
    ~~~~~~~~~~~~~~^^
  File "/Volumes/pepe/py/openwrt/build_dir/target-x86_64_musl/host/rustc-1.96.0-src/src/bootstrap/bootstrap.py", line 1418, in main
    bootstrap(args)
    ~~~~~~~~~^^^^^^
  File "/Volumes/pepe/py/openwrt/build_dir/target-x86_64_musl/host/rustc-1.96.0-src/src/bootstrap/bootstrap.py", line 1366, in bootstrap
    build.download_toolchain()
    ~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/Volumes/pepe/py/openwrt/build_dir/target-x86_64_musl/host/rustc-1.96.0-src/src/bootstrap/bootstrap.py", line 697, in download_toolchain
    download_component(download_info)
    ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/Volumes/pepe/py/openwrt/build_dir/target-x86_64_musl/host/rustc-1.96.0-src/src/bootstrap/bootstrap.py", line 529, in download_component
    get(
    ~~~^
        download_info.base_download_url,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<3 lines>...
        verbose=download_info.verbose,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/Volumes/pepe/py/openwrt/build_dir/target-x86_64_musl/host/rustc-1.96.0-src/src/bootstrap/bootstrap.py", line 58, in get
    raise RuntimeError(
    ...<6 lines>...
    )
RuntimeError: src/stage0 doesn't contain a checksum for dist/2026-04-16/rust-std-1.95.0-x86_64-unknown-linux-darwin24.6.0.tar.xz. Pre-built artifacts might not be available for this target at this time, see https://doc.rust-lang.org/nightly/rustc/platform-support.html for more information.

[1] https://github.com/openwrt/packages/commit/105fa3920e12f557bdf1fcbc566fc286fb53e319

Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
(cherry picked from commit aa32dd256e)
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2026-06-09 15:02:59 +02:00
Josef Schlehofer 6c09015df3 perl: install libperl.so using $(INSTALL_BIN) to enable stripping
Install libperl.so with executable permissions (0755) instead of copying
it as-is.

This allows the OpenWrt build system to recognize the library as a binary and
automatically run the "strip" utility on it. Stripping removes unnecessary
debugging metadata and helper symbols that are only needed for development but
not for running Perl on the router.

This change reduces the installed size of libperl.so on the device:
- Before (not stripped): 3.7 MB (3,929,652 bytes)

```
root@turris:~# file /usr/lib/perl5/5.40/CORE/libperl.so
/usr/lib/perl5/5.40/CORE/libperl.so: ELF 32-bit MSB shared object, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked, with debug_info, not stripped
```

- After (stripped):     3.5 MB (3,674,081 bytes)

```
root@turris:~# file /usr/lib/perl5/5.40/CORE/libperl.so
/usr/lib/perl5/5.40/CORE/libperl.so: ELF 32-bit MSB shared object, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked, no section header
```

Saving ~255 KB of flash storage space on target devices.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit b6d2070fc8)
2026-06-08 22:48:34 +02:00
Michael Heimpold 3d6b4bd072 php8: update to 8.4.21
This fixes:
    - CVE-2025-14179
    - CVE-2026-6104
    - CVE-2026-6722
    - CVE-2026-6735
    - CVE-2026-7258
    - CVE-2026-7261
    - CVE-2026-7262
    - CVE-2026-7263
    - CVE-2026-7568

Upstream changelogs:
https://www.php.net/ChangeLog-8.php#8.4.17
https://www.php.net/ChangeLog-8.php#8.4.18
https://www.php.net/ChangeLog-8.php#8.4.19
https://www.php.net/ChangeLog-8.php#8.4.20
https://www.php.net/ChangeLog-8.php#8.4.21

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2026-06-02 21:14:28 +02:00
Alexandru Ardelean aef786a263 python3: pin host curses to the SDK's narrow ncurses
Removing the ncursesw path from include avoids seeing the wide-char
version of ncurses, so the host build picks up the narrow static lib
that the OpenWrt SDK stages. To keep that pin from leaking back in
through other curses headers the build host may have under
/usr/include, also force every header check in Python's configure.ac
AC_CHECK_HEADERS(curses.h ncurses.h ncursesw/ncurses.h
ncursesw/curses.h ncursesw/panel.h panel.h) line to "no" via cached
ac_cv_header_* variables.

The narrow ncursesw_* trio was enough on the original reporter's
host; Jan Kardell's review of the first cut hit a build where
`/usr/include/curses.h` and `/usr/include/ncurses.h` from the
distro's libncurses-dev were still being picked up. Adding the
non-wide entries (and panel.h for symmetry, in case a host also
ships /usr/include/panel.h alone) makes the override insensitive to
whichever curses dev packages the host distro happens to provide.

Reported-by: Jan Kardell <jan.kardell@telliq.com>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit d883c02a41)
2026-05-30 21:41:03 +03:00
Wei-Ting Yang c30b579dfc treewide: fix licenses
Fix licenses.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit f7e3317515)
2026-05-28 11:44:16 +02:00
George Sapkin 36dcad3bfd golang: add version check override script
Only check versin for the compielr package.

Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit 021d62d58f)
2026-05-24 14:34:07 +03:00
George Sapkin 1e518eae50 golang: add a simple compilation test
Add a simple CI compilation test to ensure that the Go toolchain is
functional.

Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit d9fdda8cf2)
2026-05-24 14:34:07 +03:00
George Sapkin b2be3a6f0b golang: bump 1.26 to 1.26.3
Fixes: CVE-2026-27142
Fixes: CVE-2026-39836
Fixes: CVE-2026-42501
Changes: https://github.com/golang/go/issues?q=milestone%3AGo1.26.3+label%3ACherryPickApproved
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit 13dfad0879)
2026-05-24 14:34:07 +03:00
Alexandru Ardelean aa81ad6436 perl: fix miniperl missing execute permission (CI fix)
On some build systems, the miniperl binary is created without execute
permission (errno 126 when running it as /bin/sh). This breaks building
the mro extension and cascades to all dependent packages.

Fix by ensuring chmod +x on miniperl after the main build step.
This matches how many other build systems handle this same issue.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit d4d4e3e419)
2026-05-20 19:30:35 +02:00
Jens Wagner e252ed0f70 perl: fix missing line numbers in error messages
There were some type definitions missing in architecture.config,
that caused perl to return '%' instead of actual line numbers.

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

Signed-off-by: Jens Wagner <jens@wagner2013.de>
(cherry picked from commit 95b7bf91a7)
2026-05-20 19:30:35 +02:00
Alexandru Ardelean d3d6325409 perl: add test-version.sh to skip version check
perlbase-archive, perlbase-pod, and perlbase-test install Perl script
wrappers (ptar, pod2man, prove, etc.) that do not output the OpenWrt
package version string (5.40.0), causing generic version check failures
in CI.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 024b8ee60e)
2026-05-20 19:30:35 +02:00
Jens Wagner 3de0e4b1c1 perl-io-socket-ssl: update to 2.098
Changelog: https://metacpan.org/dist/IO-Socket-SSL/changes

Signed-off-by: Jens Wagner <jens@wagner2013.de>
(cherry picked from commit 75d03ef982)
2026-05-20 19:30:35 +02:00
Jens Wagner 4e222e562a perlbase-encode: added dependency on perlbase-storable
The Encode module uses the Storable module.

Signed-off-by: Jens Wagner <jens@wagner2013.de>
(cherry picked from commit fcaf398736)
2026-05-20 19:30:35 +02:00
Jens Wagner 8a796bbe3d perl: fix dependency issues in archive, pod and test
perlbase-archive, perlbase-pod and perlbase-test
had executable utilities with missing dependencies.

Fixes: https://github.com/openwrt/packages/issues/29425
Fixes: https://github.com/openwrt/packages/issues/29426
Fixes: https://github.com/openwrt/packages/issues/29427

As discussed in PR 29463
https://github.com/openwrt/packages/pull/29463

those are either non-working or useless on OpenWrt,
therefore they have been removed.

Signed-off-by: Jens Wagner <jens@wagner2013.de>
(cherry picked from commit 8c62419cd8)
2026-05-20 19:30:34 +02:00
Josef Schlehofer cece7c8833 flup: remove the package
Flup was heavily used in downstream distribution (Turris OS)
for their Web UI - reForis. Since there are no other
dependent packages in this repository, Flup is no longer needed.

The package appears to be abandoned and is no longer maintained
The latest version dates back to 2009.

It was previously required for Seafile.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 5120ed91b8)
2026-05-14 10:12:41 +02:00
Erik Larsson 2d4bed6255 python3-ubus: update to 0.1.3
Bump to version 0.1.3 and drop patch, which is in upstream.

Signed-off-by: Erik Larsson <who+github@cnackers.org>
(cherry picked from commit fee669b6d4)
2026-04-28 23:16:43 +02:00
Rosen Penev 05df56e4a3 python-psycopg2: update to 2.9.11
Newer Python compatibility.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 3f727dfd0c)
2026-04-26 16:23:15 +03:00
Alexandru Ardelean e929849faa python-constantly: drop versioneer build dependency
The release tarball already contains a pre-generated _version.py with
the version hardcoded, so versioneer is not needed at build time.
Patch pyproject.toml to only require setuptools and remove
PKG_BUILD_DEPENDS:=python-versioneer/host.

Remove python-versioneer package as it is no longer needed.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 8c3bc3fcf9)
2026-04-25 21:44:57 +03:00
Rosen Penev aa93460490 python-pyodbc: update to 5.3.0
Fixes compilation with newer Python/

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit f04aa8389d)
2026-04-25 07:48:22 +03:00
George Sapkin 403bb908ab golang: bump 1.26 to 1.26.2
Fixes: CVE-2026-27140
Fixes: CVE-2026-27143
Fixes: CVE-2026-27144
Fixes: CVE-2026-32280
Fixes: CVE-2026-32281
Fixes: CVE-2026-32282
Fixes: CVE-2026-32283
Fixes: CVE-2026-32288
Fixes: CVE-2026-32289
Fixes: CVE-2026-33810
Changes: https://github.com/golang/go/issues?q=milestone%3AGo1.26.2+label%3ACherryPickApproved

Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit 1a1c703287)
2026-04-19 22:37:46 +03:00
Alexandru Ardelean 6a9044400d python3: add no-mips16 to PKG_BUILD_FLAGS
Should fix Python3 build for mipsel_24kc_24kf.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-16 21:49:14 +03:00
Alexandru Ardelean a127b9d2ee python3-greenlet: update to 3.4.0
Update package to 3.4.0.

Changes:
- Added binary wheels for RISC-V 64
- Fixed multiple rare crash paths during interpreter shutdown; now uses
  the atexit module (subtle API change: getcurrent unavailable once
  atexit fires)
- Fixed multiple race conditions in free-threaded (no-GIL) builds when
  greenlets are accessed from multiple threads, some causing assertion
  failures or interpreter crashes
- Several minor correctness fixes from automated code audit

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 15e2da047b)
2026-04-14 08:02:50 +03:00
Alexandru Ardelean 435b41ff10 python-greenlet: bump to 3.3.2
Changelog since 3.3.1:
- v3.3.2: Fix crash on Python 3.10 during interpreter shutdown with
  active greenlets

Add test.sh.

Full changelog:
https://github.com/python-greenlet/greenlet/releases

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
(cherry picked from commit 79fe85b9e3)
2026-04-14 08:02:50 +03:00
Rosen Penev e263702a5e python-gevent: use LF for Makefile
Done with all other Makefiles.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 126562da30)
2026-04-14 08:02:50 +03:00