Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339945 - apache-module.eclass uses double $EPREFIX
Summary: apache-module.eclass uses double $EPREFIX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 15:16 UTC by Thomas Burkard
Modified: 2010-10-20 13:47 UTC (History)
0 users

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


Attachments
a patch stripping the double ${EPREFIX} (apache-module.eclass-prefix.patch,1023 bytes, patch)
2010-10-06 15:20 UTC, Thomas Burkard
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.