Browse Source

coova-chilli: Add json interface build option

Signed-off-by: Dylan Bourdon <dbourdon@student.42.fr>
lilik-openwrt-22.03
Dylan Bourdon 5 years ago
parent
commit
740cf4fb18
No known key found for this signature in database GPG Key ID: 5DC388DE5D069771
2 changed files with 9 additions and 1 deletions
  1. +4
    -0
      net/coova-chilli/Config.in
  2. +5
    -1
      net/coova-chilli/Makefile

+ 4
- 0
net/coova-chilli/Config.in View File

@ -26,6 +26,10 @@ config COOVACHILLI_LARGELIMITS
bool "Enable larger limits for use with non-embedded systems" bool "Enable larger limits for use with non-embedded systems"
default n default n
config COOVACHILLI_JSONINTERFACE
bool "Enable the JSON interface for the CoovaChilli Controller"
default n
choice choice
prompt "SSL library" prompt "SSL library"
default COOVACHILLI_NOSSL default COOVACHILLI_NOSSL


+ 5
- 1
net/coova-chilli/Makefile View File

@ -24,6 +24,7 @@ PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=0 PKG_BUILD_PARALLEL:=0
PKG_CONFIG_DEPENDS:= \ PKG_CONFIG_DEPENDS:= \
COOVACHILLI_JSONINTERFACE \
COOVACHILLI_LARGELIMITS \ COOVACHILLI_LARGELIMITS \
COOVACHILLI_MINIPORTAL \ COOVACHILLI_MINIPORTAL \
COOVACHILLI_NOSSL \ COOVACHILLI_NOSSL \
@ -43,7 +44,8 @@ define Package/coova-chilli
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
DEPENDS:=+kmod-tun +librt +COOVACHILLI_MINIPORTAL:haserl \ DEPENDS:=+kmod-tun +librt +COOVACHILLI_MINIPORTAL:haserl \
+COOVACHILLI_WOLFSSL:libwolfssl +COOVACHILLI_OPENSSL:libopenssl
+COOVACHILLI_WOLFSSL:libwolfssl +COOVACHILLI_OPENSSL:libopenssl \
+COOVACHILLI_JSONINTERFACE:libjson-c
TITLE:=Wireless LAN HotSpot controller (Coova Chilli Version) TITLE:=Wireless LAN HotSpot controller (Coova Chilli Version)
URL:=https://coova.github.io/ URL:=https://coova.github.io/
MENU:=1 MENU:=1
@ -111,6 +113,8 @@ define Build/Configure
$(if $(CONFIG_COOVACHILLI_MINIPORTAL),--enable,--disable)-miniportal \ $(if $(CONFIG_COOVACHILLI_MINIPORTAL),--enable,--disable)-miniportal \
$(if $(CONFIG_COOVACHILLI_USERAGENT),--enable,--disable)-useragent \ $(if $(CONFIG_COOVACHILLI_USERAGENT),--enable,--disable)-useragent \
$(if $(CONFIG_COOVACHILLI_LARGELIMITS),--enable,--disable)-largelimits \ $(if $(CONFIG_COOVACHILLI_LARGELIMITS),--enable,--disable)-largelimits \
$(if $(CONFIG_COOVACHILLI_JSONINTERFACE),--enable,--disable)-libjson \
$(if $(CONFIG_COOVACHILLI_JSONINTERFACE),--enable,--disable)-json \
$(if $(CONFIG_COOVACHILLI_UAMDOMAINFILE),--enable,--disable)-uamdomainfile \ $(if $(CONFIG_COOVACHILLI_UAMDOMAINFILE),--enable,--disable)-uamdomainfile \
$(if $(CONFIG_IPV6),--with,--without)-ipv6 \ $(if $(CONFIG_IPV6),--with,--without)-ipv6 \
$(if $(CONFIG_COOVACHILLI_WOLFSSL),--with,--without)-cyassl \ $(if $(CONFIG_COOVACHILLI_WOLFSSL),--with,--without)-cyassl \


Loading…
Cancel
Save