commit:     11da7edde290e8f2ec626ecb7b14df73ee1b11ce
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 06:46:40 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 09:13:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11da7edd

net-misc/tigervnc: fix connecting with VncAuth

Fix a typo in a string, looks safe to apply direct to stable.

Closes: https://bugs.gentoo.org/938694
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 .../files/tigervnc-1.14.0-typo-VncAuth.patch        | 21 +++++++++++++++++++++
 ...rvnc-1.14.0.ebuild => tigervnc-1.14.0-r1.ebuild} |  1 +
 2 files changed, 22 insertions(+)

diff --git a/net-misc/tigervnc/files/tigervnc-1.14.0-typo-VncAuth.patch 
b/net-misc/tigervnc/files/tigervnc-1.14.0-typo-VncAuth.patch
new file mode 100644
index 000000000000..8408fb77db5f
--- /dev/null
+++ b/net-misc/tigervnc/files/tigervnc-1.14.0-typo-VncAuth.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/938694
+https://github.com/TigerVNC/tigervnc/commit/4f6a3521874da5a67fd746389cfa9b6199eb3582
+
+From 4f6a3521874da5a67fd746389cfa9b6199eb3582 Mon Sep 17 00:00:00 2001
+From: Pierre Ossman <[email protected]>
+Date: Mon, 29 Jul 2024 16:16:08 +0200
+Subject: [PATCH] Add missing comma in default security type list
+
+Otherwise it merges with the next entry, removing both of them from the
+default list.
+--- a/common/rfb/SecurityClient.cxx
++++ b/common/rfb/SecurityClient.cxx
+@@ -60,7 +60,7 @@ StringParameter SecurityClient::secTypes
+  "X509Plain,TLSPlain,X509Vnc,TLSVnc,X509None,TLSNone,"
+ #endif
+ #ifdef HAVE_NETTLE
+- "RA2,RA2_256,RA2ne,RA2ne_256,DH,MSLogonII"
++ "RA2,RA2_256,RA2ne,RA2ne_256,DH,MSLogonII,"
+ #endif
+  "VncAuth,None",
+ ConfViewer);

diff --git a/net-misc/tigervnc/tigervnc-1.14.0.ebuild 
b/net-misc/tigervnc/tigervnc-1.14.0-r1.ebuild
similarity index 99%
rename from net-misc/tigervnc/tigervnc-1.14.0.ebuild
rename to net-misc/tigervnc/tigervnc-1.14.0-r1.ebuild
index 858119355b1a..771510fc74c3 100644
--- a/net-misc/tigervnc/tigervnc-1.14.0.ebuild
+++ b/net-misc/tigervnc/tigervnc-1.14.0-r1.ebuild
@@ -98,6 +98,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-1.11.0-install-java-viewer.patch
        "${FILESDIR}"/${PN}-1.14.0-xsession-path.patch
        "${FILESDIR}"/${PN}-1.12.80-disable-server-and-pam.patch
+       "${FILESDIR}"/${P}-typo-VncAuth.patch # bug #938694
 )
 
 src_unpack() {

Reply via email to