aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools/bash: update to 5.2Nick Hainke2022-10-221-2/+2
| | | | | | | Release Notes: https://lists.gnu.org/archive/html/bug-bash/2022-09/msg00056.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/zlib: update to 1.2.13Nick Hainke2022-10-221-5/+4
| | | | | | | | | Switch to "https github.com" for downloading source files. Release Announcements: https://github.com/madler/zlib/releases/tag/v1.2.13 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/bc: update to 1.07.1Nick Hainke2022-10-222-13/+2
| | | | | | | | | | Changes: Fixed ibase extension causing problems for read() Fixed parallel make problem. Remove the "003-bc-fix-hang.patch" because the hang is fixed upstream. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/mtools: update to 4.0.41Nick Hainke2022-10-221-2/+2
| | | | | | | Release Notes: https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00011.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.2.7Nick Hainke2022-10-221-2/+2
| | | | | | Update to latest version. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/mkimage: update to 2022.10Nick Hainke2022-10-225-1625/+13
| | | | | | | | | | | | Remove upstreamed patches: - 020-tools-mtk_image-split-gfh-header-verification-into-a.patch - 021-tools-mtk_image-split-the-code-of-generating-NAND-he.patch - 022-tools-mtk_image-add-support-for-nand-headers-used-by.patch Refreshed manually: - 030-allow-to-use-different-magic.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools: remove implicit dependenciesRosen Penev2022-10-201-4/+4
| | | | | | Small cleanup. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools: add Host/Uninstall where possibleRosen Penev2022-10-2026-14/+100
| | | | | | This cleans staging_dir when calling tool/x/clean. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* build: prefer HTTPS if available (for packages)Daniel Cousens2022-10-051-1/+1
| | | | | | | | Changes PKG_SOURCE_URL's for arptables, bsdiff, dnsmasq, fortify-headers, ipset, ipset-dns, libaudit, libpcap, libressl, lua, lua5.3, tcpdump and valgrind, to HTTPS Signed-off-by: Daniel Cousens <github@dcousens.com>
* tools/cmake: update to 3.24.2Nick Hainke2022-10-021-2/+2
| | | | | | | Release Notes: https://www.kitware.com/cmake-3-24-2-is-available-for-download/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/expat: switch to tar.xz to save bandwidthNick Hainke2022-10-021-2/+2
| | | | | | | The tar.xz download is a bit smaller. Use this download to save traffic. Suggested-by: hardfalcon Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/expat: update to 2.4.9Nick Hainke2022-10-021-2/+2
| | | | | | | | | Fixes CVE-2022-40674. Release Notes: https://github.com/libexpat/libexpat/blob/R_2_4_9/expat/Changes Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/meson: backport WSL2 fixRosen Penev2022-10-021-0/+21
| | | | | | | For some reason, Microsoft's Plan9 driver returns IOError on missing file. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools: add option BUILD_ALL_HOST_TOOLS to compile all host toolsChristian Marangi2022-09-301-12/+12
| | | | | | | | Add option to compile all host tools even if not needed. This can be useful to prepare a universal precompiled host tools archive to use in another buildroot and speedup compilation. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/cmake: fix compilation with host libzstd-devRosen Penev2022-09-301-0/+18
| | | | | | | | cmake's find_package looks at host paths first for some reason. Switch to using pkgconfig for the search, matching other modules. Fixes: 3848cf458ef9 ("tools/cmake: Build without some included libs") Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/cmake: Build without some included libsRosen Penev2022-09-294-3/+46
| | | | | | | | | Saves a little bit of time when compiling cmake. Added patches to fix searching liblzma and zlib. The issue is that because pkgconfig is not used, the system libraries get used. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/expat: build with autotools againRosen Penev2022-09-292-16/+15
| | | | | | | Allows to set expat as a dependency to cmake and save on compilation time. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/zlib: switch to configure scriptRosen Penev2022-09-292-15/+14
| | | | | | A future commit will make tools/cmake use this. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools: fix firmware-utils dependsRosen Penev2022-09-271-1/+1
| | | | | | | When firmware-utils was converted to use cmake, the dependency was not updated. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Revert "tools/zstd: build libraries as static"Christian Marangi2022-09-271-1/+1
| | | | | | | This reverts commit e3989094b801da63b7b65b2460ea30dfeb324cd3. Require more testing as it does cause compilation error. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/zstd: build libraries as staticRosen Penev2022-09-271-1/+1
| | | | | | Enables to get rid of rpath hack for all users. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ccache: update to 4.6.3Nick Hainke2022-09-272-3/+3
| | | | | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_6_3 Refresh patch: - 100-honour-copts.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/ccache: update to 4.6.2Nick Hainke2022-09-271-2/+2
| | | | | | | Release notes: https://ccache.dev/releasenotes.html#_ccache_4_6_2 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/ccache: update to 4.6.1Nick Hainke2022-09-271-2/+2
| | | | | | | Release notes: https://ccache.dev/releasenotes.html#_ccache_4_6_1 Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: fix download url with make variablesMichael Pratt2022-09-191-1/+2
| | | | | | | | Use a make variable pattern for the url so that only one version number needs to be changed when version is bumped. Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/bc: use more compatible shebangIlya Katsnelson2022-09-141-1/+1
| | | | | | | Update the existing patch to use a shebang that works on systems that don't have a /bin/bash, e.g. NixOS or GuixSD. Signed-off-by: Ilya Katsnelson <me@0upti.me>
* firmware-utils: update to git HEADDaniel Golle2022-09-121-3/+3
| | | | | | 0c92b20 iptime-crc32: add support for A6004MX Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* firmware-utils: update to git HEADHauke Mehrtens2022-09-111-3/+3
| | | | | | 71e1db6 tplink-safeloader: add TP-Link Deco S4 v2 support Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* Revert "tools/meson: update to 0.63.1"Daniel Golle2022-09-071-2/+2
| | | | | | | This reverts commit da95084d3478226bede2aed04e21f47525b7e0ad. It was pulled by accident. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* tools/llvm: update to 14.0.6Nick Hainke2022-09-071-2/+2
| | | | | | Update to latest version. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/meson: update to 0.63.1Nick Hainke2022-09-071-2/+2
| | | | | | | | | Release Notes: - 0.62.0 https://mesonbuild.com/Release-notes-for-0-62-0.html - 0.63.0 https://mesonbuild.com/Release-notes-for-0-63-0.html - (other notes are not available) Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/fakeroot: update to 1.29Nick Hainke2022-09-073-5/+5
| | | | | | | | | | | Release Notes: https://salsa.debian.org/clint/fakeroot/-/commit/8dd9e34a2e54862a902040d76adbd1c1a42ffc35 Refresh patches: - 400-alpine-libc.musl-fix.patch - 600-macOS.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/expat: update to 2.4.8Nick Hainke2022-09-071-2/+2
| | | | | | | Release Notes: https://github.com/libexpat/libexpat/blob/R_2_4_8/expat/Changes Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/bc: update to 1.07Nick Hainke2022-09-074-20/+58
| | | | | | | | | | | | | | | | | Update to latest version. Replace mirror with @GNU/bc. Manually refresh: - 001-no_doc.patch Add patch found here: https://github.com/fivepiece/gnu-bc/commit/26f275502dd28114e78bc098fed81acde1d86d62 as 002-fix-libmath.patch to fix compilation. Add another patch found here: https://github.com/archlinux/svntogit-packages/commit/55b26eda94e1a9ff726ac458fccab5f3f3ad2114 as 003-bc-fix-hang.patch to prevent a hang when building the kernel. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/pkgconf: update to 1.9.3Nick Hainke2022-09-071-2/+2
| | | | | | | Release Notes: https://github.com/pkgconf/pkgconf/blob/pkgconf-1.9.3/NEWS Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/cmake: refresh patchesNick Hainke2022-09-072-2/+2
| | | | | | | | | | | Previous commit forgot to refresh the patches. This commit refreshes the patches: - 120-curl-fix-libressl-linking.patch - 130-bootstrap_parallel_make_flag.patch Fixes: 3b2f19271cc2 ("tools/cmake: update to 3.24.1") Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/bc: add PKG_CPE_IDNick Hainke2022-09-061-0/+1
| | | | | | Add CPE ID for tracking CVEs. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools: remove xxd packagePetr Štetiar2022-09-062-20/+1
| | | | | | | | It shouldn't be needed anymore as we've now `scripts/xxdi.pl`, which should be self contained and fully compatible `xxd -i` replacement. Fixes: #10555 Signed-off-by: Petr Štetiar <ynezz@true.cz>
* tools: mkimage: Add support for MediaTek MT798xDaniel Golle2022-08-283-0/+1612
| | | | | | | Import pending patches for mtk_image to support BootROM headers of newer MediaTek SoCs. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* tools/cmake: update to 3.24.1Nick Hainke2022-08-201-3/+3
| | | | | | Update cmake to newest version. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/isl: update to 0.25Nick Hainke2022-08-201-2/+2
| | | | | | Update isl to latest version. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.2.6Nick Hainke2022-08-201-2/+2
| | | | | | | | This update contains a security fix to xzgrep (CVE-2022-1271, ZDI-CAN-16587). Release notes: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools: mtd-utils: Update to version 2.1.4Hauke Mehrtens2022-08-133-12/+17
| | | | | | | | | Update to most recent version of mtd-utils and sync with version from package folder. Use a https download server instead of ftp. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools: elfutils: Update to version 0.187Hauke Mehrtens2022-08-131-2/+2
| | | | | | | Update to most recent version of elfutils and sync with version from package folder. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools: e2fsprogs: Update to version 1.46.5Hauke Mehrtens2022-08-132-3/+3
| | | | | | | Update to most recent version of e2fsprogs and sync with version from package folder. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mkimage: fix validation of legacy images with custom magicDaniel Golle2022-08-121-0/+9
| | | | | | | | | | All images generated by mkimage are now always validated. This change broke our downstream support for setting a custom value for IH_MAGIC (mkimage -M ...). Make sure also plain legacy kernel images with custom value set for IH_MAGIC validate correctly. Fixes: fa9895ee5b ("tools: mkimage: update to U-Boot release 2022.07") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* tools: mkimage: update to U-Boot release 2022.07Daniel Golle2022-08-114-34/+23
| | | | | | | | | | | | Removed patch 090-macos-arm64-builing-fix.patch as an equivalent solution was applied upstream: 3b142045e8 Support building on macOS/arm64 To not add new host dependencies (libuuid, gnuTLS) don't build the anyway unused mkeficapsule tool which would otherwise now be built by default. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* pkg-config: always use correct path for pkg-config.realLeonardo Mörlein2022-08-111-1/+1
| | | | | | | | | | | | | | | | | | Before this commit, it was assumed that pkg-config.real is in the PATH. While this was fine for the normal build workflow, this led to some issues if make TOPDIR="$(pwd)" -C "$pkgdir" compile was called manually. The command failed with Makefile:15: *** No libnl-tiny development libraries found!. Stop. make[1]: Leaving directory since pkg-config of the host system was used. After the commit, the package is built sucessfully. Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
* tools/libressl: disable assembly code for all hostsMichael Pratt2022-07-311-4/+1
| | | | | | | | | | | | | | | | | | | This SSL library is for hosts only and not shipped as a build product, therefore its performance quality (speed) is not critical. Assembly code is broken in LibreSSL for some x86_64 hosts (part of git history) and for some RISC host archs like armv7l, aarch64, powerpc, ppc64, etc... so let's just disable it for all hosts. For example, this fixes an instance on ARM hosts where the host Python 3 builds broken modules which link to LibreSSL, even with patches that enable LibreSSL support with the import error "unexpected reloc type 3". Ref: a395563f6 ("build: fix libressl build on x32 (amd64ilp32) host ") Suggested-by: Andre Heider <a.heider@gmail.com> Signed-off-by: Michael Pratt <mcpratt@pm.me>
* tools/libressl: ensure PIC-only object compilationMichael Pratt2022-07-311-1/+7
| | | | | | | | | | | | Line up configure arguments for cleaner git diff and editing and grepping. LibreSSL must be built with PIC, and has the flags for it already in CFLAGS. Add the configure option native to LibreSSL to use only PIC in objects, which further enforces that each object in the library has the PIC flag to prevent a mixture of PIC / non-PIC objects within it. Ref: 96a940308 ("tools: libressl: always build as PIC") Signed-off-by: Michael Pratt <mcpratt@pm.me>