2009-07-17 11:28:05 +00:00
|
|
|
#
|
2014-03-17 12:55:31 +00:00
|
|
|
# Copyright (C) 2007-2014 OpenWrt.org
|
2007-12-17 11:26:42 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=coova-chilli
|
2013-10-07 12:54:19 +00:00
|
|
|
PKG_VERSION:=1.3.0
|
2014-03-17 12:55:31 +00:00
|
|
|
PKG_RELEASE:=4
|
2007-12-17 11:26:42 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2010-02-22 20:11:16 +00:00
|
|
|
PKG_SOURCE_URL:=http://ap.coova.org/chilli
|
2013-10-07 12:54:19 +00:00
|
|
|
PKG_MD5SUM:=dc0037e3cdebcb60508081b4e42e984a
|
2007-12-17 11:26:42 +00:00
|
|
|
|
2010-02-22 20:11:16 +00:00
|
|
|
PKG_INSTALL:=1
|
2010-02-19 00:14:01 +00:00
|
|
|
|
2013-10-11 13:20:27 +00:00
|
|
|
PKG_CONFIG_DEPENDS := \
|
|
|
|
COOVACHILLI_MINIPORTAL \
|
|
|
|
COOVACHILLI_REDIR \
|
|
|
|
COOVACHILLI_USERAGENT \
|
|
|
|
COOVACHILLI_DNSLOG \
|
2013-11-26 13:10:57 +00:00
|
|
|
COOVACHILLI_UAMDOMAINFILE \
|
2014-03-17 12:55:31 +00:00
|
|
|
COOVACHILLI_LARGELIMITS \
|
2013-11-26 13:10:57 +00:00
|
|
|
COOVACHILLI_NOSSL \
|
|
|
|
COOVACHILLI_MATRIXSSL \
|
|
|
|
COOVACHILLI_CYASSL \
|
|
|
|
COOVACHILLI_OPENSSL
|
2013-10-11 13:20:27 +00:00
|
|
|
|
2007-12-17 11:26:42 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2008-05-02 07:06:27 +00:00
|
|
|
define Package/coova-chilli
|
2007-12-17 11:26:42 +00:00
|
|
|
SUBMENU:=Captive Portals
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2013-11-26 13:10:57 +00:00
|
|
|
DEPENDS:=+kmod-tun +librt +COOVACHILLI_MATRIXSSL:libmatrixssl +COOVACHILLI_CYASSL:libcyassl +COOVACHILLI_OPENSSL:libopenssl
|
2007-12-17 11:26:42 +00:00
|
|
|
TITLE:=Wireless LAN HotSpot controller (Coova Chilli Version)
|
2009-07-17 11:28:05 +00:00
|
|
|
URL:=http://www.coova.org/CoovaChilli
|
2013-10-11 13:20:27 +00:00
|
|
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
|
|
|
MENU:=1
|
2007-12-17 11:26:42 +00:00
|
|
|
endef
|
|
|
|
|
2008-05-02 07:06:27 +00:00
|
|
|
define Package/coova-chilli/description
|
2007-12-17 11:26:42 +00:00
|
|
|
CoovaChilli is an open source access controller for wireless LAN
|
|
|
|
access points and is based on ChilliSpot. It is used for authenticating
|
|
|
|
users of a wireless (or wired) LAN. It supports web based login (UAM)
|
2009-07-17 11:28:05 +00:00
|
|
|
which is today's standard for public HotSpots and it supports Wireless
|
|
|
|
Protected Access (WPA) which is the standard of the future.
|
|
|
|
Authentication, authorization and accounting (AAA) is handled by your
|
|
|
|
favorite radius server.
|
2007-12-17 11:26:42 +00:00
|
|
|
endef
|
|
|
|
|
2013-10-11 13:20:27 +00:00
|
|
|
define Package/coova-chilli/config
|
|
|
|
source "$(SOURCE)/Config.in"
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
$(if $(CONFIG_COOVACHILLI_REDIR),--enable,--disable)-chilliredir \
|
|
|
|
$(if $(CONFIG_COOVACHILLI_DNSLOG),--enable,--disable)-dnslog \
|
|
|
|
$(if $(CONFIG_COOVACHILLI_MINIPORTAL),--enable,--disable)-miniportal \
|
|
|
|
$(if $(CONFIG_COOVACHILLI_USERAGENT),--enable,--disable)-useragent \
|
2014-03-17 12:55:31 +00:00
|
|
|
$(if $(CONFIG_COOVACHILLI_LARGELIMITS),--enable,--disable)-largelimits \
|
2013-10-11 13:20:27 +00:00
|
|
|
$(if $(CONFIG_COOVACHILLI_UAMDOMAINFILE),--enable,--disable)-uamdomainfile \
|
2013-11-26 13:10:57 +00:00
|
|
|
$(if $(CONFIG_COOVACHILLI_MATRIXSSL),--with,--without)-matrixssl \
|
|
|
|
$(if $(CONFIG_COOVACHILLI_CYASSL),--with,--without)-cyaxssl \
|
|
|
|
$(if $(CONFIG_COOVACHILLI_OPENSSL),--with,--without)-openssl \
|
2013-10-11 13:20:27 +00:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
2008-05-02 07:06:27 +00:00
|
|
|
define Package/coova-chilli/conffiles
|
2007-12-17 11:26:42 +00:00
|
|
|
/etc/chilli.conf
|
|
|
|
endef
|
|
|
|
|
2008-05-02 07:06:27 +00:00
|
|
|
define Package/coova-chilli/install
|
2007-12-17 11:26:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc
|
|
|
|
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/chilli.conf $(1)/etc/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/chilli
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/etc/chilli/* $(1)/etc/chilli/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2010-02-22 20:11:16 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/chilli* $(1)/usr/sbin/
|
2007-12-17 11:26:42 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so.* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
2008-05-02 07:06:27 +00:00
|
|
|
$(eval $(call BuildPackage,coova-chilli))
|