aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* firmware-utils: bump to git HEADSander Vanheule2023-07-031-3/+3
| | | | | | | | | | | Add support for a number of new TP-Link devices. 9e2de8515be1 tplink-safeloader: add EAP610 v3 and EAP613 v1 bb12cf5c3fa9 tplink-safeloader: Add support for TP-Link Deco M5 a2d49fb1e188 tplink-safeloader: add RU support-list entry for Archer C6U v1 Signed-off-by: Sander Vanheule <sander@svanheule.net> (cherry picked from commit 0cdcf0338290a83d7679005e80cf7f547860bfc5)
* firmware-utils: ptgen: add SiFive-related GUID typesZoltan HERPAI2023-06-141-0/+38
| | | | | | | | | | | | | | | | | | | Add patch until it gets accepted in firmware-utils upstream. The SiFive RISC-V SoCs use two special partition types in the boot process. As a first step, the ZSBL (zero-stage bootloader) in the CPU looks for a partition with a GUID of 5B193300-FC78-40CD-8002-E86C45580B47 to load the first-stage bootloader - which in OpenWrt's case is an SPL image. The FSBL (SPL) then looks for a partition with a GUID of 2E54B353-1271-4842-806F-E436D6AF6985 to load the SSBL which is usually an u-boot. With ptgen already supporting GPT partition creation, add the required GUID types and name them accordingly to be invoked with the '-T <GPT partition type>' parameter. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> (cherry picked from commit 18238c442866a6ae93533e2421a6f44bc9e57ac6)
* tools/coreutils: rename list of installed programsMichael Pratt2023-06-121-6/+4
| | | | | | | | | | | | Rename the list of programs installed by coreutils to PKG_PROGRAMS, which will create a stampfile for each through a new feature in host-build.mk. Also, cleanup a bit to save lines regarding the usage of this list. Signed-off-by: Michael Pratt <mcpratt@pm.me> (cherry picked from commit 14a85d929b4a0a728dc4390ad34dcf8d69ac3475)
* tools/findutils: define list of installed programsMichael Pratt2023-06-121-0/+2
| | | | | | | | | | Define the variable PKG_PROGRAMS for the list of programs installed by findutils, which will create a stampfile for each through a new feature in host-build.mk. Signed-off-by: Michael Pratt <mcpratt@pm.me> (cherry picked from commit 04053e3f2050b6ea2cdb83c0956034e5fd368d10)
* tools/ccache: update to 4.8.1Linhui Liu2023-05-201-2/+2
| | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_8_1 Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/cmake: update to 3.26.4Nick Hainke2023-05-191-2/+2
| | | | | | | Changelog: https://www.kitware.com/cmake-3-26-4-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* firmware-utils: update to latest HEADDavid Bauer2023-05-181-3/+3
| | | | | | | | | 02cdbc6 tplink-safeloader: add Archer AX23 v1.2 (RU) de36fa6 tplink-safeloader: add AX23 support-list entry 5f6fefd tplink-safeloader: order AX23 support-list 25131d6 tplink-safeloader: add Archer C59 / C60 CA ragion code Signed-off-by: David Bauer <mail@david-bauer.net>
* tools: squashfs3-lzma: generate reproducible outputDaniel Golle2023-05-121-0/+11
| | | | | | | Always initialize header with zeros as otherwise we may end up with uninitialized memory which ruins reproducibility. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* tools/cpio: update to 2.14Linhui Liu2023-05-093-31/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Noteworthy changes in this release: * New option --ignore-dirnlink Valid in copy-out mode, it instructs cpio to ignore the actual number of links reported for each directory member and always store 2 instead. * Changes in --reproducible option The --reproducible option implies --ignore-dirlink. In other words, it is equivalent to --ignore-devno --ignore-dirnlink --renumber-inodes. * Use GNU ls algorithm for deciding timestamp format in -tv mode * Bugfixes ** Fix cpio header verification. ** Fix handling of device numbers on copy out. ** Fix calculation of CRC in copy-out mode. ** Rewrite the fix for CVE-2015-1197. ** Fix combination of --create --append --directory. ** Fix appending to archives bigger than 2G. Removed upstreamed: - 001-duplicate-program-name.patch - 010-clang.patch Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/pkgconf: update to 1.9.5Linhui Liu2023-05-091-2/+2
| | | | | | | Release Notes: https://github.com/pkgconf/pkgconf/blob/master/NEWS Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/xz: update to 5.4.3Nick Hainke2023-05-061-2/+2
| | | | | | | Changelog: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;h=2f4d35adca6198671434d2988803cc9316ad1ec8;hb=c247d06e1f6cada9a76f4f6225cbd97ea760f52f#l5 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/coreutils: bootstrap to local gnulib sourceMichael Pratt2023-05-043-0/+73
| | | | | | | | | | | | | | | | | | | | | Using the local gnulib source during bootstrap allows for fine-grained control over the macros and source files for use with coreutils but part of gnulib instead of coreutils, without having to wait for a release or deal with gnulib as a git submodule. In this case, the execution of autotools must be skipped by force. Autoconf and Automake during bootstrap on coreutils only works right when using directly checked-out source. There is a symbol in gnulib, @GNULIB_TIME@ that is not yet defined in coreutils source, so we use the backup of lib/time.in.h instead of the one provided by gnulib source. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/libtool: bootstrap to local gnulib sourceMichael Pratt2023-05-042-3/+17
| | | | | | | | | | | Using the local gnulib source during bootstrap allows for fine-grained control over the macros and source files for use with libtool but part of gnulib instead of libtool, without having to wait for a release or deal with gnulib as a git submodule. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/gengetopt: override SUBDIRS variable with MakefileMichael Pratt2023-05-042-34/+5
| | | | | | | | | | | | | | Instead of editing the SUBDIRS variable with a patch, it can be overriden at the end of the command line when invoking Make. This tool has a series of recursive Makefiles in each subdirectory, therefore SUBDIRS is set to a pattern of Make functions so that the result is variable depending on the current subdirectory that Make is being invoked in. By eliminating the patch, autoreconf is no longer required. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/flex: override SUBDIRS variable with MakefileMichael Pratt2023-05-042-15/+6
| | | | | | | | | | Instead of editing the SUBDIRS variable with a patch, it can be overriden at the end of the command line when invoking Make. Skip the build for po files as well, which is causing a conflict depending on the version of gettext detected, and macros present. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/automake: move file requirements to higher strictnessMichael Pratt2023-05-041-0/+29
| | | | | | | | | | | | GNU standards requires certain files at the top-level directory of a package that automake is used with, mostly documentation. If one of these files happens to be missing, autoreconf would fail. Move these file requirements to the more strict 'GNITS' setting. Link: https://www.gnu.org/software/automake/manual/html_node/Strictness.html Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/missing-macros: bump version of makeinfo alternative scriptMichael Pratt2023-05-041-1/+1
| | | | | | | | | | Some new releases of GNU tools are checking for a higher version of makeinfo than what our scripted alternative shows when working with checked-out sources instead of releases. Since this is a "fake" makeinfo we can also just fake the version. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/missing-macros: prefer macros provided by gnulib sourceMichael Pratt2023-05-049-1293/+2
| | | | | | | | These 7 macro files are provided by gnulib, so we can now replace these statically stored copies with the latest copy from GNU sources. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools: add gnulib sourceMichael Pratt2023-05-043-0/+80
| | | | | | | | | | | | | | | | By having a local copy of gnulib, we can: import the latest macro fixes into any package, get rid of some statically stored macros that were otherwise missing, bootstrap GNU tools with the latest relevant source without having to wait for a release or rely on git submodules, and possibly more... The patch assists in bootstrapping by ignoring the building of po files using gettext, and also to allow a user-defined path to a program to include parameters. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/patchelf: update to 0.18.0Nick Hainke2023-04-291-2/+2
| | | | | | | Release Notes: https://github.com/NixOS/patchelf/releases/tag/0.18.0 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/coreutils: update to 9.3Nick Hainke2023-04-293-148/+2
| | | | | | | | | | Update to latest bugfix release. Remove upstreamed patches: - 001-copy-fix-reflink-auto-to-fallback-in-more-cases.patch - 002-date-diagnose-f-read-errors.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/isl: update to 0.26Nick Hainke2023-04-221-2/+2
| | | | | | | Changelog: https://repo.or.cz/isl.git/blob/e58af07f91c94db81627fb801fa6f52c3a7201a8:/ChangeLog Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/libressl: update to 3.7.2Nick Hainke2023-04-221-2/+2
| | | | | | | Release Notes: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.7.2-relnotes.txt Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/squashfs4: backport OpenWrt extended options patchChristian Marangi2023-04-203-1/+900
| | | | | | | | | | | | | Due to us keeping a patch around for years and never proposing it to squashfs4 repository, we resulted in having the same squashfs4 version but with different supported options. (openwrt patched -- upstream) To workaround this problem, a non-standard option was required. To not have surprise on tool bump, backport the patch and add the new config option required to enable these extended non-standard options. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/lz4: build with mesonRosen Penev2023-04-202-23/+12
| | | | | | | | | | | | | | | | Simplifies Makefile and speeds up compilation. Before: Executed in 68.00 secs fish external usr time 104.17 secs 1.33 millis 104.17 secs sys time 4.29 secs 0.35 millis 4.29 secs After: Executed in 27.98 secs fish external usr time 25.18 secs 1.32 millis 25.18 secs sys time 3.31 secs 0.35 millis 3.31 secs Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/dwarves: update to 1.25Nick Hainke2023-04-191-5/+3
| | | | | | | | | Remove AUTORELEASE and HOST_BUILD_PARALLEL. Release Notes: https://lore.kernel.org/dwarves/ZDG4qxirpIfmbiip@kernel.org/T/#u Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.26.3Nick Hainke2023-04-191-2/+2
| | | | | | | | | Release Notes: - https://www.kitware.com/cmake-3-26-1-available-for-download/ - https://www.kitware.com/cmake-3-26-2-available-for-download/ - https://www.kitware.com/cmake-3-26-3-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/bzip2: add `bzip2` binariesTony Butler2023-04-184-0/+484
| | | | | | | | | | | | | | | `bzip2` is the standard executable for bzip2 compression this includes development includes and both static and shared libs (libbz2) which can be used by other packages the initramfs generator offers the BZIP2 option but there was no executable to support it, and worked only via side effect of having a system-installed version of bzip2, which could be less predictable Signed-off-by: Tony Butler <spudz76@gmail.com> [ remove unintended change ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* Revert "tools/bzip2: add `bzip2` binaries"Christian Marangi2023-04-184-484/+1
| | | | | | | | | This reverts commit 394d7134ec42f14ddb91769c737098753fa68266. The commit has unintentded change that cause compilation error with SDK or LZO compression. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/bzip2: add `bzip2` binariesTony Butler2023-04-184-1/+484
| | | | | | | | | | | | | `bzip2` is the standard executable for bzip2 compression this includes development includes and both static and shared libs (libbz2) which can be used by other packages the initramfs generator offers the BZIP2 option but there was no executable to support it, and worked only via side effect of having a system-installed version of bzip2, which could be less predictable Signed-off-by: Tony Butler <spudz76@gmail.com>
* firmware-utils: update to latest HEADDavid Bauer2023-04-181-3/+3
| | | | | | e8191eb tplink-safeloader: increase support-list size for AX23 v1 Signed-off-by: David Bauer <mail@david-bauer.net>
* tools/libdeflate: update to 1.18Nick Hainke2023-04-171-3/+3
| | | | | | | Release Notes: https://github.com/ebiggers/libdeflate/blob/master/NEWS.md#version-118 Signed-off-by: Nick Hainke <vincent@systemli.org>
* firmware-utils: update to latest HEADDavid Bauer2023-04-121-3/+3
| | | | | | 6a58f45 tplink-safeloader: add US-CA-TW support-list entries for Archer AX23v1 Signed-off-by: David Bauer <mail@david-bauer.net>
* tools/squashfs4: refresh multiple lzma configuration option patchChristian Marangi2023-04-122-25/+45
| | | | | | | | Refresh multiple lzma configuration option patch with new version proposed upstream. (Reintroduce -Xe option and add more checks and general better code quality) Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/mkimage: update to 2023.04Nick Hainke2023-04-112-6/+6
| | | | | | Update to latest version. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/mtools: update to 4.0.43Nick Hainke2023-04-081-2/+2
| | | | | | | Release Notes: https://lists.gnu.org/archive/html/info-gnu/2023-03/msg00006.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/zstd: update to 1.5.5Nick Hainke2023-04-071-2/+2
| | | | | | | Release Notes: https://github.com/facebook/zstd/releases/tag/v1.5.5 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/7z: Allow building on alpineOlliver Schinagl2023-04-022-0/+86
| | | | | | | | | | | | When using alpine as host, things start to fail. Lets pull in the upstream alpine patches to make things work. This should not affect other hosts. Note, that Alpine has the '_GNU_SOURCE' define in the APKBUILD file, but here we add this flag to the needed fix flags patch, which does similar things too. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
* tools/ccache: bump to 4.8Linhui Liu2023-04-022-3/+3
| | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_8 Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/ccache: always disable documentation compilationLinhui Liu2023-04-021-5/+1
| | | | | | | | | Speed up compilation. Also remove useless include target.mk (b492e69bd2d09aaa2c3c76b52203cbb3527eb2f7). Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/coreutils: update to 9.2Georgi Valkov2023-04-024-98/+148
| | | | | | | | | | | | | | | | | | | | | This resolves an error when building toolchain/musl on macOS due to improper hole-detection caused by a bug in macOS/APFS [1]. As long as we don't reconfigure, 001-m4.patch is not needed. If we keep it, it will force reconfigure the project, since m4 files are changed. This works, but may not be optimal, because the build should use files from coreutils/m4, but OpenWRT uses legacy files from staging_dir/host/share/aclocal [2]. backport a couple of upstream patches date: diagnose -f read errors copy: fix --reflink=auto to fallback in more cases [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61386 [2] https://github.com/openwrt/openwrt/pull/12233#issuecomment-1481097456 Co-developed-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
* tools/squashfs4: bump to 4.6.1Linhui Liu2023-04-0110-506/+4
| | | | | | | | | | | | | | | | | Changelogs: https://github.com/plougher/squashfs-tools/blob/4.6.1/CHANGES Removed upstreamed patches: - 001-Unsquashfs-Add-and-make-some-header-includes-conditi.patch - 002-Mksquashfs-Make-sysinfo-conditional.patch - 003-Only-use-available-CPUs.patch - 004-action-rework-strdupa-with-POSIX-strdup-and-free.patch - 005-Don-t-use-sigwaitinfo-sigtimedwait-if-not-supported.patch - 006-Move-sysinfo.h-into-the-linux-only-section-should-fi.patch - 007-Unsquashfs-fix-compilation-error-for-missing-sysctl..patch - 100-portability.patch Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/squashfs4: enable parallel buildsLinhui Liu2023-04-011-1/+3
| | | | | | | | | | | | | | Run `time make tools/squashfs4/{clean,compile} -j$(nproc)` Before: real 0m8.803s user 0m12.415s sys 0m1.317s After: real 0m13.781s user 0m13.290s sys 0m1.528s Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/libtool: clean up build recipesMichael Pratt2023-03-271-6/+3
| | | | | | | | | Host/Clean/Default is no longer defined. Use the uninstall makefile target to remove the obsolete m4 files, and more. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* autotools: remove specialized version of libtoolMichael Pratt2023-03-271-2/+0
| | | | | | | | | | | | | Remove the specialized copy of libtool which was used for linking to uClibc++, which is now removed. Also remove references to the deprecated fixup targets that invoked this specialized libtool, which no package uses. Ref: 6b2ed6101 ("uclibc++: remove") Ref: c10515db6 ("re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP") Ref: 246a5b334 ("More libtool madness") Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/automake: verbose variable compatibilityMichael Pratt2023-03-271-0/+59
| | | | | | | | | | | | | | | An old patch attempted to harmonize the way that both Openwrt and Automake uses the $(V) variable. However, it was reverted because of the side-effects. This method is more simple and just allows Automake to accept any string as part of the verbosity toggle, falling back to the default if null. Ref: e6901bf90 ("tools/automake: Revert "Do not use $(V) - force AM_V=1"") Ref: 43365ca66 ("Do not use $(V) - force AM_V=1") Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/autoconf-archive: bump to 2023.02.20Linhui Liu2023-03-201-2/+2
| | | | | | Changelog included in package. Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/cmake: bump to 3.26.0Linhui Liu2023-03-203-5/+5
| | | | | | | Release Notes: https://cmake.org/cmake/help/v3.26/release/3.26.html Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/xz: bump to 5.4.2Linhui Liu2023-03-201-2/+2
| | | | | | | Release Notes: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/libressl: bump to 3.7.1Linhui Liu2023-03-201-3/+2
| | | | | | | Release Notes: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.7.1-relnotes.txt Signed-off-by: Linhui Liu <liulinhui36@gmail.com>