[coova-chilli]: add some compile time options (more to come)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@38363 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
60930ec2c3
commit
791db2a828
26
net/coova-chilli/Config.in
Normal file
26
net/coova-chilli/Config.in
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# CoovaChilli avanced configuration
|
||||||
|
|
||||||
|
menu "Configuration"
|
||||||
|
depends on PACKAGE_coova-chilli
|
||||||
|
|
||||||
|
config COOVACHILLI_REDIR
|
||||||
|
bool "Enable support for redir server. Required for uamregex"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config COOVACHILLI_MINIPORTAL
|
||||||
|
bool "Enable support Coova miniportal"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config COOVACHILLI_USERAGENT
|
||||||
|
bool "Enable recording user-agent"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config COOVACHILLI_DNSLOG
|
||||||
|
bool "Enable support to log DNS name queries"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config COOVACHILLI_UAMDOMAINFILE
|
||||||
|
bool "Enable loading of mass uamdomains from file"
|
||||||
|
default n
|
||||||
|
|
||||||
|
endmenu
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=coova-chilli
|
PKG_NAME:=coova-chilli
|
||||||
PKG_VERSION:=1.3.0
|
PKG_VERSION:=1.3.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://ap.coova.org/chilli
|
PKG_SOURCE_URL:=http://ap.coova.org/chilli
|
||||||
@ -17,6 +17,13 @@ PKG_MD5SUM:=dc0037e3cdebcb60508081b4e42e984a
|
|||||||
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
PKG_CONFIG_DEPENDS := \
|
||||||
|
COOVACHILLI_MINIPORTAL \
|
||||||
|
COOVACHILLI_REDIR \
|
||||||
|
COOVACHILLI_USERAGENT \
|
||||||
|
COOVACHILLI_DNSLOG \
|
||||||
|
COOVACHILLI_UAMDOMAINFILE
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/coova-chilli
|
define Package/coova-chilli
|
||||||
@ -26,6 +33,8 @@ define Package/coova-chilli
|
|||||||
DEPENDS:=+kmod-tun +librt
|
DEPENDS:=+kmod-tun +librt
|
||||||
TITLE:=Wireless LAN HotSpot controller (Coova Chilli Version)
|
TITLE:=Wireless LAN HotSpot controller (Coova Chilli Version)
|
||||||
URL:=http://www.coova.org/CoovaChilli
|
URL:=http://www.coova.org/CoovaChilli
|
||||||
|
MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
|
||||||
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/coova-chilli/description
|
define Package/coova-chilli/description
|
||||||
@ -38,6 +47,20 @@ define Package/coova-chilli/description
|
|||||||
favorite radius server.
|
favorite radius server.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
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 \
|
||||||
|
$(if $(CONFIG_COOVACHILLI_UAMDOMAINFILE),--enable,--disable)-uamdomainfile \
|
||||||
|
)
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/coova-chilli/conffiles
|
define Package/coova-chilli/conffiles
|
||||||
/etc/chilli.conf
|
/etc/chilli.conf
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user