libtool: Update to version 2.5.4

Message ID 20241204131541.3417170-2-adolf.belka@ipfire.org
State New
Headers
Series libtool: Update to version 2.5.4 |

Commit Message

Adolf Belka Dec. 4, 2024, 1:15 p.m. UTC
  - Update from version 2.4.7 to 2.5.4
- Update of rootfile
- Update of patch vgersion number
- Changelog
    2.5.4
	** New features:
	  - New libtool command line flag, --no-finish, to skip executing
	    finish_cmds that would alter the shared library cache during testing.
	  - New libtool command line flag, --reorder-cache=DIRS, to reorder the
	    shared library cache, only on OpenBSD.
	** Bug fixes:
	  - Fix incorrect use of workarounds designed for Darwin versions that
	    don't have -single_module support.
	  - Fix errors when executing 'make distclean' and 'make maintainer-clean'.
	  - Fix bug where the constructed rpath omit directories, instead of
	    appending them to the end.
	  - Fix configure error for when variable 'multlib' is unset.
	  - Fix searching for -L in link paths being over-greedy and incorrectly
	    handling paths with -L in them.
	  - Avoid using AC_TRY_EVAL macro, "dangerous and undocumented".
	  - Fix linking libraries at runtime with tcc by adding run path.
	  - Fix path comparison by removing trailing slashes on install commands.
	  - Fix linking for mingw with lld by prefering response files over the
	    linker script.
	  - Fix '-Fe' usage with linking in MSVC.
	  - Fix '--no-warnings' flag.
	  - Fix handling xlc(1)-specific options.
	  - Fix Haiku support.
	** Changes in supported systems or compilers:
	  - Support additional flang-based compilers, 'f18' and 'f95'.
	  - Support for 'netbsdelf*-gnu'.
	  - Support for '*-mlibc', and subsequently Ironclad and Managarm.
	  - Support for SerenityOS.
	  - Support for wasm32-emscripten.
    2.5.3
	** New features:
	  - Add 'aarch64' support to the file magic test, which allows for
	    shared libraries to be built with Mingw for aarch64.
	** Bug fixes:
	  - The configure options --with-pic and --without-pic have been renamed
	    to --enable-pic and --disable-pic, respectively.  The old names
	    --with-pic and --without-pic are still supported, though, for
	    backward compatibility.
	  - The configure option --with-aix-soname has been renamed to
	    --enable-aix-soname.  The old name --with-aix-soname is still
	    supported, though, for backward compatibility.
	  - Fix conflicting warnings about AC_PROG_RANLIB.
	  - Document situations where -export-symbols does not work.
	  - Update FSF office address with URL in each file's license block.
	  - Add checks for aclocal in standalone.at and subproject.at test files
	    that report failures in Linux From Scratch and Darwin builds.
    2.5.2
	** Bug fixes:
	  - Use shared objects built in source tree instead of the installed
	    versions for more reliable testing.
	  - Fix test in bug_62343.at for confirmed Cygwin/Mingw32 where the
	    incorrect architecture version of a compiler was generating
	    object files that could not be linked with a library file.
	  - Fix typos found with codespell.
	** Changes in supported systems or compilers:
	  - Add support for 32-bit mode on FreeBSD/powerpc64.
    2.5.1
	** New features:
	  - Support C++17 compilers in the C++ tests.
	  - Add sysroot to library path for cross builds.
	** Important incompatible changes:
	  - Autoconf 2.64 is required for libtool.m4 to use AS_VAR_APPEND.
	** Bug fixes:
	  - Fix for uninitialized variable in libtoolize.
	  - Skip Fortran/C demo tests when using Clang with fsanitize to
	    avoid an incompatible ASan runtime.
	  - Updated documentation for testing.
	  - Fix failing test to account for program-prefix usage.
	  - Replaced a deprecated macro to remove warning messages in the
	    testsuite logs.
	  - Fix number of arguments for AC_CHECK_PROG call.
	  - Fix test failures with no-canonical-prefixes flag by checking
	    if the flag is supported first.
	  - Fix test failures with no-undefined flag by checking host OS
	    before appending the flag.
	  - Skip test when passing CXX flags through libtool to avoid test
	    failure on NetBSD.
	  - Remove texinfo warning for period in node name of pxref.
	  - Alter syntax in sed command to fix numerous test failures
	    on 64-bit windows/cygwin/mingw.
	  - Fix 'Wstrict-prototypes' warnings.
	  - Correct DLL Installation Path for mingw multilib builds.
	  - Fix '--preserve-dup-deps' stripping duplicates.
	  - Disable chained fixups for macOS, since it is not compatible with
	    '-undefined dynamic_lookup'.
	** Changes in supported systems or compilers:
	  - Support additional flang-based compilers, 'flang-new' and 'ftn'.
    2.5.0
	** New features:
	  - Pass '-fdiagnostics-color', '-frecord-gcc-switches',
	    '-fno-sanitize*', '-Werror', and 'prefix-map' flags.
	  - Pass the '-no-canonical-prefixes' linker flag.
	  - Pass '-fopenmp=*' for Clang to allow choosing between libgomp and
	    libomp.
	  - Pass '-shared-libsan', '-static-libsan', 'rtlib=*', and
	    'unwindlib=*' for Clang.
	  - Expanded process.h inclusion on Windows for more than the
	    proprietary MSVC compiler. Other alternative Windows compilers
	    also require process.h.
	  - Pass 'elf32_x86_64' and 'elf64_x86_64' to the linker on hurd-amd64.
	  - Recognize *-*-windows* config triplets.
	** Important incompatible changes:
	- Removed test_compile from command line options.
	  - By default executables are created with the RUNPATH property for
	    the Android linker. RUNPATH works for libraries which are not
	    installed in system locations.
	  - Removed AC_PROG_SED fallback, as the macro has been supported
	    in Autoconf since the 90's.
	** Bug fixes:
	  - Check for space after -l, -L, and -R linker flags.
	  - Updated documentation for tests, the demo directory, and
	    elsewhere.
	  - Fixed Solaris 11 builds.
	  - Clean trailing "/" from sysroot path.
	  - Fixed shared library builds for System V.
	  - Added mingw to the list of systems not requiring libm.
	  - Fixed support for nios2 systems.
	  - Fixed linker check for '--whole-archive' support for linkers other
	    than ld.
	  - Use -Fe instead of -o with MSVC to avoid deprecation warnings.
	  - Improved reproducibility of libtool scripts.
	  - Avoided MinGW warning by adding CRTIMP.
	  - Improved grep portability.
	  - Fixed cross-building warnings when checking for file.
	** Changes in supported systems or compilers:
	  - Removed support for bitrig (*-*-bitrig*).
	  - Added support for flang (Fortran LLVM-based) compilers.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/libtool                           | 2 +-
 lfs/libtool                                               | 8 ++++----
 ... => libtool-2.5.4-correct-libtoolize.in-shebang.patch} | 0
 3 files changed, 5 insertions(+), 5 deletions(-)
 rename src/patches/{libtool-2.4.7-correct-libtoolize.in-shebang.patch => libtool-2.5.4-correct-libtoolize.in-shebang.patch} (100%)
  

