libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: be careful to follow links during libltdl install [libtool--release


From: Gary V. Vaughan
Subject: FYI: be careful to follow links during libltdl install [libtool--release--2.0--patch-51]
Date: Wed, 2 Mar 2005 10:34:19 +0000 (GMT)
User-agent: mailnotify/0.6

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Applied to branch-2-0.

  * looking for address@hidden/libtool--release--2.0--patch-50 to compare with
  * comparing to address@hidden/libtool--release--2.0--patch-50
  M  libltdl/Makefile.am
  M  libtoolize.m4sh
  M  ChangeLog
  M  libltdl/loaders/Makefile.am
  
  * modified files
  
  Index: Changelog
  from  Gary V. Vaughan  <address@hidden>
  
        * libtoolize.m4sh (func_copy_cb): Use tar chof to avoid symlink
        attacks.
        * libltdl/Makefile.am, libltdl/loaders/Makefile.am
        (install-data-local): Ditto.
  
  --- orig/libltdl/Makefile.am
  +++ mod/libltdl/Makefile.am
  @@ -77,7 +77,7 @@
   ## with libtoolize, we have to preserve their timestamps carefully:
   install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
  -     ( cd $(srcdir) && $(AMTAR) cf - $(ltdldatafiles); ) \
  +     ( cd $(srcdir) && $(AMTAR) chof - $(ltdldatafiles); ) \
          | ( cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
   
   ## Make sure these will be cleaned even when they're not built by default:
  
  
  --- orig/libltdl/loaders/Makefile.am
  +++ mod/libltdl/loaders/Makefile.am
  @@ -54,5 +54,5 @@
   ## with libtoolize, we have to preserve their timestamps carefully:
   install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
  -     ( cd $(srcdir) && $(AMTAR) cf - $(ltdldatafiles) preopen.c; ) \
  +     ( cd $(srcdir) && $(AMTAR) chof - $(ltdldatafiles); ) \
          | ( cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
  
  
  --- orig/libtoolize.m4sh
  +++ mod/libtoolize.m4sh
  @@ -230,7 +230,7 @@
       if $opt_link && $LN_S "$my_srcdir/$my_file" "$my_destdir/$my_file"; then
         $opt_quiet || func_echo "copying file \`$my_destdir/$my_file'"
         copy_return_status=0
  -    elif { ( cd "$my_srcdir" && $TAR cf - "$my_file" 2> /dev/null; ) \
  +    elif { ( cd "$my_srcdir" && $TAR chof - "$my_file" 2> /dev/null; ) \
           | ( cd "$my_destdir" && "$TAR" xf - > /dev/null 2>&1; ) } ; then
         $opt_quiet || func_echo "copying file \`$my_destdir/$my_file'"
         copy_return_status=0
  
  
  
- -- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.9
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCJZaqFRMICSmD1gYRAjNCAJ9r/H+rYPBpB/bb+yeWTDRlHNX0LwCfcvGb
1nrf1aAnIT/4NB88CLzU5Fk=
=+FSh
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]