From 5bdf5b84cb2c0c96cbe82222ee7b4c9ae836abd5 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 18 Jun 2006 18:10:41 +0000 Subject: [PATCH] remove ipkg directory, add conffiles, normalize Makefile. SVN-Revision: 3994 --- openwrt/package/hostapd/Makefile | 55 ++++++++++--------- .../hostapd/ipkg/hostapd-mini.conffiles | 1 - .../package/hostapd/ipkg/hostapd.conffiles | 1 - 3 files changed, 30 insertions(+), 27 deletions(-) delete mode 100644 openwrt/package/hostapd/ipkg/hostapd-mini.conffiles delete mode 100644 openwrt/package/hostapd/ipkg/hostapd.conffiles diff --git a/openwrt/package/hostapd/Makefile b/openwrt/package/hostapd/Makefile index f4a6145213..4a1c3f9265 100644 --- a/openwrt/package/hostapd/Makefile +++ b/openwrt/package/hostapd/Makefile @@ -16,6 +16,36 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) include $(TOPDIR)/package/rules.mk +define Package/hostapd +SECTION:=net +CATEGORY:=Network +DEPENDS:=+libopenssl +TITLE:=IEEE 802.1x Authenticator +DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator +URL:=http://hostap.epitest.fi/ +endef + +define Package/hostapd/conffiles +/etc/hostapd.conf +endef + +define Package/hostapd-mini +$(call Package/hostapd) +TITLE:=IEEE 802.1x Authenticator (WPA-PSK only) +DEPENDS:= +DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (WPA-PSK only) +endef + +define Package/hostapd-mini/conffiles +/etc/hostapd.conf +endef + +define Package/hostapd-utils +$(call Package/hostapd) +DEPENDS:=@PACKAGE_hostapd||PACKAGE_hostapd-mini +TITLE:=IEEE 802.1x Authenticator (utils) +DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (command line utils) +endef define Build/ConfigureTarget $(CP) $(PKG_BUILD_DIR) $(PKG_BUILD_DIR)_$(1) @@ -73,39 +103,14 @@ define Build/Clean rm -rf $(PKG_BUILD_DIR)_mini endef -define Package/hostapd -SECTION:=net -CATEGORY:=Network -DEPENDS:=+libopenssl -TITLE:=IEEE 802.1x Authenticator -DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator -URL:=http://hostap.epitest.fi/ -endef - -define Package/hostapd-mini -$(call Package/hostapd) -TITLE:=IEEE 802.1x Authenticator (WPA-PSK only) -DEPENDS:= -DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (WPA-PSK only) -endef - -define Package/hostapd-utils -$(call Package/hostapd) -DEPENDS:=@PACKAGE_hostapd||PACKAGE_hostapd-mini -TITLE:=IEEE 802.1x Authenticator (utils) -DESCRIPTION:=IEEE 802.1x/WPA/EAP/RADIUS Authenticator (command line utils) -endef - define Package/hostapd-utils/install install -m0755 -d $(1)/usr/sbin install -m0755 $(PKG_BUILD_DIR)/hostapd_cli $(1)/usr/sbin/ endef - $(eval $(call Package/Template,hostapd,default)) $(eval $(call Package/Template,hostapd-mini,mini)) $(eval $(call BuildPackage,hostapd)) $(eval $(call BuildPackage,hostapd-mini)) $(eval $(call BuildPackage,hostapd-utils)) - diff --git a/openwrt/package/hostapd/ipkg/hostapd-mini.conffiles b/openwrt/package/hostapd/ipkg/hostapd-mini.conffiles deleted file mode 100644 index f61980010e..0000000000 --- a/openwrt/package/hostapd/ipkg/hostapd-mini.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/hostapd.conf diff --git a/openwrt/package/hostapd/ipkg/hostapd.conffiles b/openwrt/package/hostapd/ipkg/hostapd.conffiles deleted file mode 100644 index f61980010e..0000000000 --- a/openwrt/package/hostapd/ipkg/hostapd.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/hostapd.conf -- 2.30.2