aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* tools: update elf.hMathew McBride2023-03-191-215/+1535
| | | | | | | | | | | | | | | | | | | | | | OpenWrt contains a 2012 copy of glibc's elf.h, which predates the introduction of some newer architectures like Arm64 and RISC-V. Linux 5.13 introduced the "gen-hyprel" tool into the kernel compile (when virtualization/KVM is enabled) which requires EM_AARCH64 to be defined. arch/arm64/kvm/hyp/nvhe/gen-hyprel.c: In function 'init_elf': arch/arm64/kvm/hyp/nvhe/gen-hyprel.c:289:43: error: 'EM_AARCH64' undeclared (first use in this function); did you mean 'EM_IA_64'? 289 | assert_eq(elf16toh(elf.ehdr->e_machine), EM_AARCH64, "%u"); | ^~~~~~~~~~ Update the copy of elf.h from the latest glibc to fix this. Compile-tested: ath79, armvirt, mpc85xx, x86 Run-tested: armvirt Signed-off-by: Mathew McBride <matt@traverse.com.au>
* tools/autoconf: ensure relocatabilityJo-Philipp Wich2023-03-161-2/+5
| | | | | | | | | | | Upstream introduced a new `trailer.m4` macro file referenced by the absolute build path of autoconf. Make sure that this is covered by the `000-relocatable.patch` as well. This should fix various SDK build failures related to autoconf. Fixes: 030447b8f4 ("tools/autoconf: bump to 2.71") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* firmware-utils: update to latest HEADDavid Bauer2023-03-151-3/+3
| | | | | | | | | | | | | | | | a2c80c5 tplink-safeloader: add Archer AX23 3c04ecf tplink-safeloader: add Cloud image detection 87e593d tplink-safeloader: add QNEW image detection 34fbf48 tplink-safeloader: add vendor info support d86cc1b tplink-safeloader: refactor image ingestion 5d3a14a tplink-safeloader: ignore NULLs in version info 71ddbcd tplink-safeloader: don't end-pad sysupgrade file a29817e tplink-safeloader: stop at nameless partition 0c8a724 tplink-safeloader: replace hardcoded offsets b82a521 tplink-safeloader: use enum for table types 201a6c0 tplink-safeloader: stricter free_image_partition() Signed-off-by: David Bauer <mail@david-bauer.net>
* tools/libtool: bump to 2.4.7Rosen Penev2023-03-139-242/+18
| | | | | | | | Remove upstreamed patch and refresh others. Signed-off-by: Rosen Penev <rosenp@gmail.com> [rebased and refreshed patches again] Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/libtool: bump to 2.4.6Eneas U de Queiroz2023-03-1310-326/+395
| | | | | | | | | | | | | | | | | | | | | | | | | | | This updates libtool to its current release, from 2015. Current patches were renumbered and given a description text. The fix in 160-passthrough-ssp.patch is no longer needed. A patch to speed up build was cherry-picked, and another openwrt specific patch was needed to not use quotes in $(SHELL), to acommodate our "SHELL=/usr/bin/env bash" usage. The already present call to ./bootstrap ensures that generated files are refreshed, so the patches are applied only to their sources. Also, that bootstrap call was adjusted to run at the appropriate time when QUILT=1. References below are relevant commits to upstream libtool regarding some of the changes to patches. This commit is being reapplied after previous revertion, and after some editing. The fix for the issue that prompted reverting is the parent of this commit. Ref: 435cb8d71 ("libtoolize: simplify runtime by substituting pkgauxdir") Ref: 3cf11cfe2 ("libtoolize: rewritten over funclib.sh instead of general.m4sh") Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com> Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> [refactored to simplify patch changes, expanded patches, added upstream references] Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/libtool: fix hard-coded pathsSebastian Kemper2023-03-131-12/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | libtoolize hardcodes some paths. This is fine when building libtool and then using it (for example in OpenWrt's buildroot). But when using an SDK the paths are most likely different. For example, when building util-linux within an SDK we're greeted with the following message: libtoolize: error: $pkgauxdir is not a directory: '/path/to/openwrt/staging_dir/host/share/libtool/build-aux' This is because staging_dir/host/bin/libtoolize contains the following hard-coded paths from when the SDK was built in the first place: prefix="/path/to/openwrt/staging_dir/host" datadir="/path/to/openwrt/staging_dir/host/share" pkgauxdir="/path/to/openwrt/staging_dir/host/share/libtool/build-aux" pkgltdldir="/path/to/openwrt/staging_dir/host/share/libtool" aclocaldir="/path/to/openwrt/staging_dir/host/share/aclocal" This commits updates 000-relocatable.patch to correct the paths, relative to "$STAGING_DIR_HOST". Ref: 96e05e2e3 ("libtool: Revert "libtool: bump to 2.4.6"") Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> [adapted to older libtool version before bumping, use STAGING_DIR_HOST] Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/libtool: add commit messages to patchesMichael Pratt2023-03-136-0/+71
| | | | | | | | | | | | Add commit messages to patches as intended by the last bump to libtool which had to be reverted. This allows for a cleaner diff later, removing this clutter from the complex changes to patches that are required to bump to the latest libtool version. Ref: c377d874b ("libtool: bump to 2.4.6") Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/libtool: refresh patchesMichael Pratt2023-03-133-11/+8
| | | | | | | | | Preparation for bumping libtool several versions at once, which includes some complex changes to patches. Remove an empty line change from a patch. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/automake: bump to 1.16.5Michael Pratt2023-03-133-65/+21
| | | | | | | | | | | | | | | | | | | | | Automake releases 1.16.2 to 1.16.5 are major releases, the two before are minor releases. The first patch needed rewriting, some lines moved to be consistent with the same change upstream in other files. This also simplifies the patch. Second patch refreshed. Links to changelogs in order, oldest to newest. Link: https://lists.gnu.org/archive/html/info-gnu/2018-02/msg00008.html Link: https://lists.gnu.org/archive/html/info-gnu/2018-03/msg00002.html Link: https://lists.gnu.org/archive/html/info-gnu/2020-03/msg00009.html Link: https://lists.gnu.org/archive/html/info-gnu/2020-11/msg00005.html Link: https://lists.gnu.org/archive/html/info-gnu/2021-07/msg00013.html Link: https://lists.gnu.org/archive/html/info-gnu/2021-10/msg00000.html Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/autoconf: bump to 2.71Michael Pratt2023-03-134-128/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | Autoconf release 2.71 is a bugfix release of 2.70 Links provided are the changelog of 2.70 [1] [2] and the announcement of 2.71 [3] The first patch needed to be rewritten. Some of the lines in the patch were moved to be consistent with the same change added upstream in other similar files. Second and third patches are no longer needed, Emacs can now be disabled at the configure stage, and support for musl was added upstream. The patch now causes help2man to be required for installing man pages, but we don't need them. There is no way to disable man pages build with the configure script, so use make to touch the files with the build target install-man1. Link: https://lists.gnu.org/archive/html/autotools-announce/2020-12/msg00001.html Link: https://lwn.net/Articles/839395 Link: https://lists.gnu.org/archive/html/info-gnu/2021-01/msg00017.html Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/autoconf-archive: bump to 2022.09.03Michael Pratt2023-03-131-2/+2
| | | | | | | | Changelog included in package. Link to announcement. Link: https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00004.html Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/automake: use make variable to generate aclocal symlinksMichael Pratt2023-03-131-5/+8
| | | | | | | | | | | | | Instead of having a somewhat random list of aclocal symlinks which are named with the API versioning scheme, install a symlink for every API version since 1.11 (the first release after Automake was moved to git) using the API version number from the version of automake that is currently in openwrt. Automake API versioning does not include the patch level number. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/automake: clean up build recipesMichael Pratt2023-03-131-4/+4
| | | | | | | | | | | | | | | | The configure option datarootdir defaults to PREFIX/share. The Host/Clean define should be Host/Uninstall otherwise it is removing the build directory before there is a chance to try "make uninstall" in that directory. Host/Clean/Default is no longer defined. Consolidate the install stage with Host/Uninstall, since it is essentially uninstalling before installing. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/autoconf: clean up build recipesMichael Pratt2023-03-131-12/+4
| | | | | | | | | | | | | | | | The configure option datarootdir defaults to PREFIX/share. The Host/Clean define should be Host/Uninstall otherwise it is removing the build directory before there is a chance to try "make uninstall" in that directory. Host/Clean/Default is no longer defined. Use default build recipes defined in host-build.mk instead of custom ones that are equivalent. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/autoconf-archive: clean up build recipesMichael Pratt2023-03-131-14/+2
| | | | | | | | | | | | | | | | The configure option datarootdir defaults to PREFIX/share. The Host/Clean define should be Host/Uninstall otherwise it is removing the build directory before there is a chance to try "make uninstall" in that directory. Host/Clean/Default is no longer defined. Use default build recipes defined in host-build.mk instead of custom ones that are equivalent. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/elfutils: update to 1.89Nick Hainke2023-03-121-2/+2
| | | | | | | Release Notes: https://sourceware.org/pipermail/elfutils-devel/2023q1/006023.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* Remove ccache wrappersPaul Fertser2023-03-053-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | These wrappers are not needed as CC doesn't need to be a single word. a53b084e497a9f1629a2caada833ebe14a6838b7 which introduced the wrappers doesn't explain why they were really needed and why only for the target and not for the host. Moreover, name of the wrappers breaks a ccache assumption: since v4.0-3-g6a92b4cd3a67 it has special handling for "chained" invocation such as "ccache ccache gcc" where it skips all the "ccache*" names in the middle and proceeds to run as if it was started as "ccache gcc"[1][2]. This becomes important when a build system sees ccache in the PATH and automatically enables it by prepending to CC. An example of such a system would be autosetup as used by jimtcl. With the wrappers it breaks as the command line ends up being just "ccache -Os..." because "ccache_cc" gets skipped as it starts with "ccache". [1] https://github.com/ccache/ccache/blob/master/src/ccache.cpp#L2105 [2] https://github.com/ccache/ccache/blob/master/src/Util.cpp#L802 Reported-by: Karl Palsson <karlp@etactica.com> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* tools/squashfs4: fix PKG_MIRROR_HASHDaniel Golle2023-02-251-1/+1
| | | | | | | | | | | The hash currently matches neither the SHA256 of the Github download nor the hash of the archive generated by the OpenWrt build system. (and yes, they differ...) Set hash of Github-generated tarball. Fixes: 30f2d516ba ("tools/squashfs4: add new tool for squashfs4 images") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* tools/squashfskit4: drop unused toolChristian Marangi2023-02-205-154/+0
| | | | | | | Drop squashfskit4 tool as it got replaced by new version of squashfs4 tool. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/squashfs4: add new tool for squashfs4 imagesChristian Marangi2023-02-2011-3/+713
| | | | | | | | | | | | | | squashfs tool is finally reborn and correctly maintained. Introduce the new version as a replacement for squasfs4kit as it was a fork and also abandoned. Add additional patch to add the missing feature present in squashfskit4 but still missing on this new project. Backport each required patch that fix compilation error on macos. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/squashfs: rename to squashfs3-lzmaChristian Marangi2023-02-187-10/+15
| | | | | | | | | | | | | | | | The name of squashfs is confusing since in reality it's a really old version using an old lzma library. This tools is used for old ath79 netgear target and to produde a fake squasfs3 image needed for some specific bootloader from some OEM (AVM for example) Rename squashfs tool to squasfs3-lzma to better describe it. Rename the installed bin from mksquashfs-lzma to mksquashfs3-lzma. Use tar transform to migrate the root directory in tar to the new naming. Drop redundant PKG_CAT variable not needed anymore. Also update any user of this tool. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>