2781 Commits
Author SHA1 Message Date
Tianling Shen ef74cfd14f Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-07-22 11:02:55 +08:00
Jonas Jelonek 3ec398f0c3 tools: firmware-utils: update to Git HEAD (2026-07-19)
1ab209233682 mkzynfw: rename macros from RTL93XX to RTL_OTTO
606f25ef3ca2 mkzynfw: add board definitions for Zyxel GS1920 v2 series
162fa533b309 mkzynfw: add board definitions for GS2210 series
b2d46a825a53 mkzynfw: add board definitions for Zyxel GS1920 v1 series
5c5df244b8a1 Revert "mkzynfw: add board definitions for Zyxel GS1920 v1 series"
7f28bfbc4b5a Revert "mkzynfw: add board definitions for GS2210 series"
5e1b83d1fc2b mkzynfw: add board definitions for GS2210 series
3e6b426938e8 mkzynfw: add board definitions for Zyxel GS1920 v1 series

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-19 21:45:08 +00:00
Tianling Shen dbd8559efc Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-07-15 16:32:26 +08:00
Michael PrattandRobert Marko a54eb7297f tools: gnulib: rename macro file for cond module
It was reported that cond.m4 in gnulib is a name clash with
cond.m4 provided by Automake, where they are for completely
different purposes instead of different versions of the same macros.

A quick survey of all the macro files in the build directory reveals that
this is the only case where the gnulib copy is signficantly smaller
than the rest of the copies of the same macro name
distributed in the rest of the build system,
and the only one that name clashes with Automake.

A previous fix added a prefix to all macros from gnulib,
but the name must match how it is described in the respective modules files
as a functional requirement to build certain tools for certain (older) hosts,
so patch the problematic module instead of renaming all macros from gnulib.

Ref: c820f097e0 ("tools: gnulib: install .m4 file with gl_ prefix")
Ref: 78a8cfb577 ("tools: gnulib: fix broken install of .m4 files")
Reported-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/24136
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-07-12 11:26:53 +02:00
Michael PrattandRobert Marko cda598a595 Revert "tools: gnulib: install .m4 file with gl_ prefix"
A more proper fix follows this revert.

This reverts commit c820f097e0.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/24136
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-07-12 11:26:53 +02:00
Michael PrattandRobert Marko 773a46cc7e Revert "tools: gnulib: fix broken install of .m4 files"
A more proper fix follows these reverts.

This reverts commit 78a8cfb577.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/24136
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-07-12 11:26:52 +02:00
Shiji YangandJonas Jelonek 8b5702e328 tools/fakeroot: update to 2.1.3
Changelog:
https://salsa.debian.org/clint/fakeroot/-/blob/debian/2.1.3-1/debian/changelog?ref_type=tags

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/24140
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-11 23:44:48 +02:00
Shiji YangandJonas Jelonek f381d86d91 tools/mkimage: update to v2026.07
Update to the latest version. There are no new changes here, just
to align with uboot-tools.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/24124
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-07-09 13:00:18 +02:00
Tianling Shen ce45f2b150 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-07-06 10:21:31 +08:00
Wei-Ting YangandRobert Marko 62e7565f0e tools/expat: update to 2.8.2
This version bump includes fixes for the following CVEs:
- CVE-2026-41080
- CVE-2026-45186
- CVE-2026-50219
- CVE-2026-56131
- CVE-2026-56132
- CVE-2026-56403
- CVE-2026-56404
- CVE-2026-56405
- CVE-2026-56406
- CVE-2026-56407
- CVE-2026-56408
- CVE-2026-56409
- CVE-2026-56410
- CVE-2026-56411
- CVE-2026-56412

Full release notes:
https://github.com/libexpat/libexpat/blob/master/expat/Changes

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24016
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-07-02 16:36:16 +02:00
Tianling Shen 1e920a0024 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-06-29 13:33:20 +08:00
Jack SunandHauke Mehrtens 219798083c tools/cmake: update to 4.3.4
Release notes:https://cmake.org/cmake/help/latest/release/4.3.html

No need refresh patches.

Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23938
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-06-25 23:13:25 +02:00
Thomas WeißschuhandHauke Mehrtens 4ffea56388 tools: util-linux: update to 2.42.2
Release notes:
https://www.kernel.org/pub/linux/utils/util-linux/v2.42/v2.42.2-ReleaseNotes

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Link: https://github.com/openwrt/openwrt/pull/23844
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-06-24 02:14:33 +02:00
Jonas Jelonek 47d1bf564f tools: bc: update to 1.08.2
Changelog included in source tar.

Removed patches:
- 000-getopt-prototype.patch
- 001-getopt-declaration.patch

