aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libtool
Commit message (Collapse)AuthorAgeFilesLines
* tools/libtool: bootstrap to local gnulib sourceMichael Pratt2023-05-041-2/+16
| | | | | | | | | | | 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/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/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>
* libtool: use STAGING_DIR_HOST in relocatable patchChristian Marangi2023-01-091-25/+25
| | | | | | | | Instead of using STAGING_DIR and then go up one dir with '../' use directly STAGING_DIR_HOST env variable. This should produce cleaner symbolic links. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools: add Host/Uninstall where possibleRosen Penev2022-10-201-1/+4
| | | | | | This cleans staging_dir when calling tool/x/clean. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libtool: Revert "libtool: bump to 2.4.6"Hauke Mehrtens2021-09-2310-444/+334
| | | | | | | | | | This breaks the package builds using the SDK. The targets all build fine, but the package builder fails on many packages. The package builder uses the OpenWrt SDK. This reverts commit c377d874bededfad971530aeb7d7e1b43cd3e61a. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* libtool: bump to 2.4.6Eneas U de Queiroz2021-09-2010-334/+444
| | | | | | | | | | | | | | | | 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. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* tools/libtool: update to 2.4.2Ivan Pavlov2021-09-079-48/+26
| | | | | | | Refresh patches. Remove upstreamed: 001-fix-func_append.patch Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
* add PKG_CPE_ID ids to package and toolsAlexander Couzens2017-11-171-0/+1
| | | | | | | | | | | CPE ids helps to tracks CVE in packages. https://cpe.mitre.org/specification/ Thanks to swalker for CPE to package mapping and keep tracking CVEs. Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* source: Switch to xz for packages and tools where possibleDaniel Engberg2016-10-061-2/+2
| | | | | | | | | | | * Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* libtool: passthrough -fstack-protector* to linkerSteven Barth2015-06-181-0/+12
| | | | | | | | on some platforms this is needed for gcc to link libssp Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46030
* tools: libtool relocatable fixesJo-Philipp Wich2015-01-132-9/+50
| | | | | | | | | Make sure that libtool and libtoolize call grep relative to $STAGING_DIR as well. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43960
* tools: bootstrap libtool to pickup the correct in-tree automakeJo-Philipp Wich2015-01-133-5/+15
| | | | | | | | Also fix 000-relocatable.patch to avoid accidential sed invocations in bootstrap. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43959
* tools/libtool: enable parallel buildsFelix Fietkau2012-09-151-0/+2
| | | | SVN-Revision: 33429
* libtool: fix accidental sed invocation in libtoolizeJo-Philipp Wich2012-01-212-5/+9
| | | | SVN-Revision: 29839
* libtool: make relocatable, search resources relative to STAGING_DIRJo-Philipp Wich2012-01-201-0/+92
| | | | SVN-Revision: 29826
* tools: clean up Makefiles / make ccache workJohn Crispin2012-01-151-4/+0
| | | | SVN-Revision: 29754
* autotools.mk: implement PKG_FIXUP:=patch-libtool This change allows to apply ↵Jo-Philipp Wich2011-08-013-0/+401
| | | | | | OpenWrt, Buildroot and OE libtool fixes to packages which fail badly at autoreconf. The fixup covers the common libtool versions 1.5, 2.2 and 2.4 and automatically determines the correct version to use. SVN-Revision: 27855
* libtool: fix misspelled procedure name...Jo-Philipp Wich2011-02-031-0/+22
| | | | SVN-Revision: 25351
* libtool: extend all ltmain.m4sh patches to cover ltmain.sh as well, prevent ↵Jo-Philipp Wich2010-12-215-7/+96
| | | | | | configure from embedding host library paths SVN-Revision: 24752
* libtool: strip unsave directories from relink command, nuke every -L that ↵Jo-Philipp Wich2010-12-201-0/+12
| | | | | | looks like /usr/lib or /lib SVN-Revision: 24741
* make libtool a tool build and let autoconf depend on itJo-Philipp Wich2010-12-185-0/+235
| | | | SVN-Revision: 24673
* move libtool out of tools/, seems like we need a per-target libtoolFelix Fietkau2007-12-272-57/+0
| | | | SVN-Revision: 9937
* add libtool to tools/Felix Fietkau2007-12-252-0/+57
SVN-Revision: 9902