summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-wireless/hostapd/hostapd-2.10-r1.ebuild10
-rw-r--r--net-wireless/hostapd/hostapd-9999.ebuild12
2 files changed, 15 insertions, 7 deletions
diff --git a/net-wireless/hostapd/hostapd-2.10-r1.ebuild b/net-wireless/hostapd/hostapd-2.10-r1.ebuild
index 3f75b8580907..44a7d7287c2a 100644
--- a/net-wireless/hostapd/hostapd-2.10-r1.ebuild
+++ b/net-wireless/hostapd/hostapd-2.10-r1.ebuild
@@ -28,7 +28,7 @@ fi
LICENSE="BSD"
SLOT="0"
-IUSE="internal-tls ipv6 netlink sqlite +suiteb +wps +crda"
+IUSE="internal-tls ipv6 netlink selinux sqlite +suiteb +wps +crda"
DEPEND="
internal-tls? ( dev-libs/libtommath )
@@ -38,8 +38,12 @@ DEPEND="
crda? ( net-wireless/crda )
)
netlink? ( net-libs/libnfnetlink )
- sqlite? ( >=dev-db/sqlite-3 )"
-RDEPEND="${DEPEND}"
+ sqlite? ( >=dev-db/sqlite-3 )
+"
+RDEPEND="
+ ${DEPEND}
+ selinux? ( sec-policy/selinux-hostapd )
+"
BDEPEND="virtual/pkgconfig"
pkg_pretend() {
diff --git a/net-wireless/hostapd/hostapd-9999.ebuild b/net-wireless/hostapd/hostapd-9999.ebuild
index 6e9b6c0d78be..f96e871c975b 100644
--- a/net-wireless/hostapd/hostapd-9999.ebuild
+++ b/net-wireless/hostapd/hostapd-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -28,7 +28,7 @@ fi
LICENSE="BSD"
SLOT="0"
-IUSE="internal-tls ipv6 netlink sqlite +suiteb +wps +crda"
+IUSE="internal-tls ipv6 netlink selinux sqlite +suiteb +wps +crda"
DEPEND="
internal-tls? ( dev-libs/libtommath )
@@ -38,8 +38,12 @@ DEPEND="
crda? ( net-wireless/crda )
)
netlink? ( net-libs/libnfnetlink )
- sqlite? ( >=dev-db/sqlite-3 )"
-RDEPEND="${DEPEND}"
+ sqlite? ( >=dev-db/sqlite-3 )
+"
+RDEPEND="
+ ${DEPEND}
+ selinux? ( sec-policy/selinux-hostapd )
+"
BDEPEND="virtual/pkgconfig"
pkg_pretend() {