Both patch changes are included upstream in this version.

Link: https://github.com/openwrt/openwrt/pull/23911
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-06-22 13:01:20 +02:00
ShineandJonas Jelonek a9b5937015 tools: bc: fix build on musl host
Fix declaration of getenv() in getopt.c

Backport from bc 1.08.2.

Signed-off-by: Shine <4c.fce2@proton.me>
Link: https://github.com/openwrt/openwrt/pull/21957
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-06-21 11:18:46 +02:00
Tianling Shen 1ebf87589d Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-06-02 14:54:29 +08:00
Shiji YangandJonas Jelonek aa96b3ad55 tools/fakeroot: update to 1.38.1
Changelog:
https://salsa.debian.org/clint/fakeroot/-/blob/debian/1.38.1-1/debian/changelog?ref_type=tags

Remove upstreamed patches:
- 400-alpine-libc.musl-fix.patch[1]
- 600-macOS.patch[2][3]

[1] https://salsa.debian.org/clint/fakeroot/-/commit/0b79007b7dc7ac32bca81ec37f4f36fc47a48e16
[2] https://salsa.debian.org/clint/fakeroot/-/commit/6fc4f9d8b198df565712e3ea7af9660a8eeaa69a
[3] https://salsa.debian.org/clint/fakeroot/-/commit/6bce2e78372e513f2795808e4fb8c712605a562f
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/23577
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-05-30 11:20:25 +02:00
Alessio FerriandHauke Mehrtens 06bf4fa978 b43-tools: introduce support for rev22 in b43-fwsquash.py
rev22 has been ignored in fwsquash for the lack of supported binary blobs
containing the required firmware.
Now that fwcutter is able to parse the blob included in the gpl release
of dlink dsl 3580l, fwsquash need to keep the extracted files.

Signed-off-by: Alessio Ferri <alessio.ferri.3012@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23532
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-05-28 00:47:45 +02:00
Tianling Shen 6efdfa7a1f Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-05-27 16:23:52 +08:00
Alessio FerriandHauke Mehrtens 88300c83f3 b43-tools: update the package to version released on 2026-05-22
b43-tools introduced python 2 to python 3 conversion and added
support to extract ucode from a new blob

Signed-off-by: Alessio Ferri <alessio.ferri.3012@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23535
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-05-27 01:44:48 +02:00
Tianling Shen 5cf40ef1f2 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-05-25 10:31:15 +08:00
Jack SunandRobert Marko 67a870c9c6 tools/cmake: update to 4.3.3
Release notes:https://cmake.org/cmake/help/latest/release/4.3.html

No need refresh patches

Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23482
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-05-24 10:23:41 +02:00
Tianling Shen 098690ddf3 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-05-20 10:16:28 +08:00
Thomas WeißschuhandHauke Mehrtens 6418d6fd0b tools: util-linux: update to 2.42.1
Release notes:
https://www.kernel.org/pub/linux/utils/util-linux/v2.42/v2.42.1-ReleaseNotes

Remove upstreamed:
0001-pidutils-gracefully-handle-systems-without-sys-vfs.h.patch

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Link: https://github.com/openwrt/openwrt/pull/23432
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-05-19 23:39:29 +02:00
Jack SunandRobert Marko 7bbf265d3e tools/cmake: update to 4.3.2
Release notes:https://cmake.org/cmake/help/latest/release/4.3.html

No need refresh patches

Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23398
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-05-17 13:09:36 +02:00
Tianling Shen a086361471 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-05-06 15:38:47 +08:00
Jonas JelonekandRobert Marko 8de418547f firmware-utils: update to Git HEAD (2026-05-04)
d21804addba6 add XikeStor SKS7300 image generation utility
7806c09361d2 mkzynfw: add board definitions for Zyxel XMG1915 switches
1a4153f4c701 mkzynfw: add board definitions for XGS1930 series

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23221
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-05-05 14:10:39 +02:00
Tianling Shen ad716797ed Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-05-02 15:35:52 +08:00
Carsten SchuetteandRobert Marko de41c05e1c mold: Update to 2.41.0
Update mold to 2.41.0

Release notes:
https://github.com/rui314/mold/releases/tag/v2.41.0

Signed-off-by: Carsten Schuette <schuettecarsten@googlemail.com>
Link: https://github.com/openwrt/openwrt/pull/23129
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-04-28 09:35:53 +02:00
Tianling Shen b2616f2bca Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-24 15:34:46 +08:00
Thomas WeißschuhandHauke Mehrtens c896a812ae tools: util-linux: update to 2.42
Release notes:
https://www.kernel.org/pub/linux/utils/util-linux/v2.42/v2.42-ReleaseNotes

