head 1.3; access; symbols pkgsrc-2021Q1:1.2.0.42 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.40 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.38 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.34 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.14 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.36 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.32 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.30 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.28 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.26 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.24 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.22 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.20 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.18 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.16 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.12 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.10 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.8 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.6 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.4 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.2 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.1.0.8 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.6 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.4 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.2 pkgsrc-2015Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2021.05.16.21.06.43; author wiz; state dead; branches; next 1.2; commitid lXdsq2W0zJOXSpTC; 1.2 date 2016.02.19.10.14.48; author wiz; state Exp; branches; next 1.1; commitid fsQW7rUgDnBoMvVy; 1.1 date 2015.02.08.19.42.09; author wiz; state Exp; branches; next ; commitid ViAKyuVIIiRv0f9y; desc @@ 1.3 log @tigervnc: update to 1.11.0 (with xorg-server 1.20.11). Switch to xorg-server 1.20.11. Restore vncserver script that upstream does not distribute any longer (they switched to systemd instead). Changes: TigerVNC 1.11.0 is now available. This is a new major release of TigerVNC, but also a security release. Users that rely on the TLS feature in the viewers are recommended to upgrade as soon as possible. Lots of changes have been made since the last release, but the highlights are: * A security issue has been fixed in how the viewers handle TLS certificate exceptions * vncserver has gotten a major redesign to be compatible with modern distributions * The native viewer now has touch gestures to handle certain mouse actions (e.g. scroll wheel) * Middle mouse button emulation in the native viewer, for devices with only two mouse buttons * The Java viewer now supports Java 9+, but also now requires Java 8+ * Support for alpha cursors in the Java viewer (a feature already supported in the native viewer) * The password and username can now be specified via the environment for the native viewer * Support for building Xvnc/libvnc.so with Xorg 1.20.7+ and deprecate support for Xorg older than 1.16 * The official builds have been fixed to work on the upcoming macOS 11 * The Windows server (WinVNC) is now packaged separately as it is unmaintained and buggy 1.10.1 This is a security release to fix a number of issues that were found by Kaspersky Lab. These issues affect both the client and server and could theoretically allow an malicious peer to take control over the software on the other side. No working exploit is known at this time, and the issues require the peer to first be authenticated. We still urge users to upgrade when possible. 1.10.0 TigerVNC 1.10.0 is now available. Lots of changes have been made since the last release, but the highlights are: * The clipboard now supports full Unicode in the native viewer, WinVNC and Xvnc/libvnc.so * The native client will now respect the system trust store when verifying server certificates * Improved compatibility with VMware's VNC server * Improved compatibility with some input methods on macOS * Improvements to the automatic "repair" of JPEG artefacts * Better handling of the Alt keys in some corner cases * The Java web server has been removed as applets are no longer support by most browsers * x0vncserver can now be configured to only allow local connections * x0vncserver has received fixes for when only part of the display is shared * Polling is now default in WinVNC as that works better for most @ text @$NetBSD: patch-unix_vncserver,v 1.2 2016/02/19 10:14:48 wiz Exp $ --- unix/vncserver.orig 2015-12-24 20:18:02.000000000 +0000 +++ unix/vncserver @@@@ -101,6 +101,8 @@@@ if (-d "/etc/X11/fontpath.d") { } @@fontpaths = ('/usr/share/X11/fonts', '/usr/share/fonts', '/usr/share/fonts/X11/'); +if (! -l "@@PREFIX@@/share/fonts/X11") {push(@@fontpaths, '@@PREFIX@@/share/fonts/X11');} +if (! -l "@@X11BASE@@/lib/X11/fonts") {push(@@fontpaths, '@@X11BASE@@/lib/X11/fonts');} if (! -l "/usr/lib/X11") {push(@@fontpaths, '/usr/lib/X11/fonts');} if (! -l "/usr/X11") {push(@@fontpaths, '/usr/X11/lib/X11/fonts');} if (! -l "/usr/X11R6") {push(@@fontpaths, '/usr/X11R6/lib/X11/fonts');} @@@@ -485,7 +487,7 @@@@ sub CheckDisplayNumber socket(S, $AF_INET, $SOCK_STREAM, 0) || die "$prog: socket failed: $!\n"; eval 'setsockopt(S, &SOL_SOCKET, &SO_REUSEADDR, pack("l", 1))'; - if (!bind(S, pack('S n x12', $AF_INET, 6000 + $n))) { + if (!bind(S, sockaddr_in(6000 + $n, &INADDR_ANY))) { close(S); return 0; } @@@@ -493,7 +495,7 @@@@ sub CheckDisplayNumber socket(S, $AF_INET, $SOCK_STREAM, 0) || die "$prog: socket failed: $!\n"; eval 'setsockopt(S, &SOL_SOCKET, &SO_REUSEADDR, pack("l", 1))'; - if (!bind(S, pack('S n x12', $AF_INET, 5900 + $n))) { + if (!bind(S, sockaddr_in(5900 + $n, &INADDR_ANY))) { close(S); return 0; } @ 1.2 log @Update tigervnc to 1.6.0. Do not update xserver used, still 1.17.2. Release notes: TigerVNC 1.6.0 is now available. This release is mostly about fixing various bugs and polishing existing features, but there are some notable new things: * Multi-head support in the Java viewer * Better certificate handling in the Java viewer, including host name verification @ text @d1 1 a1 1 $NetBSD: patch-unix_vncserver,v 1.1 2015/02/08 19:42:09 wiz Exp $ @ 1.1 log @Import tigervnc-1.3.1 as net/tigervnc, packaged for wip by myself and mwdavies, who added the Xvnc build. TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing), a client/server application that allows users to launch and interact with graphical applications on remote machines. TigerVNC provides the levels of performance necessary to run 3D and video applications, and it attempts to maintain a common look and feel and re-use components, where possible, across the various platforms that it supports. TigerVNC also provides extensions for advanced authentication methods and TLS encryption. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- unix/vncserver.orig 2014-08-14 09:28:16.000000000 +0000 d5 1 a5 1 @@@@ -88,6 +88,8 @@@@ if (-d "/etc/X11/fontpath.d") { d14 1 a14 10 @@@@ -337,7 +339,7 @@@@ if (-e "/tmp/.X11-unix/X$displayNumber" } $ENV{VNCDESKTOP}= $desktopName; -system($exedir."vncconfig -iconic >> " . "edString($desktopLog) . " 2>&1 &"); +system($exedir."vncconfig -nowin >> " . "edString($desktopLog) . " 2>&1 &"); if ($opt{'-fg'}) { system("$vncUserDir/xstartup >> " . "edString($desktopLog) . " 2>&1"); @@@@ -414,7 +416,7 @@@@ sub CheckDisplayNumber d23 1 a23 1 @@@@ -422,7 +424,7 @@@@ sub CheckDisplayNumber @