summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-06-26 20:01:04 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-06-26 20:01:04 +0000
commit05d0dded21575a0438558265e0d89779e350b2c9 (patch)
treeaed9006260f8f6fe39b58e26073d247bdf122dce /sys-devel/libtool/files
parentFixes soon to be released security hole, upgrade is important (diff)
downloadhistorical-05d0dded21575a0438558265e0d89779e350b2c9.tar.gz
historical-05d0dded21575a0438558265e0d89779e350b2c9.tar.bz2
historical-05d0dded21575a0438558265e0d89779e350b2c9.zip
fix bug #4122
Diffstat (limited to 'sys-devel/libtool/files')
-rw-r--r--sys-devel/libtool/files/1.4.1/libtool-1.4.1-portage.patch-v556
-rw-r--r--sys-devel/libtool/files/digest-libtool-1.4.1-r81
2 files changed, 57 insertions, 0 deletions
diff --git a/sys-devel/libtool/files/1.4.1/libtool-1.4.1-portage.patch-v5 b/sys-devel/libtool/files/1.4.1/libtool-1.4.1-portage.patch-v5
new file mode 100644
index 000000000000..1b026fd5582f
--- /dev/null
+++ b/sys-devel/libtool/files/1.4.1/libtool-1.4.1-portage.patch-v5
@@ -0,0 +1,56 @@
+--- ltmain.sh.orig Wed Apr 3 01:19:37 2002
++++ ltmain.sh Sun May 26 19:50:52 2002
+@@ -3940,9 +3940,40 @@
+ $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2
+ exit 1
+ fi
+- newdependency_libs="$newdependency_libs $libdir/$name"
++ # We do not want portage's install root ($D) present. Check only for
++ # this if the .la is being installed.
++ if test "$installed" = yes && test "$D"; then
++ mynewdependency_lib="`echo "$libdir/$name" |sed -e "s:$D::g" -e 's://:/:g'`"
++ else
++ mynewdependency_lib="$libdir/$name"
++ fi
++ # Do not add duplicates
++ if test "$mynewdependency_lib"; then
++ if test -z "`echo $newdependency_libs |grep -e "$mynewdependency_lib"`"; then
++ newdependency_libs="$newdependency_libs $mynewdependency_lib"
++ fi
++ fi
++ ;;
++ *)
++ if test "$installed" = yes && test "$S"; then
++ # We do not want portage's build root ($S) present.
++ if test -n "`echo $deplib |grep -e "$S"`"
++ then
++ newdependency_libs=""
++ # We do not want portage's install root ($D) present.
++ elif test -n "`echo $deplib |grep -e "$D"`" && test "$D"; then
++ mynewdependency_lib="`echo "$deplib" |sed -e "s:$D::g" -e 's://:/:g'`"
++ fi
++ else
++ mynewdependency_lib="$deplib"
++ fi
++ # Do not add duplicates
++ if test "$mynewdependency_lib"; then
++ if test -z "`echo $newdependency_libs |grep -e "$mynewdependency_lib"`"; then
++ newdependency_libs="$newdependency_libs $mynewdependency_lib"
++ fi
++ fi
+ ;;
+- *) newdependency_libs="$newdependency_libs $deplib" ;;
+ esac
+ done
+ dependency_libs="$newdependency_libs"
+@@ -3975,6 +4005,10 @@
+ case $host,$output,$installed,$module,$dlname in
+ *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;;
+ esac
++ # Do not add duplicates
++ if test "$installed" = yes && test "$D"; then
++ install_libdir="`echo "$install_libdir" |sed -e "s:$D::g" -e 's://:/:g'`"
++ fi
+ $echo > $output "\
+ # $outputname - a libtool library file
+ # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP
diff --git a/sys-devel/libtool/files/digest-libtool-1.4.1-r8 b/sys-devel/libtool/files/digest-libtool-1.4.1-r8
new file mode 100644
index 000000000000..ce6a480b1e86
--- /dev/null
+++ b/sys-devel/libtool/files/digest-libtool-1.4.1-r8
@@ -0,0 +1 @@
+MD5 28582af0b96513f223e970db1a9a5cde libtool-1.4.1.tar.gz 1129676