Remove upstreamed:
010-meson-curses.patch

New:
0001-pidutils-gracefully-handle-systems-without-sys-vfs.h.patch

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Link: https://github.com/openwrt/openwrt/pull/22878
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-23 01:05:05 +02:00
Tianling Shen 716d679e0f Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-21 09:38:57 +08:00
Nick Hainke 84cb042e3a tools/ccache: update to 4.13.3
Release Notes:
- https://ccache.dev/releasenotes.html#_ccache_4_12_2
- https://ccache.dev/releasenotes.html#_ccache_4_13_3
- https://ccache.dev/releasenotes.html#_ccache_4_13
- https://ccache.dev/releasenotes.html#_ccache_4_13_1
- https://ccache.dev/releasenotes.html#_ccache_4_13_2
- https://ccache.dev/releasenotes.html#_ccache_4_13_3

Link: https://github.com/openwrt/openwrt/pull/23005
Signed-off-by: Nick Hainke <vincent@systemli.org>
2026-04-20 08:51:04 +02:00
Nick Hainke 76928eb34a tools/expat: update to 2.7.5
Changelog:
https://github.com/libexpat/libexpat/blob/R_2_7_5/expat/Changes

Fixes: CVE-2026-32776 CVE-2026-32777 CVE-2026-32778
Link: https://github.com/openwrt/openwrt/pull/23007
Signed-off-by: Nick Hainke <vincent@systemli.org>
2026-04-20 08:50:19 +02:00
Paul Spooren 7a991c8d88 treewide: use HTTPS for PKG_SOURCE_URL where possible
Switch http:// (and redundant ftp://) PKG_SOURCE_URL entries to https://
across tools/ and package/. PKG_HASH alone does not protect against an
attacker tampering with insecure downloads when a maintainer regenerates
the hash via `make ... FIXUP=1`: HTTPS authenticates the upstream so the
captured hash reflects real upstream content.

In-place http -> https (HTTPS reachability verified per host):
- tools/elftosb, tools/lzop, tools/liblzo, tools/mpfr, tools/dosfstools,
  tools/libressl, tools/xz
- package/libs/mpfr, package/libs/libmnl, package/libs/libnfnetlink

Replaced with @OPENWRT (HTTPS-only mirror) where the upstream HTTPS host
is dead or has a broken certificate:
- package/libs/popt (ftp.rpm.org cert mismatch)
- package/firmware/ixp4xx-microcode (was http://downloads.openwrt.org)
- package/boot/imx-bootlets (trabant.uid0.hu cert mismatch)
- package/boot/kobs-ng (freescale.com URL is dead, redirects to nxp.com root)

Dropped redundant ftp://ftp.denx.de fallback (https://ftp.denx.de is
already listed):
- package/boot/uboot-tools, tools/mkimage

Signed-off-by: Paul Spooren <mail@aparcar.org>
2026-04-20 11:58:37 +08:00
Tianling Shen a2ff671fec Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-18 20:23:48 +08:00
Nick Hainke e70eff695e tools/llvm-bpf: update to 22.1.3
Release Notes:
- https://discourse.llvm.org/t/llvm-21-1-7-released
- https://discourse.llvm.org/t/llvm-21-1-8-released
- https://discourse.llvm.org/t/llvm-22-1-0-released
- https://discourse.llvm.org/t/llvm-22-1-1-released
- https://discourse.llvm.org/t/llvm-22-1-2-released
- https://discourse.llvm.org/t/llvm-22-1-3-released

Link: https://github.com/openwrt/openwrt/pull/22972
Signed-off-by: Nick Hainke <vincent@systemli.org>
2026-04-18 09:19:29 +02:00
Shiji YangandHauke Mehrtens d870511c82 tools/mtd-utils: update to v2.3.1
Fixes:
  - ubifs-utils: link libmissing.a in case execinfo.h isn't present
  - ubifs-utils: common: fix memory leak in devtable.c
  - Broken check for GCC compiler versions
  - ubifs-utils: missing header file includes
  - ubifs-utils: tests: missing files in release tarball
  - mtd-tests: flash_speed: really skip destructive tests
  - mtd-tests: flash_speed: wrong error message in read_eraseblock()
  - serve_image: fix _POSIX_C_SOURCE define
  - ubiattach: fix wording in usage example
  - fsck.ubifs: don't use pointers that reference out-of-scope variables
  - fsck.ubifs: fix platform dependant `ino_t` and `loff_t` formatting
  - docfdisk.c: fix potential arithmetic overflows in partition size
  - jittertest: reject overlong file names

