Browse Source

ocserv: updated to 1.1.1

lilik-openwrt-22.03
Nikos Mavrogiannopoulos 4 years ago
parent
commit
7cadde8755
2 changed files with 13 additions and 5 deletions
  1. +5
    -2
      net/ocserv/Makefile
  2. +8
    -3
      net/ocserv/files/ocserv.conf.template

+ 5
- 2
net/ocserv/Makefile View File

@ -8,14 +8,14 @@
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
@ -55,6 +55,9 @@ endef
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)/" \


+ 8
- 3
net/ocserv/files/ocserv.conf.template View File

@ -22,9 +22,12 @@
# 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),
@ -40,8 +43,10 @@ listen-host-is-dyndns = |DYNDNS|
#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


Loading…
Cancel
Save