SHA256
3
0
forked from pool/libtool

Accepting request 40788 from Base:System

Copy from Base:System/libtool based on submit request 40788 from user psmt

OBS-URL: https://build.opensuse.org/request/show/40788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtool?expand=0&rev=18
This commit is contained in:
OBS User autobuild 2010-05-28 15:12:11 +00:00 committed by Git OBS Bridge
commit ea86d95c9b
5 changed files with 558 additions and 27 deletions

419
libtool-testsuite.changes Normal file
View File

@ -0,0 +1,419 @@
-------------------------------------------------------------------
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.

115
libtool-testsuite.spec Normal file
View File

@ -0,0 +1,115 @@
#
# spec file for package libtool-testsuite (Version 2.2.6b)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: libtool-testsuite
BuildRequires: lzma zlib-devel
Requires: tar
License: GPLv2+
Group: Development/Tools/Building
Summary: A Tool to Build Shared Libraries
Version: 2.2.6b
Release: 1
AutoReqProv: on
# bug437293
%ifarch ppc64
Obsoletes: libtool-64bit
%endif
#
PreReq: %{install_info_prereq}
Requires: libltdl7 = %{version}
Url: http://www.gnu.org/software/libtool/
Source: ftp://ftp.gnu.org/pub/gnu/libtool/libtool-%{version}.tar.lzma
Source2: baselibs.conf
Patch1: libtool-no-hostname.patch
#Patch: libtool-%{version}.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
License: GPLv2+
Summary: Libtool Runtime Library
Group: Development/Libraries/C and C++
AutoReqProv: on
%description -n libltdl7
Library needed by programs that use the ltdl interface of GNU libtool.
%prep
%setup -q -n libtool-%{version}
%patch1 -p0
#%patch -p1
%build
./configure CFLAGS="$RPM_OPT_FLAGS" \
--prefix=/usr --infodir=%{_infodir} --libdir=%{_libdir}
# force rebuild with non-broken makeinfo
rm -f doc/libtool.info
make %{?jobs:-j %jobs}
%if "%{name}" == "libtool-testsuite"
%check
trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT
# Avoid spurious testsuite failures due to messages from icecream
PATH=/usr/bin:$PATH
make check
%else
%install
make install DESTDIR=$RPM_BUILD_ROOT
%endif
%post
%install_info --info-dir=%{_infodir} %{_infodir}/libtool.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libtool.info.gz
%post -n libltdl7 -p /sbin/ldconfig
%postun -n libltdl7 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%if "%{name}" == "libtool"
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README THANKS ChangeLog
/usr/bin/libtool
/usr/bin/libtoolize
/usr/include/libltdl
/usr/include/ltdl.h
%{_libdir}/libltdl.a
%attr(644, root, root) %{_libdir}/libltdl.la
%{_libdir}/libltdl.so
/usr/share/aclocal/*.m4
%doc %{_infodir}/libtool.info*
/usr/share/libtool
%files -n libltdl7
%defattr(-, root, root)
%{_libdir}/libltdl.so.*
%endif
%changelog

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
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 Fri May 7 16:17:08 UTC 2010 - pth@novell.com

View File

@ -19,12 +19,12 @@
Name: libtool Name: libtool
BuildRequires: lzma zlib-devel BuildRequires: lzma zlib-devel
Requires: /usr/bin/tar Requires: tar
License: GPLv2+ License: GPLv2+
Group: Development/Tools/Building Group: Development/Tools/Building
Summary: A Tool to Build Shared Libraries Summary: A Tool to Build Shared Libraries
Version: 2.2.6b Version: 2.2.6b
Release: 3 Release: 4
AutoReqProv: on AutoReqProv: on
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
@ -44,18 +44,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
GNU libtool is a set of shell scripts to automatically configure UNIX GNU libtool is a set of shell scripts to automatically configure UNIX
architectures to build shared libraries in a generic fashion. architectures to build shared libraries in a generic fashion.
Authors:
--------
Gordon Matzigkeit <gord@gnu.org>
Alexandre Oliva <oliva@dcc.unicamp.br>
Thomas Tanner <tanner@ffii.org>
Gary V. Vaughan <gvv@techie.com>
Ossama Othman <ossama@debian.org>
Robert Boehne <rboehne@ricardo-us.com>
Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
%package -n libltdl7 %package -n libltdl7
License: GPLv2+ License: GPLv2+
Summary: Libtool Runtime Library Summary: Libtool Runtime Library
@ -65,20 +53,8 @@ AutoReqProv: on
%description -n libltdl7 %description -n libltdl7
Library needed by programs that use the ltdl interface of GNU libtool. Library needed by programs that use the ltdl interface of GNU libtool.
Authors:
--------
Gordon Matzigkeit <gord@gnu.org>
Alexandre Oliva <oliva@dcc.unicamp.br>
Thomas Tanner <tanner@ffii.org>
Gary V. Vaughan <gvv@techie.com>
Ossama Othman <ossama@debian.org>
Robert Boehne <rboehne@ricardo-us.com>
Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
%prep %prep
%setup -q %setup -q -n libtool-%{version}
%patch1 -p0 %patch1 -p0
#%patch -p1 #%patch -p1
@ -89,14 +65,18 @@ Authors:
rm -f doc/libtool.info rm -f doc/libtool.info
make %{?jobs:-j %jobs} make %{?jobs:-j %jobs}
%if "%{name}" == "libtool-testsuite"
%check %check
trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT
# Avoid spurious testsuite failures due to messages from icecream # Avoid spurious testsuite failures due to messages from icecream
PATH=/usr/bin:$PATH PATH=/usr/bin:$PATH
make check make check
%else
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
%endif
%post %post
%install_info --info-dir=%{_infodir} %{_infodir}/libtool.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/libtool.info.gz
@ -111,6 +91,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%if "%{name}" == "libtool"
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc AUTHORS NEWS README THANKS ChangeLog %doc AUTHORS NEWS README THANKS ChangeLog
@ -128,5 +110,6 @@ rm -rf $RPM_BUILD_ROOT
%files -n libltdl7 %files -n libltdl7
%defattr(-, root, root) %defattr(-, root, root)
%{_libdir}/libltdl.so.* %{_libdir}/libltdl.so.*
%endif
%changelog %changelog

4
pre_checkin.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
# This script is called automatically during autobuild checkin.
sed -e "s,^\(Name:.*libtool\),\1-testsuite," libtool.spec > libtool-testsuite.spec
cp libtool.changes libtool-testsuite.changes