| Summary: | net-misc/openssh-5.1_p1-r3 does not honor prefix | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Fabian Groffen <grobian> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | base-system |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Fabian Groffen
2009-01-12 10:02:30 UTC
darkside, any luck with that configure hack you were working on? @base-system: We have a simple sed ready for this ebuild that looks like this: sed -i -e 's:^PATH=/:#PATH=/:' configure So, if you look in the configure script. Line 18415, you see that upstream has a reason for resetting the PATH. They claim it is for security reasons. My claim is that we should be able to always trust the PATH given to us by portage itself. While not strictly a problem in the gentoo-x86 tree, we are asking for your inclusion into the ebuild for us. If not, it will be a local change in the Prefix tree. Please let us know. Thanks in advance. yes, removing the PATH reset for everyone is OK ... feel free to commit that Index: openssh-5.1_p1-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/openssh-5.1_p1-r3.ebuild,v
retrieving revision 1.1
diff -u -r1.1 openssh-5.1_p1-r3.ebuild
--- openssh-5.1_p1-r3.ebuild 9 Jan 2009 02:37:33 -0000 1.1
+++ openssh-5.1_p1-r3.ebuild 21 Jan 2009 05:00:07 -0000
@@ -96,6 +96,9 @@
epatch "${FILESDIR}"/${P}-escaped-banner.patch #244222
epatch "${FILESDIR}"/${P}-better-ssp-check.patch
+ # Disable PATH reset, trust what portage gives us. bug 254615
+ sed -i -e 's:^PATH=/:#PATH=/:' configure || die
+
eautoreconf
}
Thanks for the 'ok' on this one ;) reso:fixed.
(I have tested this already in Gentoo Prefix, it works. It should be auto-synced tomorrow. I tested on Gentoo Linux as well - looks good)
|