Changes:
  - ubirsvol: resize using all available free space if size is specified
    as 0

Upstreamed patches:
  - 001-ubifs-utils-link-libmissing.a-in-case-execinfo.h-isn.patch[1]
  - 002-ubifs-utils-common-fix-memory-leak-in-devtable.c.patch[2]
  - 004-Improve-check-for-GCC-compiler-version.patch[3]
  - 005-ubifs-utils-ubifs.h-Include-fcntl.h.patch[4]
  - 006-ubifs-utils-journal-Include-sys-stat.h.patch[5]
  - 007-ubifs-utils-extract_files-Include-linux-limits.h.patch[6]

[1] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=8a83b306db64d6f60186d4396b0b770163b85b6e
[2] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=2669111e3c60b8e146c174db5d2e7e9991f3dd87
[3] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=ac0ab65ebcd7b11739986b81343457469fbb43b0
[4] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=12bc9ad824bd8f18a5ec9c7154ad2374cf8c7ae3
[5] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=173f9714c8da1d685bfa951d43b9310d16bbab3c
[6] https://git.infraroot.at/mtd-utils.git/commit/?h=v2.3.1&id=77981a2888c711268b0e7f32af6af159c2288e23
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22946
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-16 20:45:40 +02:00
Tianling Shen c7e6b40e89 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-14 10:54:59 +08:00
Jonas JelonekandHauke Mehrtens 0a1074eb9c firmware-utils: update to Git HEAD (2026-04-09)
7350dc7766f6 tplink-safeloader: add support for Festa F61
f3b02a2f2e39 mkzynfw: add board definitions for Zyxel XS1930 switches

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22827
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-12 18:23:08 +02:00
Shiji YangandNick Hainke 75f2f960ca tools/mkimage: use full defconfig name
The defconfig file used to build tools is "tools-only_defconfig".
Though u-boot scripts can still automatically handle the old style
name for compatibility reason, it's better to use the correct name.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22844
Signed-off-by: Nick Hainke <vincent@systemli.org>
2026-04-12 10:28:25 +02:00
Shiji YangandNick Hainke e249f79723 tools/mkimage: disable more unnecessary tools
It doesn't make sence to build unused tools.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22844
Signed-off-by: Nick Hainke <vincent@systemli.org>
2026-04-12 10:28:25 +02:00
Shiji YangandNick Hainke f2d684236f tools/mkimage: update to v2026.04
Update to the latest version and add missing 030 patch header.

Changelog:
22aa122eee0 mkimage: Add support for bundling TEE in mkimage -f auto

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22844
Signed-off-by: Nick Hainke <vincent@systemli.org>
2026-04-12 10:28:25 +02:00
Tianling Shen 584f938f24 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-10 10:19:41 +08:00
Jack SunandRobert Marko db68b8cefa tools/cmake: update to 4.3.1
Release notes:https://cmake.org/cmake/help/latest/release/4.3.html

Refresh patches:
- 130-bootstrap_parallel_make_flag.patch
- 150-zstd-libarchive.patch
- 160-disable_xcode_generator.patch

Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22693
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-04-07 23:01:22 +02:00
Tianling Shen 254508aaad Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-04-07 10:27:22 +08:00
John AudiaandHauke Mehrtens b580beb3fc tools: e2fsprogs: update to version 1.47.4
Changelog:
https://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.47.4

Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/22415
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-07 01:31:04 +02:00
Shiji YangandHauke Mehrtens 105750c673 tools/xz: update to 5.8.3
This includes a fix for (CVE-2026-34743).

Release Notes:
https://github.com/tukaani-project/xz/releases/tag/v5.8.3

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22790
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-06 15:58:13 +02:00
seurosandHauke Mehrtens 86bb0d7d27 tools/e2fsprogs: fix build with system libblkid probe API
When building on a host with e2fsprogs >= 1.47.0 installed, configure
detects the system libblkid probe API (blkid_probe_get_partitions etc.)
and sets ac_cv_lib_blkid_blkid_get_cache=yes. This causes plausible.c
to be compiled with HAVE_BLKID_PROBE_GET_PARTITIONS defined, but the
host build links against the internal blkid stub, resulting in:

  plausible.c: error: unknown type name 'blkid_probe'

Override the configure cache variables to prevent detection of the
system libblkid probe API, ensuring the internal stub is used
consistently.

Signed-off-by: seuros <openwrt@seuros.com>
Link: https://github.com/openwrt/openwrt/pull/22368
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-04-06 00:06:37 +02:00
Tianling Shen dd1ffd6d44 Merge Official Source
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2026-03-20 23:42:42 +08:00