include $(TOPDIR)/rules.mk
PKG_NAME:=ocserv
-PKG_VERSION:=1.0.1
+PKG_VERSION:=1.1.1
PKG_RELEASE:=1
PKG_USE_MIPS16:=0
PKG_BUILD_DIR :=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/ocserv/
-PKG_HASH:=59d9ef7a1aeb95ff6e762e2a0f231b3fae2ea420f68a1cf09d39a26395040f4b
+PKG_HASH:=9c7aaf46e53e28cfa7be329b18f3951e7e851153ff6a27e946496fd4e8e5765a
PKG_LICENSE:=GPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
EXTRA_CPPFLAGS+=-I$(STAGING_DIR)/usr/include/readline/
EXTRA_LDFLAGS+=-lncurses
+CONFIGURE_VARS += \
+ ac_cv_file__proc_self_exe=yes
+
CONFIGURE_ARGS+= \
--with-pager="" \
--with-libreadline-prefix="$(STAGING_DIR)/" \
# to generate password entries.
auth = "|AUTH|"
-# A banner to be displayed on clients
+# A banner to be displayed on clients after connection
banner = "Welcome to OpenWRT"
+# A banner to be displayed on clients before connection
+#pre-login-banner = "Welcome"
+
#isolate-workers = true
# When the server has a dynamic DNS address (that may change),
#max-clients = 1024
max-clients = |MAX_CLIENTS|
-# Limit the number of client connections to one every X milliseconds
-# (X is the provided value). Set to zero for no limit.
+# Rate limit the number of incoming connections to one every X milliseconds
+# (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
# Limit the number of identical clients (i.e., users connecting