summaryrefslogtreecommitdiffstats
path: root/package/hostapd
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-18 18:10:41 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-18 18:10:41 +0000
commitb7bf0034f4641971bf8d550a875ffbe3f5d7bb1e (patch)
tree6e7c6b0028b04b8e4219ffd790d9996a9916ae12 /package/hostapd
parentedc2fa5f2c52412a0c83f91011c2c0b5c15d299b (diff)
remove ipkg directory, add conffiles, normalize Makefile.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3994 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/Makefile55
-rw-r--r--package/hostapd/ipkg/hostapd-mini.conffiles1
-rw-r--r--package/hostapd/ipkg/hostapd.conffiles1
3 files changed, 30 insertions, 27 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index f4a614521..4a1c3f926 100644
--- a/package/hostapd/Makefile
+++ b/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/package/hostapd/ipkg/hostapd-mini.conffiles b/package/hostapd/ipkg/hostapd-mini.conffiles
deleted file mode 100644
index f61980010..000000000
--- a/package/hostapd/ipkg/hostapd-mini.conffiles
+++ /dev/null
@@ -1 +0,0 @@
-/etc/hostapd.conf
diff --git a/package/hostapd/ipkg/hostapd.conffiles b/package/hostapd/ipkg/hostapd.conffiles
deleted file mode 100644
index f61980010..000000000
--- a/package/hostapd/ipkg/hostapd.conffiles
+++ /dev/null
@@ -1 +0,0 @@
-/etc/hostapd.conf