Browse Source

ocserv: updated to 0.8.8 and added dependency on libhttp-parser

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Nikos Mavrogiannopoulos 10 years ago
parent
commit
9808e5c51f
2 changed files with 11 additions and 3 deletions
  1. 4
    0
      net/ocserv/Config.in
  2. 7
    3
      net/ocserv/Makefile

+ 4
- 0
net/ocserv/Config.in View File

@@ -11,4 +11,8 @@ config OCSERV_PROTOBUF
11 11
 	bool "use external libprotobuf"
12 12
 	default y
13 13
 
14
+config OCSERV_HTTP_PARSER
15
+	bool "use external libhttp-parser"
16
+	default y
17
+
14 18
 endmenu

+ 7
- 3
net/ocserv/Makefile View File

@@ -8,13 +8,13 @@
8 8
 include $(TOPDIR)/rules.mk
9 9
 
10 10
 PKG_NAME:=ocserv
11
-PKG_VERSION:=0.8.7
11
+PKG_VERSION:=0.8.8
12 12
 PKG_RELEASE:=1
13 13
 
14 14
 PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15 15
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
16 16
 PKG_SOURCE_URL :=ftp://ftp.infradead.org/pub/ocserv/
17
-PKG_MD5SUM:=79c00132c3366bb60546f256068211eb
17
+PKG_MD5SUM:=d9b12a3fa976dfda3e4c0238173744e6
18 18
 
19 19
 PKG_LICENSE:=GPLv2
20 20
 PKG_LICENSE_FILES:=COPYING
@@ -37,7 +37,7 @@ define Package/ocserv
37 37
   TITLE:=OpenConnect VPN server
38 38
   URL:=http://www.infradead.org/ocserv/
39 39
   MAINTAINER:=Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
40
-  DEPENDS:= +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c
40
+  DEPENDS:= +OCSERV_HTTP_PARSER:libhttp-parser +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c
41 41
   USERID:=ocserv=72:ocserv=72
42 42
 endef
43 43
 
@@ -66,6 +66,10 @@ ifneq ($(CONFIG_OCSERV_PROTOBUF),y)
66 66
 CONFIGURE_ARGS += --without-protobuf
67 67
 endif
68 68
 
69
+ifneq ($(CONFIG_OCSERV_HTTP_PARSER),y)
70
+CONFIGURE_ARGS += --without-http-parser
71
+endif
72
+
69 73
 define Package/ocserv/conffiles
70 74
 /etc/config/ocserv
71 75
 endef