diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/chillispot | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (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/chillispot')
-rw-r--r-- | package/chillispot/Makefile | 11 | ||||
-rw-r--r-- | package/chillispot/files/chillispot.conffiles (renamed from package/chillispot/ipkg/chillispot.conffiles) | 0 | ||||
-rw-r--r-- | package/chillispot/files/chillispot.init | 3 | ||||
-rw-r--r-- | package/chillispot/files/chillispot.postinst (renamed from package/chillispot/ipkg/chillispot.postinst) | 0 | ||||
-rw-r--r-- | package/chillispot/ipkg/chillispot.control | 5 |
5 files changed, 8 insertions, 11 deletions
diff --git a/package/chillispot/Makefile b/package/chillispot/Makefile index 367249294..65db0067a 100644 --- a/package/chillispot/Makefile +++ b/package/chillispot/Makefile @@ -9,23 +9,24 @@ PKG_NAME:= chillispot PKG_VERSION:= 1.1.0 PKG_RELEASE:= 1 PKG_MD5SUM:= 9d2597756af3fa14d7331b4a3651fc9b -MASTER_SITES= http://www.chillispot.info/download/ +PKG_DESCR:= Wireless LAN Access Point Controller +PKG_SECTION:= net +PKG_DEPENDS:= kmod-tun +PKG_URL:= http://www.chillispot.info +PKG_SITES= http://www.chillispot.info/download/ include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,CHILLISPOT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,CHILLISPOT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE= gnu BUILD_STYLE= auto INSTALL_STYLE= auto post-install: - ${INSTALL_DIR} ${IDIR_CHILLISPOT}/etc/init.d ${INSTALL_DIR} ${IDIR_CHILLISPOT}/usr/sbin ${INSTALL_BIN} ./files/chilli.conf \ ${IDIR_CHILLISPOT}/etc/ - ${INSTALL_BIN} ./files/${PKG_NAME}.init \ - ${IDIR_CHILLISPOT}/etc/init.d/chilli ${INSTALL_BIN} ${WRKINST}/usr/sbin/chilli ${IDIR_CHILLISPOT}/usr/sbin/ include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/chillispot/ipkg/chillispot.conffiles b/package/chillispot/files/chillispot.conffiles index 08485167d..08485167d 100644 --- a/package/chillispot/ipkg/chillispot.conffiles +++ b/package/chillispot/files/chillispot.conffiles diff --git a/package/chillispot/files/chillispot.init b/package/chillispot/files/chillispot.init index c2a6cd489..308668fca 100644 --- a/package/chillispot/files/chillispot.init +++ b/package/chillispot/files/chillispot.init @@ -1,5 +1,6 @@ #!/bin/sh -#FWINIT 70 +#PKG chillispot +#INIT 70 . /etc/rc.conf case $1 in diff --git a/package/chillispot/ipkg/chillispot.postinst b/package/chillispot/files/chillispot.postinst index 20ad12d8c..20ad12d8c 100644 --- a/package/chillispot/ipkg/chillispot.postinst +++ b/package/chillispot/files/chillispot.postinst diff --git a/package/chillispot/ipkg/chillispot.control b/package/chillispot/ipkg/chillispot.control deleted file mode 100644 index 0bb2badb8..000000000 --- a/package/chillispot/ipkg/chillispot.control +++ /dev/null @@ -1,5 +0,0 @@ -Package: chillispot -Priority: optional -Section: net -Depends: kmod-tun -Description: ChilliSpot is a Wireless LAN Access Point Controller. |