Sync from SUSE:SLFO:Main libtool revision 5d6aa6cf0cfd1ab3867be0cbc684f540

This commit is contained in:
Adrian Schröter 2024-05-03 15:58:26 +02:00
commit 19cf0c36d9
12 changed files with 1158 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

3
_multibuild Normal file
View File

@ -0,0 +1,3 @@
<multibuild>
<flavor>testsuite</flavor>
</multibuild>

4
baselibs.conf Normal file
View File

@ -0,0 +1,4 @@
libtool
provides "libltdl-devel-<targettype> = <version>"
requires "libltdl7-<targettype> = <version>"
libltdl7

View File

@ -0,0 +1,10 @@
--- libtool-2.4.7/tests/resident.at
+++ libtool-2.4.7/tests/resident.at
@@ -117,6 +117,7 @@
setup_plugin (void)
{
atexit (bye);
+ return 0;
}
]])

View File

@ -0,0 +1,34 @@
From 1e13a1944f725ccc24bce1a2fa6f9009ba8a2270 Mon Sep 17 00:00:00 2001
From: Andreas Stieger <Andreas.Stieger@gmx.de>
Date: Sun, 4 Sep 2022 22:24:41 +0200
Subject: [PATCH] tests/link-order.at: avoid warning and test failure with GNU
grep 3.8
https://bugzilla.opensuse.org/show_bug.cgi?id=1203097
https://savannah.gnu.org/patch/index.php?10275
---
tests/link-order.at | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/link-order.at b/tests/link-order.at
index 3f01a00d..a145347f 100644
--- a/tests/link-order.at
+++ b/tests/link-order.at
@@ -99,12 +99,12 @@ aix* | interix*) ;; # These systems have different path syntax
case $hardcode_direct$hardcode_direct_absolute in
yesno)
AT_CHECK([if $EGREP relinking stderr; then
- $EGREP " .*\/new\/lib/libb$shared_ext .*\/old\/lib/libcee$shared_ext" stdout
+ $EGREP " .*/new/lib/libb$shared_ext .*/old/lib/libcee$shared_ext" stdout
else :; fi], [0], [ignore], [], [echo "wrong link order"])
;;
*)
AT_CHECK([if $EGREP relinking stderr; then
- $EGREP " -L.*\/new\/lib -lb -L.*\/old\/lib -lcee" stdout
+ $EGREP " -L.*/new/lib -lb -L.*/old/lib -lcee" stdout
else :; fi], [0], [ignore], [], [echo "wrong link order"])
;;
esac
--
2.37.2

BIN
libtool-2.4.7.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

14
libtool-2.4.7.tar.xz.sig Normal file
View File

@ -0,0 +1,14 @@
-----BEGIN PGP SIGNATURE-----
iQGzBAABCgAdFiEEfF+7lr6CuVSsIN9fbqyVf47rVcAFAmIyt9MACgkQbqyVf47r
VcCiDwv/ZvXJeSZl2OrXgG8gntIsluwYovTbz16ro8y6/Eoz8nPWlnBlizTiXuiM
TYAtcW6a39eD8ltMUIfvLngCUalfCuqOQku0Wo4JanHm6rPAwXZoLzJi805oJ1Fc
WxJYkHIQOOHqQRRgyPWN3c9AnW2GJmEHeKfvJMFCO/3G5AioKLv/U4T5FBaxmwgZ
3OktPv0yNjZBQOsalw9oGX0hCcCVed/zG38RgsbiVvlQ3ca45G04JpNWmLxBoQ+U
5CULalWqZbwalQ8i4rV2CRFAIJPHuv9Shq5MurtMBWFhH43fwRt9yVlEbNWqjk/v
+cmVJC+uv7fy27DEYOB1mANs8grb1hPs/CMlIsV/CEnKCbUfyryMlhlLabsv1jlZ
pYURrulKa7Je+q5yv8dvd5et0ydKnDJ/5mjqlD1kc5hP7RMh6R1BUs0DyiYTXujg
JvqTaYEnzOJp9QSdQQyvT7At5niNryw4DDqsttWQB4toEH7pF5NWexi+izO8EjT0
Y56qikdg
=QSFC
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,13 @@
Index: libtool-2.4.6/configure
===================================================================
--- libtool-2.4.6.orig/configure
+++ libtool-2.4.6/configure
@@ -31426,7 +31426,7 @@ $as_echo X"$file" |
cat <<_LT_EOF >> "$cfgfile"
#! $SHELL
# Generated automatically by $as_me ($PACKAGE) $VERSION
-# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
+# Libtool was configured on host localhost:
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
# Provide generalized library-building support services.

6
libtool-rpmlintrc Normal file
View File

@ -0,0 +1,6 @@
# This line is mandatory to access the configuration functions
from Config import *
addFilter("libtool.* shlib-policy-nonversioned-dir")
addFilter("libtool.* shlib-policy-missing-lib")
addFilter("libtool.* script-without-shebang")

