pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libvncserver libvncserver: Update to 0.9.13



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15bff310e542
branches:  trunk
changeset: 443649:15bff310e542
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Dec 18 23:25:59 2020 +0000

description:
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:

 net/libvncserver/Makefile                                  |   9 +++--
 net/libvncserver/PLIST                                     |   3 +-
 net/libvncserver/distinfo                                  |  10 +++---
 net/libvncserver/options.mk                                |   4 +-
 net/libvncserver/patches/patch-libvncclient_tls__openssl.c |  21 --------------
 5 files changed, 14 insertions(+), 33 deletions(-)

diffs (104 lines):

diff -r 88ff49a11588 -r 15bff310e542 net/libvncserver/Makefile
--- a/net/libvncserver/Makefile Fri Dec 18 23:19:36 2020 +0000
+++ b/net/libvncserver/Makefile Fri Dec 18 23:25:59 2020 +0000
@@ -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+=   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 @@
 .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 -r 88ff49a11588 -r 15bff310e542 net/libvncserver/PLIST
--- a/net/libvncserver/PLIST    Fri Dec 18 23:19:36 2020 +0000
+++ b/net/libvncserver/PLIST    Fri Dec 18 23:25:59 2020 +0000
@@ -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 -r 88ff49a11588 -r 15bff310e542 net/libvncserver/distinfo
--- a/net/libvncserver/distinfo Fri Dec 18 23:19:36 2020 +0000
+++ b/net/libvncserver/distinfo Fri Dec 18 23:25:59 2020 +0000
@@ -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 -r 88ff49a11588 -r 15bff310e542 net/libvncserver/options.mk
--- a/net/libvncserver/options.mk       Fri Dec 18 23:19:36 2020 +0000
+++ b/net/libvncserver/options.mk       Fri Dec 18 23:25:59 2020 +0000
@@ -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 -r 88ff49a11588 -r 15bff310e542 net/libvncserver/patches/patch-libvncclient_tls__openssl.c
--- a/net/libvncserver/patches/patch-libvncclient_tls__openssl.c        Fri Dec 18 23:19:36 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index