aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-wireless/hostapd/hostapd-2.10-r2.ebuild (renamed from net-wireless/hostapd/hostapd-2.10.ebuild)21
1 files changed, 12 insertions, 9 deletions
diff --git a/net-wireless/hostapd/hostapd-2.10.ebuild b/net-wireless/hostapd/hostapd-2.10-r2.ebuild
index 64f4401..2c2844c 100644
--- a/net-wireless/hostapd/hostapd-2.10.ebuild
+++ b/net-wireless/hostapd/hostapd-2.10-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit flag-o-matic systemd savedconfig toolchain-funcs
@@ -23,28 +23,30 @@ else
fi
# Never stabilize snapshot ebuilds please
- KEYWORDS="amd64 arm arm64 ~mips ppc x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~x86"
fi
LICENSE="BSD"
SLOT="0"
-IUSE="internal-tls ipv6 netlink sqlite +suiteb +wps +crda"
+IUSE="internal-tls ipv6 netlink selinux sqlite +suiteb +wps"
DEPEND="
internal-tls? ( dev-libs/libtommath )
!internal-tls? ( dev-libs/openssl:0=[-bindist(-)] )
kernel_linux? (
+ net-wireless/wireless-regdb
>=dev-libs/libnl-3.2:3
- 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"
-PATCHES=(
- "${FILESDIR}"/${P}-libressl.patch
-)
+PATCHES=( "${FILESDIR}"/${P}-libressl.patch )
pkg_pretend() {
if use internal-tls; then
@@ -158,6 +160,7 @@ src_configure() {
echo "CONFIG_IEEE80211W=y" >> ${CONFIG} || die
echo "CONFIG_IEEE80211N=y" >> ${CONFIG} || die
echo "CONFIG_IEEE80211AC=y" >> ${CONFIG} || die
+ echo "CONFIG_IEEE80211AX=y" >> ${CONFIG} || die
echo "CONFIG_OCV=y" >> ${CONFIG} || die
echo "CONFIG_PEERKEY=y" >> ${CONFIG} || die
echo "CONFIG_RSN_PREAUTH=y" >> ${CONFIG} || die