| Summary: | www-apps/otrs: uses confutils_require_any | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
| Component: | Current packages | Assignee: | Stefan G. Weichinger <lists> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | proxy-maint, web-apps |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 610470 | ||
|
Description
Michał Górny
2017-02-22 08:31:05 UTC
pls point me at an example. I will then try to suggest a PR on github, thanks. REQUIRED_USE="|| ( a b c )" is the equivalent form. Sorry, never used that. My grepping through /usr/portage doesn't teach me much so far ... Use it INSTEAD of WHAT? The function in the subject of this bug. You can find more info in the devmanual. ah, I think I got it.
--- a/www-apps/otrs/otrs-5.0.16.ebuild
+++ b/www-apps/otrs/otrs-5.0.16.ebuild
@@ -14,6 +14,8 @@ KEYWORDS="~amd64 ~x86"
IUSE="apache2 fastcgi +gd ldap mod_perl +mysql pdf postgres soap"
SLOT="0"
+REQUIRED_USE="|| ( mysql postgres )"
+
DEPEND="media-libs/libpng:0"
RDEPEND="dev-perl/Apache-Reload
@@ -69,7 +71,6 @@ pkg_setup() {
enewgroup apache 81
enewuser apache 81 -1 /var/www apache
enewuser otrs -1 -1 ${OTRS_HOME} apache
- confutils_require_any mysql postgres
}
?
If OK, shall I create a PR or how to proceed?
Yes, please test it and create a PR. on github it says "assigned" and "no assignees" pls choose ;) commit 7849edad186b9ceaee2635b784c2c14dbc18edfa Author: Stefan G. Weichinger <office@oops.co.at> AuthorDate: Thu Mar 2 18:42:09 2017 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Sun Mar 12 10:05:04 2017 www-apps/otrs-5.0.16: fix confutils, #610484, minor cleanup Closes: https://github.com/gentoo/gentoo/pull/4096 commit ddff5be295345c686cbdf9cfe8673b71ce275634 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Sun Mar 12 10:12:36 2017 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Sun Mar 12 10:14:59 2017 www-apps/otrs: Clean old commit 522e5812e56806e181247d951a5b6f8912074b13 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Sun Mar 12 10:09:42 2017 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Sun Mar 12 10:13:56 2017 www-apps/otrs: remove stale confutils inherit |