Patch

diff --git a/config/rootfiles/common/libtool b/config/rootfiles/common/libtool
index 86ffb7fba..0ab9b9fd0 100644
--- a/config/rootfiles/common/libtool
+++ b/config/rootfiles/common/libtool
@@ -8,7 +8,7 @@ 
 #usr/lib/libltdl.la
 #usr/lib/libltdl.so
 usr/lib/libltdl.so.7
-usr/lib/libltdl.so.7.3.2
+usr/lib/libltdl.so.7.3.3
 #usr/share/aclocal/libtool.m4
 #usr/share/aclocal/ltargz.m4
 #usr/share/aclocal/ltdl.m4
diff --git a/lfs/libtool b/lfs/libtool
index 014d54028..be168a800 100644
--- a/lfs/libtool
+++ b/lfs/libtool
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2019  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.4.7
+VER        = 2.5.4
 
 THISAPP    = libtool-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -42,7 +42,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 5e022586337637dd634bd40578ad944bec6e3b8de41f95d55777b90cc88cbc4badb3d76cbf0e638166ece1ea7de828e83590e1e6bac30c1e4b1c254a11a742f2
+$(DL_FILE)_BLAKE2 = 47de3c49a690d44d7ddd5e3b5e4090c91dc5fbb9c40fc4a3963e150fb7329326ee3e21b8c149974726171c4b0380028e0efc7a369c4f04357eea46f69852e1cc
 
 install : $(TARGET)
 
@@ -75,7 +75,7 @@  dist:
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
-	cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libtool-2.4.7-correct-libtoolize.in-shebang.patch
+	cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libtool-2.5.4-correct-libtoolize.in-shebang.patch
 	$(UPDATE_AUTOMAKE)
 	cd $(DIR_APP) && ./configure \
 		                --prefix=/usr \
diff --git a/src/patches/libtool-2.4.7-correct-libtoolize.in-shebang.patch b/src/patches/libtool-2.5.4-correct-libtoolize.in-shebang.patch
similarity index 100%
rename from src/patches/libtool-2.4.7-correct-libtoolize.in-shebang.patch
rename to src/patches/libtool-2.5.4-correct-libtoolize.in-shebang.patch