summaryrefslogtreecommitdiff
path: root/devel/libtool14
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2004-02-13 20:19:49 +0000
committerAde Lovett <ade@FreeBSD.org>2004-02-13 20:19:49 +0000
commitc17659af3b114ec1522f15d36b4ee9386d55d8c8 (patch)
tree8b83eeb9893ff0a6a5617434724582d3246dedfb /devel/libtool14
parentSymlink vulnerability: http://www.securityfocus.com/archive/1/352333 (diff)
Symlink vulnerability: http://www.securityfocus.com/archive/1/352333
Fix: http://www.securityfocus.com/archive/1/352519 PR: ports/62786 Submitted by: eik
Diffstat (limited to 'devel/libtool14')
-rw-r--r--devel/libtool14/Makefile2
-rw-r--r--devel/libtool14/distinfo1
-rw-r--r--devel/libtool14/files/patch-ad16
3 files changed, 17 insertions, 2 deletions
diff --git a/devel/libtool14/Makefile b/devel/libtool14/Makefile
index 0683960a99db..581bb7f179d2 100644
--- a/devel/libtool14/Makefile
+++ b/devel/libtool14/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= libtool
PORTVERSION= 1.4.3
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= devel
#MASTER_SITES= ${MASTER_SITE_GNU}
#MASTER_SITE_SUBDIR= libtool
diff --git a/devel/libtool14/distinfo b/devel/libtool14/distinfo
index 7cace71782d6..942cf3599b93 100644
--- a/devel/libtool14/distinfo
+++ b/devel/libtool14/distinfo
@@ -1 +1,2 @@
MD5 (libtool-1.4.3.tar.gz) = d11a3c835449d7fa50a025dc9c01ad81
+SIZE (libtool-1.4.3.tar.gz) = 1164463
diff --git a/devel/libtool14/files/patch-ad b/devel/libtool14/files/patch-ad
index c04c4dd4a24c..3229e3caf103 100644
--- a/devel/libtool14/files/patch-ad
+++ b/devel/libtool14/files/patch-ad
@@ -2,7 +2,7 @@
$FreeBSD$
--- ltmain.sh.orig Mon Sep 10 22:33:26 2001
-+++ ltmain.sh Wed Jan 23 16:39:22 2002
++++ ltmain.sh Fri Feb 13 14:41:25 2004
@@ -1062,6 +1062,12 @@
-module)
@@ -48,3 +48,17 @@ $FreeBSD$
# Maybe install the static library, too.
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
+@@ -4414,8 +4414,12 @@
+ tmpdir="/tmp"
+ test -n "$TMPDIR" && tmpdir="$TMPDIR"
+ tmpdir="$tmpdir/libtool-$$"
+- if $mkdir -p "$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