aboutsummaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAge
...
* tools: firmware-utils: update to git HEADSander Vanheule2024-03-23
| | | | | | | | | | | | | | | | Add the new 'zycast' tool for remote flashing of Zyxel devices, support for factory image generation for two new TP-Link devices, and improved compatibility with two other devices. 17de36575f1e zycast: disable build on non-Linux OS a5dfb5fb5e6e tplink-safeloader: add TP-Link RE205 v3 support c1e06daf4622 tplink-safeloader: bump EAP225-V3 compat_level 335d063cff23 tplink-safeloader: bump EAP225-Outdoor v1 compat c1e69e6f9c0d tplink-safeloader: show compat_level with FW info e87f23849790 zycast: new tool for ZyXEL bootloader flashing 9067281d17da tplink-safeloader: add RE365 v1 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* treewide: use APK compatible version schemaPaul Spooren2024-03-22
| | | | | | | | | | | | | | | | | Different from OPKG, APK uses a deterministic version schema which chips the version into chunks and compares them individually. This enforces a certain schema which was previously entirely flexible. - Releases are added at the very and end prefixed with an `r` like `1.2.3-r3`. - Hashes are prefixed with a `~` like `1.2.3~abc123`. - Dates become semantic versions, like `2024.04.01` - Extra tags are possible like `_git`, `_alpha` and more. For full details see the APK test list: https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/test/version.data Signed-off-by: Paul Spooren <mail@aparcar.org>
* tools: add util-linuxWeijie Gao2024-03-11
| | | | | | | | | | | since kernel 6.4, commit bca2f3a9406b ("efi/zboot: Add BSS padding before compression") introduces the use of hexdump to padding the EFI kernel binary before compression. util-linux which containing hexdump should then be compiled as a host tool to guarantee not breaking the kernel build process. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* tools/dwarves: update to 1.26Tony Ambardar2024-02-28
| | | | | | | Release Notes: https://lore.kernel.org/dwarves/20240228193921.JWQp1Mc2M47ffhgIjnHKh8538u4uztVKuznlck9Pk9E@z/ Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/expat: fix build error with ccacheKoen Vandeputte2024-02-15
| | | | | | | | Disable compilation of separate tests as it causes a build error when combined with ccache Fixes: 4a3f430d72 ("tools/expat: update to 2.6.0") Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* tools/expat: update to 2.6.0Nick Hainke2024-02-12
| | | | | | | Changelog: https://github.com/libexpat/libexpat/blob/R_2_6_0/expat/Changes Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/ccache: update to 4.9.1Nick Hainke2024-02-12
| | | | | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_9_1 Manually refresh patch: - 100-honour-copts.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.28.3Nick Hainke2024-02-06
| | | | | | | Release Notes: https://www.kitware.com/cmake-3-28-3-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/pkgconf: update to 2.1.1Nick Hainke2024-02-06
| | | | | | | Changes: https://github.com/pkgconf/pkgconf/blob/2edf954f3a80d2ccb4ba41938e5078fdde9d3ca4/NEWS Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/ccache: update to 4.9Nick Hainke2024-02-02
| | | | | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_9 Manually refresh patch: - 100-honour-copts.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.28.2Nick Hainke2024-01-30
| | | | | | | Release Notes: https://www.kitware.com/cmake-3-28-2-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.4.6Nick Hainke2024-01-30
| | | | | | | Changelog: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;h=d271dad2d3f1ec54e56ef8fa60275a88697a24aa;hb=0ef8192e8d5af4e6200d5d4aee22d1f177f7a2df Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/zlib: update to 1.3.1Nick Hainke2024-01-30
| | | | | | | Release Notes: https://github.com/madler/zlib/releases/tag/v1.3.1 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/mkimage: update to 2024.01Nick Hainke2024-01-25
| | | | | | | | | Update to latest version. Refresh patch: - 030-allow-to-use-different-magic.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cpio: update to 2.15Nick Hainke2024-01-25
| | | | | | | Release Notes: https://lists.gnu.org/archive/html/info-gnu/2024-01/msg00006.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.28.1Nick Hainke2023-12-18
| | | | | | | Release Notes: https://www.kitware.com/cmake-3-28-1-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools: firmware-utils: update to git HEADSander Vanheule2023-12-17
| | | | | | | | | Adds two changes improving compatibility with supported TP-Link devices. 5e14973d2199 tplink-safeloader: add Archer A6 v2 (RU) d87b6c4b6423 tplink-safeloader: bump EAP615-Wall compat_level Signed-off-by: Sander Vanheule <sander@svanheule.net>
* tools/cmake: update to 3.28.0Nick Hainke2023-12-12
| | | | | | | | | | | Release Notes: - https://www.kitware.com/cmake-3-28-0-available-for-download/ Refresh patches: - 120-curl-fix-libressl-linking.patch - 130-bootstrap_parallel_make_flag.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/bash: update to 5.2.21Nick Hainke2023-12-08
| | | | | | Update to latest release. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/pkgconf: update to 2.1.0Nick Hainke2023-12-08
| | | | | | | Changes: https://github.com/pkgconf/pkgconf/blob/5825e2c6d608ef74a97349e81d750ab95c53cf50/NEWS#L4 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.27.9Nick Hainke2023-12-07
| | | | | | | | Release Notes: - https://www.kitware.com/cmake-3-27-7-available-for-download/ - https://www.kitware.com/cmake-3-27-9-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/mold: update to 2.3.2Nick Hainke2023-12-04
| | | | | | | Release Notes: https://github.com/rui314/mold/releases/tag/v2.3.2 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.4.5Nick Hainke2023-12-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * liblzma: - Use __attribute__((__no_sanitize_address__)) to avoid address sanitization with CRC64 CLMUL. It uses 16-byte-aligned reads which can extend past the bounds of the input buffer and inherently trigger address sanitization errors. This isn't a bug. - Fixed an assertion failure that could be triggered by a large unpadded_size argument. It was verified that there was no other bug than the assertion failure. - Fixed a bug that prevented building with Windows Vista threading when __attribute__((__constructor__)) is not supported. * xz now properly handles special files such as "con" or "nul" on Windows. Before this fix, the following wrote "foo" to the console and deleted the input file "con_xz": echo foo | xz > con_xz xz --suffix=_xz --decompress con_xz * Build systems: - Allow builds with Windows win95 threading and small mode when __attribute__((__constructor__)) is supported. - Added a new line to liblzma.pc for MSYS2 (Windows): Cflags.private: -DLZMA_API_STATIC When compiling code that will link against static liblzma, the LZMA_API_STATIC macro needs to be defined on Windows. - CMake specific changes: * Fixed a bug that allowed CLOCK_MONOTONIC to be used even if the check for it failed. * Fixed a bug where configuring CMake multiple times resulted in HAVE_CLOCK_GETTIME and HAVE_CLOCK_MONOTONIC not being set. * Fixed the build with MinGW-w64-based Clang/LLVM 17. llvm-windres now has more accurate GNU windres emulation so the GNU windres workaround from 5.4.1 is needed with llvm-windres version 17 too. * The import library on Windows is now properly named "liblzma.dll.a" instead of "libliblzma.dll.a" * Fixed a bug causing the Ninja Generator to fail on UNIX-like systems. This bug was introduced in 5.4.0. * Added a new option to disable CLMUL CRC64. * A module-definition (.def) file is now created when building liblzma.dll with MinGW-w64. * The pkg-config liblzma.pc file is now installed on all builds except when using MSVC on Windows. * Added large file support by default for platforms that need it to handle files larger than 2 GiB. This includes MinGW-w64, even 64-bit builds. * Small fixes and improvements to the tests. * Updated translations: Chinese (simplified) and Esperanto. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools: firmware-utils: Fix PKG_MIRROR_HASHHauke Mehrtens2023-11-23
| | | | | | | | This fixes the mirror hash to the version of the file uploaded to the download mirror and which my build calculated. Fixes: 59a66d3c9b2a ("firmware-utils: update to Git HEAD (2023-11-21)") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* firmware-utils: update to Git HEAD (2023-11-21)Rafał Miłecki2023-11-21
| | | | | | | | | | | 12bf1a9 lxlfw: support certificate & signature blobs eaf2ea2 lxlfw: support extracting image d770cab lxlfw: support embedding blobs 16fa890 lxlfw: fix struct lxl_hdr attribute 8e149e4 lxlfw: move code copying data to helper function 3b114de lxlfw: move code opening LXL to helper function Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* tools/mkimage: update to 2023.10Nick Hainke2023-11-09
| | | | | | | | | | | | | | Update to latest version. Remove "100-increase-tmpfile-name-length-limit.patch" because project is now using limits.h with PATH_MAX [0]. Automatically refreshed: - 030-allow-to-use-different-magic.patch [0] - https://github.com/u-boot/u-boot/commit/99d430f344bfdb0641022fd3efa26c29c957df02 Signed-off-by: Nick Hainke <vincent@systemli.org>
* firmware-utils: bump to git HEADPaul Spooren2023-11-03
| | | | | | ba5bc4e add dlink-sge-image for D-Link devices by SGE Signed-off-by: Paul Spooren <mail@aparcar.org>
* tools: macOS: types.h: fix missing unsigned typesPetr Štetiar2023-11-02
| | | | | | | | | | | | | For some reason unsigned types were not added in commit 0a06fcf608dd ("build: fix kernel 5.4 on macos"), which led to bunch of hacks, like commit 3cc57ba4627c ("uboot-sunxi: add missing type __u64") or commit 997ff740dc44 ("uboot-mediatek: fix build on Mac OS X"). So lets add the missing unsigned types to workaround it in a bit more maintainable way. Fixes: #13833 Signed-off-by: Petr Štetiar <ynezz@true.cz>
* tools/elfutils: fix missing _ in auxv info aliasFelix Fietkau2023-11-01
| | | | | | Fixes dwarves compile issue Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/elfutils: disable bzlib supportFelix Fietkau2023-11-01
| | | | | | It is not needed Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/elfutils: add -fPIC to fix linker errors (#13841)Felix Fietkau2023-11-01
| | | | | | Resolves issues with building PIE binaries that link against libdw or libelf Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/elfutils: add missing dependency to fix build errorFelix Fietkau2023-10-30
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* firmware-utils: bump to git HEADHauke Mehrtens2023-10-29
| | | | | | | | | | | | | | | a170683 firmware-utils: fix use of NULL string progname 89875fc tplink-safeloader: CPE510: add Canadian support 9e211d2 mktplinkfw2: add support to extract bootloader images c18f662 mktplinkfw2: add support to pack bootloader 3dc1339 mktplinkfw2: show exact exceed bytes when the image is to big d16ff79 tplink-safeloader: WPA8631: add v4 AU, US 0fa1cc5 zytrx: add LTE5398-M904 6354661 firmware-utils: ptgen: add SiFive GPT partition support The removed patch was applied upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* elfutils: fix build and enable on non-linux systemsFelix Fietkau2023-10-29
| | | | | | Use gnulib for compatibility Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/include: add more endian macrosFelix Fietkau2023-10-29
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: mold: update to v2.3.1Andre Heider2023-10-22
| | | | | | | | Release notes: https://github.com/rui314/mold/releases/tag/v2.3.0 https://github.com/rui314/mold/releases/tag/v2.3.1 Signed-off-by: Andre Heider <a.heider@gmail.com>
* tools/mtd-utils: update to 2.1.6Nick Hainke2023-10-14
| | | | | | | | | | Release Notes: https://lists.infradead.org/pipermail/linux-mtd/2023-August/100922.html Refresh patch: - 110-portability.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/mold: update to 2.2.0Nick Hainke2023-10-14
| | | | | | | Release Notes: https://github.com/rui314/mold/releases/tag/v2.2.0 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: disable cmake script debuggerMichael Pratt2023-10-13
| | | | | | | | | | | | | | | | | | | | | | | | Upstream commit a9a592f96e6498da302f8e968be1db0ad3c32123 ("cmake: Add debugger") added a huge amount of code in order to create a debugging feature for CMakeLists.txt of other projects. This was added to CMake since 3.27.x. Unforunately, this new debugger will not build on ARM systems like arm-linux-gnueabihf (Raspberry Pi 4), and takes up extra build time for something Openwrt doesn't need, yet it was enabled by default. (Thanks Microsoft....) Specifically, it's a failure to link to functions like __atomic_store_8, __atomic_load_8, __atomic_fetch_add_8, etc. Let's just disable it. Someone who really needs this for developing can have CMake with the debugger on their host machine or manually re-enable it here. Link: https://gitlab.kitware.com/cmake/cmake/-/issues/21510 Link: https://devblogs.microsoft.com/cppblog/cmake-debugger-allows-you-to-debug-your-cmake-scripts-and-more/ Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/zlib: update to 1.3Nick Hainke2023-10-12
| | | | | | | | | | | | | | | | | | | | | | Changes in 1.3 (18 Aug 2023) - Remove K&R function definitions and zlib2ansi - Fix bug in deflateBound() for level 0 and memLevel 9 - Fix bug when gzungetc() is used immediately after gzopen() - Fix bug when using gzflush() with a very small buffer - Fix crash when gzsetparams() attempted for transparent write - Fix test/example.c to work with FORCE_STORED - Rewrite of zran in examples (see zran.c version history) - Fix minizip to allow it to open an empty zip file - Fix reading disk number start on zip64 files in minizip - Fix logic error in minizip argument processing - Add minizip testing to Makefile - Read multiple bytes instead of byte-by-byte in minizip unzip.c - Add memory sanitizer to configure (--memory) - Various portability improvements - Various documentation improvements - Various spelling and typo corrections Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/pkgconf: update to 2.0.3Nick Hainke2023-10-12
| | | | | | | | News: - https://github.com/pkgconf/pkgconf/blob/752a9825dc8660d247c457aa4d256db4800ebd7c/NEWS#L13 - https://github.com/pkgconf/pkgconf/blob/752a9825dc8660d247c457aa4d256db4800ebd7c/NEWS#L4 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/libdeflate: update to 1.19Nick Hainke2023-10-12
| | | | | | | Release Notes: https://github.com/ebiggers/libdeflate/blob/master/NEWS.md#version-119 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/gmp: update to 6.3Nick Hainke2023-10-12
| | | | | | | Release Notes: https://gmplib.org/gmp6.3 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/ccache: update to 4.8.3Nick Hainke2023-10-12
| | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_8_3 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: update to 3.27.5Nick Hainke2023-10-12
| | | | | | | | | Release Notes: - https://www.kitware.com/cmake-3-27-5-available-for-download/ - https://www.kitware.com/cmake-3-27-6-available-for-download/ - https://www.kitware.com/cmake-3-27-7-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* ccache: add missing \Oskari Rauta2023-09-24
| | | | | | -DREDIS_STORAGE_BACKEND=OFF option is ignored due to missing \ Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* tools/libressl: update to version 3.7.3Josef Schlehofer2023-09-22
| | | | | | | Release notes: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.7.3-relnotes.txt Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* tools: assign PKG_CPE_IDAlexander Couzens2023-09-19
| | | | | | | | | The PKG_CPE_ID links to NIST CPE version 2.2. Assign PKG_CPE_ID to all remaining tools which have a CPE ID. Not every tool has CPE id. Related: https://github.com/openwrt/packages/issues/8534 Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* tools/cmake: update to 3.27.4Hannu Nyman2023-09-03
| | | | | | | Update cmake to 3.27.4 No patch refresh needed. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/mpfr: update to 4.2.1Linhui Liu2023-08-28
| | | | | | | | | | | | Changes from version 4.2.0 to version 4.2.1: - Bug fixes (see <https://www.mpfr.org/mpfr-4.2.0/#fixed> and/or the ChangeLog file). - Improved MPFR manual. - Configure tests: replaced the test of the link with GMP, in order to avoid the use of a function without a prototype (Autoconf issue), as this is obsolescent in ISO C. The new test should be more robust. Signed-off-by: Linhui Liu <liulinhui36@gmail.com>