summaryrefslogtreecommitdiff
path: root/package/hostapd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/hostapd
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/Makefile11
-rw-r--r--package/hostapd/files/hostapd.conffiles (renamed from package/hostapd/ipkg/hostapd.conffiles)0
-rw-r--r--package/hostapd/ipkg/hostapd-utils.control5
-rw-r--r--package/hostapd/ipkg/hostapd.control6
4 files changed, 7 insertions, 15 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index f33a61f4d..faf9fbdaa 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -9,17 +9,20 @@ PKG_NAME:= hostapd
PKG_VERSION:= 0.6.9
PKG_RELEASE:= 1
PKG_MD5SUM:= 83630d11fa66ade9091f1b304fccd74c
-MASTER_SITES:= http://hostap.epitest.fi/releases/
+PKG_DESCR:= an IEEE 802.11 AP, IEEE 802.1x/WPA/WPA2/EAP/RADIUS Authenticator
+PKG_SECTION:= net
+PKG_DEPENDS:= libopenssl
+PKG_URL:= http://hostap.epitest.fi
+PKG_SITES:= http://hostap.epitest.fi/releases/
WRKSRC= ${WRKDIST}/${PKG_NAME}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,HOSTAPD,hostapd,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,HOSTAPD_UTILS,hostapd-utils,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,HOSTAPD,hostapd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,HOSTAPD_UTILS,hostapd-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
BUILD_STYLE= auto
-#MAKE_FLAGS+= OPTFLAGS="${TARGET_CFLAGS}"
do-configure:
${CP} ./files/hostapd.config ${WRKBUILD}/.config
diff --git a/package/hostapd/ipkg/hostapd.conffiles b/package/hostapd/files/hostapd.conffiles
index f61980010..f61980010 100644
--- a/package/hostapd/ipkg/hostapd.conffiles
+++ b/package/hostapd/files/hostapd.conffiles
diff --git a/package/hostapd/ipkg/hostapd-utils.control b/package/hostapd/ipkg/hostapd-utils.control
deleted file mode 100644
index 5f8d82d9c..000000000
--- a/package/hostapd/ipkg/hostapd-utils.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: hostapd-utils
-Priority: optional
-Section: net
-Depends: hostapd
-Description: an IEEE 802.11 AP, IEEE 802.1x/WPA/WPA2/EAP/RADIUS Authenticator (CLI utility)
diff --git a/package/hostapd/ipkg/hostapd.control b/package/hostapd/ipkg/hostapd.control
deleted file mode 100644
index cb2dac672..000000000
--- a/package/hostapd/ipkg/hostapd.control
+++ /dev/null
@@ -1,6 +0,0 @@
-Package: hostapd
-Priority: optional
-Section: net
-Depends: kmod-madwifi, libopenssl
-Provides: hostpad
-Description: an IEEE 802.11 AP, IEEE 802.1x/WPA/WPA2/EAP/RADIUS Authenticator