[arch-commits] Commit in libvncserver/repos (6 files)
Levente Polyak
anthraxx at archlinux.org
Fri Jan 13 11:10:06 UTC 2017
Date: Friday, January 13, 2017 @ 11:10:05
Author: anthraxx
Revision: 286191
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
libvncserver/repos/extra-i686/PKGBUILD
(from rev 286190, libvncserver/trunk/PKGBUILD)
libvncserver/repos/extra-x86_64/PKGBUILD
(from rev 286190, libvncserver/trunk/PKGBUILD)
Deleted:
libvncserver/repos/extra-i686/PKGBUILD
libvncserver/repos/extra-i686/initialize-libgcrypt.patch
libvncserver/repos/extra-x86_64/PKGBUILD
libvncserver/repos/extra-x86_64/initialize-libgcrypt.patch
-----------------------------------------+
/PKGBUILD | 56 ++++++++++++++++++++++++++++++
extra-i686/PKGBUILD | 37 -------------------
extra-i686/initialize-libgcrypt.patch | 39 --------------------
extra-x86_64/PKGBUILD | 37 -------------------
extra-x86_64/initialize-libgcrypt.patch | 39 --------------------
5 files changed, 56 insertions(+), 152 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2017-01-13 11:09:51 UTC (rev 286190)
+++ extra-i686/PKGBUILD 2017-01-13 11:10:05 UTC (rev 286191)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=libvncserver
-pkgver=0.9.10
-pkgrel=4
-pkgdesc="A cross-platform C libraries that allow you to easily implement VNC server"
-arch=('i686' 'x86_64')
-url="https://libvnc.github.io/"
-license=('GPL')
-depends=('libpng' 'libjpeg' 'gnutls' 'libgcrypt' 'openssl')
-makedepends=('sdl')
-source=("https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${pkgver}.tar.gz"
- initialize-libgcrypt.patch)
-md5sums=('e1b888fae717b06896f8aec100163d27'
- 'e22024d3a81c45129411e39e7d143835')
-
-prepare() {
- cd ${pkgname}-LibVNCServer-${pkgver}
- # Fix crashing when connecting to Mac hosts
- # Suggested by upstream: https://github.com/LibVNC/libvncserver/pull/51#issuecomment-68884516
- patch -p1 -i ../initialize-libgcrypt.patch
-}
-
-build() {
- cd ${pkgname}-LibVNCServer-${pkgver}
- ./autogen.sh
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${pkgname}-LibVNCServer-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
Copied: libvncserver/repos/extra-i686/PKGBUILD (from rev 286190, libvncserver/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-01-13 11:10:05 UTC (rev 286191)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libvncserver
+pkgver=0.9.11
+pkgrel=1
+pkgdesc="Cross-platform C libraries that allow you to easily implement VNC server or client functionality"
+arch=('i686' 'x86_64')
+url="https://libvnc.github.io/"
+license=('GPL')
+depends=('libpng' 'libjpeg' 'gnutls' 'libgcrypt' 'openssl')
+makedepends=('sdl')
+source=("https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${pkgver}.tar.gz")
+sha256sums=('193d630372722a532136fd25c5326b2ca1a636cbb8bf9bb115ef869c804d2894')
+
+build() {
+ cd ${pkgname}-LibVNCServer-${pkgver}
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${pkgname}-LibVNCServer-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Deleted: extra-i686/initialize-libgcrypt.patch
===================================================================
--- extra-i686/initialize-libgcrypt.patch 2017-01-13 11:09:51 UTC (rev 286190)
+++ extra-i686/initialize-libgcrypt.patch 2017-01-13 11:10:05 UTC (rev 286191)
@@ -1,39 +0,0 @@
-From 4674d4632b9ffc6779d9c9f79b8ebb53c12e29b2 Mon Sep 17 00:00:00 2001
-From: Floris Bos <bos at je-eigen-domein.nl>
-Date: Fri, 2 Jan 2015 16:36:05 +0100
-Subject: [PATCH] Initialize libgcrypt before use
-
-https://www.gnupg.org/documentation/manuals/gcrypt/Initializing-the-library.html
-"Before the library can be used, it must initialize itself.
-This is achieved by invoking the function gcry_check_version"
-
-Closes issue #45
-Tested with krdc + libgcrypt 1.6.1 (libgcrypt20-dev Ubunutu package)
-connecting to a Mac Mini.
-
-Signed-off-by: Floris Bos <bos at je-eigen-domein.nl>
----
- libvncclient/rfbproto.c | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
-index f653850..aa74c23 100644
---- a/libvncclient/rfbproto.c
-+++ b/libvncclient/rfbproto.c
-@@ -857,6 +857,16 @@ HandleARDAuth(rfbClient *client)
- rfbCredential *cred = NULL;
- rfbBool result = FALSE;
-
-+ if (!gcry_control(GCRYCTL_INITIALIZATION_FINISHED_P))
-+ {
-+ /* Application did not initialize gcrypt, so we should */
-+ if (!gcry_check_version(GCRYPT_VERSION))
-+ {
-+ /* Older version of libgcrypt is installed on system than compiled against */
-+ rfbClientLog("libgcrypt version mismatch.\n");
-+ }
-+ }
-+
- while (1)
- {
- if (!ReadFromRFBServer(client, (char *)gen, 2))
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2017-01-13 11:09:51 UTC (rev 286190)
+++ extra-x86_64/PKGBUILD 2017-01-13 11:10:05 UTC (rev 286191)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Tobias Powalowski <tpowa at archlinux.org>
-
-pkgname=libvncserver
-pkgver=0.9.10
-pkgrel=4
-pkgdesc="A cross-platform C libraries that allow you to easily implement VNC server"
-arch=('i686' 'x86_64')
-url="https://libvnc.github.io/"
-license=('GPL')
-depends=('libpng' 'libjpeg' 'gnutls' 'libgcrypt' 'openssl')
-makedepends=('sdl')
-source=("https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${pkgver}.tar.gz"
- initialize-libgcrypt.patch)
-md5sums=('e1b888fae717b06896f8aec100163d27'
- 'e22024d3a81c45129411e39e7d143835')
-
-prepare() {
- cd ${pkgname}-LibVNCServer-${pkgver}
- # Fix crashing when connecting to Mac hosts
- # Suggested by upstream: https://github.com/LibVNC/libvncserver/pull/51#issuecomment-68884516
- patch -p1 -i ../initialize-libgcrypt.patch
-}
-
-build() {
- cd ${pkgname}-LibVNCServer-${pkgver}
- ./autogen.sh
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${pkgname}-LibVNCServer-${pkgver}
- make DESTDIR="${pkgdir}" install
-}
Copied: libvncserver/repos/extra-x86_64/PKGBUILD (from rev 286190, libvncserver/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2017-01-13 11:10:05 UTC (rev 286191)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=libvncserver
+pkgver=0.9.11
+pkgrel=1
+pkgdesc="Cross-platform C libraries that allow you to easily implement VNC server or client functionality"
+arch=('i686' 'x86_64')
+url="https://libvnc.github.io/"
+license=('GPL')
+depends=('libpng' 'libjpeg' 'gnutls' 'libgcrypt' 'openssl')
+makedepends=('sdl')
+source=("https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${pkgver}.tar.gz")
+sha256sums=('193d630372722a532136fd25c5326b2ca1a636cbb8bf9bb115ef869c804d2894')
+
+build() {
+ cd ${pkgname}-LibVNCServer-${pkgver}
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${pkgname}-LibVNCServer-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Deleted: extra-x86_64/initialize-libgcrypt.patch
===================================================================
--- extra-x86_64/initialize-libgcrypt.patch 2017-01-13 11:09:51 UTC (rev 286190)
+++ extra-x86_64/initialize-libgcrypt.patch 2017-01-13 11:10:05 UTC (rev 286191)
@@ -1,39 +0,0 @@
-From 4674d4632b9ffc6779d9c9f79b8ebb53c12e29b2 Mon Sep 17 00:00:00 2001
-From: Floris Bos <bos at je-eigen-domein.nl>
-Date: Fri, 2 Jan 2015 16:36:05 +0100
-Subject: [PATCH] Initialize libgcrypt before use
-
-https://www.gnupg.org/documentation/manuals/gcrypt/Initializing-the-library.html
-"Before the library can be used, it must initialize itself.
-This is achieved by invoking the function gcry_check_version"
-
-Closes issue #45
-Tested with krdc + libgcrypt 1.6.1 (libgcrypt20-dev Ubunutu package)
-connecting to a Mac Mini.
-
-Signed-off-by: Floris Bos <bos at je-eigen-domein.nl>
----
- libvncclient/rfbproto.c | 10 ++++++++++
- 1 file changed, 10 insertions(+)
-
-diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
-index f653850..aa74c23 100644
---- a/libvncclient/rfbproto.c
-+++ b/libvncclient/rfbproto.c
-@@ -857,6 +857,16 @@ HandleARDAuth(rfbClient *client)
- rfbCredential *cred = NULL;
- rfbBool result = FALSE;
-
-+ if (!gcry_control(GCRYCTL_INITIALIZATION_FINISHED_P))
-+ {
-+ /* Application did not initialize gcrypt, so we should */
-+ if (!gcry_check_version(GCRYPT_VERSION))
-+ {
-+ /* Older version of libgcrypt is installed on system than compiled against */
-+ rfbClientLog("libgcrypt version mismatch.\n");
-+ }
-+ }
-+
- while (1)
- {
- if (!ReadFromRFBServer(client, (char *)gen, 2))
More information about the arch-commits
mailing list