###############################################################################
name = hostapd
-version = 2.5
+version = 2.9
release = 1
groups = Networking/Tools
-url = http://hostap.epitest.fi/hostapd/
+url = https://w1.fi/hostapd/
license = GPLv2+
summary = User space daemon to create Wifi Access points.
RADIUS authentication server.
end
-source_dl = http://hostap.epitest.fi/releases/
+source_dl = https://w1.fi/releases/
build
requires
- libnl-devel
- openssl-devel
+ libnl3-devel
+ openssl-devel >= 1.1.1
end
prepare_cmds
# Create our custom configuration.
cat defconfig > .config
sed -i .config \
+ -e '/^#CONFIG_GETRANDOM=y/s/^#//' \
+ -e '/^#CONFIG_ACS=y/s/^#//' \
+ -e '/^#CONFIG_LIBNL32=y/s/^#//' \
+ -e '/^#CONFIG_TAXONOMY=y/s/^#//' \
-e '/^#CONFIG_DRIVER_NL80211=y/s/^#//' \
+ -e '/^#CONFIG_DRIVER_NL80211_QCA=y/s/^#//' \
-e '/^#CONFIG_DRIVER_NONE=y/s/^#//' \
-e '/^#CONFIG_DRIVER_WIRED=y/s/^#//' \
+ -e '/^#CONFIG_IEEE80211AC=y/s/^#//' \
+ -e '/^#CONFIG_IEEE80211AX=y/s/^#//' \
-e '/^#CONFIG_IEEE80211N=y/s/^#//' \
-e '/^#CONFIG_RADIUS_SERVER=y/s/^#//'
end
build
cd hostapd
- make %{PARALLELISMFLAGS} CC=gcc
+ make %{PARALLELISMFLAGS} CC=gcc \
+ CONFIG_SAE=y
end
install