GNU libtool 1.5.22 is released. * configure.ac: Bump version. * NEWS, THANKS: Updated. * config.guess, config.sub, install-sh, texinfo.tex: Updated from external sources. * libtool.m4, ltdl.m4: Bump serial. * libltdl/Makefile.am: Bump library revision.
diff --git a/ChangeLog b/ChangeLog index b6a2112..cb4ebef 100644 --- a/ChangeLog +++ b/ChangeLog
@@ -1,5 +1,14 @@ 2005-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + GNU libtool 1.5.22 is released. + + * configure.ac: Bump version. + * NEWS, THANKS: Updated. + * config.guess, config.sub, install-sh, texinfo.tex: Updated + from external sources. + * libtool.m4, ltdl.m4: Bump serial. + * libltdl/Makefile.am: Bump library revision. + * ltmain.in (func_mktempdir): New, backported from HEAD. (relink mode): Use it. Fixes potential denial of service through malicious other local user.
diff --git a/NEWS b/NEWS index 188f360..d3e1ca2 100644 --- a/NEWS +++ b/NEWS
@@ -1,14 +1,25 @@ NEWS - list of user-visible changes between releases of GNU Libtool -New in 1.5.21a: 2005-??-??; CVS version 1.5.21a, Libtool team: +New in 1.5.22: 2005-12-18; CVS version 1.5.21a, Libtool team: * Fix 1.5 regression that caused linking a program `-static' to also link statically against installed libtool libraries, contrary to documented (and actual 1.4.x) behavior. +* Fix file ownership for BSD `ranlib'. +* Initial support for Beos/C++. +* Fixed detection of link_static_flag, and self-dlopening. +* Fixed setting of shlibpath variables (LD_LIBRARY_PATH and similar) + and order of link search paths for creating and testing of uninstalled + libraries. +* Fix silent failure of `libtoolize --ltdl' if libltdl files not present. +* Fixed command line settings for non-GCC compilers, Solaris/64bit. * Support for Interix 3 (Windows SFU). -* If non-pic objects were not compiled, and libtool is called in link mode, - libtool no longer silently creates an empty archive, but rather falls - back to pic objects. -* Bug Fixes. +* If non-pic objects were not compiled, and libtool is called in link + mode, libtool no longer silently creates an empty archive, but rather + falls back to pic objects. +* Fix potential denial of service by malicious other users for tmpdir + directory creation at relink time. +* Bug Fixes, among others for AIX, Cygwin, Darwin, FreeBSD, HPUX, MinGW, + OpenBSD, UnixWare. New in 1.5.20: 2005-08-31; CVS version 1.5.19a, Libtool team: * Fix long-standing Solaris CC limitation failing with -no-undefined.
diff --git a/THANKS b/THANKS index 78cd4b8..4e49d44 100644 --- a/THANKS +++ b/THANKS
@@ -85,6 +85,7 @@ H.J. Lu hjl@gnu.org Howard Chu hyc@highlandsun.com Ian Lance Taylor ian@cygnus.com + Jacob Meuser jakemsr@jakemsr.com Jeff Squyres jsquyres@lam-mpi.org Joel N. Weber II devnull@gnu.org Joseph Beckenbach III jrb3@best.com @@ -92,6 +93,7 @@ Kevin Ryde user42@zip.com.au Kurt D. Zeilenga Kurt@OpenLDAP.Org Manfred Weichel Manfred.Weichel@pdb.siemens.de + Marc Espie espie@nerim.net Marc J. Fraioli fraioli@dg-rtp.dg.com Mark Kettenis kettenis@phys.uva.nl Olly Betts olly@muscat.co.uk
diff --git a/config.guess b/config.guess index ad5281e..e3ef63f 100755 --- a/config.guess +++ b/config.guess
@@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2005-08-03' +timestamp='2005-12-13' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -779,7 +779,7 @@ i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[34]*) + x86:Interix*:[345]*) echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) @@ -851,7 +851,7 @@ #endif #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) @@ -870,7 +870,7 @@ #endif #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^CPU/{s: ::g;p;}'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) @@ -919,6 +919,9 @@ sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; + vax:Linux:*:*) + echo ${UNAME_MACHINE}-dec-linux-gnu + exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; @@ -964,7 +967,7 @@ LIBC=gnulibc1 # endif #else - #ifdef __INTEL_COMPILER + #if defined(__INTEL_COMPILER) || defined(__PGI) LIBC=gnu #else LIBC=gnuaout @@ -974,7 +977,7 @@ LIBC=dietlibc #endif EOF - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '/^LIBC/{s: ::g;p;}'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit @@ -1185,7 +1188,6 @@ *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in - *86) UNAME_PROCESSOR=i686 ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} @@ -1264,6 +1266,9 @@ i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; + i*86:rdos:*:*) + echo ${UNAME_MACHINE}-pc-rdos + exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2
diff --git a/config.sub b/config.sub index 1c366df..2851647 100755 --- a/config.sub +++ b/config.sub
@@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2005-07-08' +timestamp='2005-12-11' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -119,8 +119,9 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ - kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ + uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ + storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -171,6 +172,10 @@ -hiux*) os=-hiuxwe2 ;; + -sco6) + os=-sco5v6 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -187,6 +192,10 @@ # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; + -sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` @@ -257,7 +266,7 @@ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ - | ms1 \ + | mt \ | msp430 \ | ns16k | ns32k \ | or32 \ @@ -286,6 +295,9 @@ ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; + ms1) + basic_machine=mt-unknown + ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and @@ -336,7 +348,7 @@ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ - | ms1-* \ + | mt-* \ | msp430-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ @@ -696,6 +708,9 @@ basic_machine=i386-pc os=-msdos ;; + ms1-*) + basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` + ;; mvs) basic_machine=i370-ibm os=-mvs @@ -859,6 +874,10 @@ basic_machine=i586-unknown os=-pw32 ;; + rdos) + basic_machine=i386-pc + os=-rdos + ;; rom68k) basic_machine=m68k-rom68k os=-coff @@ -1181,14 +1200,15 @@ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ + | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku*) + | -skyos* | -haiku* | -rdos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*)
diff --git a/configure.ac b/configure.ac index edfc08f..26a345a 100644 --- a/configure.ac +++ b/configure.ac
@@ -25,7 +25,7 @@ ## ------------------------ ## ## Autoconf initialisation. ## ## ------------------------ ## -AC_INIT([libtool], [1.5.21a], [bug-libtool@gnu.org]) +AC_INIT([libtool], [1.5.22], [bug-libtool@gnu.org]) AC_CONFIG_SRCDIR([ltmain.in])
diff --git a/libltdl/Makefile.am b/libltdl/Makefile.am index 8baa96f..969ed3d 100644 --- a/libltdl/Makefile.am +++ b/libltdl/Makefile.am
@@ -18,7 +18,7 @@ CLEANFILES = libltdl.la libltdlc.la libltdl_la_SOURCES = ltdl.c -libltdl_la_LDFLAGS = -no-undefined -version-info 4:3:1 +libltdl_la_LDFLAGS = -no-undefined -version-info 4:4:1 libltdl_la_LIBADD = $(LIBADD_DL) libltdlc_la_SOURCES = ltdl.c
diff --git a/libtool.m4 b/libtool.m4 index b73369f..0f53cb5 100644 --- a/libtool.m4 +++ b/libtool.m4
@@ -7,7 +7,7 @@ ## unlimited permission to copy and/or distribute it, with or without ## modifications, as long as this notice is preserved. -# serial 47 AC_PROG_LIBTOOL +# serial 48 AC_PROG_LIBTOOL # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
diff --git a/ltdl.m4 b/ltdl.m4 index 5c2557c..c5e2082 100644 --- a/ltdl.m4 +++ b/ltdl.m4
@@ -5,7 +5,7 @@ ## unlimited permission to copy and/or distribute it, with or without ## modifications, as long as this notice is preserved. -# serial 6 AC_LIB_LTDL +# serial 7 AC_LIB_LTDL # AC_WITH_LTDL # ------------