main/hostapd: upgrade to 2.11

enable several options while at it, although I haven't figured out how to test MBO and FST yet.
This commit is contained in:
Konstantin Kulikov 2024-07-30 00:01:27 +03:00 committed by Natanael Copa
parent 3624c9b4cf
commit d8b0620277
2 changed files with 9 additions and 37 deletions

View file

@ -1,30 +0,0 @@
From 6ff8bda992463a8c0dc34ee18820ca56cf9cccc0 Mon Sep 17 00:00:00 2001
From: Yegor Yefremov <yegorslists@googlemail.com>
Date: Wed, 30 Mar 2022 10:11:16 +0200
Subject: [PATCH] hostapd: Add the missing CONFIG_SAE option to the defconfig
CONFIG_SAE was added to wpa_supplicant's defconfig but wasn't
added to the hostapd's defconfig file.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
hostapd/defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hostapd/defconfig b/hostapd/defconfig
index 6b50b6c59..611f96ffa 100644
--- a/hostapd/defconfig
+++ b/hostapd/defconfig
@@ -161,6 +161,9 @@ CONFIG_IPV6=y
# final IEEE 802.11ax version.
#CONFIG_IEEE80211AX=y
+# Simultaneous Authentication of Equals (SAE), WPA3-Personal
+#CONFIG_SAE=y
+
# Remove debugging code that is printing out debug messages to stdout.
# This can be used to reduce the size of the hostapd considerably if debugging
# code is not needed.
--
2.30.2

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hostapd
pkgver=2.10
pkgrel=6
pkgver=2.11
pkgrel=0
pkgdesc="daemon for wireless software access points"
url="https://w1.fi/hostapd/"
arch="all"
@ -11,10 +11,8 @@ subpackages="$pkgname-doc $pkgname-openrc"
source="https://w1.fi/releases/hostapd-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
0001-hostapd-Add-the-missing-CONFIG_SAE-option-to-the-def.patch
"
options="!check" #no testsuite
patch_args="-p2"
builddir="$srcdir"/$pkgname-$pkgver/hostapd
# secfixes:
@ -50,7 +48,6 @@ prepare() {
# toolchain setup
{
sed \
-e '/^#CONFIG_DRIVER_NL80211=y/s/^#//' \
-e '/^#CONFIG_RADIUS_SERVER=y/s/^#//' \
-e '/^#CONFIG_DRIVER_WIRED=y/s/^#//' \
-e '/^#CONFIG_DRIVER_NONE=y/s/^#//' \
@ -63,6 +60,12 @@ prepare() {
-e '/^#CONFIG_ACS=y/s/^#//' \
-e '/^#CONFIG_WEP=y/s/^#//' \
-e '/^#CONFIG_SAE=y/s/^#//' \
-e '/^#CONFIG_ELOOP_EPOLL=y/s/^#//' \
-e '/^#CONFIG_FST=y/s/^#//' \
-e '/^#CONFIG_FST_TEST=y/s/^#//' \
-e '/^#CONFIG_MBO=y/s/^#//' \
-e '/^#CONFIG_WPA_CLI_EDIT=y/s/^#//' \
-e '/^#CONFIG_AIRTIME_POLICY=y/s/^#//' \
defconfig
echo "CC ?= ${CC:-gcc}"
@ -104,8 +107,7 @@ package() {
}
sha512sums="
243baa82d621f859d2507d8d5beb0ebda15a75548a62451dc9bca42717dcc8607adac49b354919a41d8257d16d07ac7268203a79750db0cfb34b51f80ff1ce8f hostapd-2.10.tar.gz
1382af2a243e3a555507b55942f41d1233cc942826d26bc4f4dbe5e75560b3fe22e426948762fe162453e934685a69ef0c05723b7fecef71811fc1987e32b048 hostapd-2.11.tar.gz
adeca34c6254ac6fccd84e6f08f8c394225e1b89e2c8771b46da5c85fe3fdabc568628530c39da3ab30b72e98891b07bbdb63f74217e79d6afb9796715d822f1 hostapd.initd
250b072ae26892d5ba285d717d2742a29c12d52db59f021ff18a5eff709827f9987965539bf3f7b83c03fb8c103ea49604118a1d15056e6f1d8a7ae8043affbb hostapd.confd
7cde99c431f1cf746473ae53c3009735c2a718e7038c3bc1629fc45ca85a191d799e975960da96e3cf14a56389ba06eee78453a9dd457941d6af758b730cbd05 0001-hostapd-Add-the-missing-CONFIG_SAE-option-to-the-def.patch
"