From 088dee0df758e77f936db4aa822e97878f6a79fd Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 14 Aug 2005 07:01:13 +0000 Subject: add hostapd package with initial support for madwifi git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1659 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 package/hostapd/Makefile (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile new file mode 100644 index 000000000..405c1fd7e --- /dev/null +++ b/package/hostapd/Makefile @@ -0,0 +1,46 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=hostapd +PKG_VERSION:=0.3.9 +PKG_RELEASE:=1 +PKG_MD5SUM:=c9cab38387594090a36062008b3de59e + +PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(TOPDIR)/package/rules.mk + +$(eval $(call PKG_template,HOSTAPD,hostapd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(PKG_BUILD_DIR)/.configured: + cp ./files/config $(PKG_BUILD_DIR)/.config + touch $@ + +$(PKG_BUILD_DIR)/.built: + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ + OPTFLAGS="$(TARGET_CFLAGS)" \ + CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/madwifi" \ + LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \ + all + touch $@ + +$(IPKG_HOSTAPD): + install -m0755 -d $(IDIR_HOSTAPD)/etc + install -m0600 $(PKG_BUILD_DIR)/madwifi.conf $(IDIR_HOSTAPD)/etc/hostapd.conf + install -m0755 -d $(IDIR_HOSTAPD)/usr/sbin + install -m0755 $(PKG_BUILD_DIR)/hostapd $(IDIR_HOSTAPD)/usr/sbin/ + install -m0755 $(PKG_BUILD_DIR)/hostapd_cli $(IDIR_HOSTAPD)/usr/sbin/ + $(RSTRIP) $(IDIR_HOSTAPD) + $(IPKG_BUILD) $(IDIR_HOSTAPD) $(PACKAGE_DIR) + +mostlyclean: + make -C $(PKG_BUILD_DIR) clean + rm $(PKG_BUILD_DIR)/.built + -- cgit v1.2.3 From 7af4d79491b826de778160c5f683521bf78195db Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 23 Oct 2005 13:16:37 +0000 Subject: update hostapd to latest development release (v0.4.5), add driver for hostap, enable wpa-psk. git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2276 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 405c1fd7e..9afea1c21 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_VERSION:=0.3.9 +PKG_VERSION:=0.4.5 PKG_RELEASE:=1 -PKG_MD5SUM:=c9cab38387594090a36062008b3de59e +PKG_MD5SUM:=3d775a19f8071d6f8a363ef0dad58655 PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -- cgit v1.2.3 From c6df1caef5c56750808f4dd8f228f8ac2eafabf6 Mon Sep 17 00:00:00 2001 From: nico Date: Tue, 22 Nov 2005 03:10:56 +0000 Subject: update hostapd to new upstream stable release (v0.4.7) git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2542 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 9afea1c21..c3b8ec6aa 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_VERSION:=0.4.5 +PKG_VERSION:=0.4.7 PKG_RELEASE:=1 -PKG_MD5SUM:=3d775a19f8071d6f8a363ef0dad58655 +PKG_MD5SUM:=b299211691fe8a6840e7adafda351d2b PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -- cgit v1.2.3 From 82daa5e9c007b2a16aa9e8c5526fd8d034ee4541 Mon Sep 17 00:00:00 2001 From: mbm Date: Wed, 1 Feb 2006 23:53:19 +0000 Subject: change cp to $(CP) git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3112 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index c3b8ec6aa..7ac6770fc 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -19,7 +19,7 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,HOSTAPD,hostapd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(PKG_BUILD_DIR)/.configured: - cp ./files/config $(PKG_BUILD_DIR)/.config + $(CP) ./files/config $(PKG_BUILD_DIR)/.config touch $@ $(PKG_BUILD_DIR)/.built: -- cgit v1.2.3 From 428f4a4fb597d08c8382ee90ac5f291dfa8b15dc Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 12 Mar 2006 13:51:39 +0000 Subject: update to newer version, fix compile issues, 100-wpa_fix.patch removed, is it needed? git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3352 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 7ac6770fc..e7b42dc4a 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_VERSION:=0.4.7 +PKG_VERSION:=0.5.1 PKG_RELEASE:=1 -PKG_MD5SUM:=b299211691fe8a6840e7adafda351d2b +PKG_MD5SUM:=3e38533604187e291f45a2f6873b71cc PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -- cgit v1.2.3 From 21cd1a1ee305e3729d880b0f2aa5f8c7f8d9856f Mon Sep 17 00:00:00 2001 From: wbx Date: Tue, 28 Mar 2006 22:30:12 +0000 Subject: fix problems from ticket #385, thx mikea git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3532 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index e7b42dc4a..f80125695 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd -PKG_VERSION:=0.5.1 +PKG_VERSION:=0.5.2 PKG_RELEASE:=1 -PKG_MD5SUM:=3e38533604187e291f45a2f6873b71cc +PKG_MD5SUM:=b7f4739ca4758798f8dc3b1ea9fd00d0 PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -- cgit v1.2.3 From c3b88d8b5e47898e1941074d62ad7e979b42bad9 Mon Sep 17 00:00:00 2001 From: nico Date: Sat, 1 Apr 2006 14:40:44 +0000 Subject: add an hostapd-mini package with WPA support only, and move hostapd_cli in a separate hostapd-utils package. git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3564 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 61 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 46 insertions(+), 15 deletions(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index f80125695..ac45e7f7b 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -16,31 +16,62 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install include $(TOPDIR)/package/rules.mk +define PKG_build + +ifneq ($(BR2_PACKAGE_$(1)),) +BUILD_TARGETS += $(PKG_INSTALL_DIR)/$(2)/hostapd +endif + +$(PKG_INSTALL_DIR)/$(2)/hostapd: $(PKG_BUILD_DIR)/.prepared + -$(MAKE) -C $(PKG_BUILD_DIR) clean + $(CP) ./files/$(2).config $(PKG_BUILD_DIR)/.config + $(MAKE) -C $(PKG_BUILD_DIR) \ + $(TARGET_CONFIGURE_OPTS) \ + OPTFLAGS="$(TARGET_CFLAGS)" \ + CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include/madwifi" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + hostapd + mkdir -p $(PKG_INSTALL_DIR)/$(2) + $(CP) $(PKG_BUILD_DIR)/hostapd $(PKG_INSTALL_DIR)/$(2)/ + touch $$@ + +$$(IPKG_$(1)): $(PKG_INSTALL_DIR)/$(2)/hostapd + install -m0755 -d $$(IDIR_$(1))/etc + install -m0600 $(PKG_BUILD_DIR)/madwifi.conf $$(IDIR_$(1))/etc/hostapd.conf + install -m0755 -d $$(IDIR_$(1))/usr/sbin + install -m0755 $(PKG_INSTALL_DIR)/$(2)/hostapd $$(IDIR_$(1))/usr/sbin/ + $(RSTRIP) $$(IDIR_$(1)) + $(IPKG_BUILD) $$(IDIR_$(1)) $(PACKAGE_DIR) + +endef + $(eval $(call PKG_template,HOSTAPD,hostapd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,HOSTAPD_MINI,hostapd-mini,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,HOSTAPD_UTILS,hostapd-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) + +$(eval $(call PKG_build,HOSTAPD,hostapd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_build,HOSTAPD_MINI,hostapd-mini,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(PKG_BUILD_DIR)/.configured: - $(CP) ./files/config $(PKG_BUILD_DIR)/.config + $(CP) ./files/hostapd.config $(PKG_BUILD_DIR)/.config touch $@ -$(PKG_BUILD_DIR)/.built: +$(PKG_BUILD_DIR)/.built: $(BUILD_TARGETS) $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ OPTFLAGS="$(TARGET_CFLAGS)" \ - CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/usr/include/madwifi" \ - LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \ - all + CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include/madwifi" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + hostapd_cli touch $@ -$(IPKG_HOSTAPD): - install -m0755 -d $(IDIR_HOSTAPD)/etc - install -m0600 $(PKG_BUILD_DIR)/madwifi.conf $(IDIR_HOSTAPD)/etc/hostapd.conf - install -m0755 -d $(IDIR_HOSTAPD)/usr/sbin - install -m0755 $(PKG_BUILD_DIR)/hostapd $(IDIR_HOSTAPD)/usr/sbin/ - install -m0755 $(PKG_BUILD_DIR)/hostapd_cli $(IDIR_HOSTAPD)/usr/sbin/ - $(RSTRIP) $(IDIR_HOSTAPD) - $(IPKG_BUILD) $(IDIR_HOSTAPD) $(PACKAGE_DIR) +$(IPKG_HOSTAPD_UTILS): $(PKG_BUILD_DIR)/.built + install -m0755 -d $(IDIR_HOSTAPD_UTILS)/usr/sbin + install -m0755 $(PKG_BUILD_DIR)/hostapd_cli $(IDIR_HOSTAPD_UTILS)/usr/sbin/ + $(RSTRIP) $(IDIR_HOSTAPD_UTILS) + $(IPKG_BUILD) $(IDIR_HOSTAPD_UTILS) $(PACKAGE_DIR) mostlyclean: - make -C $(PKG_BUILD_DIR) clean - rm $(PKG_BUILD_DIR)/.built + -$(MAKE) -C $(PKG_BUILD_DIR) clean + rm -f $(PKG_BUILD_DIR)/.built -- cgit v1.2.3 From 737022a15e9e7b872ffd8220604f29c6e4bc399d Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 13 Apr 2006 22:20:15 +0000 Subject: remove lots of non-essential packages git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3641 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 77 ------------------------------------------------ 1 file changed, 77 deletions(-) delete mode 100644 package/hostapd/Makefile (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile deleted file mode 100644 index ac45e7f7b..000000000 --- a/package/hostapd/Makefile +++ /dev/null @@ -1,77 +0,0 @@ -# $Id$ - -include $(TOPDIR)/rules.mk - -PKG_NAME:=hostapd -PKG_VERSION:=0.5.2 -PKG_RELEASE:=1 -PKG_MD5SUM:=b7f4739ca4758798f8dc3b1ea9fd00d0 - -PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_CAT:=zcat - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install - -include $(TOPDIR)/package/rules.mk - -define PKG_build - -ifneq ($(BR2_PACKAGE_$(1)),) -BUILD_TARGETS += $(PKG_INSTALL_DIR)/$(2)/hostapd -endif - -$(PKG_INSTALL_DIR)/$(2)/hostapd: $(PKG_BUILD_DIR)/.prepared - -$(MAKE) -C $(PKG_BUILD_DIR) clean - $(CP) ./files/$(2).config $(PKG_BUILD_DIR)/.config - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - OPTFLAGS="$(TARGET_CFLAGS)" \ - CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include/madwifi" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ - hostapd - mkdir -p $(PKG_INSTALL_DIR)/$(2) - $(CP) $(PKG_BUILD_DIR)/hostapd $(PKG_INSTALL_DIR)/$(2)/ - touch $$@ - -$$(IPKG_$(1)): $(PKG_INSTALL_DIR)/$(2)/hostapd - install -m0755 -d $$(IDIR_$(1))/etc - install -m0600 $(PKG_BUILD_DIR)/madwifi.conf $$(IDIR_$(1))/etc/hostapd.conf - install -m0755 -d $$(IDIR_$(1))/usr/sbin - install -m0755 $(PKG_INSTALL_DIR)/$(2)/hostapd $$(IDIR_$(1))/usr/sbin/ - $(RSTRIP) $$(IDIR_$(1)) - $(IPKG_BUILD) $$(IDIR_$(1)) $(PACKAGE_DIR) - -endef - -$(eval $(call PKG_template,HOSTAPD,hostapd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(eval $(call PKG_template,HOSTAPD_MINI,hostapd-mini,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(eval $(call PKG_template,HOSTAPD_UTILS,hostapd-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) - -$(eval $(call PKG_build,HOSTAPD,hostapd,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(eval $(call PKG_build,HOSTAPD_MINI,hostapd-mini,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) - -$(PKG_BUILD_DIR)/.configured: - $(CP) ./files/hostapd.config $(PKG_BUILD_DIR)/.config - touch $@ - -$(PKG_BUILD_DIR)/.built: $(BUILD_TARGETS) - $(MAKE) -C $(PKG_BUILD_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - OPTFLAGS="$(TARGET_CFLAGS)" \ - CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include/madwifi" \ - LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ - hostapd_cli - touch $@ - -$(IPKG_HOSTAPD_UTILS): $(PKG_BUILD_DIR)/.built - install -m0755 -d $(IDIR_HOSTAPD_UTILS)/usr/sbin - install -m0755 $(PKG_BUILD_DIR)/hostapd_cli $(IDIR_HOSTAPD_UTILS)/usr/sbin/ - $(RSTRIP) $(IDIR_HOSTAPD_UTILS) - $(IPKG_BUILD) $(IDIR_HOSTAPD_UTILS) $(PACKAGE_DIR) - -mostlyclean: - -$(MAKE) -C $(PKG_BUILD_DIR) clean - rm -f $(PKG_BUILD_DIR)/.built - -- cgit v1.2.3 From 27828bb0a4d584e1869ce8aadbe62131479f7f97 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 11 Jun 2006 00:41:16 +0000 Subject: add hostapd git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3932 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 110 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 package/hostapd/Makefile (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile new file mode 100644 index 000000000..9c2ecea43 --- /dev/null +++ b/package/hostapd/Makefile @@ -0,0 +1,110 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=hostapd +PKG_VERSION:=0.5.3 +PKG_RELEASE:=1 +PKG_MD5SUM:=4e3134e8b0d86e831230f8c620fd81bb +PKG_BUILDDEP:=madwifi + +PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(TOPDIR)/package/rules.mk + + +define Build/ConfigureTarget + $(CP) $(PKG_BUILD_DIR) $(PKG_BUILD_DIR)_$(1) + $(CP) ./files/$(1).config $(PKG_BUILD_DIR)_$(1)/.config +endef + +define Build/CompileTarget + $(MAKE) -C $(PKG_BUILD_DIR)_$(1) \ + $(TARGET_CONFIGURE_OPTS) \ + OPTFLAGS="$(TARGET_CFLAGS)" \ + CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include/madwifi" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \ + hostapd hostapd_cli + $(CP) $(PKG_BUILD_DIR)_$(1)/hostapd_cli $(PKG_BUILD_DIR)/ +endef + +define Package/InstallTemplate + if [ \! -f "$(PKG_BUILD_DIR)_$(2)/hostapd" ]; then \ + rm -f $(PKG_BUILD_DIR)/.built; \ + $(MAKE) $(PKG_BUILD_DIR)/.built; \ + fi + install -m0755 -d $$(1)/etc + install -m0600 $(PKG_BUILD_DIR)_$(2)/madwifi.conf $$(1)/etc/hostapd.conf + install -m0755 -d $$(1)/usr/sbin + install -m0755 $(PKG_BUILD_DIR)_$(2)/hostapd $$(1)/usr/sbin/ +endef + +define Package/Template + ifneq ($(CONFIG_PACKAGE_$(1)),) + define Build/Configure/$(2) + $(call Build/ConfigureTarget,$(2)) + endef + define Build/Compile/$(2) + $(call Build/CompileTarget,$(2)) + endef + endif + + define Package/$(1)/install + $(call Package/InstallTemplate,$(1),$(2)) + endef +endef + +define Build/Configure + $(call Build/Configure/default) + $(call Build/Configure/mini) +endef + +define Build/Compile + $(call Build/Compile/default) + $(call Build/Compile/mini) +endef + +define Build/Clean + rm -rf $(PKG_BUILD_DIR)_default + 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) +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)) + -- cgit v1.2.3 From 68f4a7a320968009c0c97ab7d685b09064af7e05 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 15 Jun 2006 16:42:48 +0000 Subject: fix hostapd-mini dependencies git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3950 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 9c2ecea43..1af252320 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -6,7 +6,7 @@ PKG_NAME:=hostapd PKG_VERSION:=0.5.3 PKG_RELEASE:=1 PKG_MD5SUM:=4e3134e8b0d86e831230f8c620fd81bb -PKG_BUILDDEP:=madwifi +PKG_BUILDDEP:=madwifi openssl PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -85,6 +85,7 @@ 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 -- cgit v1.2.3 From 840c30e693f906b4aa54578f948ec10c32b36536 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 15 Jun 2006 18:26:49 +0000 Subject: remove global hostapd builddep on openssl git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3953 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 1af252320..f4a614521 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -6,7 +6,7 @@ PKG_NAME:=hostapd PKG_VERSION:=0.5.3 PKG_RELEASE:=1 PKG_MD5SUM:=4e3134e8b0d86e831230f8c620fd81bb -PKG_BUILDDEP:=madwifi openssl +PKG_BUILDDEP:=madwifi PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -- cgit v1.2.3 From b7bf0034f4641971bf8d550a875ffbe3f5d7bb1e Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 18 Jun 2006 18:10:41 +0000 Subject: 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 --- package/hostapd/Makefile | 55 ++++++++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 25 deletions(-) (limited to 'package/hostapd/Makefile') 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)) - -- cgit v1.2.3 From 859e8f7f7d8bfbefd610d338d16498190cd51e15 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 21 Jun 2006 02:16:37 +0000 Subject: build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/ git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 4a1c3f926..867cda692 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -14,7 +14,7 @@ PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -include $(TOPDIR)/package/rules.mk +include $(TOPDIR)/include/package.mk define Package/hostapd SECTION:=net -- cgit v1.2.3 From 0b0afa4d818ec18187b09055fbb8d84a01590d6e Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 21 Jun 2006 02:32:39 +0000 Subject: add INCLUDE_DIR variable for $(TOPDIR)/include git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 867cda692..7fc77f81a 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -14,7 +14,7 @@ PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -include $(TOPDIR)/include/package.mk +include $(INCLUDE_DIR)/package.mk define Package/hostapd SECTION:=net -- cgit v1.2.3 From 02cdebbb91a33d8e24da1c94a9d93ac39be168a7 Mon Sep 17 00:00:00 2001 From: mbm Date: Tue, 27 Jun 2006 00:35:46 +0000 Subject: credit where credit is due git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 7fc77f81a..352d59766 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -1,3 +1,9 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# # $Id$ include $(TOPDIR)/rules.mk -- cgit v1.2.3 From ae98e0cfbcade9b099afc6f7bcbbaa1ed9d5448c Mon Sep 17 00:00:00 2001 From: mbm Date: Fri, 18 Aug 2006 21:21:06 +0000 Subject: Fix/clean several hundred package makefiles git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4603 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 352d59766..a1161e11f 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -87,11 +87,10 @@ define Package/Template define Build/Compile/$(2) $(call Build/CompileTarget,$(2)) endef - endif - - define Package/$(1)/install + define Package/$(1)/install $(call Package/InstallTemplate,$(1),$(2)) - endef + endef + endif endef define Build/Configure -- cgit v1.2.3 From 8afb23270d23db6a033ba8fb77e1cf1a1d925a7c Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 24 Sep 2006 20:49:31 +0000 Subject: new (last?) attempt at standardizing Makefiles git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/hostapd/Makefile | 45 ++++++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 17 deletions(-) (limited to 'package/hostapd/Makefile') diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index a1161e11f..ba16193da 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -11,24 +11,32 @@ include $(TOPDIR)/rules.mk PKG_NAME:=hostapd PKG_VERSION:=0.5.3 PKG_RELEASE:=1 -PKG_MD5SUM:=4e3134e8b0d86e831230f8c620fd81bb -PKG_BUILDDEP:=madwifi -PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://hostap.epitest.fi/releases/ +PKG_MD5SUM:=4e3134e8b0d86e831230f8c620fd81bb PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_BUILDDEP:=madwifi + include $(INCLUDE_DIR)/package.mk +define Package/hostapd/Default + SECTION:=net + CATEGORY:=Network + TITLE:=IEEE 802.1x Authenticator + URL:=http://hostap.epitest.fi/ +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/ + $(call Package/hostapd/Default) + DEPENDS:=+libopenssl + TITLE+= (full) + DESCRIPTION:=\ + This package contains a full featured IEEE 802.1x/WPA/EAP/RADIUS \\\ + Authenticator. endef define Package/hostapd/conffiles @@ -36,10 +44,11 @@ define Package/hostapd/conffiles 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) + $(call Package/hostapd/Default) + TITLE+= (WPA-PSK only) + DESCRIPTION:=\ + This package contains a minimal IEEE 802.1x/WPA/EAP/RADIUS Authenticator \\\ + (WPA-PSK only). endef define Package/hostapd-mini/conffiles @@ -47,10 +56,12 @@ define Package/hostapd-mini/conffiles 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) + $(call Package/hostapd/Default) + DEPENDS:=@PACKAGE_hostapd||PACKAGE_hostapd-mini + TITLE+= (utils) + DESCRIPTION:=\ + This package contains a command line utility to control the \\\ + IEEE 802.1x/WPA/EAP/RADIUS Authenticator. endef define Build/ConfigureTarget -- cgit v1.2.3