|
@ -8,14 +8,14 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=ocserv |
|
|
PKG_NAME:=ocserv |
|
|
PKG_VERSION:=0.10.12 |
|
|
|
|
|
|
|
|
PKG_VERSION:=0.11.1 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_USE_MIPS16:=0 |
|
|
PKG_USE_MIPS16:=0 |
|
|
|
|
|
|
|
|
PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
|
|
PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/ocserv/ |
|
|
PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/ocserv/ |
|
|
PKG_MD5SUM:=a0080697a6e7b07d3868d224a81b60f3 |
|
|
|
|
|
|
|
|
PKG_MD5SUM:=a581b8669f5d16639773ef81f25a1317 |
|
|
|
|
|
|
|
|
PKG_LICENSE:=GPLv2 |
|
|
PKG_LICENSE:=GPLv2 |
|
|
PKG_LICENSE_FILES:=COPYING |
|
|
PKG_LICENSE_FILES:=COPYING |
|
@ -39,7 +39,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_RADIUS:libradcli +OCSERV_HTTP_PARSER:libhttp-parser +OCSERV_SECCOMP:libseccomp +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c +kmod-tun |
|
|
|
|
|
|
|
|
DEPENDS:= +OCSERV_RADIUS:libradcli +OCSERV_HTTP_PARSER:libhttp-parser +OCSERV_SECCOMP:libseccomp +libgnutls +certtool +libncurses +libreadline +OCSERV_PAM:libpam +OCSERV_PROTOBUF:libprotobuf-c +libev +kmod-tun |
|
|
USERID:=ocserv=72:ocserv=72 |
|
|
USERID:=ocserv=72:ocserv=72 |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
@ -92,8 +92,8 @@ define Package/ocserv/install |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ocserv $(1)/usr/sbin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ocserv $(1)/usr/sbin/ |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ocserv-fw $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ocserv-fw $(1)/usr/bin/ |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ocpasswd $(1)/usr/bin/ |
|
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/occtl $(1)/usr/bin/ |
|
|
|
|
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ocpasswd/ocpasswd $(1)/usr/bin/ |
|
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/occtl/occtl $(1)/usr/bin/ |
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
$(INSTALL_DIR) $(1)/etc/init.d |
|
|
$(INSTALL_BIN) ./files/ocserv.init $(1)/etc/init.d/ocserv |
|
|
$(INSTALL_BIN) ./files/ocserv.init $(1)/etc/init.d/ocserv |
|
|
$(INSTALL_DIR) $(1)/etc/ocserv |
|
|
$(INSTALL_DIR) $(1)/etc/ocserv |
|
|