summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-08-30 09:46:40 +0300
committerViorel Munteanu <ceamac@gentoo.org>2024-08-30 12:13:11 +0300
commit11da7edde290e8f2ec626ecb7b14df73ee1b11ce (patch)
tree3ed22cf2e79071c3d69d1c53dc3f920c19018450 /net-misc/tigervnc
parentdev-libs/libsodium: Stabilize 1.0.20 sparc, #938654 (diff)
downloadgentoo-11da7edde290e8f2ec626ecb7b14df73ee1b11ce.tar.gz
gentoo-11da7edde290e8f2ec626ecb7b14df73ee1b11ce.tar.bz2
gentoo-11da7edde290e8f2ec626ecb7b14df73ee1b11ce.zip
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@gentoo.org>
Diffstat (limited to 'net-misc/tigervnc')
-rw-r--r--net-misc/tigervnc/files/tigervnc-1.14.0-typo-VncAuth.patch21
-rw-r--r--net-misc/tigervnc/tigervnc-1.14.0-r1.ebuild (renamed from net-misc/tigervnc/tigervnc-1.14.0.ebuild)1
2 files changed, 22 insertions, 0 deletions
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 <ossman@cendio.se>
+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
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() {