Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280173 - www-servers/lighttpd and php - use EAPI2 for dependency-checks to check cgi-useflag for php
Summary: www-servers/lighttpd and php - use EAPI2 for dependency-checks to check cgi-u...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Christian Hoffmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 12:48 UTC by Marcel Pennewiß
Modified: 2009-08-23 19:55 UTC (History)
1 user (show)

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


Attachments
lighttpd-1.4.20.ebuild.patch (lighttpd-1.4.20.ebuild.patch,842 bytes, patch)
2009-08-03 12:48 UTC, Marcel Pennewiß
Details | Diff
lighttpd-1.4.22-r1.ebuild.patch (lighttpd-1.4.22-r1.ebuild.patch,805 bytes, patch)
2009-08-03 12:48 UTC, Marcel Pennewiß
Details | Diff
lighttpd-1.4.23.ebuild.patch (lighttpd-1.4.23.ebuild.patch,799 bytes, patch)
2009-08-03 12:49 UTC, Marcel Pennewiß
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Pennewiß 2009-08-03 12:48:16 UTC
EAPI2 allows to check useflag-dependencies and so portage will show the requirements after calculating dependies. see ebuild-patches as attachment
Comment 1 Marcel Pennewiß 2009-08-03 12:48:43 UTC
Created attachment 200013 [details, diff]
lighttpd-1.4.20.ebuild.patch
Comment 2 Marcel Pennewiß 2009-08-03 12:48:57 UTC
Created attachment 200014 [details, diff]
lighttpd-1.4.22-r1.ebuild.patch
Comment 3 Marcel Pennewiß 2009-08-03 12:49:16 UTC
Created attachment 200016 [details, diff]
lighttpd-1.4.23.ebuild.patch
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-09 04:03:03 UTC
yea, the ebuilds are already EAPI=2 compliant. The built_with_use check should be avoided unless there is something that I'm not seeing.
Comment 5 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-08-09 05:04:09 UTC
we did use USE-based deps, but were told that it can't be used reliably with virtuals. see also bug #260174

i dont have access to the mail from the developer telling me, it's illegal, but i'll investigate as soon as i am back (ping me at the beginning of sept, if needs be).

if it is infact legal to use USE-based deps with virtuals, then this may be committed by whoever feels comfortable enough to stand by it ;-)

thanks
Comment 6 Marcel Pennewiß 2009-08-10 07:41:57 UTC
(In reply to comment #5)
> we did use USE-based deps, but were told that it can't be used reliably with
> virtuals. see also bug #260174
> 
> i dont have access to the mail from the developer telling me, it's illegal

i did not found any mail on the dev-list about this issue. i've tested this and it works fine. did anybody have more details?

Another possibilty is to do it without virtuals.
Comment 7 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-08-23 19:55:49 UTC
i forwarded the appropriate mail to gentoo-dev. please reopen if this turns out to be incorrect.