developer | 55aca75 | 2023-09-07 02:46:06 +0800 | [diff] [blame] | 1 | diff --git a/package/network/services/hostapd/Makefile b/package/network/services/hostapd/Makefile |
| 2 | index f184830..3af18c6 100644 |
| 3 | --- a/package/network/services/hostapd/Makefile |
| 4 | +++ b/package/network/services/hostapd/Makefile |
| 5 | @@ -500,7 +500,6 @@ define Package/hostapd-utils |
developer | 20d6771 | 2022-03-02 14:09:32 +0800 | [diff] [blame] | 6 | TITLE:=IEEE 802.1x Authenticator (utils) |
| 7 | URL:=http://hostap.epitest.fi/ |
| 8 | DEPENDS:=@$(subst $(space),||,$(foreach pkg,$(HOSTAPD_PROVIDERS),PACKAGE_$(pkg))) |
| 9 | - VARIANT:=* |
| 10 | endef |
| 11 | |
| 12 | define Package/hostapd-utils/description |
developer | 55aca75 | 2023-09-07 02:46:06 +0800 | [diff] [blame] | 13 | @@ -514,7 +513,6 @@ define Package/wpa-cli |
developer | 20d6771 | 2022-03-02 14:09:32 +0800 | [diff] [blame] | 14 | SUBMENU:=WirelessAPD |
| 15 | DEPENDS:=@$(subst $(space),||,$(foreach pkg,$(SUPPLICANT_PROVIDERS),PACKAGE_$(pkg))) |
| 16 | TITLE:=WPA Supplicant command line control utility |
| 17 | - VARIANT:=* |
| 18 | endef |
| 19 | |
| 20 | define Package/eapol-test/Default |
developer | 55aca75 | 2023-09-07 02:46:06 +0800 | [diff] [blame] | 21 | @@ -692,6 +690,9 @@ define Package/hostapd-common/install |
developer | 20d6771 | 2022-03-02 14:09:32 +0800 | [diff] [blame] | 22 | $(INSTALL_BIN) ./files/wps-hotplug.sh $(1)/etc/rc.button/wps |
| 23 | $(INSTALL_DATA) ./files/wpad_acl.json $(1)/usr/share/acl.d |
| 24 | $(INSTALL_DATA) ./files/wpad.json $(1)/etc/capabilities |
| 25 | + [ ! -d $(STAGING_DIR)/usr/include/wpa_ctrl.h ] && $(CP) -f $(PKG_BUILD_DIR)/src/common/wpa_ctrl.h $(STAGING_DIR)/usr/include |
| 26 | + [ ! -d $(STAGING_DIR)/usr/lib/wpa_ctrl.o ] && $(CP) -f $(PKG_BUILD_DIR)/build/hostapd/src/common/wpa_ctrl.o $(STAGING_DIR)/usr/lib |
| 27 | + [ ! -d $(STAGING_DIR)/usr/lib/os_unix.o ] && $(CP) -f $(PKG_BUILD_DIR)/build/hostapd/src/utils/os_unix.o $(STAGING_DIR)/usr/lib |
| 28 | endef |
| 29 | |
| 30 | define Package/hostapd/install |