summaryrefslogtreecommitdiff
path: root/net/libvncserver
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-12-18 23:25:59 +0000
committernia <nia@pkgsrc.org>2020-12-18 23:25:59 +0000
commit856d847a91c16c842727e3d38fd1361edd941691 (patch)
treecce71196490217d4a15a9de9381f6b2390bd3e83 /net/libvncserver
parentb911a9f9ae569840273133d9826ab4efcb20fa08 (diff)
downloadpkgsrc-856d847a91c16c842727e3d38fd1361edd941691.tar.gz
libvncserver: Update to 0.9.13
# 2020-06-13: Version 0.9.13 0.9.13 truly is a cross-platform release, the best we've ever done in that respect: Out of the [49 issues](https://github.com/LibVNC/libvncserver/issues?q=is%3Aclosed+milestone%3A%22Release+0.9.13%22) closed with this release, 20 alone were related to MS Windows. The result is that 0.9.13 is the first release with full support for Microsoft Windows! The cross-platform focused work did not end there tough: MacOS support was brought up from barebones to a fully working production-grade VNC server application. Other highlights are improvements regarding TLS in LibVNCClient, [SetDesktopSize](https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#setdesktopsize) support in LibVNCServer and a major cleanup of the project's documentation. Last but not least, 0.9.13 comes with the usual assortment of bugfixes and security improvements. ## Overall changes: * Small tweaks to the CMake build system. * The macOS server example was overhauled and is now the most feature-complete sample application of the project, ready for real-world use. * Lots of documentation updates and markdownifying. * The TravisCI continuous integration now also build-checks cross-compilation from Linux to Windows. * Setup a [Gitter community chat](https://gitter.im/LibVNC/libvncserver) for the project. ## LibVNCServer/LibVNCClient: * Both LibVNCServer and LibVNCClient now support an additional platform, namely Microsoft Windows. Building is supported with Visual Studio as well as MingGW. * The separate crypto routines used by LibVNCClient and LibVNCServer were refactored into an implementation common to both libraries. * Several security issues got fixed. * The bundled noVNC client is now at version 1.1.0 and included via a git submodule. ## LibVNCClient: * Added connect timeout as well as read timeout support thanks to Tobias Junghans. * Both TLS backends now do proper locking of network operations when multi-threaded thanks to Gaurav Ujjwal. * Fixed regression in Tight/Raw decoding introduced in 0.9.12 thanks to DRC. * Fixed encrypted connections to AnonTLS servers when using the OpenSSL back-end. Made possible by the profound research done by Gaurav Ujjwal. ## LibVNCServer: * Added a hooking function (`clientFramebufferUpdateRequestHook`) to deliver rfbFramebufferUpdateRequest messages from clients to the frame producer thanks to Jae Hyun Yoo. * Added SetDesktopSize/ExtendedDesktopSize support thanks to Floris Bos. * Added multi-threading support for MS Windows. * Fixed VNC repeater/proxy functionality that was broken in 0.9.12. * Fixed unstable WebSockets connections thanks to Sebastian Kranz.
Diffstat (limited to 'net/libvncserver')
-rw-r--r--net/libvncserver/Makefile9
-rw-r--r--net/libvncserver/PLIST3
-rw-r--r--net/libvncserver/distinfo10
-rw-r--r--net/libvncserver/options.mk4
-rw-r--r--net/libvncserver/patches/patch-libvncclient_tls__openssl.c21
5 files changed, 14 insertions, 33 deletions
diff --git a/net/libvncserver/Makefile b/net/libvncserver/Makefile
index 0372953aaf8..67754729fa5 100644
--- a/net/libvncserver/Makefile
+++ b/net/libvncserver/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.33 2020/05/22 10:55:48 adam Exp $
+# $NetBSD: Makefile,v 1.34 2020/12/18 23:25:59 nia Exp $
#
-DISTNAME= libvncserver-LibVNCServer-0.9.12
-PKGNAME= libVNCServer-0.9.12
-PKGREVISION= 4
+DISTNAME= libvncserver-LibVNCServer-0.9.13
+PKGNAME= libVNCServer-0.9.13
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=LibVNC/}
GITHUB_PROJECT= libvncserver
@@ -23,6 +22,7 @@ PKGCONFIG_OVERRIDE+= libvncserver.pc.cmakein
PKGCONFIG_OVERRIDE+= libvncclient.pc.cmakein
CMAKE_ARGS+= -DWITH_FFMPEG=OFF
+CMAKE_ARGS+= -DWITH_GTK=OFF
CMAKE_ARGS+= -DWITH_SDL=OFF
CMAKE_ARGS+= -DWITH_SYSTEMD=OFF
@@ -42,6 +42,7 @@ LDFLAGS.SunOS+= -lsocket
.include "../../archivers/lzo/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
+.include "../../security/gnutls/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/libvncserver/PLIST b/net/libvncserver/PLIST
index 9041b39e046..3fb5947f7ff 100644
--- a/net/libvncserver/PLIST
+++ b/net/libvncserver/PLIST
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.6 2019/02/01 12:45:21 tnn Exp $
+@comment $NetBSD: PLIST,v 1.7 2020/12/18 23:25:59 nia Exp $
include/rfb/keysym.h
include/rfb/rfb.h
include/rfb/rfbclient.h
include/rfb/rfbconfig.h
include/rfb/rfbproto.h
include/rfb/rfbregion.h
+include/rfb/threading.h
lib/libvncclient.so
lib/libvncclient.so.${PKGVERSION}
lib/libvncclient.so.1
diff --git a/net/libvncserver/distinfo b/net/libvncserver/distinfo
index a4e6dc42ae2..4fb5675183c 100644
--- a/net/libvncserver/distinfo
+++ b/net/libvncserver/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.18 2020/11/29 20:33:53 nia Exp $
+$NetBSD: distinfo,v 1.19 2020/12/18 23:25:59 nia Exp $
-SHA1 (libvncserver-LibVNCServer-0.9.12.tar.gz) = f2111a7d7e96d7101e7ff3834abd5b0c71c1ed5f
-RMD160 (libvncserver-LibVNCServer-0.9.12.tar.gz) = 62e65f56221e7274a4fb1b7f42cca00f7c5f2926
-SHA512 (libvncserver-LibVNCServer-0.9.12.tar.gz) = 60ff1cc93a937d6f8f97449bc58b763095846207112f7b1b3c43eb2d74448b595d6da949903a764bd484ee54e38ff6277e882adbe965dd6d26ba15ef6ff6fcb8
-Size (libvncserver-LibVNCServer-0.9.12.tar.gz) = 2237447 bytes
+SHA1 (libvncserver-LibVNCServer-0.9.13.tar.gz) = 55d79e6c4305cd67cd487c601298349c17ca05c1
+RMD160 (libvncserver-LibVNCServer-0.9.13.tar.gz) = 3fb7d82b4cbf77ee2eb5e1c55d7aeb535d17506b
+SHA512 (libvncserver-LibVNCServer-0.9.13.tar.gz) = 18b0a1698d32bbdbfe6f65f76130b2a95860e3cc76e8adb904269663698c7c0ae982f451fda1f25e5461f096045d40a89d9014258f439366d5b4feaa4999d643
+Size (libvncserver-LibVNCServer-0.9.13.tar.gz) = 567491 bytes
SHA1 (patch-libvncclient_tls__openssl.c) = 6986fdc3b65cac0b8e1f152c314ad2575ff55351
SHA1 (patch-libvncserver_websockets.c) = eb4e50f8fcb8442dae54d1360e6950e2ebd4778b
SHA1 (patch-rfb_rfbproto.h) = 6dcc68a90d444f88ab696616b1aee3eb66708877
diff --git a/net/libvncserver/options.mk b/net/libvncserver/options.mk
index c47fc6b6b1a..b74dace91ce 100644
--- a/net/libvncserver/options.mk
+++ b/net/libvncserver/options.mk
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.4 2019/11/03 11:45:40 rillig Exp $
+# $NetBSD: options.mk,v 1.5 2020/12/18 23:25:59 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libVNCServer
-PKG_SUPPORTED_OPTIONS= gnutls inet6 libgcrypt openssl sasl
+PKG_SUPPORTED_OPTIONS= inet6 libgcrypt sasl
PKG_SUGGESTED_OPTIONS= gnutls inet6 libgcrypt
PKG_OPTIONS_OPTIONAL_GROUPS+= ssl
PKG_OPTIONS_GROUP.ssl= gnutls openssl
diff --git a/net/libvncserver/patches/patch-libvncclient_tls__openssl.c b/net/libvncserver/patches/patch-libvncclient_tls__openssl.c
deleted file mode 100644
index 261ba72d0cb..00000000000
--- a/net/libvncserver/patches/patch-libvncclient_tls__openssl.c
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-libvncclient_tls__openssl.c,v 1.2 2020/11/29 20:33:53 nia Exp $
-
-Bump _XOPEN_SOURCE to the same as other files to avoid C99 issues.
-
-Fix missing declaration of fd_set.
-
---- libvncclient/tls_openssl.c.orig 2019-01-06 19:09:30.000000000 +0000
-+++ libvncclient/tls_openssl.c
-@@ -19,10 +19,11 @@
- */
-
- #ifndef _MSC_VER
--#define _XOPEN_SOURCE 500
-+#define _XOPEN_SOURCE 600
- #endif
-
- #include <rfb/rfbclient.h>
-+#include <sys/select.h>
- #include <errno.h>
-
- #include <openssl/err.h>