blob: b07a7e4a26325902e975fe0d389304d06b7d2023 [file] [log] [blame]
developer24684862023-08-02 08:10:38 +08001diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile
developer93607dd2023-08-30 04:53:00 +08002index 4bc1b94..348c94d 100644
developer24684862023-08-02 08:10:38 +08003--- a/package/network/services/hostapd/Makefile
4+++ b/package/network/services/hostapd/Makefile
developer93607dd2023-08-30 04:53:00 +08005@@ -80,7 +80,7 @@ ifneq ($(CONFIG_DRIVER_11AX_SUPPORT),)
6 endif
7
8 CORE_DEPENDS = +ucode +libubus +libucode +ucode-mod-fs +ucode-mod-nl80211 +ucode-mod-rtnl +ucode-mod-ubus +ucode-mod-uloop +libblobmsg-json
9-OPENSSL_DEPENDS = +PACKAGE_$(1):libopenssl +PACKAGE_$(1):libopenssl-legacy
10+OPENSSL_DEPENDS = +PACKAGE_$(1):libopenssl
11
12 DRIVER_MAKEOPTS= \
13 CONFIG_ACS=y CONFIG_DRIVER_NL80211=y \
14@@ -498,7 +498,6 @@ define Package/hostapd-utils
developer20d67712022-03-02 14:09:32 +080015 TITLE:=IEEE 802.1x Authenticator (utils)
16 URL:=http://hostap.epitest.fi/
17 DEPENDS:=@$(subst $(space),||,$(foreach pkg,$(HOSTAPD_PROVIDERS),PACKAGE_$(pkg)))
18- VARIANT:=*
19 endef
20
21 define Package/hostapd-utils/description
developer93607dd2023-08-30 04:53:00 +080022@@ -512,7 +511,6 @@ define Package/wpa-cli
developer20d67712022-03-02 14:09:32 +080023 SUBMENU:=WirelessAPD
24 DEPENDS:=@$(subst $(space),||,$(foreach pkg,$(SUPPLICANT_PROVIDERS),PACKAGE_$(pkg)))
25 TITLE:=WPA Supplicant command line control utility
26- VARIANT:=*
27 endef
28
29 define Package/eapol-test/Default
developer93607dd2023-08-30 04:53:00 +080030@@ -719,6 +717,9 @@ define Package/hostapd-common/install
developer20d67712022-03-02 14:09:32 +080031 $(INSTALL_DATA) ./files/wpad.json $(1)/etc/capabilities
developer24684862023-08-02 08:10:38 +080032 $(INSTALL_DATA) ./files/common.uc $(1)/usr/share/hostap/
33 $(INSTALL_DATA) ./files/wdev.uc $(1)/usr/share/hostap/
developer20d67712022-03-02 14:09:32 +080034+ [ ! -d $(STAGING_DIR)/usr/include/wpa_ctrl.h ] && $(CP) -f $(PKG_BUILD_DIR)/src/common/wpa_ctrl.h $(STAGING_DIR)/usr/include
35+ [ ! -d $(STAGING_DIR)/usr/lib/wpa_ctrl.o ] && $(CP) -f $(PKG_BUILD_DIR)/build/hostapd/src/common/wpa_ctrl.o $(STAGING_DIR)/usr/lib
36+ [ ! -d $(STAGING_DIR)/usr/lib/os_unix.o ] && $(CP) -f $(PKG_BUILD_DIR)/build/hostapd/src/utils/os_unix.o $(STAGING_DIR)/usr/lib
37 endef
38
39 define Package/hostapd/install