Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610484 - www-apps/otrs: uses confutils_require_any
Summary: www-apps/otrs: uses confutils_require_any
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Stefan G. Weichinger
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 610470
  Show dependency tree
 
Reported: 2017-02-22 08:31 UTC by Michał Górny
Modified: 2017-03-12 09:15 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-22 08:31:05 UTC
Please use REQUIRED_USE instead.
Comment 1 Stefan G. Weichinger 2017-03-02 11:45:22 UTC
pls point me at an example.
I will then try to suggest a PR on github, thanks.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-02 12:15:37 UTC
REQUIRED_USE="|| ( a b c )"

is the equivalent form.
Comment 3 Stefan G. Weichinger 2017-03-02 12:39:57 UTC
Sorry, never used that.
My grepping through /usr/portage doesn't teach me much so far ...

Use it INSTEAD of WHAT?
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-02 12:54:29 UTC
The function in the subject of this bug. You can find more info in the devmanual.
Comment 5 Stefan G. Weichinger 2017-03-02 13:08:42 UTC
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?
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-02 14:40:03 UTC
Yes, please test it and create a PR.
Comment 7 Stefan G. Weichinger 2017-03-02 17:45:16 UTC
https://github.com/gentoo/gentoo/pull/4096
Comment 8 Stefan G. Weichinger 2017-03-02 22:15:05 UTC
on github it says "assigned" and "no assignees"
pls choose

;)
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-12 09:05:58 UTC
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
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-12 09:15:38 UTC
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