ocserv: updated to 1.1.1

This commit is contained in:
Nikos Mavrogiannopoulos 2020-09-21 21:33:49 +02:00
parent 25fb4794fa
commit 7cadde8755
2 changed files with 13 additions and 5 deletions

View file

@ -8,14 +8,14 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ocserv PKG_NAME:=ocserv
PKG_VERSION:=1.0.1 PKG_VERSION:=1.1.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_HASH:=59d9ef7a1aeb95ff6e762e2a0f231b3fae2ea420f68a1cf09d39a26395040f4b PKG_HASH:=9c7aaf46e53e28cfa7be329b18f3951e7e851153ff6a27e946496fd4e8e5765a
PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING
@ -55,6 +55,9 @@ endef
EXTRA_CPPFLAGS+=-I$(STAGING_DIR)/usr/include/readline/ EXTRA_CPPFLAGS+=-I$(STAGING_DIR)/usr/include/readline/
EXTRA_LDFLAGS+=-lncurses EXTRA_LDFLAGS+=-lncurses
CONFIGURE_VARS += \
ac_cv_file__proc_self_exe=yes
CONFIGURE_ARGS+= \ CONFIGURE_ARGS+= \
--with-pager="" \ --with-pager="" \
--with-libreadline-prefix="$(STAGING_DIR)/" \ --with-libreadline-prefix="$(STAGING_DIR)/" \

View file

@ -22,9 +22,12 @@
# to generate password entries. # to generate password entries.
auth = "|AUTH|" auth = "|AUTH|"
# A banner to be displayed on clients # A banner to be displayed on clients after connection
banner = "Welcome to OpenWRT" banner = "Welcome to OpenWRT"
# A banner to be displayed on clients before connection
#pre-login-banner = "Welcome"
#isolate-workers = true #isolate-workers = true
# When the server has a dynamic DNS address (that may change), # When the server has a dynamic DNS address (that may change),
@ -40,8 +43,10 @@ listen-host-is-dyndns = |DYNDNS|
#max-clients = 1024 #max-clients = 1024
max-clients = |MAX_CLIENTS| max-clients = |MAX_CLIENTS|
# Limit the number of client connections to one every X milliseconds # Rate limit the number of incoming connections to one every X milliseconds
# (X is the provided value). Set to zero for no limit. # (X is the provided value), as the secmod backlog grows. This
# makes the server more resilient (and prevents connection failures) on
# multiple concurrent connections. Set to zero for no limit.
rate-limit-ms = 100 rate-limit-ms = 100
# Limit the number of identical clients (i.e., users connecting # Limit the number of identical clients (i.e., users connecting