Commit Graph

5315 Commits

Author SHA1 Message Date
Alexandru Ardelean c5af5e02fb erlang: fix PKG_CPE_ID escaping for apk ADB format
apk's ADB binary package format rejects both the backslash-escape and
the percent-encoding variants of the previous CPE id:

  cpe:/a:erlang:erlang\/otp     ERROR: info field 'tags' has invalid value
  cpe:/a:erlang:erlang%2Fotp    ERROR: info field 'tags' has invalid value

apk's tag value parser only accepts a restricted alphabet for ADB
package format and neither '\' nor '%' make the cut. The result is
that the package never produces an .apk.

Drop the '/otp' suffix entirely and use cpe:/a:erlang:erlang, which
matches the higher-level Erlang CPE entry. cve scanners that walked
the more specific erlang\/otp entry will fall back to this one.

This effectively reverts the product portion of bfdf01496 ("lang/erlang:
fix PKG_CPE_ID"), which was correct against the NIST 2.3 string but
incompatible with apk's tag parser.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-24 15:57:57 +03:00
Alexandru Ardelean d4d4e3e419 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>
2026-05-20 20:09:52 +03:00
Jens Wagner 8c62419cd8 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>
2026-05-20 15:22:53 +02:00
Jens Wagner 95b7bf91a7 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>
2026-05-20 15:22:53 +02:00
Wei-Ting Yang c41f0fc54b python-urllib3: update to 2.7.0
Fix CVE-2026-44431 and CVE-2026-44432.

Full release notes:
https://github.com/urllib3/urllib3/releases/tag/2.7.0

- Drop 0001-relax-setuptools-scm-version-constraint.patch since
  upstream changed the setuptools-scm constraint to >=8,<11.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-05-19 08:49:41 +03:00
George Sapkin 1130219346 python-tabulate: add version check override
Skip version checks as none of the executables seem to report their
versions.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-17 14:35:31 +03:00
George Sapkin 31247cdbe5 python-pyserial: add version check override
Skip version checks as none of the executables seem to report their
versions.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-17 14:35:31 +03:00
George Sapkin e2ffecaab6 python-pyserial: fix host build
Fixes: ac212e0c ("python-pyserial: add hostbuild")
Signed-off-by: George Sapkin <george@sapk.in>
2026-05-17 14:35:31 +03:00
George Sapkin 9d69e4fa24 python3: add more packages to version check overrides
Add source packages and library to version check overrides.

Fixes: b5d3a38e ("python3: move version checks to override")
Signed-off-by: George Sapkin <george@sapk.in>
2026-05-17 14:35:31 +03:00
Wei-Ting Yang b63a1ebcd2 python-certifi: update to 2026.4.22
Use the latest CA bundle from Mozilla.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-05-17 08:59:58 +02:00
Jens Wagner 75d03ef982 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>
2026-05-17 08:56:14 +02:00
George Sapkin b5d3a38e45 python3: move version checks to override
Move existing version checks into override and add explicit package checks.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-16 17:49:10 +03:00
Wei-Ting Yang d677c11d96 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>
2026-05-16 10:58:51 +03:00
Wei-Ting Yang 586e79390b python-pytz: bump to 2026.2
Update timezone data to 2026.2 release.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
2026-05-16 10:58:37 +03:00
Alexandru Ardelean dc83108af4 python-installer: bump to 1.0.1
1.0.1 fixes a false-positive path-traversal check in destinations.py:
the 1.0.0 code used Path.resolve() to validate that each installed file
stays within the --destdir, but Path.resolve() follows symlinks.
OpenWrt's staging dir and toolchain directories contain many symlinks,
so resolved paths could escape the destdir comparison and trigger:

  ValueError: Attempting to write <file> outside of the target directory

1.0.1 replaces Path.resolve() with os.path.abspath(), which normalises
the path without following symlinks, eliminating the false positive.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-16 10:22:16 +03:00
Alexandru Ardelean 024b8ee60e 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>
2026-05-14 15:39:33 +03:00
George Sapkin 021d62d58f golang: add version check override script
Only check versin for the compielr package.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-14 00:24:08 +03:00
George Sapkin d9fdda8cf2 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>
2026-05-14 00:24:08 +03:00
George Sapkin 13dfad0879 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>
2026-05-14 00:24:08 +03:00
George Sapkin 6886c135f3 python-platformio: fix host build
Fix bottle dependency.

Fixes: e15bac97 ("python-platformio: add target package")
Signed-off-by: George Sapkin <george@sapk.in>
2026-05-13 23:02:33 +03:00
George Sapkin 578b7e3dea python-wsproto: fix host build
Add missing includes.

Fixes: b12e18eb ("python-wsproto: add host package")
Signed-off-by: George Sapkin <george@sapk.in>
2026-05-13 23:02:33 +03:00
George Sapkin 288d8e8942 python-h11: fix host build
Add missing includes.

Fixes: 0a75ad1e ("python-h11: add host package")
Signed-off-by: George Sapkin <george@sapk.in>
2026-05-13 23:02:33 +03:00
George Sapkin 9a04293388 python3-bottle: fix host build
Add missing includes.

Fixes: 9ff014b4 ("python3-bottle: add host package")
Signed-off-by: George Sapkin <george@sapk.in>
2026-05-13 23:02:33 +03:00
George Sapkin 02221e455b python-protobuf: add new package
Add Protobuf Python package.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-13 20:57:12 +03:00
George Sapkin e15bac9722 python-platformio: add target package
Remove host-only build and add source package.

Adding missing ajsonrpc dependency to PlatformIO.

Link: https://github.com/search?q=repo%3Aplatformio%2Fplatformio-core%20ajsonrpc&type=code
Signed-off-by: George Sapkin <george@sapk.in>
2026-05-12 11:08:25 +03:00
George Sapkin b12e18eb00 python-wsproto: add host package
Add host package necessary for python-platformio/host.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-12 11:08:25 +03:00
George Sapkin 072fde3b5e python-uvicorn: add new package
Uvicorn is an ASGI web server implementation for Python.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-12 11:08:25 +03:00
George Sapkin 54d7e96030 python-starlette: add new package
Starlette is a lightweight ASGI framework/toolkit, which is ideal for
building async web services in Python.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-12 11:08:25 +03:00
George Sapkin aeef8245ad python-semantic-version: add target package
Remove host-only build.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-12 11:08:25 +03:00
George Sapkin 92e9b7e5eb python-marshmallow: add new package
A lightweight library for converting complex datatypes to and from native
Python datatypes.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-12 11:08:25 +03:00
George Sapkin 0a75ad1e22 python-h11: add host package
Add host package necessary for python-uvicorn/host.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-12 11:08:25 +03:00
George Sapkin 9ff014b4fa python3-bottle: add host package
Add host package necessary for python-platformio/host.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-12 11:08:25 +03:00
George Sapkin 71be202c45 python-anyio: add new package
High-level concurrency and networking framework on top of asyncio or Trio.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-12 11:08:25 +03:00
George Sapkin d43869fbbc python-ajsonrpc: add new package
Lightweight JSON-RPC 2.0 protocol implementation and asynchronous server
powered by asyncio. This library is a successor of json-rpc and written
by the same team.

Signed-off-by: George Sapkin <george@sapk.in>
2026-05-12 11:08:25 +03:00
Alexandru Ardelean d414c51b58 micropython-lib: update to 1.28.0, add test.sh
micropython-lib is a companion repository to micropython, versioned in
lockstep. Both are now at 1.28.0 (released 2026-04-06).

The 001-build-unix-ffi.patch remains needed as the upstream has not yet
incorporated the --unix-ffi argument into the tools/build.py script.

test.sh:
- micropython-lib: verify stdlib-replacement modules (collections,
  functools, base64) can be imported via the /usr/lib/micropython path
- micropython-lib-unix: verify the micropython-unix wrapper script exists
  and that sqlite3/select are importable via the unix-ffi path

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-11 14:58:59 +03:00
Alexandru Ardelean cf71b42c4b micropython: update to 1.28.0
Changes since 1.27.0:
- New machine.CAN class with bindings for the stm32 port; support across
  all ports to follow
- machine.PWM support added to stm32 and alif ports, completing coverage
  of all Tier 1/2 MCU-based ports
- Template strings (t-strings, PEP 750) added at the "full feature" level
- weakref module added with weakref.ref and weakref.finalize classes
- f-strings now support nested f-strings within expressions
- Optimisations to native emitter; new RISC-V Zcmp arch flag for RV32
- extmod.mk: add extmod/machine_can.c (shifts the mbedtls hunk by 1 line;
  update 040-extmod-use-external-mbedtls.patch accordingly)

micropython-lib is updated in lockstep in a separate commit.

Ref: https://github.com/micropython/micropython/releases/tag/v1.28.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-11 14:58:59 +03:00
Jianhui Zhao 9f5146f678 lua-eco: update to 4.0.0
changelog: https://github.com/zhaojh329/lua-eco/releases/tag/v4.0.0

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2026-05-11 14:39:57 +03:00
Josef Schlehofer 5120ed91b8 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>
2026-05-10 11:33:52 +03:00
Alexandru Ardelean 21df5ff4b5 erlang: update to 28.5
Upstream release 28.5 (2026-04-23), patch release for OTP 28.

Applications updated:
- erl_interface-5.7: new --{enable,disable}-use-embedded-3pp-alternatives
  configure option; allows using system zstd, zlib, ryu, openssl, tcl
  instead of bundled copies (default: zlib uses OS version if available)
- erts-16.4: fixed bug in enif_make_map_from_arrays for arrays with >= 33
  keys (duplicates could produce broken maps); fixed Unicode handling in
  erl.exe args_file on Windows
- mnesia-4.25.3: bug fixes
- ssl-11.6: bug fixes

Highlight: new "Secure Coding Guidelines" document added to Design
Principles describing how to write secure Erlang code.

Reference: https://github.com/erlang/otp/releases/tag/OTP-28.5

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-10 11:31:30 +03:00
Yanase Yuki b0d8a3d384 treewide: cleanup URLs
This commit converts plain HTTP URLs to HTTPS, and updates
old or outdated URLs.

Signed-off-by: Yanase Yuki <dev@zpc.st>
2026-05-08 22:28:27 +02:00
Jianhui Zhao 5e70ed855f lua-ffi: update to 1.2.0
changelog: https://github.com/zhaojh329/lua-ffi/releases/tag/v1.2.0

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2026-05-07 18:36:34 +03:00
Alexandru Ardelean a3d2536eb0 lua-openssl: fix Lua detection with CMake 4.3
FindLuaJIT.cmake uses NO_DEFAULT_PATH and only searches hardcoded
luajit-specific paths, so it never finds regular Lua. However if
LUAJIT_INCLUDE_DIRS and LUAJIT_LIBRARY are pre-set in the CMake
cache, find_path/find_library skip their searches, the module sets
LUAJIT_FOUND=ON and also sets LUA_INCLUDE_DIR/LUA_LIBRARIES from
those values, and the if(NOT LUAJIT_FOUND) guard skips the broken
find_package(Lua REQUIRED) call that fails under CMake 4.3.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-04 19:26:53 +03:00
Alexandru Ardelean badbdbef9f python-semanage: update to 3.10
Changes in 3.10:
- improve semanage man pages: add examples for -r RANGE flag usage
- semanage: reset active value when deleting boolean customizations
- various libsemanage/libsepol bug fixes and security hardening

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 21:01:30 +03:00
Alexandru Ardelean 381e4f41ba python-selinux: update to 3.10
Changes in 3.10:
- fix parsing of the enforcing kernel cmdline parameter
- build python module without isolation (Makefile fix)
- treewide: add .clang-format configuration file
- various libsepol bug fixes (NULL deref, use-after-free, MLS range
  validation, functionfs_seclabel policycap, bpf_token_perms polcap)

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 21:01:30 +03:00
Alexandru Ardelean 8238e4ddfa lua-openssl: fix CMake Lua detection in build
The CMakeLists.txt first tries FindLuaJIT.cmake which uses
NO_DEFAULT_PATH with hardcoded host paths, so it always fails in
cross-compilation. The fallback find_package(Lua REQUIRED) may also
fail to find a flat sysroot layout where lua.h lives at
/usr/include/lua.h rather than a versioned subdirectory.

Explicitly pass LUA_INCLUDE_DIR and LUA_LIBRARY to CMake to bypass
both finders, and depend on +liblua (the library package) instead of
+lua to ensure Build/InstallDev runs and Lua headers are present in
the staging directory before this package builds.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-30 17:42:26 +03:00
Erik Larsson fee669b6d4 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>
2026-04-28 23:12:28 +02:00
Alexandru Ardelean 3a11691a19 python-zope-event: fix build with setuptools >= 81
The pyproject.toml for zope.event 6.1 specifies a strict build
dependency of setuptools>=78.1.1,<81. We currently package
setuptools>=81, causing pip to report a missing dependency and
fail the build.

Add patch 001-relax-setuptools-version.patch to drop the <81 upper
bound, allowing the package to build with any recent setuptools.

Add test.sh to verify the installed version and exercise the core
event API (subscribers list, notify(), event dispatch).

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-27 08:25:02 +03:00
Amnon Paz b1a49e6ca3 lua-openssl: update to 0.11.1
Update Makefile with the version
Remove LuaJIT fix patch - No longer needed
Add "ts-time-cb-signature" patch - Fixes build on various platforms

Signed-off-by: Amnon Paz <pazamnon@gmail.com>
2026-04-26 09:43:24 +03:00
Alexandru Ardelean acfafdaa03 python-semanage: fix cross-compilation, add test.sh
Add HOST_PYTHON3_PIP_VARS and --no-build-isolation to MAKE_VARS.
Without --no-build-isolation, pip creates an isolated build environment
which fails during cross-compilation because _sysconfigdata is missing.
Aligns with python-selinux which already has this fix.

The libsemanage pywrap uses the host Python's EXT_SUFFIX to name the
C extension, so we will use the PYCEXT env-var to correct that.

Add basic test.sh to verify the semanage Python bindings load correctly
in environments without SELinux kernel support.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-25 07:48:58 +03:00
Alexandru Ardelean e2e727e686 python-selinux: fix cross-compilation, add test.sh
Add --no-build-isolation to PYTHON_SETUP_ARGS. Without it, pip creates
an isolated build environment which fails during cross-compilation
because _sysconfigdata is missing for the target arch.

Add test.sh with basic import and API sanity checks.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-25 07:48:58 +03:00