commit:     ecf1f9481a331ce5a6abc45c52bf0be49e222e48
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 22 13:24:03 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Nov 22 13:24:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf1f948

sys-fs/xfsprogs: add USE=selinux to pull in policy

Closes: https://bugs.gentoo.org/658838
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/xfsprogs/xfsprogs-5.10.0-r1.ebuild | 3 ++-
 sys-fs/xfsprogs/xfsprogs-5.13.0.ebuild    | 3 ++-
 sys-fs/xfsprogs/xfsprogs-5.14.0.ebuild    | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-fs/xfsprogs/xfsprogs-5.10.0-r1.ebuild 
b/sys-fs/xfsprogs/xfsprogs-5.10.0-r1.ebuild
index 132fc31c0142..09adcd120083 100644
--- a/sys-fs/xfsprogs/xfsprogs-5.10.0-r1.ebuild
+++ b/sys-fs/xfsprogs/xfsprogs-5.10.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz";
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
-IUSE="icu libedit nls"
+IUSE="icu libedit nls selinux"
 
 RDEPEND=">=sys-apps/util-linux-2.17.2
        dev-libs/inih
@@ -23,6 +23,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        nls? ( sys-devel/gettext )
 "
+RDEPEND+=" selinux? ( sec-policy/selinux-xfs )"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-4.15.0-docdir.patch

diff --git a/sys-fs/xfsprogs/xfsprogs-5.13.0.ebuild 
b/sys-fs/xfsprogs/xfsprogs-5.13.0.ebuild
index 545c377884f7..74b613351ddd 100644
--- a/sys-fs/xfsprogs/xfsprogs-5.13.0.ebuild
+++ b/sys-fs/xfsprogs/xfsprogs-5.13.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz";
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
-IUSE="icu libedit nls"
+IUSE="icu libedit nls selinux"
 
 RDEPEND=">=sys-apps/util-linux-2.17.2
        dev-libs/inih
@@ -23,6 +23,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        nls? ( sys-devel/gettext )
 "
+RDEPEND+=" selinux? ( sec-policy/selinux-xfs )"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-4.15.0-docdir.patch

diff --git a/sys-fs/xfsprogs/xfsprogs-5.14.0.ebuild 
b/sys-fs/xfsprogs/xfsprogs-5.14.0.ebuild
index 2fe309ad43a7..069e9cb903a7 100644
--- a/sys-fs/xfsprogs/xfsprogs-5.14.0.ebuild
+++ b/sys-fs/xfsprogs/xfsprogs-5.14.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://www.kernel.org/pub/linux/utils/fs/xfs/${PN}/${P}.tar.xz";
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
-IUSE="icu libedit nls"
+IUSE="icu libedit nls selinux"
 
 RDEPEND=">=sys-apps/util-linux-2.17.2
        dev-libs/inih
@@ -24,6 +24,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        nls? ( sys-devel/gettext )
 "
+RDEPEND+=" selinux? ( sec-policy/selinux-xfs )"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-4.15.0-docdir.patch

Reply via email to