883
libtool.changes Normal file
View File

@ -0,0 +1,883 @@
-------------------------------------------------------------------
Mon Dec 12 08:58:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
- switch to pkgconfig(zlib) so that alternative providers can be
used
-------------------------------------------------------------------
Sun Sep 4 19:47:46 UTC 2022 - Andreas Stieger <andreas.stieger@gmx.de>
- allow tests to pass with GNU grep 3.8 boo#1203097
add libtool-2.4.7-grep-3.8.patch
-------------------------------------------------------------------
Tue Mar 29 13:46:49 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add handle-Werror-return-type.patch
- disable lto, breaks libtool as seen in testsuite
-------------------------------------------------------------------
Sun Mar 20 20:47:49 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.4.7:
- Libtool script now supports (configure-time and runtime) ARFLAGS
variable, which obsoletes AR_FLAGS. This is due to naming conventions
among other *FLAGS and to be consistent with Automake's ARFLAGS.
- Gnulib testsuite is enabled and run during 'make check'.
- Support the Windows version of the Intel C Compiler (icl) in
libtool script.
- Pass '-fsanitize=*' flags for GCC and LLVM, and '-specs=*' for GCC
to linker.
- Pass '-Xassembler=*' and '-Wa,*' flag to compilers and linkers.
- The variable 'FILECMD' with default value of '/usr/bin/file' was used to
replace existing hard coded references to '/usr/bin/file'.
- Add MidnightBSD support.
- Libtool changed ARFLAGS/AR_FLAGS default from 'cru' to 'cr'.
- Do not pass '-pthread' to Solaris linker.
- 'libtool' and 'libtoolize' scripts now use '#! /usr/bin/env sh' shebang.
Previously '#! /bin/sh' was used, which presents challenges for
containerized environments.
- Fix significant slowdown of libtoolize for certain projects (regression
introduced in 2.4.3 release) caused by infinite m4 macro recursion.
- Mitigate the slowdown of libtool script (introduced in v2.4.3) caused by
increased number of calls to '$SED $sed_quote_subst' (bug#20006).
- Properly parse and export TLS symbols on AIX.
- Various bug fixes surrounding use of 'sed'.
- Darwin systems set proper "allow undefined" flag on OSX 11, and
PowerPC 10.5.
- Removed some deprecated tests related to 'Makefile.inc' files.
- merge in testsuite, disable for now, isn't building for a while
-------------------------------------------------------------------
Fri Aug 2 07:59:41 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
-------------------------------------------------------------------
Sat Dec 8 17:55:47 UTC 2018 - meissner@suse.com
- libtool baselib should require libltdl in baselib.
-------------------------------------------------------------------
Wed May 9 03:34:16 UTC 2018 - bwiedemann@suse.com
- Add libtool-reproducible-hostname.patch
to make package build reproducible (boo#1084909)
-------------------------------------------------------------------
Thu May 3 14:16:43 UTC 2018 - dimstar@opensuse.org
- Drop libtool-no_host_name.patch for now: since we are upgrading
to automake 1.16, we can't have any patch that would require us
to bootstrap libtool, as this is not exactly trivial.
- Remove the line containing 'uname -m' from the libtool.m4 package
after installation: this has the same effect as the patch above
had.
-------------------------------------------------------------------
Wed Mar 16 15:29:34 UTC 2016 - dimstar@opensuse.org
- Fix install_info_{install,delete} usage: install-info does not
allow file globbing.
-------------------------------------------------------------------
Thu Aug 6 12:02:32 CEST 2015 - pth@suse.de
- Remove spurious install_info_delete in postun (bsc#940773).
-------------------------------------------------------------------
Mon May 4 09:40:09 CEST 2015 - pth@suse.de
- Fix call of install_info.
-------------------------------------------------------------------
Mon Apr 20 12:25:22 CEST 2015 - pth@suse.de
- Remove empty entry.
-------------------------------------------------------------------
Sun Apr 19 12:41:43 UTC 2015 - mpluskal@suse.com
- Use url for signature
- Add keyring file for automatic verification of signature
- Cleanup spec file with spec-cleaner
- Remove old ppc/ppc64 obsolete/provides
- Update info pre/post requires and replace postun with preun
-------------------------------------------------------------------
Fri Apr 17 10:02:12 CEST 2015 - pth@suse.de
- Update to 2.4.6:
Noteworthy changes in release 2.4.6 (2015-02-15) [stable]
* New features:
- LT_SYS_LIBRARY_PATH can be set in config.site, or at configure time
and persists correctly in the generated libtool script.
* Bug fixes:
- Fix a race condition in ltdl dryrun test that would cause spurious
random failures of that test.
- LT_SYS_DLSEARCH_PATH is munged correctly.
- Add tarball signature.
-------------------------------------------------------------------
Mon Feb 9 12:45:26 CET 2015 - pth@suse.de
- Add libtool-no_host_name.patch to remove the host name from
generated scripts (bnc#916268).
-------------------------------------------------------------------
Thu Jan 22 23:26:38 UTC 2015 - foss@grueninger.de
- Update to libtool 2.4.5
New features:
- Libtoolize searches for the best available M4 on the user PATH at
runtime, rather than settling for the first one found.
- Support munging sys_lib_dlsearch_path_spec with LT_SYS_LIBRARY_PATH
environment variable.
Bug fixes:
- Bail out at configure time if the installed M4 is not sufficient
for the purposes of libtoolize.
- freebsd-elf library versioning was upgraded incorrectly in 2.4.4,
but now works properly again.
- Fix a 2.4.4 regression so that libltdl subprojects do not warn
about missing libltdl/libltdl directory as in prior releases.
- When using Sun C++ on Solaris or GNU/Linux we used to set libtool's
postdeps permanently, based on the contents of $CXX and $CXXFLAGS at
configure time, which was brittle and error-prone. Now, we no
longer check for a SunCC ABI at configure time, but augment the
postdeps at libtool time based on the current invocation flags on
each call.
Changes in supported systems or compilers:
- /usr/local prefixed rpaths are now added to the link-line on
ia64-hp-hpux*, because the default system runtime loader path does
not contain them.
- Previously, when using Sun C++ on Solaris or GNU/Linux, `-Cstd -Crun`
flags were added to $postdeps unless CXX or CXXFLAGS contained
`-library=stlport4`. Newer releases have added other compiler flags
that are also incompatible with `-Cstd -Crun`, so now we don't add
them if any of `-std=c++[0-9][0-9]`, `-library=stdcxx4` or
`-compat=g` were found in CXX or CXXFLAGS when the Sun C++ compiler
is detected.
-------------------------------------------------------------------
Sat Dec 6 21:11:04 UTC 2014 - foss@grueninger.de
- Require M4 as libtool's libtoolize requires it since 2.4.3
-------------------------------------------------------------------
Sat Nov 29 19:48:44 UTC 2014 - foss@grueninger.de
- Drop patch libtool-dont_delete_gnulib_files.patch which is
included in 2.4.4
- Update to libtool 2.4.4
** New features:
- Libltdl maintains its own fork of argz, with macros and files in
the LT_ and lt__ namespaces (resp.) where they cannot clash with
client projects' use of gnulib argz.
** Bug fixes:
- Installation of 'libtoolize' once again obeys '--program-prefix',
'--program-suffix' and '--program-transform-name' configure options.
- `libtoolize` doesn't remove any files that it can't reinstall,
including old versions of the snippet directory, and gnulib's
version of the argz module and supporting files.
- LT_FUNC_DLYSM_USCORE now works correctly on systems that don't
support self dlopen()ing.
** Important incompatible changes:
- LT_LIB_DLLOAD no longer prepends -ldl or -ldld to LIBS, causing
duplicate occurrences in libltdl link lines. If you need to
add a library for dlopen() or shl_load() in your Makefile, then
use $(LIBADD_DLOPEN) or $(LIBADD_SHL_LOAD) respectively. If you
are using libltdl, this all happens automatically, and the only
difference you'll see is no more duplicated library names in the
verbose link line.
** Changes in supported systems or compilers:
- Preliminary support for tcc on linux*. Although it already worked
sometimes in previous releases, making sure to set LD correctly now
avoids mis-matching GNU ld with tcc:
./configure CC=tcc LD=tcc
- Added -os2dllname option to work around 8 character base name
limit on OS/2. The option has no effect on other systems.
- Support for DLL versioning, -export-symbols and -export-symbols-regex
on OS/2.
- Support filename-based shared library versioning on AIX. See manual
for details.
-------------------------------------------------------------------
Sat Nov 29 19:48:09 UTC 2014 - foss@grueninger.de
-
-------------------------------------------------------------------
Fri Nov 21 11:00:57 CET 2014 - pth@suse.de
- Add libtool-dont_delete_gnulib_files.patch that prevents deletion
of files from gnulib to be deleted by libtoolize.
- BuildRequire help2man.
- Remove unneeded clean section.
- Use rpm macros where possible.
- Pass V=1 to make to make compilation verbose.
-------------------------------------------------------------------
Mon Nov 3 22:35:18 UTC 2014 - foss@grueninger.de
- Drop patch config-guess-sub-update.patch for libltdl/config as the
folder no longer exists.
- Drop patch libtool-ppc64le.patch for ppc handling as it is already
part of v2.4.3
- Update to libtool 2.4.3
** New features:
- Moved to gnulib release infrastructure.
- M4 is now used for scanning the M4 macros in your configure.ac that
'libtoolize' looks at to determine what files you want, and where you
would like them installed. This means that you can compose your
version number or any other argument that Libtoolize needs to know at
M4 time using git-version-gen from gnulib, for example.
- Invoking 'libtoolize --ltdl' no longer maintains a separate autoconf
macro directory in the libltdl tree, but automatically adjusts the
installed libltdl configuration files to share whatever macro
directory is declared by the parent project. (Note: if you were
already sharing a macro directory with AC_CONFIG_MACRO_DIR(ltdl/m4)
or similar, that still works as does any other directory choice).
- Invoking 'libtoolize --ltdl' no longer maintains a separate auxiliary
scripts directory in the libltdl tree, but automatically adjusts the
installed libltdl configuration files to share whatever auxiliary
scripts directory is declared by the parent project. (Note: if you
were already sharing an auxiliary directory with subproject libltdl
using AC_CONFIG_AUX_DIR(ltdl/config) or similar, that still works as
does any other directory choice).
- The legacy tests have all been migrated to the Autotest harness.
- The Autotest testsuite can be run without the especially time consuming
tests with:
make check-local TESTSUITEFLAGS='-k "!expensive"'
** Bug fixes:
- Fix a long-standing latent bug in autom4te include path for autotests
with VPATH builds.
- Fix a long-standing latent bug in libtoolize that could delete lines
from libltdl/Makefile.am in recursive mode due to underquoting in a
sed script.
- Fix a long-standing bug in libtoolize, by outputting the 'putting
auxiliary files in' header with 'libtoolize --ltdl --subproject'.
- Fix a long-standing bug in libtoolize subproject installation, by not
installing a set of autoconf macro files into the parent project if
there is no configure.ac present to use them.
- The libtoolize subproject mode selector is now named '--subproject'
and is equivalent to the implied '--subproject' mode when no other
mode is selected; '--standalone' never worked, and is no longer
accepted.
- Libtool and libtoolize no longer choke on paths with a comma in them.
- In the case where $SHELL does not have the same enhanced features
(e.g. the ability to parse 'var+=append') as $CONFIG_SHELL, libtool
will now correctly fallback to using only vanilla shell features
instead of failing with a parse at startup.
- Correctly recognize import libraries when Microsoft dumpbin is used
as the name lister and extend the dumpbin wrapper to find symbols
in import libraries using the -headers option of dumpbin. Also fix a
bug in the dumpbin wrapper that could lead to broken symbol listings
in some corner cases.
- Use the improved Microsoft dumpbin support to mend preloading of
import libraries for Microsoft Visual C/C++.
- No longer mangle module-definition (.def) files when feeding them to
the Microsoft Visual C/C++ linker via the -export-symbols argument to
the libtool script, thus matching how .def files are handled when
using GNU tools.
- Recognize more variants (e.g. those starting with a LIBRARY statement)
of module-definitions (.def) files when using them instead of a raw
list of symbols to export.
- Fix a long-standing bug when using libtoolize without automake; we
no longer remove install-sh with --force, since it's not a file
libtoolize will reinstall without --install..
** Important incompatible changes:
- GNU M4 is required to run libtoolize in a directory with a
'configure.ac' (or 'configure.in') that needs tracing to determine
what modes and directories have been specified.
- The use of the idiosyncratically named 'Makefile.inc' in nonrecursive
libltdl builds is deprecated, although it will be supported for one
more year or until the next release, whichever takes longer. Please
upgrade to the more standard naming of 'ltdl.mk' in keeping with other
GNU projects.
- libtoolize now behaves consistenty in respect of multiple directory
arguments to ACLOCAL_AMFLAGS and multiple invocations of AC_CONFIG-
_MACRO_DIRS, where the first directory is always selected. Previous
releases took the first ACLOCAL_AMFLAGS argument, but the last
invocation of AC_CONFIG_MACRO_DIRS.
- The libtoolize program now advises use of the new Autoconf
AC_CONFIG_MACRO_DIRS declaration. If you follow that advice, all
your developers will need at least autoconf-2.70 and automake-1.13
to rebootstrap your probject. If you still need to support
bootstrap with older Autotools, then you should add the following
to your configure.ac file:
m4_ifndef([AC_CONFIG_MACRO_DIRS],
[m4_define([AC_CONFIG_MACRO_DIRS],
m4_defn([AC_CONFIG_MACRO_DIR]))])
- Overhead of probing for a non-backslash crippled echo equivalent
during initialization of every script has been removed in favor of
trusting that "printf %s\n" works out of the box on all non-museum
host architectures. Manually setting ECHO appropriately in the
build environment will be necessary on some ancient architectures.
** Changes in supported systems or compilers:
- Support for bitrig (*-*-bitrig*).
- Solaris 7 and earlier requires ECHO=/usr/ucb/echo in the build
environment, to build and use libtool.
-------------------------------------------------------------------
Tue Sep 9 03:55:16 UTC 2014 - coolo@suse.com
- install COPYING as %doc
-------------------------------------------------------------------
Mon Jul 14 15:05:03 UTC 2014 - dvaleev@suse.com
- Add libtool-ppc64le.patch to fix libtool-testsuite tests
-------------------------------------------------------------------
Tue Nov 26 16:13:31 CET 2013 - pth@suse.de
- Change License as described in bnc#818958.
-------------------------------------------------------------------
Sat Feb 2 23:34:27 UTC 2013 - schwab@suse.de
- Add config-guess-sub-update.patch:
Update config.guess/sub for aarch64
-------------------------------------------------------------------
Thu Jul 19 13:42:29 CEST 2012 - pth@suse.de
- buildrequire makeinfo which is a seperate package now.
-------------------------------------------------------------------
Tue Nov 29 13:45:11 UTC 2011 - coolo@suse.com
- buildrequire automake for file list check
-------------------------------------------------------------------
Thu Nov 10 10:30:14 CET 2011 - dmueller@suse.de
- update to 2.4.2:
- The generic approximation of the command line length limit (when getconf is
not available) works again. Regression introduced in v2.2.6-39-g9c3d4d8.
- The bug that leaked developer tool paths into the release tarballs
from ./bootstrap is fixed.
- Improved support for the Cuda Compiler Driver (nvcc) on Darwin.
- For GCC LTO support, the -fuse-linker-plugin switch is now also removed
when computing compiler postdeps.
- The undocumented hardcode_libdir_flag_spec_ld tag variable has been
removed in favor of using hardcode_libdir_flag_spec with $wl set to empty.
-------------------------------------------------------------------
Fri Sep 16 13:47:52 UTC 2011 - coolo@suse.com
- don't use _service
-------------------------------------------------------------------
Fri Jul 29 15:06:27 CEST 2011 - pth@suse.de
- Add gcc-c++ gcc-fortran and gcc-objc to buildrequires so that
packages using the system wide libtool script compile.
- Add a rpmlintrc to shut up rpmlint on most warnings.
-------------------------------------------------------------------
Mon Mar 14 08:52:38 UTC 2011 - coolo@novell.com
- require automake and provide symbolic names for libltdl
-------------------------------------------------------------------
Wed Mar 9 14:07:54 UTC 2011 - giecrilj@stegny.2a.pl
- update to 2.4, which has quite some new stuff. Limiting here to
incompatible changes:
- The fix_srcfile_path variable has been replaced by a more thorough
mechanism triggered by the to_tool_file_cmd variable.
- The wrapper command line option support described above introduces the
following incompatibility: the wrapper will remove any command line
options that begin with '--lt-*' from the argument list before launching
(uninstalled) programs. Any '--lt-*' option on the command line not
recognized by the wrapper will result in an error.
- The type of the symbol lists variables (lt_*_LTX_preloaded_symbols) has
been fixed in the manual and in a couple of tests to match the actual
implementation.
-------------------------------------------------------------------
Mon Feb 28 22:00:49 CET 2011 - jslaby@suse.de
- Fix AC_LANG_PROGRAM warnings (bnc#675573)
-------------------------------------------------------------------
Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de
- Use %_smp_mflags
-------------------------------------------------------------------
Mon May 31 09:55:17 UTC 2010 - coolo@novell.com
- add an empty install section
-------------------------------------------------------------------
Thu May 27 13:48:42 UTC 2010 - coolo@novell.com
- split out the test suite that takes 95% of the build time
-------------------------------------------------------------------
Thu May 27 13:49:37 CEST 2010 - dmueller@suse.de
- tar is in /bin/tar, so a requires to /usr/bin/tar doesn't work
-------------------------------------------------------------------
Fri May 7 16:17:08 UTC 2010 - pth@novell.com
- Libtool needs tar so add it as Requires (bnc#526298).
-------------------------------------------------------------------
Sun Dec 13 15:35:32 CET 2009 - jengelh@medozas.de
- add baselibs.conf as source2
-------------------------------------------------------------------
Sat Dec 12 17:18:41 UTC 2009 - aj@suse.de
- Add libtool-no-hostname.patch to not write hostname in libtool
to avoid rebuilds where nothing has changed beside the build host.
-------------------------------------------------------------------
Wed Nov 18 15:54:26 CET 2009 - pth@suse.de
- VUL-0 CVE-2009-3736 Update to 2.2.6b (bnc#556122):
* Fix libltdl to no longer attempt to dlopen() the old_library
listed in the .la file. Now will use only the preopen loader to
attempt to load it. This may be a security issue, all users are
advised to upgrade.
* Similarly, don't open module.la from the current directory, this
changes the behavior of libltdl to match the documentation.
* Adapt test suite to changes.
-------------------------------------------------------------------
Sat Feb 7 11:11:12 CET 2009 - schwab@suse.de
- Rebuild broken info file.
-------------------------------------------------------------------
Fri Jan 9 14:13:54 CET 2009 - schwab@suse.de
- Fix last change.
-------------------------------------------------------------------
Wed Jan 7 12:34:56 CET 2009 - olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
-------------------------------------------------------------------
Sun Sep 7 10:11:40 CEST 2008 - schwab@suse.de
- Update to libtool 2.2.6.
* New features:
- New lt_dloadvise_preload() call to set a hint that only preloadeded
modules can be opened.
- libtoolize no longer removes config.guess and config.sub, even when
--install is passed.
* Changes in supported systems or compilers:
- Fixes for ifort on Darwin, and newer Intel compilers (icc 10, ifort 9)
on GNU/Linux.
- Fixes for cwrapper (cygwin/mingw) under -stdc=c99.
- Support cross compile of MinGW with Wine.
- Initial support for cegcc (Windows CE/PocketPC) cross compilation.
- Initial support for lf95 (Lahey Fortran 8.1) on GNU/Linux.
* Bug fixes:
- Several testsuite issues have been fixed, thanks to user feedback.
- Fix 2.2 regression that caused argz symbols to be exported from
libltdl unrenamed on systems that do not have working argz.
- Revert "lt_dlopen(NULL) works on AIX again.". It was not the
correct fix.
- Diagnose '-L' arguments correctly.
- Libtool no longer tries to open devices as files in execute mode.
- Libtool no longer removes *.gcno profile information from GCC.
-------------------------------------------------------------------
Wed May 21 19:45:13 CEST 2008 - cthiel@suse.de
- fix baselibs.conf
-------------------------------------------------------------------
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
-------------------------------------------------------------------
Fri Feb 1 19:33:27 CET 2008 - schwab@suse.de
- Update to libtool 1.5.26.
* Improved support for Mac OS X Leopard.
* More robust parsing of mangled `.la' files inside libltdl, fixing a
possible overrun and a crash due to memory exhaustion.
* Fix compile command line for gcj on MinGW.
* Some configure variables have been renamed to fix caching:
lt_prog_compiler_pic_works to lt_cv_prog_compiler_pic_works
lt_prog_compiler_static_works to lt_cv_prog_compiler_static_works.
* Support for AIX 6.1.
* Bug Fixes.
-------------------------------------------------------------------
Tue Nov 13 15:18:15 CET 2007 - schwab@suse.de
- Fix C++ includes.
-------------------------------------------------------------------
Wed Jun 27 11:23:17 CEST 2007 - schwab@suse.de
- Update to libtool 1.5.24.
* Initial support for Interix newer than version 3.
* Use getconf ARG_MAX to find the max command line length.
* Bug Fixes.
-------------------------------------------------------------------
Wed Jun 6 22:09:13 CEST 2007 - schwab@suse.de
- Rename libltdl to libltdl-3.
-------------------------------------------------------------------
Mon Sep 18 15:19:31 CEST 2006 - schwab@suse.de
- Remove build requires.
-------------------------------------------------------------------
Tue May 23 23:44:03 CEST 2006 - schwab@suse.de
- Fix dependency.
-------------------------------------------------------------------
Fri Jan 27 17:10:08 CET 2006 - schwab@suse.de
- Split off libtldl package.
-------------------------------------------------------------------
Wed Jan 25 21:30:26 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Jan 13 11:18:40 CET 2006 - schwab@suse.de
- Run ldconfig.
-------------------------------------------------------------------
Mon Jan 9 17:30:25 CET 2006 - schwab@suse.de
- Update to libtool 1.5.22.
-------------------------------------------------------------------
Thu Sep 1 11:34:29 CEST 2005 - schwab@suse.de
- Update to libtool 1.5.20.
-------------------------------------------------------------------
Tue May 17 10:24:46 CEST 2005 - schwab@suse.de
- Update to libtool 1.5.18.
-------------------------------------------------------------------
Thu Apr 28 18:18:27 CEST 2005 - schwab@suse.de
- Don't install in libltdl data files in libltdl directory.
-------------------------------------------------------------------
Tue Apr 26 15:05:30 CEST 2005 - schwab@suse.de
- Update to libtool 1.5.16.
-------------------------------------------------------------------
Sat Feb 12 15:47:38 CET 2005 - schwab@suse.de
- Update to libtool 1.5.14.
-------------------------------------------------------------------
Mon Feb 7 13:10:02 CET 2005 - schwab@suse.de
- Fix handling of -pthread during linking.
-------------------------------------------------------------------
Sat Feb 5 18:38:24 CET 2005 - schwab@suse.de
- Update to libtool 1.5.12.
-------------------------------------------------------------------
Fri Oct 8 14:59:40 CEST 2004 - schwab@suse.de
- Update to libtool 1.5.10.
-------------------------------------------------------------------
Tue Aug 10 12:10:30 CEST 2004 - ro@suse.de
- clean neededforbuild
-------------------------------------------------------------------
Sat Aug 7 17:57:02 CEST 2004 - schwab@suse.de
- Update to libtool 1.5.8.
-------------------------------------------------------------------
Mon Apr 12 15:10:53 CEST 2004 - schwab@suse.de
- Update to libtool 1.5.6.
-------------------------------------------------------------------
Mon Jan 26 14:35:33 CET 2004 - schwab@suse.de
- Update to libtool 1.5.2.
-------------------------------------------------------------------
Wed Oct 15 21:32:49 CEST 2003 - schwab@suse.de
- Make sure we get a full-featured libtool [#32356].
-------------------------------------------------------------------
Thu Jul 3 23:14:35 CEST 2003 - meissner@suse.de
- biarch fix for powerpc64-*linux*.
-------------------------------------------------------------------
Fri Apr 25 15:13:53 CEST 2003 - schwab@suse.de
- Update to libtool 1.5.
- Fix AC_PROG_LD_GNU.
-------------------------------------------------------------------
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
-------------------------------------------------------------------
Mon Apr 7 13:11:56 CEST 2003 - schwab@suse.de
- Only delete info entries when removing last version.
-------------------------------------------------------------------
Thu Feb 6 17:49:11 CET 2003 - schwab@suse.de
- Use %install_info.
-------------------------------------------------------------------
Wed Dec 4 14:36:31 CET 2002 - schwab@suse.de
- Make sure we are using the fixed libtool macros during configuring.
-------------------------------------------------------------------
Thu Oct 24 14:56:05 CEST 2002 - schwab@suse.de
- Update to libtool 1.4.3.
-------------------------------------------------------------------
Thu Sep 19 16:28:58 CEST 2002 - schwab@suse.de
- Remove execute permission from *.la.
- libtoolize: fix reference to configure.in.
-------------------------------------------------------------------
Tue Sep 17 17:34:28 CEST 2002 - ro@suse.de
- removed bogus self-provides
-------------------------------------------------------------------
Mon Jul 29 16:27:46 CEST 2002 - meissner@suse.de
- Added patch for a directory open problem (exhibited by gphoto in
LANG=de_DE). (extracted from libtool CVS)
-------------------------------------------------------------------
Fri Jun 7 11:56:52 CEST 2002 - schwab@suse.de
- Fix for lib64.
-------------------------------------------------------------------
Wed Jun 5 22:19:20 CEST 2002 - schwab@suse.de
- Fix logic in ltmain.sh.
-------------------------------------------------------------------
Mon Apr 15 14:03:23 CEST 2002 - sf@suse.de
- use pass_all in AC_DEPLIBS_CHECK_METHOD for x86_64
-------------------------------------------------------------------
Thu Mar 28 18:14:11 CET 2002 - schwab@suse.de
- Fix last change to not patch the generated file.
-------------------------------------------------------------------
Wed Feb 13 12:51:06 CET 2002 - stepan@suse.de
- allow link against an archive when building a shared library
- patch to use mktemp to create the tempdir
- fix test quoting in ltmain.in
-------------------------------------------------------------------
Tue Feb 5 21:06:39 CET 2002 - schwab@suse.de
- Add patch to support DESTDIR.
-------------------------------------------------------------------
Fri Jan 4 18:47:41 CET 2002 - schwab@suse.de
- Quote $AS when writing it to libtool script.
-------------------------------------------------------------------
Tue Nov 13 18:51:12 CET 2001 - schwab@suse.de
- Use pass_all on mips.
-------------------------------------------------------------------
Mon Oct 8 17:32:44 CEST 2001 - schwab@suse.de
- Fix quoting with "libtool --mode=execute".
-------------------------------------------------------------------
Thu Sep 27 15:43:45 CEST 2001 - schwab@suse.de
- Update to libtool 1.4.2 (more portability fixes).
-------------------------------------------------------------------
Tue Sep 4 11:02:50 CEST 2001 - schwab@suse.de
- Update to libtool 1.4.1 (only portability fixes).
-------------------------------------------------------------------
Mon Jul 23 17:01:55 CEST 2001 - schwab@suse.de
- Use pass_all in AC_DEPLIBS_CHECK_METHOD for s390* and m68k.
-------------------------------------------------------------------
Tue Jun 12 14:25:47 CEST 2001 - schwab@suse.de
- Add URL.
- Install some docs.
-------------------------------------------------------------------
Mon Jun 11 20:12:30 CEST 2001 - olh@suse.de
- recognize ppc64
-------------------------------------------------------------------
Thu May 3 11:57:42 CEST 2001 - schwab@suse.de
- Update to libtool 1.4.
-------------------------------------------------------------------
Mon Feb 19 10:25:57 CET 2001 - schwab@suse.de
- Fix use of suse_update_config macro.
-------------------------------------------------------------------
Mon Feb 19 02:12:49 CET 2001 - ro@suse.de
- fix specfile for sparc64 (again)
-------------------------------------------------------------------
Thu Feb 15 10:34:07 CET 2001 - fober@suse.de
- add suse_update_config (for the reason of 390 and the sake of the
rest)
-------------------------------------------------------------------
Wed Sep 20 13:05:21 CEST 2000 - fober@suse.de
- s390: change deplibs_check_method back to file_magic (like 1.3.4)
-------------------------------------------------------------------
Mon Sep 4 14:35:50 CEST 2000 - nadvornik@suse.cz
- update to 1.3.5
-------------------------------------------------------------------
Fri May 12 12:25:02 CEST 2000 - schwab@suse.de
- Don't add libc to deplibs on Linux.
-------------------------------------------------------------------
Sat Apr 1 23:02:35 CEST 2000 - bk@suse.de
- updated config.sub and config.guess patches for s390
-------------------------------------------------------------------
Tue Mar 28 08:28:49 EST 2000 - bk@suse.de
- patched config.sub and config.guess for s390
-------------------------------------------------------------------
Wed Mar 22 19:55:40 CET 2000 - schwab@suse.de
- Fix linux -> linux-gnu transformation in ltconfig.
-------------------------------------------------------------------
Fri Feb 11 12:24:52 CET 2000 - kukuk@suse.de
- Add patches from LinuxPPC reference sources
-------------------------------------------------------------------
Tue Jan 25 13:18:53 CET 2000 - kukuk@suse.de
- Update to 1.3.4
- move /usr/info -> /usr/share/info
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-------------------------------------------------------------------
Mon Jul 19 11:44:28 MEST 1999 - florian@suse.de
- update to version 1.3.3
-------------------------------------------------------------------
Sat Sep 26 18:22:49 MEST 1998 - ke@suse.de
- initial version: 1.2b.

43
libtool.keyring Normal file
View File

@ -0,0 +1,43 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: 7C5F BB96 BE82 B954 AC20 DF5F 6EAC 957F 8EEB 55C0
Comment: Alex Ameen <alex.ameen.tx@gmail.com>
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
y2SHU8AHlCLYqHtajpwiw1YsnVSSHNzadMvS4g==
=A3vz
-----END PGP PUBLIC KEY BLOCK-----

122
libtool.spec Normal file
View File

@ -0,0 +1,122 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "testsuite"
%define psuffix -testsuite
%else
%define psuffix %{nil}
%endif
Name: libtool%{psuffix}
Version: 2.4.7
Release: 0
Summary: A Tool to Build Shared Libraries
License: GFDL-1.2-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Development/Tools/Building
URL: https://www.gnu.org/software/libtool/
Source0: https://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz
Source1: https://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz.sig
Source2: libtool.keyring
Source3: baselibs.conf
Source4: libtool-rpmlintrc
# PATCH-FIX-OPENSUSE -- do not add build host name boo#1084909
Patch0: libtool-reproducible-hostname.patch
# PATCH-FIX-OPENSUSE: workaround irrelevant compiler warning
Patch1: handle-Werror-return-type.patch
# PATCH-FIX-OPENSUSE -- fix tests with GNU grep 3.8 boo#1203097
Patch2: libtool-2.4.7-grep-3.8.patch
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: gcc-fortran
BuildRequires: gcc-objc
BuildRequires: help2man
BuildRequires: lzma
BuildRequires: makeinfo
BuildRequires: pkgconfig(zlib)
Requires: automake > 1.4
Requires: libltdl7 = %{version}
Requires: m4 >= 1.4.16
Requires: tar
Provides: libltdl-devel
# fedora name
Provides: libtool-ltdl-devel
%description
GNU libtool is a set of shell scripts to automatically configure UNIX
architectures to build shared libraries in a generic fashion.
%package -n libltdl7
Summary: Libtool Runtime Library
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
%description -n libltdl7
Library needed by programs that use the ltdl interface of GNU libtool.
%prep
%autosetup -p1 -n libtool-%{version}
%build
%define _lto_cflags %{nil}
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure
rm -f doc/libtool.info
%make_build
%if "%{flavor}" == "testsuite"
%check
trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT
%make_build check
%install
%else
%install
%make_install
chmod +x %{buildroot}%{_datadir}/libtool/build-aux/ltmain.sh
# Do not add builder's hostname into generated scripts
sed -i "/uname -n/d" %{buildroot}%{_datadir}/aclocal/libtool.m4
%endif
%post -n libltdl7 -p /sbin/ldconfig
%postun -n libltdl7 -p /sbin/ldconfig
%if "%{name}" == "libtool"
%files
%license COPYING
%doc AUTHORS NEWS README THANKS ChangeLog
%{_bindir}/libtool
%{_bindir}/libtoolize
%{_includedir}/libltdl
%{_includedir}/ltdl.h
%{_libdir}/libltdl.a
%attr(644, root, root) %{_libdir}/libltdl.la
%{_libdir}/libltdl.so
%{_datadir}/aclocal/*.m4
%{_infodir}/libtool.info%{?ext_info}
%{_infodir}/libtool.info-1%{?ext_info}
%{_infodir}/libtool.info-2%{?ext_info}
%{_mandir}/man1/libtool.1%{?ext_man}
%{_mandir}/man1/libtoolize.1%{?ext_man}
%{_datadir}/libtool
%files -n libltdl7
%{_libdir}/libltdl.so.7*
%endif
%changelog