commit:     cb301fd15c34f1be28abe3a06b35e100fc683347
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Thu Jul  7 09:29:41 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 07:49:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb301fd1

dev-db/redis: restore selinux USE flag

The USE flag was removed from redis-7* due to an unfortunate timing. It
was introduced in dev-db/redis-7.0.0 in commit 63692502e6f3
("dev-db/redis: add selinux USE flag") but it was omitted in
dev-db/redis-7.0.0-r1 in following commit c401269e5d01 ("dev-db/redis:
get rid of external Lua") because PR with proposed change was created
before selinux USE flag introduction. However, redis-7.0.0-r1 ebuild was
used for version bump of redis-7.0.1 and redis-7.0.2.

Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/26257
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-db/redis/redis-7.0.1-r1.ebuild | 3 ++-
 dev-db/redis/redis-7.0.2.ebuild    | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-db/redis/redis-7.0.1-r1.ebuild 
b/dev-db/redis/redis-7.0.1-r1.ebuild
index 4bb18fce768c..f43853ced40b 100644
--- a/dev-db/redis/redis-7.0.1-r1.ebuild
+++ b/dev-db/redis/redis-7.0.1-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://download.redis.io/releases/${P}.tar.gz";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 
~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="+jemalloc ssl systemd tcmalloc test"
+IUSE="+jemalloc selinux ssl systemd tcmalloc test"
 RESTRICT="!test? ( test )"
 
 COMMON_DEPEND="
@@ -29,6 +29,7 @@ RDEPEND="
        ${COMMON_DEPEND}
        acct-group/redis
        acct-user/redis
+       selinux? ( sec-policy/selinux-redis )
 "
 
 BDEPEND="

diff --git a/dev-db/redis/redis-7.0.2.ebuild b/dev-db/redis/redis-7.0.2.ebuild
index c8c1359e41d5..3e4ee296d8aa 100644
--- a/dev-db/redis/redis-7.0.2.ebuild
+++ b/dev-db/redis/redis-7.0.2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://download.redis.io/releases/${P}.tar.gz";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~x86-solaris"
-IUSE="+jemalloc ssl systemd tcmalloc test"
+IUSE="+jemalloc selinux ssl systemd tcmalloc test"
 RESTRICT="!test? ( test )"
 
 COMMON_DEPEND="
@@ -29,6 +29,7 @@ RDEPEND="
        ${COMMON_DEPEND}
        acct-group/redis
        acct-user/redis
+       selinux? ( sec-policy/selinux-redis )
 "
 
 BDEPEND="

Reply via email to