diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-05-28 20:02:05 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-05-28 20:02:05 +0200 |
commit | f9f4ba7d1e161ff4717f59d0c5bcc2b73179579e (patch) | |
tree | c9cf8dbc12ad1962d16e1cd7cb309a0de0196e96 /net/ocserv | |
parent | f97dd0045839c9fff2486184e06aeb7b792beb52 (diff) |
ocserv: use freeradius-client library if radius support is requested
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'net/ocserv')
-rw-r--r-- | net/ocserv/Config.in | 4 | ||||
-rw-r--r-- | net/ocserv/Makefile | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/net/ocserv/Config.in b/net/ocserv/Config.in index 88c5f5091..b6460cd8e 100644 --- a/net/ocserv/Config.in +++ b/net/ocserv/Config.in @@ -11,6 +11,10 @@ config OCSERV_SECCOMP bool "enable seccomp" default n +config OCSERV_RADIUS + bool "enable radius authentication" + default n + config OCSERV_PROTOBUF bool "use external libprotobuf" default y diff --git a/net/ocserv/Makefile b/net/ocserv/Makefile index 78e5a132c..c88e78c5f 100644 --- a/net/ocserv/Makefile +++ b/net/ocserv/Makefile @@ -38,7 +38,7 @@ define Package/ocserv TITLE:=OpenConnect VPN server URL:=http://www.infradead.org/ocserv/ 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 endef @@ -65,6 +65,10 @@ ifneq ($(CONFIG_OCSERV_PAM),y) CONFIGURE_ARGS += --without-pam endif +ifneq ($(CONFIG_OCSERV_RADIUS),y) +CONFIGURE_ARGS += --without-radius +endif + ifneq ($(CONFIG_OCSERV_SECCOMP),y) CONFIGURE_ARGS += --disable-seccomp endif |