ocserv 0.11.12 has been released. This is a bug fix update in the 0.11.x branch.
make test runs successfully, and lightly tested on amd64 with openconnect as client. OK? Index: Makefile =================================================================== RCS file: /cvs/ports/net/ocserv/Makefile,v retrieving revision 1.31 diff -u -p -r1.31 Makefile --- Makefile 30 Mar 2018 19:51:00 -0000 1.31 +++ Makefile 22 Apr 2018 10:43:55 -0000 @@ -2,8 +2,7 @@ COMMENT= server implementing the AnyConnect SSL VPN protocol -DISTNAME= ocserv-0.11.11 -REVISION= 0 +DISTNAME= ocserv-0.11.12 EXTRACT_SUFX= .tar.xz CATEGORIES= net Index: distinfo =================================================================== RCS file: /cvs/ports/net/ocserv/distinfo,v retrieving revision 1.21 diff -u -p -r1.21 distinfo --- distinfo 3 Mar 2018 22:11:38 -0000 1.21 +++ distinfo 22 Apr 2018 10:43:55 -0000 @@ -1,2 +1,2 @@ -SHA256 (ocserv-0.11.11.tar.xz) = TXtmPxDYQLbfwhbhPyh978KBlTlPqfgPrVeBhhBfq/g= -SIZE (ocserv-0.11.11.tar.xz) = 785972 +SHA256 (ocserv-0.11.12.tar.xz) = SRlQt7/jb8P1LBC9aAkC1l4Hda/BiaosI9j9smdKUk8= +SIZE (ocserv-0.11.12.tar.xz) = 785956 Index: patches/patch-src_ocpasswd_ocpasswd_c =================================================================== RCS file: /cvs/ports/net/ocserv/patches/patch-src_ocpasswd_ocpasswd_c,v retrieving revision 1.1 diff -u -p -r1.1 patch-src_ocpasswd_ocpasswd_c --- patches/patch-src_ocpasswd_ocpasswd_c 19 Mar 2016 20:03:46 -0000 1.1 +++ patches/patch-src_ocpasswd_ocpasswd_c 22 Apr 2018 10:43:55 -0000 @@ -3,8 +3,9 @@ $OpenBSD: patch-src_ocpasswd_ocpasswd_c, Generate blowfish crypts, using the simple crypt_newhash API. OpenBSD doesn't support SHA2 ($5$ hashes) and has removed support for MD5 ($1$). ---- src/ocpasswd/ocpasswd.c.orig Sat Mar 19 14:25:48 2016 -+++ src/ocpasswd/ocpasswd.c Sat Mar 19 14:25:48 2016 +Index: src/ocpasswd/ocpasswd.c +--- src/ocpasswd/ocpasswd.c.orig ++++ src/ocpasswd/ocpasswd.c @@ -26,6 +26,10 @@ #ifndef _XOPEN_SOURCE # define _XOPEN_SOURCE @@ -16,7 +17,7 @@ support SHA2 ($5$ hashes) and has remove #include <unistd.h> #include <gnutls/gnutls.h> #include <gnutls/crypto.h> /* for random */ -@@ -47,9 +51,8 @@ static void +@@ -52,9 +56,8 @@ static void crypt_int(const char *fpasswd, const char *username, const char *groupname, const char *passwd) { @@ -28,7 +29,7 @@ support SHA2 ($5$ hashes) and has remove char *tmp_passwd; unsigned i; unsigned fpasswd_len = strlen(fpasswd); -@@ -62,36 +65,8 @@ crypt_int(const char *fpasswd, const char *username, c +@@ -67,36 +70,8 @@ crypt_int(const char *fpasswd, const char *username, c ssize_t len, l; int ret;