View | Details | Raw Unified | Return to bug 266079
Collapse All | Expand All

(-)b/security/openconnect/Makefile (-2 / +2 lines)
Lines 1-6 Link Here
1
PORTNAME=	openconnect
1
PORTNAME=	openconnect
2
PORTVERSION=	8.20
2
PORTVERSION=	9.01
3
PORTREVISION=	2
3
PORTREVISION=	1
4
CATEGORIES=	security net-vpn
4
CATEGORIES=	security net-vpn
5
MASTER_SITES=	ftp://ftp.infradead.org/pub/openconnect/ \
5
MASTER_SITES=	ftp://ftp.infradead.org/pub/openconnect/ \
6
		ZI
6
		ZI
(-)b/security/openconnect/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1647961578
1
TIMESTAMP = 1661626668
2
SHA256 (openconnect-8.20.tar.gz) = c1452384c6f796baee45d4e919ae1bfc281d6c88862e1f646a2cc513fc44e58b
2
SHA256 (openconnect-9.01.tar.gz) = b3d7faf830e9793299d6a41e81d84cd4a3e2789c148c9e598e4585010090e4c7
3
SIZE (openconnect-8.20.tar.gz) = 2651542
3
SIZE (openconnect-9.01.tar.gz) = 2718526
(-)b/security/openconnect/files/patch-openconnect-internal.h (+14 lines)
Added Link Here
1
--- openconnect-internal.h.orig	2022-08-27 20:09:15 UTC
2
+++ openconnect-internal.h
3
@@ -135,6 +135,11 @@
4
 #include <spawn.h>
5
 #endif
6
 
7
+
8
+#ifdef __FreeBSD__
9
+extern char **environ;
10
+#endif
11
+
12
 /* Equivalent of "/dev/null" on Windows.
13
  * See https://stackoverflow.com/a/44163934
14
  */
(-)a/security/openconnect/files/patch-stoken.c (-22 lines)
Removed Link Here
1
--- stoken.c.orig	2021-07-01 20:58:46 UTC
2
+++ stoken.c
3
@@ -100,6 +100,7 @@ static int decrypt_stoken(struct openconnect_info *vpn
4
 
5
 	form.opts = opts;
6
 	form.message = _("Enter credentials to unlock software token.");
7
+	form.auth_id = "_rsa_unlock";
8
 
9
 	if (stoken_devid_required(vpninfo->stoken_ctx)) {
10
 		opt->type = OC_FORM_OPT_TEXT;
11
@@ -206,9 +207,10 @@ static int request_stoken_pin(struct openconnect_info 
12
 
13
 	form.opts = opts;
14
 	form.message = _("Enter software token PIN.");
15
+	form.auth_id = "_rsa_pin";
16
 
17
 	opt->type = OC_FORM_OPT_PASSWORD;
18
-	opt->name = (char *)"password";
19
+	opt->name = (char *)"pin";
20
 	opt->label = _("PIN:");
21
 	opt->flags = OC_FORM_OPT_NUMERIC;
22
 
(-)b/security/openconnect/pkg-plist (-2 / +1 lines)
Lines 1-7 Link Here
1
include/openconnect.h
1
include/openconnect.h
2
lib/libopenconnect.so
2
lib/libopenconnect.so
3
lib/libopenconnect.so.5
3
lib/libopenconnect.so.5
4
lib/libopenconnect.so.5.7.0
4
lib/libopenconnect.so.5.8.0
5
libdata/pkgconfig/openconnect.pc
5
libdata/pkgconfig/openconnect.pc
6
libexec/openconnect/csd-post.sh
6
libexec/openconnect/csd-post.sh
7
libexec/openconnect/csd-wrapper.sh
7
libexec/openconnect/csd-wrapper.sh
8
- 

Return to bug 266079