commit:     f1573c90d91e923506c934e5de7058f29e556aec
Author:     Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Tue Jan 26 23:29:01 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Wed Jan 27 20:08:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1573c90

net-im/prosody: Added selinux USE flag and dependency.

Closes: https://github.com/gentoo/gentoo/pull/19232
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-im/prosody/prosody-0.11.7-r101.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/net-im/prosody/prosody-0.11.7-r101.ebuild 
b/net-im/prosody/prosody-0.11.7-r101.ebuild
index 28fe617959e..aee5c34cf35 100644
--- a/net-im/prosody/prosody-0.11.7-r101.ebuild
+++ b/net-im/prosody/prosody-0.11.7-r101.ebuild
@@ -15,14 +15,14 @@ SRC_URI="https://prosody.im/downloads/source/${P}.tar.gz";
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 x86"
-IUSE="icu +idn +libevent libressl mysql postgres +sqlite +ssl test +zlib"
+IUSE="icu +idn +libevent libressl mysql postgres selinux +sqlite +ssl test 
+zlib"
 REQUIRED_USE="
        ^^ ( icu idn )
        ${LUA_REQUIRED_USE}
 "
 RESTRICT="!test? ( test )"
 
-RDEPEND="
+DEPEND="
        $(lua_gen_cond_dep 'dev-lua/luaexpat[${LUA_USEDEP}]')
        $(lua_gen_cond_dep 'dev-lua/luafilesystem[${LUA_USEDEP}]')
        $(lua_gen_cond_dep 'dev-lua/luasocket[${LUA_USEDEP}]')
@@ -41,7 +41,10 @@ RDEPEND="
        ${LUA_DEPS}
 "
 
-DEPEND="${RDEPEND}"
+RDEPEND="
+       ${DEPEND}
+       selinux? ( sec-policy/selinux-jabber )
+"
 
 BDEPEND="
        virtual/pkgconfig

Reply via email to