|
@@ -38,7 +38,7 @@ define Package/ocserv
|
38
|
38
|
TITLE:=OpenConnect VPN server
|
39
|
39
|
URL:=http://www.infradead.org/ocserv/
|
40
|
40
|
MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
|
41
|
|
- DEPENDS:= +OCSERV_HTTP_PARSER:libhttp-parser +OCSERV_SECCOMP:libseccomp +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c +kmod-tun
|
|
41
|
+ 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
|
42
|
42
|
USERID:=ocserv=72:ocserv=72
|
43
|
43
|
endef
|
44
|
44
|
|
|
@@ -65,6 +65,10 @@ ifneq ($(CONFIG_OCSERV_PAM),y)
|
65
|
65
|
CONFIGURE_ARGS += --without-pam
|
66
|
66
|
endif
|
67
|
67
|
|
|
68
|
+ifneq ($(CONFIG_OCSERV_RADIUS),y)
|
|
69
|
+CONFIGURE_ARGS += --without-radius
|
|
70
|
+endif
|
|
71
|
+
|
68
|
72
|
ifneq ($(CONFIG_OCSERV_SECCOMP),y)
|
69
|
73
|
CONFIGURE_ARGS += --disable-seccomp
|
70
|
74
|
endif
|