Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 405339 - app-accessibility/flite-1.4-r1 - scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../build/x86_64-linux-gnu/lib' in /home/jer/portage/app-accessibility/flite-1.4-r1/image/usr/bin/flite_*
Summary: app-accessibility/flite-1.4-r1 - scanelf: rpath_security_checks(): Security p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-02-22 21:13 UTC by Jeroen Roovers (RETIRED)
Modified: 2012-02-22 21:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (20120222-202441.log,93.69 KB, text/plain)
2012-02-22 21:13 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2012-02-22 21:13:32 UTC
Created attachment 302919 [details]
build log

Index: flite-1.4-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-accessibility/flite/flite-1.4-r1.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 flite-1.4-r1.ebuild
--- flite-1.4-r1.ebuild 1 Jan 2010 22:30:51 -0000       1.1
+++ flite-1.4-r1.ebuild 22 Feb 2012 21:10:11 -0000
@@ -30,6 +30,9 @@
 src_prepare() {
        epatch "${FILESDIR}"/${P}-fix-parallel-builds.patch
        epatch "${FILESDIR}"/${P}-respect-destdir.patch
+       sed -i main/Makefile \
+               -e '/-rpath/s|$(LIBDIR)|$(INSTALLLIBDIR)|g' \
+               || die
 }
 
 src_configure() {
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-22 21:26:16 UTC
Fixed without a revision bump.