Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 339945

Summary: apache-module.eclass uses double $EPREFIX
Product: Gentoo/Alt Reporter: Thomas Burkard <camorup>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: a patch stripping the double ${EPREFIX}

Description Thomas Burkard 2010-10-06 15:16:03 UTC
the function src_install from the apache-module eclass fails with double occurrences of $EPREFIX in the install paths.

both, the APACHE_* variables and the insinto command add an $EPREFIX to the install path.
Comment 1 Thomas Burkard 2010-10-06 15:20:51 UTC
Created attachment 249758 [details, diff]
a patch stripping the double ${EPREFIX}

this patch strips the double $EPREFIX from the install paths. tested with mod_python but thorough review would be appreciated.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-10-08 19:26:41 UTC
@apache team: Your ACK, please.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-10-10 16:47:09 UTC
If APACHE_MODULESDIR and other variables are usually needed without EPREFIX, then maybe the values of these variables shouldn't contain EPREFIX. EPREFIX would be explicitly prepended in cases when it's needed.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-10-20 13:47:14 UTC
good idea
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-10-20 13:47:56 UTC
I investigated this and fixed up the random packages and depend.apache.eclass, please test and re-open if necessary.