pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libtool Pull in the fix for the symlink vulnerab...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef128d67c7da
branches:  trunk
changeset: 468968:ef128d67c7da
user:      skrll <skrll%pkgsrc.org@localhost>
date:      Wed Feb 18 07:55:51 2004 +0000

description:
Pull in the fix for the symlink vulnerability.

diffstat:

 devel/libtool/Makefile.common  |   4 ++--
 devel/libtool/distinfo         |   4 ++--
 devel/libtool/patches/patch-ac |  18 ++++++++++++++++--
 3 files changed, 20 insertions(+), 6 deletions(-)

diffs (58 lines):

diff -r c23f4ae46562 -r ef128d67c7da devel/libtool/Makefile.common
--- a/devel/libtool/Makefile.common     Wed Feb 18 06:11:08 2004 +0000
+++ b/devel/libtool/Makefile.common     Wed Feb 18 07:55:51 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile.common,v 1.45 2004/02/14 15:29:15 jlam Exp $
+# $NetBSD: Makefile.common,v 1.46 2004/02/18 07:55:51 skrll Exp $
 #
 
 DISTNAME=      libtool-1.5.2
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    devel pkgtools
 MASTER_SITES=  ${MASTER_SITE_GNU:=libtool/}
 
diff -r c23f4ae46562 -r ef128d67c7da devel/libtool/distinfo
--- a/devel/libtool/distinfo    Wed Feb 18 06:11:08 2004 +0000
+++ b/devel/libtool/distinfo    Wed Feb 18 07:55:51 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.35 2004/02/08 11:21:58 skrll Exp $
+$NetBSD: distinfo,v 1.36 2004/02/18 07:55:51 skrll Exp $
 
 SHA1 (libtool-1.5.2.tar.gz) = d6f1e8fb544d71b3c88fb959521b34b9b6290260
 Size (libtool-1.5.2.tar.gz) = 2653072 bytes
 SHA1 (patch-aa) = 173b8f40ebb067e3bcea798b87e822a445d5688e
 SHA1 (patch-ab) = 89875726d4952299cb7dda046697ba5393546f5e
-SHA1 (patch-ac) = 089536834faa3011bf2086b0ef15245b01a88eb9
+SHA1 (patch-ac) = b09fb38a59875a60bb51c9fb487e940521a71715
 SHA1 (patch-ad) = e2d7a160b2b673346309996b99c423f6b927d1df
diff -r c23f4ae46562 -r ef128d67c7da devel/libtool/patches/patch-ac
--- a/devel/libtool/patches/patch-ac    Wed Feb 18 06:11:08 2004 +0000
+++ b/devel/libtool/patches/patch-ac    Wed Feb 18 07:55:51 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.10 2004/02/07 09:25:39 seb Exp $
+$NetBSD: patch-ac,v 1.11 2004/02/18 07:55:51 skrll Exp $
 
---- ltmain.sh.orig     2004-01-25 12:40:26.000000000 +0000
+--- ltmain.sh.orig     Wed Feb 18 07:53:05 2004
 +++ ltmain.sh
 @@ -318,7 +318,7 @@ if test -z "$show_help"; then
      $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2
@@ -129,3 +129,17 @@
  
      # Check to see that the destination is a directory.
      test -d "$dest" && isdir=yes
+@@ -5673,8 +5716,12 @@ relink_command=\"$relink_command\""
+             tmpdir="/tmp"
+             test -n "$TMPDIR" && tmpdir="$TMPDIR"
+             tmpdir="$tmpdir/libtool-$$"
+-            if $mkdir "$tmpdir" && chmod 700 "$tmpdir"; then :
++            save_umask=`umask`
++            umask 0077
++            if $mkdir "$tmpdir"; then
++              umask $save_umask
+             else
++              umask $save_umask
+               $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2
+               continue
+             fi



Home | Main Index | Thread Index | Old Index