ocserv: use freeradius-client library if radius support is requested
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
parent
f97dd00458
commit
f9f4ba7d1e
2 changed files with 9 additions and 1 deletions
|
@ -11,6 +11,10 @@ config OCSERV_SECCOMP
|
||||||
bool "enable seccomp"
|
bool "enable seccomp"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config OCSERV_RADIUS
|
||||||
|
bool "enable radius authentication"
|
||||||
|
default n
|
||||||
|
|
||||||
config OCSERV_PROTOBUF
|
config OCSERV_PROTOBUF
|
||||||
bool "use external libprotobuf"
|
bool "use external libprotobuf"
|
||||||
default y
|
default y
|
||||||
|
|
|
@ -38,7 +38,7 @@ define Package/ocserv
|
||||||
TITLE:=OpenConnect VPN server
|
TITLE:=OpenConnect VPN server
|
||||||
URL:=http://www.infradead.org/ocserv/
|
URL:=http://www.infradead.org/ocserv/
|
||||||
MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
|
MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
|
||||||
DEPENDS:= +OCSERV_HTTP_PARSER:libhttp-parser +OCSERV_SECCOMP:libseccomp +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c +kmod-tun
|
DEPENDS:= +OCSERV_RADIUS:freeradius-client +OCSERV_HTTP_PARSER:libhttp-parser +OCSERV_SECCOMP:libseccomp +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c +kmod-tun
|
||||||
USERID:=ocserv=72:ocserv=72
|
USERID:=ocserv=72:ocserv=72
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -65,6 +65,10 @@ ifneq ($(CONFIG_OCSERV_PAM),y)
|
||||||
CONFIGURE_ARGS += --without-pam
|
CONFIGURE_ARGS += --without-pam
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_OCSERV_RADIUS),y)
|
||||||
|
CONFIGURE_ARGS += --without-radius
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_OCSERV_SECCOMP),y)
|
ifneq ($(CONFIG_OCSERV_SECCOMP),y)
|
||||||
CONFIGURE_ARGS += --disable-seccomp
|
CONFIGURE_ARGS += --disable-seccomp
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue