aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools/e2fsprogs: update to 1.44.1Paul Wassi2018-08-211-2/+2
| | | | | | | Update e2fsprogs to upstream 1.44.1 (feature and bugfix release) Signed-off-by: Paul Wassi <p.wassi@gmx.at> (cherry picked from commit 8262179f4a007035a531bb913261f5f91115fad8)
* e2fsprogs: bump to 1.44.0Ansuel Smith2018-08-211-2/+2
| | | | | | | Fix compilation error Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> (cherry picked from commit a9c00578b5c55357117db9dbbbd4e5652b9b4648)
* tools/e2fsprogs: Update to 1.43.7Rosen Penev2018-08-211-2/+2
| | | | | | | Compile tested on Fedora 27. Signed-off-by: Rosen Penev <rosenp@gmail.com> (cherry picked from commit 08cc9a2ca8536e9808b60145cd0e10bdcfc98aca)
* tools/e2fsprogs: Update to 1.43.6Daniel Engberg2018-08-214-39/+2
| | | | | | | | | | | Update e2fsprogs to 1.43.6 * Remove FreeBSD patch as it's not needed, FreeBSD 9.1 is EoL and this is compiling on FreeBSD 11.1. * Remove libmagic patch, RHEL 5 is EoL (End of Production Phase) since March 31, 2017. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> (cherry picked from commit ed617fd8f2f39e18ad435883db5b4100e6f7f977)
* tools/e2fsprogs: Update to 1.43.5Daniel Engberg2018-08-211-2/+2
| | | | | | | Update e2fsprogs to 1.43.5 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> (cherry picked from commit 8477d5454531a35306d57c123c89602fee71a07f)
* tools/e2fsprogs: Update to 1.43.4Daniel Engberg2018-08-212-5/+5
| | | | | | | | | | | | | | | * Update to 1.43.4 * Refresh patches * xz tarball which saves about 2M in size Changelog: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.43.4 Tested by Etienne Haarsma (ar71xx), Daniel Engberg (kirkwood) Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com> Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> Signed-off-by: Felix Fietkau <nbd@nbd.name> [use @KERNEL instead of harcoded URL] (cherry picked from commit 34ba64fe708e45b7c042e2d273e66d4ce03df4e3)
* Revert "tools/e2fsprogs: fix building on a glibc 2.27 host"Matthias Schiffer2018-08-212-54/+1
| | | | | | This reverts commit 58a95f0f8ff768b43d68eed2b6a786e0f40f723b. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* tools/bison: Update to 3.0.5Daniel Engberg2018-08-213-32/+10
| | | | | | | | Update bison to 3.0.5 Bugfix release Remove 001-fix-macos-vasnprintf.patch as it is fixed upstream Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* tools: findutils: fix compilation with glibc 2.28Luis Araneda2018-08-101-0/+104
| | | | | | | Add a temporary workaround to compile with glibc 2.28 as some constants were removed and others made private Signed-off-by: Luis Araneda <luaraneda@gmail.com>
* tools: m4: fix compilation with glibc 2.28Luis Araneda2018-08-101-0/+118
| | | | | | | Add a temporary workaround to compile with glibc 2.28 as some constants were removed and others made private Signed-off-by: Luis Araneda <luaraneda@gmail.com>
* tools/e2fsprogs: fix building on a glibc 2.27 hostStefan Lippers-Hollmann2018-03-102-1/+54
| | | | | | | | | | | | | | | | | | | | The e2fsprogs host build fails on a glibc 2.27 host with make[6]: Entering directory 'build_dir/host/e2fsprogs-1.43.7/debugfs' CC create_inode.o ./../misc/create_inode.c:399:18: error: conflicting types for 'copy_file_range' static errcode_t copy_file_range(ext2_filsys fs, int fd, ext2_file_t e2_file, ^~~~~~~~~~~~~~~ In file included from ./../misc/create_inode.c:19:0: /usr/include/unistd.h:1110:9: note: previous declaration of 'copy_file_range' was here ssize_t copy_file_range (int __infd, __off64_t *__pinoff, ^~~~~~~~~~~~~~~ Backport upstream commit "misc: rename copy_file_range to copy_file_chunk" 01551bdba16ab16512a01affe02ade32c41ede8a in order to fix this. Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
* tools/coreutils: install readlinkFelix Fietkau2017-12-131-2/+2
| | | | | | | Parts of the build system use non-portable invocation of readlink Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit 6bcc1c5331c797004e1b43168eb116d2d14b0102)
* tools/squashfs: use host cflagsFelix Fietkau2017-12-131-0/+1
| | | | | Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit 20d363aed395e07ff42fe648f898b17f2077cc82)
* tools/pkg-config: Update to 0.29.2Daniel Engberg2017-12-132-20/+2
| | | | | | | | * Update pkg-config to 0.29.2 * Remove patch as it's upstreamed Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> (cherry picked from commit 965df21fd16e5966c64f207fe053ab8b6863081f)
* tar: override symlink permissionsFelix Fietkau2017-12-131-0/+10
| | | | | | | | | On Linux, symlink permissions cannot be altered and are always 0777. On Mac OS X they can be 0755. Force 0777 here to keep tarballs reproducible across systems Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry picked from commit e25cedd0b5621dc02e47eea674006578ac062c9f)
* tools/sparse: Update to snapshot 2017-03-31Daniel Engberg2017-12-131-4/+4
| | | | | | | | Update sparse to snapshot 2017-03-31 Switch to HTTPS Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> (cherry picked from commit 9235a29e1a9764361940d4b38f4fce0358d8d9ee)
* tools/libressl: update to 2.5.4Hannu Nyman2017-12-131-3/+3
| | | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (cherry picked from commit d7a3120cdcc1aeed5a95636803d250e35ba8706e)
* tools/isl: update to 0.18Syrone Wong2017-12-131-2/+2
| | | | | Signed-off-by: Syrone Wong <wong.syrone@gmail.com> (cherry picked from commit a0f4b4b3a2cd4db1a2b9bab3c06970361192368f)
* tools/coreutils: Update to 8.27Daniel Engberg2017-12-131-2/+2
| | | | | | | Update coreutils to 8.27 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> (cherry picked from commit 80246ce67ec2a30dda51e3e4e135eab2ff249ccb)
* tools/libressl: Update to 2.5.1Daniel Engberg2017-12-131-2/+2
| | | | | | | Update libressl to 2.5.1 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> (cherry picked from commit e45ee66149688747a337a470a19beb182ce4dd61)
* tools/dosfstools: Update to 4.1Daniel Engberg2017-12-133-38/+4
| | | | | | | | | | Update to 4.1 Remove 0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smal.patch as it's included in upstream repo. Refresh patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> (cherry picked from commit 49ded28027e5bba3ce623a8205aac0e8e70e250a)
* tools/sed: Update to 4.4Daniel Engberg2017-12-132-28/+3
| | | | | | | Update sed to 4.4 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> (cherry picked from commit 65d2800bd648a73a6814de2d42c074db1d290521)
* ccache: update to 3.3.4Kevin Darbyshire-Bryant2017-12-133-37/+3
| | | | | | | | | | Update from 3.3.2 to 3.3.4 & refresh patches. Remove 110-disable-assembler-support as ccache now understands the '.incbin' directive. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> (cherry picked from commit 2cf00b640dce3ee9b09b41f2f1486a6a50bca45b)
* tools/m4: update 1.4.18Etienne Haarsma2017-12-132-19/+2
| | | | | | | Patch 100-fix-gets-removal.patch is removed because it's included in the new version. Signed-off-by: Etienne Haarsma <bladeoner112@gmail.com> (cherry picked from commit d90abebd06bbb004fc7957c39fe89202fbdca9f2)
* tools/sstrip: Fix compile under standard linux.Rosen Penev2017-12-131-4/+5
| | | | | | | bswap32 undefined is the issue. Added the proper header. Also fixed a few format/conversion warnings that clang complained about without -Wall or -Wextra. Signed-off-by: Rosen Penev <rosenp@gmail.com> (cherry picked from commit d6e34b735201805ae9112a7997f15b80f5926942)
* tools: patch various gnu tools for macOS 10.13Ryan Mounce2017-12-045-0/+125
| | | | | | | | | | | These host tools compile but may crash at runtime when building on macOS 10.13 (High Sierra). Backport upstream gnulib patch until new releases of affected tools. https://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00056.html https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=c41f233c4c38e84023a16339782ee306f03e7f59 Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
* tools/squashfs4: include sysmacros.h explicitlyAlex Maclean2017-10-255-16/+36
| | | | | | | | | | | | glibc is moving to remove the include of sys/sysmacros.h from sys/types.h, and some distros have done this early. Other libcs may already lack this include. Include sysmacros.h explicitly. Fixes: FS#1017 Signed-off-by: Alex Maclean <monkeh@monkeh.net> [refresh patches] Signed-off-by: Mathias Kresin <dev@kresin.me>
* tools/squashfs: include sysmacros.h explicitlyAlex Maclean2017-10-251-0/+20
| | | | | | | | | | glibc is moving to remove the include of sys/sysmacros.h from sys/types.h, and some distros have done this early. Other libcs may already lack this include. Include sysmacros.h explicitly. Fixes: FS#1018 Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* tools/mtd-utils: include sysmacros.h explicitlyAlex Maclean2017-10-251-0/+25
| | | | | | | | | | | | glibc is moving to remove the include of sys/sysmacros.h from sys/types.h, and some distros have done this early. Other libcs may already lack this include. Include sysmacros.h explicitly. Fixes: FS#1015 Signed-off-by: Alex Maclean <monkeh@monkeh.net> [refresh patches] Signed-off-by: Mathias Kresin <dev@kresin.me>
* tools/findutils: include sysmacros.h explicitlyAlex Maclean2017-10-251-0/+13
| | | | | | | | | | glibc is moving to remove the include of sys/sysmacros.h from sys/types.h, and some distros have done this early. Other libcs may already lack this include. Include sysmacros.h explicitly. Fixes: FS#1016 Signed-off-by: Alex Maclean <monkeh@monkeh.net>
* cmake: fix build error with Xcode 9 on macOS 12Felix Fietkau2017-10-051-0/+15
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* firmware-utils: fix dgn3500sum compiler warningsMathias Kresin2017-06-262-4/+3
| | | | | | | | | | | The sum variable need to be initialised, otherwise it will points to random stack memory and a bogus image checksum might be calculated. While at it, fix the segfault in case the product region code isn't specified and enable compiler warnings which had revealed all the code issues. Signed-off-by: Mathias Kresin <dev@kresin.me>
* automake: import upstream fix for perl 5.26Daniel Golle2017-06-081-0/+30
| | | | | | | | Build broke as distributions now include Perl 5.26 and automake triggered an "Unescaped left brace in regex" error. Import upstream commit 13f00eb449 to fix that. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* firmware-utils: tplink-safeloader: add support for Archer C5 V2Rafał Miłecki2017-05-221-0/+34
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* tools: patch-image: fix file descriptor leak.Furong Xu2017-02-151-4/+0
| | | | | | Maybe this is committed by mistake, fix it. Signed-off-by: Furong Xu <xfr@outlook.com>
* ccache, samba36: fix samba.org addresses to use httpsHannu Nyman2017-02-021-1/+2
| | | | | | | | | | | | samba.org has started to enforce https and currently plain http downloads with curl/wget fail, so convert samba.org download links to use https. Modernise links at the same time. Also convert samba.org URL fields to have https. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: remove HOST_CONFIGURE_CMD and re-distribute the args & varsAlexandru Ardelean2017-02-011-5/+2
| | | | | | | | | | The final semantic is the same, but this is a bit more correct. Build tested on Windows 10 (yes, there is some Ubuntu mode for Windows 10, and I've been also building LEDE on it for a few weeks). Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* tools: update kernel2minor to 0.24 versionSergey Sergeev2017-02-014-61/+4
| | | | Signed-off-by: Sergey Sergeev <adron@yapic.net>
* qemu: rename internal crypto/aes symbolsStijn Tintel2017-01-301-1/+7
| | | | | | | | | | | Qemu's local AES code defines symbols that conflict with LibreSSL/OpenSSL's libcrypto. Rename them to avoid build problems. See upstream commit c8d70e59738e672021926c7747af8ef9dea15c82. Fixes FS#444. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* tools/qemu: use default host configure rule ; set appropriate vars & argsAlexandru Ardelean2017-01-301-9/+7
| | | | | | | | | | | Admittedly, this is my own OCD wanting to get rid of this. Because I tried (a while back to upgrade QEMU to a newer version), and (during that attempt) I tried to get rid of this. Tested on Linux & Mac. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* cmake: properly pass host cflags/ldflags to the buildFelix Fietkau2017-01-131-1/+2
| | | | | | | | This should hopefully fix build issues where libraries that we ship in tools/ were accidentally picked up from other places on the system, e.g. /usr/local Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: support verbose build that shows compiler commandsFelix Fietkau2017-01-131-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: restore parallel build support for bootstrapFelix Fietkau2017-01-132-1/+17
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: cmake: link librt if needed (FS#381)Jo-Philipp Wich2017-01-112-3/+33
| | | | | | | | | | Patch cmakes cmcurl component to unconditionally link librt when we discover a clock_gettime() symbol in -lrt. This is required to sucessfully link LibreSSL's libcrypto which might or might not reqauire librt. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: mkimage: pass crypto libraries through HOST_LOADLIBES (FS#381)Jo-Philipp Wich2017-01-111-2/+2
| | | | | | | | Since linker argument order is significant on modern host compilers, pass the required libcrypto libraries through the HOST_LOADLIBES variable in order to ensure proper order of the final linker command line. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: libressl: always build as PICMatthias Schiffer2017-01-101-0/+1
| | | | | | | | | Fixes link errors for host packages like ruby like the following: /usr/bin/ld: .../staging_dir/host/lib/libcrypto.a(libcrypto_la-md5_dgst.o): relocation R_X86_64_PC32 against symbol `memcpy@@GLIBC_2.14' can not be used when making a shared object; recompile with -fPIC Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* tools: remove obsolete yaffs toolFelix Fietkau2017-01-094-176/+1
| | | | | | This was added a long time ago and was apparently never used Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: reorganize dependencies, fix build after deleting staging dirFelix Fietkau2017-01-092-12/+18
| | | | | | | | | | | A lot of packages (especially those using libtool) depend on sed being available. xz fails on an incremental build pretty early if it's not there. Clean up handling if essential core tools (patch, tar, xz), build them in parallel and make them depend on sed Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-093-383/+5
| | | | | | | It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/kernel2minor: fix permissions of created filesFelix Fietkau2017-01-061-0/+11
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>