summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-03-05 15:01:06 +0000
committerNed Ludd <solar@gentoo.org>2006-03-05 15:01:06 +0000
commitddd7ffd33befda7287afafdf7a873fe90db64520 (patch)
tree6f197faacd57ac6ff9f6f71fa4245930f638eb55 /bin
parent0b93a666b7d09d709a563d9ef76637ef7bbcd444 (diff)
downloadportage-ddd7ffd33befda7287afafdf7a873fe90db64520.tar.gz
portage-ddd7ffd33befda7287afafdf7a873fe90db64520.tar.bz2
portage-ddd7ffd33befda7287afafdf7a873fe90db64520.zip
- have scanelf nuke insecure rpaths
svn path=/main/trunk/; revision=2813
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 70df2ba65..41285edb2 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1103,11 +1103,16 @@ dyn_install() {
echo -ne '\a\n'
echo "QA Notice: the following files contain insecure RUNPATH's"
echo " Please file a bug about this at http://bugs.gentoo.org/"
- echo " For more information on this issue, kindly review:"
- echo " http://bugs.gentoo.org/81745"
+ echo " with the maintaining herd of the package."
+ echo " Summary: $CATEGORY/$PN: insecure RPATH ${f}"
echo "${f}"
echo -ne '\a\n'
- insecure_rpath=1
+ if has stricter ${FEATURES}; then
+ insecure_rpath=1
+ else
+ echo "Auto fixing rpaths for ${f}"
+ TMPDIR=${PORTAGE_BUILDDIR} scanelf -BXr ${f} -o /dev/null
+ fi
fi
# Check for setid binaries but are not built with BIND_NOW