summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-29 05:33:08 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-29 05:33:08 +0000
commit8b996afcb45cfcc943bc3b00cc83b22422995e22 (patch)
tree5503732d9f126bc7f475aec0d38f23a80c675814
parentuse FEATURES=stricter instead of elf-* (diff)
downloadportage-cvs-8b996afcb45cfcc943bc3b00cc83b22422995e22.tar.gz
portage-cvs-8b996afcb45cfcc943bc3b00cc83b22422995e22.tar.bz2
portage-cvs-8b996afcb45cfcc943bc3b00cc83b22422995e22.zip
make sure installed libtool files arent polluted
-rw-r--r--ChangeLog5
-rwxr-xr-xbin/prepall11
2 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 938466a..06a67e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,15 @@
# ChangeLog for Portage; the Gentoo Linux ports system
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Id: ChangeLog,v 1.985 2005/05/24 22:03:37 vapier Exp $
+# $Id: ChangeLog,v 1.986 2005/05/29 05:33:08 vapier Exp $
MAJOR CHANGES in 2.0.51:
1. /var/cache/edb/virtuals is no longer used at all. It's calculated now.
2. /var/cache/edb/world is now /var/lib/portage/world.
3. /etc/portage/profile/virtuals is _USER_ configs only.
+ 29 May 2005; Mike Frysinger <vapier@gentoo.org> bin/prepall:
+ Add a QA check to see if PORTAGE_TMPDIR leaked into libtool scripts (*.la).
+
24 May 2005; Mike Frysinger <vapier@gentoo.org>
bin/ebuild-default-functions.sh:
Allow src_install() to abort if scanelf locates questionable binaries and
diff --git a/bin/prepall b/bin/prepall
index 6778c10..a2c9570 100755
--- a/bin/prepall
+++ b/bin/prepall
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/prepall,v 1.13 2005/05/05 00:20:33 vapier Exp $
+# $Header: /local/data/ulm/cvs/history/var/cvsroot/gentoo-src/portage/bin/prepall,v 1.14 2005/05/29 05:33:08 vapier Exp $
prepallman
prepallinfo
@@ -37,3 +37,12 @@ for a in "${D}"/usr/lib/*.a ; do
fi
fi
done
+
+# Verify that the libtool files don't contain bogus $D entries.
+for a in "${D}"/usr/lib/*.la ; do
+ s=${a##*/}
+ if grep -qs "${PORTAGE_TMPDIR}" "${a}" ; then
+ echo -e "\aQA Notice: ${s} appears to contain PORTAGE_TMPDIR paths\a"
+ sleep 1
+ fi
+done