aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libtool13
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2004-02-14 04:19:23 +0800
committerade <ade@FreeBSD.org>2004-02-14 04:19:23 +0800
commit742cba2e80288baeaf49230e5a50d2e66f168252 (patch)
tree2db0ee0eacdb1091523d743d096e86a01b392ed1 /devel/libtool13
parente8c731ec78da06ceabf297c7f38f9f13261741a3 (diff)
downloadfreebsd-ports-gnome-742cba2e80288baeaf49230e5a50d2e66f168252.tar.gz
freebsd-ports-gnome-742cba2e80288baeaf49230e5a50d2e66f168252.tar.zst
freebsd-ports-gnome-742cba2e80288baeaf49230e5a50d2e66f168252.zip
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/libtool13')
-rw-r--r--devel/libtool13/Makefile2
-rw-r--r--devel/libtool13/distinfo1
-rw-r--r--devel/libtool13/files/patch-ad16
3 files changed, 17 insertions, 2 deletions
diff --git a/devel/libtool13/Makefile b/devel/libtool13/Makefile
index c21465bb7b98..33c3017626cb 100644
--- a/devel/libtool13/Makefile
+++ b/devel/libtool13/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libtool
PORTVERSION= 1.3.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= libtool
diff --git a/devel/libtool13/distinfo b/devel/libtool13/distinfo
index 2b891425c242..2888eb248595 100644
--- a/devel/libtool13/distinfo
+++ b/devel/libtool13/distinfo
@@ -1 +1,2 @@
MD5 (libtool-1.3.5.tar.gz) = fa26a07c978ad05d1f88ed7a472daa49
+SIZE (libtool-1.3.5.tar.gz) = 538884
diff --git a/devel/libtool13/files/patch-ad b/devel/libtool13/files/patch-ad
index 304e840caaa9..414d603c144d 100644
--- a/devel/libtool13/files/patch-ad
+++ b/devel/libtool13/files/patch-ad
@@ -1,5 +1,5 @@
--- ltmain.sh.orig Sat May 27 07:15:01 2000
-+++ ltmain.sh Fri Dec 13 23:50:12 2002
++++ ltmain.sh Fri Feb 13 14:36:07 2004
@@ -23,6 +23,9 @@
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
@@ -234,3 +234,17 @@
finalize=no
fi
done
+@@ -3463,8 +3573,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