FreeBSD Bugzilla – Attachment 236169 Details for
Bug 266079
security/openconnect: update to 9.01
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-security-openconnect-update-to-9.01.patch (text/plain), 3.48 KB, created by
Ihor Antonov
on 2022-08-27 22:20:05 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ihor Antonov
Created:
2022-08-27 22:20:05 UTC
Size:
3.48 KB
patch
obsolete
>From 2a7c16159ba2516736da789f94f14d333ad96de7 Mon Sep 17 00:00:00 2001 >From: Ihor Antonov <ihor@antonovs.family> >Date: Sat, 27 Aug 2022 15:11:41 -0700 >Subject: [PATCH] security/openconnect: update to 9.01 > >--- > security/openconnect/Makefile | 4 ++-- > security/openconnect/distinfo | 6 ++--- > .../files/patch-openconnect-internal.h | 14 ++++++++++++ > security/openconnect/files/patch-stoken.c | 22 ------------------- > security/openconnect/pkg-plist | 2 +- > 5 files changed, 20 insertions(+), 28 deletions(-) > create mode 100644 security/openconnect/files/patch-openconnect-internal.h > delete mode 100644 security/openconnect/files/patch-stoken.c > >diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile >index b1e147518..50ca7bf03 100644 >--- a/security/openconnect/Makefile >+++ b/security/openconnect/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= openconnect >-PORTVERSION= 8.20 >-PORTREVISION= 2 >+PORTVERSION= 9.01 >+PORTREVISION= 1 > CATEGORIES= security net-vpn > MASTER_SITES= ftp://ftp.infradead.org/pub/openconnect/ \ > ZI >diff --git a/security/openconnect/distinfo b/security/openconnect/distinfo >index ba3ee893e..3059c341d 100644 >--- a/security/openconnect/distinfo >+++ b/security/openconnect/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1647961578 >-SHA256 (openconnect-8.20.tar.gz) = c1452384c6f796baee45d4e919ae1bfc281d6c88862e1f646a2cc513fc44e58b >-SIZE (openconnect-8.20.tar.gz) = 2651542 >+TIMESTAMP = 1661626668 >+SHA256 (openconnect-9.01.tar.gz) = b3d7faf830e9793299d6a41e81d84cd4a3e2789c148c9e598e4585010090e4c7 >+SIZE (openconnect-9.01.tar.gz) = 2718526 >diff --git a/security/openconnect/files/patch-openconnect-internal.h b/security/openconnect/files/patch-openconnect-internal.h >new file mode 100644 >index 000000000..ca0225819 >--- /dev/null >+++ b/security/openconnect/files/patch-openconnect-internal.h >@@ -0,0 +1,14 @@ >+--- openconnect-internal.h.orig 2022-08-27 20:09:15 UTC >++++ openconnect-internal.h >+@@ -135,6 +135,11 @@ >+ #include <spawn.h> >+ #endif >+ >++ >++#ifdef __FreeBSD__ >++extern char **environ; >++#endif >++ >+ /* Equivalent of "/dev/null" on Windows. >+ * See https://stackoverflow.com/a/44163934 >+ */ >diff --git a/security/openconnect/files/patch-stoken.c b/security/openconnect/files/patch-stoken.c >deleted file mode 100644 >index e265f5ef3..000000000 >--- a/security/openconnect/files/patch-stoken.c >+++ /dev/null >@@ -1,22 +0,0 @@ >---- stoken.c.orig 2021-07-01 20:58:46 UTC >-+++ stoken.c >-@@ -100,6 +100,7 @@ static int decrypt_stoken(struct openconnect_info *vpn >- >- form.opts = opts; >- form.message = _("Enter credentials to unlock software token."); >-+ form.auth_id = "_rsa_unlock"; >- >- if (stoken_devid_required(vpninfo->stoken_ctx)) { >- opt->type = OC_FORM_OPT_TEXT; >-@@ -206,9 +207,10 @@ static int request_stoken_pin(struct openconnect_info >- >- form.opts = opts; >- form.message = _("Enter software token PIN."); >-+ form.auth_id = "_rsa_pin"; >- >- opt->type = OC_FORM_OPT_PASSWORD; >-- opt->name = (char *)"password"; >-+ opt->name = (char *)"pin"; >- opt->label = _("PIN:"); >- opt->flags = OC_FORM_OPT_NUMERIC; >- >diff --git a/security/openconnect/pkg-plist b/security/openconnect/pkg-plist >index 567156d92..7d71f786b 100644 >--- a/security/openconnect/pkg-plist >+++ b/security/openconnect/pkg-plist >@@ -1,7 +1,7 @@ > include/openconnect.h > lib/libopenconnect.so > lib/libopenconnect.so.5 >-lib/libopenconnect.so.5.7.0 >+lib/libopenconnect.so.5.8.0 > libdata/pkgconfig/openconnect.pc > libexec/openconnect/csd-post.sh > libexec/openconnect/csd-wrapper.sh >-- >2.37.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 266079
: 236169