[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2024-01-20 Thread Sam James
commit: cea7c09c70390799b321479a59b597a25f951f9b
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu Jan  4 18:58:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 20 12:47:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cea7c09c

net-libs/libvncserver: always enable gcrypt-based crypto backend

There are a few reasons for that:
- internal crypto backend doesn't support all authentication methods and
  the use of external crypto backend was already forced via REQUIRED_USE
- openssl-based crypto backend is completely broken with openssl-3.0
- build system does not allow to disable openssl-based crypto backend when
  openssl-based TLS backend is enabled without also enabling gcrypt-based
  crypto backend
- all major distros are building with gcrypt-based crypto backend, so it
  is the most tested configuration.

Closes: https://bugs.gentoo.org/893608
Signed-off-by: Alexander Tsoy  tsoy.me>
Signed-off-by: Sam James  gentoo.org>

 .../libvncserver/libvncserver-0.9.14-r2.ebuild | 73 ++
 1 file changed, 73 insertions(+)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14-r2.ebuild
new file mode 100644
index ..02c596ac0d4b
--- /dev/null
+++ b/net-libs/libvncserver/libvncserver-0.9.14-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_P="LibVNCServer-${PV}"
+
+DESCRIPTION="library for creating vnc servers"
+HOMEPAGE="https://libvnc.github.io/;
+SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
+S="${WORKDIR}/${PN}-${MY_P}"
+
+# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
+LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
+# no sub slot wanted (yet), see #578958
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
+IUSE="+24bpp +filetransfer gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
+# https://bugs.gentoo.org/690202
+# https://bugs.gentoo.org/435326
+# https://bugs.gentoo.org/550916
+REQUIRED_USE="
+   filetransfer? ( threads )
+   jpeg? ( zlib )
+   png? ( zlib )
+   ssl? ( !gnutls? ( threads ) )
+"
+
+DEPEND="
+   >=dev-libs/libgcrypt-1.5.3:0=
+   ssl? (
+   !gnutls? ( >=dev-libs/openssl-1.0.2:0= )
+   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
+   )
+   jpeg? ( media-libs/libjpeg-turbo:= )
+   lzo? ( dev-libs/lzo )
+   png? ( >=media-libs/libpng-1.6.10:0= )
+   sasl? ( dev-libs/cyrus-sasl )
+   systemd? ( sys-apps/systemd:= )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS.md README.md )
+
+PATCHES=(
+   "${FILESDIR}"/${P}-crypto-openssl-fix.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DWITH_EXAMPLES=OFF
+   -DWITH_FFMPEG=OFF
+   -DWITH_GTK=OFF
+   -DWITH_SDL=OFF
+   -DWITH_GCRYPT=ON
+   -DWITH_24BPP=$(usex 24bpp ON OFF)
+   -DWITH_TIGHTVNC_FILETRANSFER=$(usex filetransfer ON OFF)
+   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
+   -DWITH_IPv6=$(usex ipv6 ON OFF)
+   -DWITH_JPEG=$(usex jpeg ON OFF)
+   -DWITH_LZO=$(usex lzo ON OFF)
+   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
+   -DWITH_PNG=$(usex png ON OFF)
+   -DWITH_SASL=$(usex sasl ON OFF)
+   -DWITH_SYSTEMD=$(usex systemd ON OFF)
+   -DWITH_THREADS=$(usex threads ON OFF)
+   -DWITH_ZLIB=$(usex zlib ON OFF)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2024-01-20 Thread Sam James
commit: 14959df148e9db779344ef424922f44d1c1312ce
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu Jan  4 19:17:33 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 20 12:48:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14959df1

net-libs/libvncserver: remove old

Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/34643
Signed-off-by: Sam James  gentoo.org>

 .../libvncserver/libvncserver-0.9.14-r1.ebuild | 81 --
 net-libs/libvncserver/libvncserver-0.9.14.ebuild   | 77 
 net-libs/libvncserver/metadata.xml |  1 -
 3 files changed, 159 deletions(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
deleted file mode 100644
index 94af0ee8711e..
--- a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-MY_P="LibVNCServer-${PV}"
-
-DESCRIPTION="library for creating vnc servers"
-HOMEPAGE="https://libvnc.github.io/;
-SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
-S="${WORKDIR}/${PN}-${MY_P}"
-
-# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
-LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
-# no sub slot wanted (yet), see #578958
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+24bpp +filetransfer +gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
-# https://bugs.gentoo.org/690202
-# https://bugs.gentoo.org/435326
-# https://bugs.gentoo.org/550916
-REQUIRED_USE="
-   filetransfer? ( threads )
-   jpeg? ( zlib )
-   png? ( zlib )
-   ssl? ( !gnutls? ( threads ) )
-"
-# Avoid using internal crypto backend as it doesn't support
-# all authentication methods #893608
-REQUIRED_USE+="
-   ssl? ( gnutls? ( gcrypt ) )
-   !ssl? ( gcrypt )
-"
-
-DEPEND="
-   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
-   ssl? (
-   !gnutls? (
-   >=dev-libs/openssl-1.0.2:0=
-   )
-   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
-   )
-   jpeg? ( media-libs/libjpeg-turbo:= )
-   lzo? ( dev-libs/lzo )
-   png? ( >=media-libs/libpng-1.6.10:0= )
-   sasl? ( dev-libs/cyrus-sasl )
-   systemd? ( sys-apps/systemd:= )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=( AUTHORS ChangeLog NEWS.md README.md )
-
-PATCHES=(
-   "${FILESDIR}"/${P}-crypto-openssl-fix.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DWITH_EXAMPLES=OFF
-   -DWITH_FFMPEG=OFF
-   -DWITH_GTK=OFF
-   -DWITH_SDL=OFF
-   -DWITH_24BPP=$(usex 24bpp ON OFF)
-   -DWITH_TIGHTVNC_FILETRANSFER=$(usex filetransfer ON OFF)
-   -DWITH_GCRYPT=$(usex gcrypt ON OFF)
-   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
-   -DWITH_IPv6=$(usex ipv6 ON OFF)
-   -DWITH_JPEG=$(usex jpeg ON OFF)
-   -DWITH_LZO=$(usex lzo ON OFF)
-   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
-   -DWITH_PNG=$(usex png ON OFF)
-   -DWITH_SASL=$(usex sasl ON OFF)
-   -DWITH_SYSTEMD=$(usex systemd ON OFF)
-   -DWITH_THREADS=$(usex threads ON OFF)
-   -DWITH_ZLIB=$(usex zlib ON OFF)
-   )
-   cmake_src_configure
-}

diff --git a/net-libs/libvncserver/libvncserver-0.9.14.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
deleted file mode 100644
index bc1c292d70e9..
--- a/net-libs/libvncserver/libvncserver-0.9.14.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-MY_P="LibVNCServer-${PV}"
-
-DESCRIPTION="library for creating vnc servers"
-HOMEPAGE="https://libvnc.github.io/;
-SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
-S="${WORKDIR}/${PN}-${MY_P}"
-
-# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
-LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
-# no sub slot wanted (yet), see #578958
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+24bpp +filetransfer +gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
-# https://bugs.gentoo.org/690202
-# https://bugs.gentoo.org/435326
-# https://bugs.gentoo.org/550916
-REQUIRED_USE="
-   filetransfer? ( threads )
-   jpeg? ( zlib )
-   png? ( zlib )
-   ssl? ( !gnutls? ( threads ) )
-"
-# Avoid using internal crypto backend as it doesn't support
-# all authentication methods #893608

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-10-23 Thread Arthur Zamarin
commit: d9662f9407b3eea63897df352b6a3eb9519b190c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Oct 23 14:04:43 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Oct 23 14:04:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9662f94

net-libs/libvncserver: Stabilize 0.9.14-r1 ppc, #906743

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
index b06007cac557..79389a4491b7 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer +gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-10-22 Thread Joonas Niilola
commit: b892ae37479e525d431e18e1ffb82c07d070fd8d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Oct 23 05:36:57 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 23 05:36:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b892ae37

net-libs/libvncserver: Stabilize 0.9.14-r1 amd64, #906743

Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
index a9ce75a02168..31ea52f86d61 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer +gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-10-22 Thread Joonas Niilola
commit: ae6a3fe634dd7e0aa3e40c23f4dc35d748000813
Author: Joonas Niilola  gentoo  org>
AuthorDate: Mon Oct 23 05:54:57 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Mon Oct 23 05:54:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae6a3fe6

net-libs/libvncserver: Stabilize 0.9.14-r1 x86, #906743

Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
index 31ea52f86d61..b06007cac557 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer +gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-10-22 Thread Sam James
commit: c04ae369428736832b3bd64075fe5f2a7a257a85
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 23 01:43:42 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 23 01:43:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c04ae369

net-libs/libvncserver: Stabilize 0.9.14-r1 sparc, #906743

Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
index 4befd37ece81..0dd8f544b096 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer +gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-10-22 Thread Sam James
commit: c5b1e190739c49351a31938133c255404459cbdd
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 23 01:43:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 23 01:43:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5b1e190

net-libs/libvncserver: Stabilize 0.9.14-r1 arm64, #906743

Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
index 0dd8f544b096..a9ce75a02168 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer +gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-10-22 Thread Sam James
commit: cea2683bbbf497e1554299bfc689a76c9b0dabd7
Author: Sam James  gentoo  org>
AuthorDate: Mon Oct 23 01:43:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Oct 23 01:43:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cea2683b

net-libs/libvncserver: Stabilize 0.9.14-r1 arm, #906743

Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
index 996b5e9c2b4e..4befd37ece81 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer +gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/files/, net-libs/libvncserver/

2023-03-22 Thread Sam James
commit: 01dbaaafe6f24fecdc12973aa620ce50ffeb544d
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu Mar 23 02:50:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 23 04:56:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01dbaaaf

net-libs/libvncserver: fix openssl crypto backend

Bug: https://bugs.gentoo.org/893608
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/30311
Signed-off-by: Sam James  gentoo.org>

 .../libvncserver-0.9.14-crypto-openssl-fix.patch   | 59 
 .../libvncserver/libvncserver-0.9.14-r1.ebuild | 81 ++
 2 files changed, 140 insertions(+)

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch
new file mode 100644
index ..d4c76773b02c
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch
@@ -0,0 +1,59 @@
+From b686f379c34114cf938fe88291f58014337558f6 Mon Sep 17 00:00:00 2001
+From: Gaurav Ujjwal 
+Date: Mon, 23 Jan 2023 00:03:03 +0530
+Subject: [PATCH] common/crypto_openssl: pad DH key buffers with leading zeros
+ for smaller keys
+
+Re: https://github.com/LibVNC/libvncserver/issues/493
+Re: https://github.com/bk138/multivnc/issues/202
+---
+ common/crypto_openssl.c | 18 --
+ 1 file changed, 16 insertions(+), 2 deletions(-)
+
+diff --git a/common/crypto_openssl.c b/common/crypto_openssl.c
+index 50e8073a..dc1ee093 100644
+--- a/common/crypto_openssl.c
 b/common/crypto_openssl.c
+@@ -156,6 +156,15 @@ int encrypt_aes128ecb(void *out, int *out_len, const 
unsigned char key[16], cons
+ return result;
+ }
+ 
++static void pad_leading_zeros(uint8_t *out, const size_t current_len, const 
size_t expected_len) {
++if (current_len >= expected_len || expected_len < 1)
++return;
++
++size_t diff = expected_len - current_len;
++memmove(out + diff, out, current_len);
++memset(out, 0, diff);
++}
++
+ int dh_generate_keypair(uint8_t *priv_out, uint8_t *pub_out, const uint8_t 
*gen, const size_t gen_len, const uint8_t *prime, const size_t keylen)
+ {
+ int result = 0;
+@@ -184,6 +193,9 @@ int dh_generate_keypair(uint8_t *priv_out, uint8_t 
*pub_out, const uint8_t *gen,
+   goto out;
+ if(BN_bn2bin(dh->pub_key, pub_out) == 0)
+   goto out;
++
++pad_leading_zeros(priv_out, BN_num_bytes(dh->priv_key), keylen);
++pad_leading_zeros(pub_out, BN_num_bytes(dh->pub_key), keylen);
+ #else
+ DH_get0_key(dh, _key, _key);
+ if(BN_bn2binpad(priv_key, priv_out, keylen) == -1)
+@@ -216,9 +228,11 @@ int dh_compute_shared_key(uint8_t *shared_out, const 
uint8_t *priv, const uint8_
+ if(!DH_set0_key(dh, NULL, BN_bin2bn(priv, keylen, NULL)))
+   goto out;
+ #endif
+-if(DH_compute_key(shared_out, BN_bin2bn(pub, keylen, NULL), dh) == -1)
+-  goto out;
++int shared_len = DH_compute_key(shared_out, BN_bin2bn(pub, keylen, NULL), 
dh);
++if(shared_len == -1)
++goto out;
+ 
++pad_leading_zeros(shared_out, shared_len, keylen);
+ result = 1;
+ 
+  out:
+-- 
+2.39.2
+

diff --git a/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
new file mode 100644
index ..996b5e9c2b4e
--- /dev/null
+++ b/net-libs/libvncserver/libvncserver-0.9.14-r1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_P="LibVNCServer-${PV}"
+
+DESCRIPTION="library for creating vnc servers"
+HOMEPAGE="https://libvnc.github.io/;
+SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
+S="${WORKDIR}/${PN}-${MY_P}"
+
+# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
+LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
+# no sub slot wanted (yet), see #578958
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+24bpp +filetransfer +gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
+# https://bugs.gentoo.org/690202
+# https://bugs.gentoo.org/435326
+# https://bugs.gentoo.org/550916
+REQUIRED_USE="
+   filetransfer? ( threads )
+   jpeg? ( zlib )
+   png? ( zlib )
+   ssl? ( !gnutls? ( threads ) )
+"
+# Avoid using internal crypto backend as it doesn't support
+# all authentication methods #893608
+REQUIRED_USE+="
+   ssl? ( gnutls? ( gcrypt ) )
+   !ssl? ( gcrypt )
+"
+
+DEPEND="
+   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
+   ssl? (
+   !gnutls? (
+   >=dev-libs/openssl-1.0.2:0=
+   )
+   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
+   )
+   jpeg? ( media-libs/libjpeg-turbo:= )
+   lzo? ( dev-libs/lzo )
+   png? ( >=media-libs/libpng-1.6.10:0= )
+   sasl? ( 

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/files/

2023-03-22 Thread Sam James
commit: 0f2d52caeae7b364e291c73fd9ceabd90dd1b7fa
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar 23 04:43:36 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 23 04:56:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f2d52ca

net-libs/libvncserver: add patch metadata

Bug: https://bugs.gentoo.org/893608
Signed-off-by: Sam James  gentoo.org>

 .../files/libvncserver-0.9.14-crypto-openssl-fix.patch   | 9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch
index d4c76773b02c..85179ee5ae61 100644
--- a/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch
+++ b/net-libs/libvncserver/files/libvncserver-0.9.14-crypto-openssl-fix.patch
@@ -1,3 +1,6 @@
+https://github.com/LibVNC/libvncserver/commit/b686f379c34114cf938fe88291f58014337558f6
+https://bugs.gentoo.org/893608
+
 From b686f379c34114cf938fe88291f58014337558f6 Mon Sep 17 00:00:00 2001
 From: Gaurav Ujjwal 
 Date: Mon, 23 Jan 2023 00:03:03 +0530
@@ -6,12 +9,6 @@ Subject: [PATCH] common/crypto_openssl: pad DH key buffers 
with leading zeros
 
 Re: https://github.com/LibVNC/libvncserver/issues/493
 Re: https://github.com/bk138/multivnc/issues/202

- common/crypto_openssl.c | 18 --
- 1 file changed, 16 insertions(+), 2 deletions(-)
-
-diff --git a/common/crypto_openssl.c b/common/crypto_openssl.c
-index 50e8073a..dc1ee093 100644
 --- a/common/crypto_openssl.c
 +++ b/common/crypto_openssl.c
 @@ -156,6 +156,15 @@ int encrypt_aes128ecb(void *out, int *out_len, const 
unsigned char key[16], cons



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-02-28 Thread Joonas Niilola
commit: cd2a179ecfadad2276ca63e7d993fd7ec87ebd73
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Wed Feb 15 19:28:49 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Feb 28 16:13:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd2a179e

net-libs/libvncserver: turn gcrypt USE flag on by default

Also avoid using internal crypto backend as it doesn't support all
authentication methods.

Bug: https://bugs.gentoo.org/893608
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/29596
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14.ebuild | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
index 01ad479fffc3..bc1c292d70e9 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
@@ -17,7 +17,7 @@ LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
+IUSE="+24bpp +filetransfer +gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916
@@ -27,6 +27,12 @@ REQUIRED_USE="
png? ( zlib )
ssl? ( !gnutls? ( threads ) )
 "
+# Avoid using internal crypto backend as it doesn't support
+# all authentication methods #893608
+REQUIRED_USE+="
+   ssl? ( gnutls? ( gcrypt ) )
+   !ssl? ( gcrypt )
+"
 
 DEPEND="
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/files/, net-libs/libvncserver/

2023-02-18 Thread Andreas Sturmlechner
commit: 29bd18220587faa63d90afb87447327f638257c2
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Fri Feb 17 21:35:03 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Feb 18 13:06:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29bd1822

net-libs/libvncserver: security cleanup

Bug: https://bugs.gentoo.org/887067
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/29641
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libvncserver/Manifest |  1 -
 .../files/libvncserver-0.9.13-CVE-2020-29260.patch | 27 
 .../libvncserver-0.9.13-test-fix-includetest.patch | 54 ---
 .../libvncserver-0.9.13-test-fix-tjunittest.patch  | 29 -
 .../libvncserver/libvncserver-0.9.13-r1.ebuild | 76 --
 5 files changed, 187 deletions(-)

diff --git a/net-libs/libvncserver/Manifest b/net-libs/libvncserver/Manifest
index 560434399356..779ce1c48b7d 100644
--- a/net-libs/libvncserver/Manifest
+++ b/net-libs/libvncserver/Manifest
@@ -1,2 +1 @@
-DIST LibVNCServer-0.9.13.tar.gz 567491 BLAKE2B 
138c7ca63f8cd30a21dc1b58aafa744e12a1a9eca503ffec18a63d18791d7a5df4eef176d7e4e797a2aadda1dd04d1b051abfd76bf5c6806d558c09ffee78cce
 SHA512 
18b0a1698d32bbdbfe6f65f76130b2a95860e3cc76e8adb904269663698c7c0ae982f451fda1f25e5461f096045d40a89d9014258f439366d5b4feaa4999d643
 DIST LibVNCServer-0.9.14.tar.gz 593516 BLAKE2B 
6585e15e2ade08211ace0ae40deb07eca04b96dcfe38fb4d2e7d7a7192ca22dda546cb69fc4be6c6b7eb83c8afb0ea14d7cee3779a9e64c138ec861efeb540b8
 SHA512 
8a0a58e355154cbe1e5807864dc874b063c5e5f5e20d64ae541d49d51b654a35ca9c625adc5c303b6570fa79c19f82d87a37612f9801b453ccf862bd77c06fcc

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.13-CVE-2020-29260.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.13-CVE-2020-29260.patch
deleted file mode 100644
index 23ffed8c1774..
--- a/net-libs/libvncserver/files/libvncserver-0.9.13-CVE-2020-29260.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From bef41f6ec4097a8ee094f90a1b34a708fbd757ec Mon Sep 17 00:00:00 2001
-From: Christian Beier 
-Date: Sat, 21 Nov 2020 12:52:31 +0100
-Subject: [PATCH] libvncclient: free vncRec memory in rfbClientCleanup()
-
-Otherwise we leak memory. Spotted by Ramin Farajpour Cami
-, thanks!

- libvncclient/vncviewer.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
-index d6b91f02..0a1bdcf6 100644
 a/libvncclient/vncviewer.c
-+++ b/libvncclient/vncviewer.c
-@@ -534,6 +534,8 @@ void rfbClientCleanup(rfbClient* client) {
- client->clientData = next;
-   }
- 
-+  free(client->vncRec);
-+
-   if (client->sock != RFB_INVALID_SOCKET)
- rfbCloseSocket(client->sock);
-   if (client->listenSock != RFB_INVALID_SOCKET)
--- 
-2.35.1
-

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.13-test-fix-includetest.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.13-test-fix-includetest.patch
deleted file mode 100644
index 767708288830..
--- a/net-libs/libvncserver/files/libvncserver-0.9.13-test-fix-includetest.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 39cff3dd6b5d9ebcf86f01e2c7e0bef62abd9d6f Mon Sep 17 00:00:00 2001
-From: Alexander Tsoy 
-Date: Thu, 25 Jun 2020 11:35:04 +0300
-Subject: [PATCH 1/2] test: fix includetest to use CMAKE_MAKE_PROGRAM (#431)
-
-includetest currently fais if, for example, ninja is used as a CMake
-generator. Fix it by using CMAKE_MAKE_PROGRAM in the test.

- CMakeLists.txt  | 2 +-
- test/includetest.sh | 7 ---
- 2 files changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 0b6228a2..290deb38 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -680,7 +680,7 @@ endif(LIBVNCSERVER_WITH_WEBSOCKETS)
- 
- add_test(NAME cargs COMMAND test_cargstest)
- if(UNIX)
--  add_test(NAME includetest COMMAND ${TESTS_DIR}/includetest.sh 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR})
-+  add_test(NAME includetest COMMAND ${TESTS_DIR}/includetest.sh 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR} ${CMAKE_MAKE_PROGRAM})
- endif(UNIX)
- if(FOUND_LIBJPEG_TURBO)
- add_test(NAME turbojpeg COMMAND test_tjunittest)
-diff --git a/test/includetest.sh b/test/includetest.sh
-index 23d602e6..6b064208 100755
 a/test/includetest.sh
-+++ b/test/includetest.sh
-@@ -5,10 +5,11 @@
- 
- # expects install prefix like /usr as an argument
- PREFIX=$1
-+CMAKE_MAKE_PROGRAM=$2
- 
- TMPDIR=$(mktemp -d)
- 
--make install DESTDIR=$TMPDIR
-+DESTDIR="$TMPDIR" $CMAKE_MAKE_PROGRAM install
- 
- echo \
- "
-@@ -19,6 +20,6 @@ int main()
- {
- return 0;
- }
--" > $TMPDIR/includetest.c
-+" > "$TMPDIR"/includetest.c
- 
--cc -I $TMPDIR/$PREFIX $TMPDIR/includetest.c
-+cc -I "$TMPDIR/$PREFIX" "$TMPDIR"/includetest.c
--- 
-2.26.2
-

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.13-test-fix-tjunittest.patch 

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-02-16 Thread Sam James
commit: 232b5e2b46e3a2f2ac604052af545e8fd8f87712
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 10:01:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 10:01:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=232b5e2b

net-libs/libvncserver: Stabilize 0.9.14 x86, #894652

Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
index 12e7358786ca..01ad479fffc3 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-02-15 Thread Sam James
commit: 5fca042ac9b9c353eaab53c98897c3be94e9217b
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 06:03:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 06:03:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fca042a

net-libs/libvncserver: Stabilize 0.9.14 amd64, #894652

Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
index bf58dcbe37af..12e7358786ca 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-02-15 Thread Sam James
commit: af68d007d9f653e33dde353ee5e87161266b3f0d
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 03:30:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 03:30:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af68d007

net-libs/libvncserver: Stabilize 0.9.14 ppc, #894652

Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
index 594fd9d3fe9c..1ded832acda9 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-02-15 Thread Sam James
commit: 7438f46b08a29724d1699071101a245a9f0d4abc
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 03:30:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 03:30:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7438f46b

net-libs/libvncserver: Stabilize 0.9.14 sparc, #894652

Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
index 5141d192ae55..594fd9d3fe9c 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-02-15 Thread Sam James
commit: 738792f80c3e85a51354da41b3149fdfdbf59178
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 03:30:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 03:30:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=738792f8

net-libs/libvncserver: Stabilize 0.9.14 arm, #894652

Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
index 0ac2e9b3114c..bf58dcbe37af 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-02-15 Thread Sam James
commit: 6ef687e38552605124256e92ea83f7d123017b9f
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 03:30:14 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 03:30:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef687e3

net-libs/libvncserver: Stabilize 0.9.14 ppc64, #894652

Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
index 1ded832acda9..0ac2e9b3114c 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2023-02-15 Thread Sam James
commit: 5af3326d78477287b9ed8a348464aa948eebd81b
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 15 22:02:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 15 22:02:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af3326d

net-libs/libvncserver: Stabilize 0.9.14 arm64, #894652

Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.14.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.14.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
index 21cab9d4d577..5141d192ae55 100644
--- a/net-libs/libvncserver/libvncserver-0.9.14.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2022-12-27 Thread Sam James
commit: 14545c056ef18019e9de4cfb41ec1d8da538a8c8
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Tue Dec 27 00:26:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 27 10:22:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14545c05

net-libs/libvncserver: version bump to 0.9.14

Bug: https://bugs.gentoo.org/887067
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/28833
Signed-off-by: Sam James  gentoo.org>

 net-libs/libvncserver/Manifest   |  1 +
 net-libs/libvncserver/libvncserver-0.9.14.ebuild | 71 
 2 files changed, 72 insertions(+)

diff --git a/net-libs/libvncserver/Manifest b/net-libs/libvncserver/Manifest
index c7569e5d4778..560434399356 100644
--- a/net-libs/libvncserver/Manifest
+++ b/net-libs/libvncserver/Manifest
@@ -1 +1,2 @@
 DIST LibVNCServer-0.9.13.tar.gz 567491 BLAKE2B 
138c7ca63f8cd30a21dc1b58aafa744e12a1a9eca503ffec18a63d18791d7a5df4eef176d7e4e797a2aadda1dd04d1b051abfd76bf5c6806d558c09ffee78cce
 SHA512 
18b0a1698d32bbdbfe6f65f76130b2a95860e3cc76e8adb904269663698c7c0ae982f451fda1f25e5461f096045d40a89d9014258f439366d5b4feaa4999d643
+DIST LibVNCServer-0.9.14.tar.gz 593516 BLAKE2B 
6585e15e2ade08211ace0ae40deb07eca04b96dcfe38fb4d2e7d7a7192ca22dda546cb69fc4be6c6b7eb83c8afb0ea14d7cee3779a9e64c138ec861efeb540b8
 SHA512 
8a0a58e355154cbe1e5807864dc874b063c5e5f5e20d64ae541d49d51b654a35ca9c625adc5c303b6570fa79c19f82d87a37612f9801b453ccf862bd77c06fcc

diff --git a/net-libs/libvncserver/libvncserver-0.9.14.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
new file mode 100644
index ..21cab9d4d577
--- /dev/null
+++ b/net-libs/libvncserver/libvncserver-0.9.14.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_P="LibVNCServer-${PV}"
+
+DESCRIPTION="library for creating vnc servers"
+HOMEPAGE="https://libvnc.github.io/;
+SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
+S="${WORKDIR}/${PN}-${MY_P}"
+
+# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
+LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
+# no sub slot wanted (yet), see #578958
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
+# https://bugs.gentoo.org/690202
+# https://bugs.gentoo.org/435326
+# https://bugs.gentoo.org/550916
+REQUIRED_USE="
+   filetransfer? ( threads )
+   jpeg? ( zlib )
+   png? ( zlib )
+   ssl? ( !gnutls? ( threads ) )
+"
+
+DEPEND="
+   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
+   ssl? (
+   !gnutls? (
+   >=dev-libs/openssl-1.0.2:0=
+   )
+   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
+   )
+   jpeg? ( media-libs/libjpeg-turbo:= )
+   lzo? ( dev-libs/lzo )
+   png? ( >=media-libs/libpng-1.6.10:0= )
+   sasl? ( dev-libs/cyrus-sasl )
+   systemd? ( sys-apps/systemd:= )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS.md README.md )
+
+src_configure() {
+   local mycmakeargs=(
+   -DWITH_EXAMPLES=OFF
+   -DWITH_FFMPEG=OFF
+   -DWITH_GTK=OFF
+   -DWITH_SDL=OFF
+   -DWITH_24BPP=$(usex 24bpp ON OFF)
+   -DWITH_TIGHTVNC_FILETRANSFER=$(usex filetransfer ON OFF)
+   -DWITH_GCRYPT=$(usex gcrypt ON OFF)
+   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
+   -DWITH_IPv6=$(usex ipv6 ON OFF)
+   -DWITH_JPEG=$(usex jpeg ON OFF)
+   -DWITH_LZO=$(usex lzo ON OFF)
+   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
+   -DWITH_PNG=$(usex png ON OFF)
+   -DWITH_SASL=$(usex sasl ON OFF)
+   -DWITH_SYSTEMD=$(usex systemd ON OFF)
+   -DWITH_THREADS=$(usex threads ON OFF)
+   -DWITH_ZLIB=$(usex zlib ON OFF)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2022-12-02 Thread WANG Xuerui
commit: 204729b2be92e0ba9f26df64d15990ad8e08abbf
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sat Dec  3 05:49:46 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat Dec  3 06:07:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=204729b2

net-libs/libvncserver: keyword 0.9.13-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
index af204e2ea41f..29851d5a4e57 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2022-09-30 Thread John Helmert III
commit: 42d5e9d6c8415ba4f6a09aac08b49a9af6958e55
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Fri Sep 30 15:06:46 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Fri Sep 30 15:18:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d5e9d6

net-libs/libvncserver: security cleanup

Bug: https://bugs.gentoo.org/868135
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/27540
Signed-off-by: John Helmert III  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 75 
 1 file changed, 75 deletions(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
deleted file mode 100644
index c046ad17bcf2..
--- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_P="LibVNCServer-${PV}"
-
-DESCRIPTION="library for creating vnc servers"
-HOMEPAGE="https://libvnc.github.io/;
-SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
-S="${WORKDIR}/${PN}-${MY_P}"
-
-# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
-LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
-# no sub slot wanted (yet), see #578958
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
-# https://bugs.gentoo.org/690202
-# https://bugs.gentoo.org/435326
-# https://bugs.gentoo.org/550916
-REQUIRED_USE="
-   filetransfer? ( threads )
-   jpeg? ( zlib )
-   png? ( zlib )
-   ssl? ( !gnutls? ( threads ) )
-"
-
-DEPEND="
-   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
-   ssl? (
-   !gnutls? (
-   >=dev-libs/openssl-1.0.2:0=
-   )
-   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
-   )
-   jpeg? ( >=virtual/jpeg-0-r2:0 )
-   lzo? ( dev-libs/lzo )
-   png? ( >=media-libs/libpng-1.6.10:0= )
-   sasl? ( dev-libs/cyrus-sasl )
-   systemd? ( sys-apps/systemd:= )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=( AUTHORS ChangeLog NEWS.md README.md TODO.md )
-
-PATCHES=(
-   "${FILESDIR}"/${P}-test-fix-includetest.patch
-   "${FILESDIR}"/${P}-test-fix-tjunittest.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DWITH_FFMPEG=OFF
-   -DWITH_GTK=OFF
-   -DWITH_SDL=OFF
-   -DWITH_24BPP=$(usex 24bpp ON OFF)
-   -DWITH_TIGHTVNC_FILETRANSFER=$(usex filetransfer ON OFF)
-   -DWITH_GCRYPT=$(usex gcrypt ON OFF)
-   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
-   -DWITH_IPv6=$(usex ipv6 ON OFF)
-   -DWITH_JPEG=$(usex jpeg ON OFF)
-   -DWITH_LZO=$(usex lzo ON OFF)
-   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
-   -DWITH_PNG=$(usex png ON OFF)
-   -DWITH_SASL=$(usex sasl ON OFF)
-   -DWITH_SYSTEMD=$(usex systemd ON OFF)
-   -DWITH_THREADS=$(usex threads ON OFF)
-   -DWITH_ZLIB=$(usex zlib ON OFF)
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2022-09-30 Thread Agostino Sarubbo
commit: 4da370423ea886469d8a8c53db8a2191a3fe7ee9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 30 11:49:26 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 30 11:49:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da37042

net-libs/libvncserver: Stabilize 0.9.13-r1 ppc64, #872647

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
index f3f17d813c79..af204e2ea41f 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2022-09-30 Thread Agostino Sarubbo
commit: d4d77dbafabf8c39309788efec5f7662be4c3565
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 30 11:48:34 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 30 11:48:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d77dba

net-libs/libvncserver: Stabilize 0.9.13-r1 ppc, #872647

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
index a79c16a2928b..f3f17d813c79 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2022-09-30 Thread Agostino Sarubbo
commit: 3000d8e0fc63e3577347cf58266a4d5afe5732ab
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 30 11:47:37 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 30 11:47:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3000d8e0

net-libs/libvncserver: Stabilize 0.9.13-r1 arm64, #872647

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
index 4b3ae4640064..a79c16a2928b 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2022-09-29 Thread Joonas Niilola
commit: 25822657acb223c936804dc476eef16c9882aaeb
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Sep 30 05:38:20 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 30 05:38:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25822657

net-libs/libvncserver: Stabilize 0.9.13-r1 amd64, #872647

Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
index 2b9e9f897714..9318f4f02ded 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2022-09-29 Thread Joonas Niilola
commit: a8be9d131b7faeee79948ae6e516dc31e0481a84
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Sep 30 05:39:37 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Sep 30 05:39:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8be9d13

net-libs/libvncserver: Stabilize 0.9.13-r1 x86, #872647

Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
index 9318f4f02ded..4b3ae4640064 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2022-09-29 Thread Arthur Zamarin
commit: 12ea3a89fe927ae4fd1af51f6a377bdcfa2af0c7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Sep 29 19:19:11 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Sep 29 19:19:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12ea3a89

net-libs/libvncserver: Stabilize 0.9.13-r1 sparc, #872647

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
index e99331065528..2b9e9f897714 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2022-09-29 Thread Arthur Zamarin
commit: c149ebb30988cbb248572a827081fca141be0db8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Sep 29 18:06:58 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Sep 29 18:06:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c149ebb3

net-libs/libvncserver: Stabilize 0.9.13-r1 arm, #872647

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
index 2a9d65199e87..e99331065528 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/, net-libs/libvncserver/files/

2022-09-24 Thread Andreas Sturmlechner
commit: d33d79334f52b44ddc670fa9461105d2cfc64ea9
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu Sep 22 00:02:29 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Sep 24 10:00:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d33d7933

net-libs/libvncserver: fix CVE-2020-29260

Also update EAPI 7 -> 8

Bug: https://bugs.gentoo.org/868135
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/27388
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/libvncserver-0.9.13-CVE-2020-29260.patch | 27 
 .../libvncserver/libvncserver-0.9.13-r1.ebuild | 76 ++
 2 files changed, 103 insertions(+)

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.13-CVE-2020-29260.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.13-CVE-2020-29260.patch
new file mode 100644
index ..23ffed8c1774
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.13-CVE-2020-29260.patch
@@ -0,0 +1,27 @@
+From bef41f6ec4097a8ee094f90a1b34a708fbd757ec Mon Sep 17 00:00:00 2001
+From: Christian Beier 
+Date: Sat, 21 Nov 2020 12:52:31 +0100
+Subject: [PATCH] libvncclient: free vncRec memory in rfbClientCleanup()
+
+Otherwise we leak memory. Spotted by Ramin Farajpour Cami
+, thanks!
+---
+ libvncclient/vncviewer.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
+index d6b91f02..0a1bdcf6 100644
+--- a/libvncclient/vncviewer.c
 b/libvncclient/vncviewer.c
+@@ -534,6 +534,8 @@ void rfbClientCleanup(rfbClient* client) {
+ client->clientData = next;
+   }
+ 
++  free(client->vncRec);
++
+   if (client->sock != RFB_INVALID_SOCKET)
+ rfbCloseSocket(client->sock);
+   if (client->listenSock != RFB_INVALID_SOCKET)
+-- 
+2.35.1
+

diff --git a/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
new file mode 100644
index ..2a9d65199e87
--- /dev/null
+++ b/net-libs/libvncserver/libvncserver-0.9.13-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_P="LibVNCServer-${PV}"
+
+DESCRIPTION="library for creating vnc servers"
+HOMEPAGE="https://libvnc.github.io/;
+SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
+S="${WORKDIR}/${PN}-${MY_P}"
+
+# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
+LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
+# no sub slot wanted (yet), see #578958
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
+# https://bugs.gentoo.org/690202
+# https://bugs.gentoo.org/435326
+# https://bugs.gentoo.org/550916
+REQUIRED_USE="
+   filetransfer? ( threads )
+   jpeg? ( zlib )
+   png? ( zlib )
+   ssl? ( !gnutls? ( threads ) )
+"
+
+DEPEND="
+   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
+   ssl? (
+   !gnutls? (
+   >=dev-libs/openssl-1.0.2:0=
+   )
+   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
+   )
+   jpeg? ( media-libs/libjpeg-turbo:= )
+   lzo? ( dev-libs/lzo )
+   png? ( >=media-libs/libpng-1.6.10:0= )
+   sasl? ( dev-libs/cyrus-sasl )
+   systemd? ( sys-apps/systemd:= )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS.md README.md TODO.md )
+
+PATCHES=(
+   "${FILESDIR}"/${P}-test-fix-includetest.patch
+   "${FILESDIR}"/${P}-test-fix-tjunittest.patch
+   "${FILESDIR}"/${P}-CVE-2020-29260.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DWITH_FFMPEG=OFF
+   -DWITH_GTK=OFF
+   -DWITH_SDL=OFF
+   -DWITH_24BPP=$(usex 24bpp ON OFF)
+   -DWITH_TIGHTVNC_FILETRANSFER=$(usex filetransfer ON OFF)
+   -DWITH_GCRYPT=$(usex gcrypt ON OFF)
+   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
+   -DWITH_IPv6=$(usex ipv6 ON OFF)
+   -DWITH_JPEG=$(usex jpeg ON OFF)
+   -DWITH_LZO=$(usex lzo ON OFF)
+   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
+   -DWITH_PNG=$(usex png ON OFF)
+   -DWITH_SASL=$(usex sasl ON OFF)
+   -DWITH_SYSTEMD=$(usex systemd ON OFF)
+   -DWITH_THREADS=$(usex threads ON OFF)
+   -DWITH_ZLIB=$(usex zlib ON OFF)
+   )
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2021-05-02 Thread Mikle Kolyada
commit: 59f5a84ba6f52469ce6956a16e37d4d677ba8fb2
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May  2 10:44:42 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May  2 10:44:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59f5a84b

net-libs/libvncserver: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
index 319149c5bc1..b0e0993064f 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux"
-IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl 
systemd +threads +zlib"
+IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916
@@ -32,8 +32,7 @@ DEPEND="
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
ssl? (
!gnutls? (
-   !libressl? ( >=dev-libs/openssl-1.0.2:0= )
-   libressl? ( >=dev-libs/libressl-2.7.0:0= )
+   >=dev-libs/openssl-1.0.2:0=
)
gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
)



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/, net-libs/libvncserver/files/

2020-06-29 Thread Aaron Bauman
commit: 3cc06e5fd4889a3fd2d77d6a411efe0f82f3
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Mon Jun 29 07:52:36 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Jun 29 17:29:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc06e5f

net-libs/libvncserver: Security cleanup

Bug: https://bugs.gentoo.org/728594
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/16483
Signed-off-by: Aaron Bauman  gentoo.org>

 net-libs/libvncserver/Manifest |  1 -
 .../files/libvncserver-0.9.12-CVE-2018-20750.patch | 47 --
 .../files/libvncserver-0.9.12-CVE-2019-15681.patch | 26 
 .../files/libvncserver-0.9.12-CVE-2019-15690.patch | 39 ---
 .../files/libvncserver-0.9.12-cmake-libdir.patch   | 46 -
 .../libvncserver-0.9.12-fix-shutdown-crash.patch   | 63 --
 ...ibvncserver-0.9.12-fix-tight-raw-decoding.patch | 40 
 .../files/libvncserver-0.9.12-libgcrypt.patch  | 40 
 .../libvncserver-0.9.12-pkgconfig-libdir.patch | 41 
 .../libvncserver-0.9.12-sparc-unaligned.patch  | 40 
 .../libvncserver/libvncserver-0.9.12-r5.ebuild | 75 --
 11 files changed, 458 deletions(-)

diff --git a/net-libs/libvncserver/Manifest b/net-libs/libvncserver/Manifest
index 836e8ec1e80..c7569e5d477 100644
--- a/net-libs/libvncserver/Manifest
+++ b/net-libs/libvncserver/Manifest
@@ -1,2 +1 @@
-DIST LibVNCServer-0.9.12.tar.gz 2237447 BLAKE2B 
583500c0bcfb6e9e3a02a33fb2701113b164851f0906fcc4845de7c7d82d4f7f65f5edd6c9a672348ee1deeefc65c1b0a257da024254598ba86d121d424f027e
 SHA512 
60ff1cc93a937d6f8f97449bc58b763095846207112f7b1b3c43eb2d74448b595d6da949903a764bd484ee54e38ff6277e882adbe965dd6d26ba15ef6ff6fcb8
 DIST LibVNCServer-0.9.13.tar.gz 567491 BLAKE2B 
138c7ca63f8cd30a21dc1b58aafa744e12a1a9eca503ffec18a63d18791d7a5df4eef176d7e4e797a2aadda1dd04d1b051abfd76bf5c6806d558c09ffee78cce
 SHA512 
18b0a1698d32bbdbfe6f65f76130b2a95860e3cc76e8adb904269663698c7c0ae982f451fda1f25e5461f096045d40a89d9014258f439366d5b4feaa4999d643

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2018-20750.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2018-20750.patch
deleted file mode 100644
index 55f122d1258..000
--- a/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2018-20750.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 09e8fc02f59f16e2583b34fe1a270c238bd9ffec Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
-Date: Mon, 7 Jan 2019 10:40:01 +0100
-Subject: [PATCH 01/51] Limit lenght to INT_MAX bytes in
- rfbProcessFileTransferReadBuffer()
-
-This ammends 15bb719c03cc70f14c36a843dcb16ed69b405707 fix for a heap
-out-of-bound write access in rfbProcessFileTransferReadBuffer() when
-reading a transfered file content in a server. The former fix did not
-work on platforms with a 32-bit int type (expected by rfbReadExact()).
-
-CVE-2018-15127
-
-

- libvncserver/rfbserver.c | 7 ++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c
-index 7af8490..f2edbee 100644
 a/libvncserver/rfbserver.c
-+++ b/libvncserver/rfbserver.c
-@@ -88,6 +88,8 @@
- #include 
- /* strftime() */
- #include 
-+/* INT_MAX */
-+#include 
- 
- #ifdef LIBVNCSERVER_WITH_WEBSOCKETS
- #include "rfbssl.h"
-@@ -1472,8 +1474,11 @@ char *rfbProcessFileTransferReadBuffer(rfbClientPtr cl, 
uint32_t length)
-0X, i.e. SIZE_MAX for 32-bit systems. On 64-bit systems, a 
length of 0X
-will safely be allocated since this check will never trigger and 
malloc() can digest length+1
-without problems as length is a uint32_t.
-+   We also later pass length to rfbReadExact() that expects a signed int 
type and
-+   that might wrap on platforms with a 32-bit int type if length is bigger
-+   than 0X7FFF.
- */
--if(length == SIZE_MAX) {
-+if(length == SIZE_MAX || length > INT_MAX) {
-   rfbErr("rfbProcessFileTransferReadBuffer: too big file transfer length 
requested: %u", (unsigned int)length);
-   rfbCloseClient(cl);
-   return NULL;
--- 
-2.23.0
-

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2019-15681.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2019-15681.patch
deleted file mode 100644
index 301d1340d14..000
--- a/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2019-15681.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From d01e1bb4246323ba6fcee3b82ef1faa9b1dac82a Mon Sep 17 00:00:00 2001
-From: Christian Beier 
-Date: Mon, 19 Aug 2019 22:32:25 +0200
-Subject: [PATCH 48/51] rfbserver: don't leak stack memory to the remote
-
-Thanks go to Pavel Cheremushkin of Kaspersky for reporting.

- libvncserver/rfbserver.c | 2 ++
- 1 file changed, 

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-06-29 Thread Agostino Sarubbo
commit: 2a3ec13a8f57286dc8a19cdca7914ff982429ede
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 29 06:26:14 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 29 06:26:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a3ec13a

net-libs/libvncserver: x86 stable wrt bug #728594

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
index 8b2632df520..c513bda1f85 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl 
systemd +threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-06-29 Thread Agostino Sarubbo
commit: 767e48d0f57b5a968eeece3caca3cc2bfd6bfc4b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 29 06:21:58 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 29 06:21:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=767e48d0

net-libs/libvncserver: arm stable wrt bug #728594

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
index e0626d093be..8b2632df520 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl 
systemd +threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-06-29 Thread Agostino Sarubbo
commit: 02188ec86f942514f3f36d10af048ca55c37226a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 29 06:19:51 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 29 06:19:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02188ec8

net-libs/libvncserver: amd64 stable wrt bug #728594

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
index 679f0728394..e0626d093be 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl 
systemd +threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-06-28 Thread Agostino Sarubbo
commit: 469a98b457f2b72e4cf48a2ce23473dd392c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 28 20:48:05 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 28 20:48:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=469a98ff

net-libs/libvncserver: ppc stable wrt bug #728594

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
index 7d90dcb34c0..679f0728394 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl 
systemd +threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-06-28 Thread Agostino Sarubbo
commit: 56810da25f4d4ca53bc0581d54bd88ed9f4b7007
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 28 20:36:47 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 28 20:36:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56810da2

net-libs/libvncserver: ppc64 stable wrt bug #728594

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
index a5f53103e42..7d90dcb34c0 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl 
systemd +threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/, net-libs/libvncserver/files/

2020-06-27 Thread Andreas Sturmlechner
commit: 4917a4e4865c7854528acd1d95c7c1996aa57214
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu Jun 25 11:15:54 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jun 27 12:15:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4917a4e4

net-libs/libvncserver: Fix tests

* Fix includetest with CMAKE_MAKEFILE_GENERATOR=ninja
* Do not run tjunittest with USE=-jpeg

Commiting straight to stable as only tests are affected by these
changes.

Closes: https://bugs.gentoo.org/729092
Bug: https://bugs.gentoo.org/729188
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/16411
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../libvncserver-0.9.13-test-fix-includetest.patch | 54 ++
 .../libvncserver-0.9.13-test-fix-tjunittest.patch  | 29 
 net-libs/libvncserver/libvncserver-0.9.13.ebuild   |  5 ++
 3 files changed, 88 insertions(+)

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.13-test-fix-includetest.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.13-test-fix-includetest.patch
new file mode 100644
index 000..76770828883
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.13-test-fix-includetest.patch
@@ -0,0 +1,54 @@
+From 39cff3dd6b5d9ebcf86f01e2c7e0bef62abd9d6f Mon Sep 17 00:00:00 2001
+From: Alexander Tsoy 
+Date: Thu, 25 Jun 2020 11:35:04 +0300
+Subject: [PATCH 1/2] test: fix includetest to use CMAKE_MAKE_PROGRAM (#431)
+
+includetest currently fais if, for example, ninja is used as a CMake
+generator. Fix it by using CMAKE_MAKE_PROGRAM in the test.
+---
+ CMakeLists.txt  | 2 +-
+ test/includetest.sh | 7 ---
+ 2 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0b6228a2..290deb38 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -680,7 +680,7 @@ endif(LIBVNCSERVER_WITH_WEBSOCKETS)
+ 
+ add_test(NAME cargs COMMAND test_cargstest)
+ if(UNIX)
+-  add_test(NAME includetest COMMAND ${TESTS_DIR}/includetest.sh 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR})
++  add_test(NAME includetest COMMAND ${TESTS_DIR}/includetest.sh 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR} ${CMAKE_MAKE_PROGRAM})
+ endif(UNIX)
+ if(FOUND_LIBJPEG_TURBO)
+ add_test(NAME turbojpeg COMMAND test_tjunittest)
+diff --git a/test/includetest.sh b/test/includetest.sh
+index 23d602e6..6b064208 100755
+--- a/test/includetest.sh
 b/test/includetest.sh
+@@ -5,10 +5,11 @@
+ 
+ # expects install prefix like /usr as an argument
+ PREFIX=$1
++CMAKE_MAKE_PROGRAM=$2
+ 
+ TMPDIR=$(mktemp -d)
+ 
+-make install DESTDIR=$TMPDIR
++DESTDIR="$TMPDIR" $CMAKE_MAKE_PROGRAM install
+ 
+ echo \
+ "
+@@ -19,6 +20,6 @@ int main()
+ {
+ return 0;
+ }
+-" > $TMPDIR/includetest.c
++" > "$TMPDIR"/includetest.c
+ 
+-cc -I $TMPDIR/$PREFIX $TMPDIR/includetest.c
++cc -I "$TMPDIR/$PREFIX" "$TMPDIR"/includetest.c
+-- 
+2.26.2
+

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.13-test-fix-tjunittest.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.13-test-fix-tjunittest.patch
new file mode 100644
index 000..98e3a654b47
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.13-test-fix-tjunittest.patch
@@ -0,0 +1,29 @@
+From 8244fab5421fd14d4c75ce488ad18d38b7a6edb4 Mon Sep 17 00:00:00 2001
+From: Christian Beier 
+Date: Thu, 25 Jun 2020 12:21:50 +0200
+Subject: [PATCH 2/2] CMake: only add turbojpeg test if configured WITH_JPEG
+
+Closes #430
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 290deb38..fdca4d81 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -682,9 +682,9 @@ add_test(NAME cargs COMMAND test_cargstest)
+ if(UNIX)
+   add_test(NAME includetest COMMAND ${TESTS_DIR}/includetest.sh 
${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR} ${CMAKE_MAKE_PROGRAM})
+ endif(UNIX)
+-if(FOUND_LIBJPEG_TURBO)
++if(WITH_JPEG AND FOUND_LIBJPEG_TURBO)
+ add_test(NAME turbojpeg COMMAND test_tjunittest)
+-endif(FOUND_LIBJPEG_TURBO)
++endif(WITH_JPEG AND FOUND_LIBJPEG_TURBO)
+ if(LIBVNCSERVER_WITH_WEBSOCKETS)
+ add_test(NAME wstest COMMAND test_wstest)
+ endif(LIBVNCSERVER_WITH_WEBSOCKETS)
+-- 
+2.26.2
+

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
index 2adb6bf71a2..a5f53103e42 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
@@ -48,6 +48,11 @@ RDEPEND="${DEPEND}"
 
 DOCS=( AUTHORS ChangeLog NEWS.md README.md TODO.md )
 
+PATCHES=(
+   "${FILESDIR}"/${P}-test-fix-includetest.patch
+   "${FILESDIR}"/${P}-test-fix-tjunittest.patch
+)
+
 src_configure() {
local mycmakeargs=(
-DWITH_FFMPEG=OFF



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-06-26 Thread Mart Raudsepp
commit: 8bb8e277163c1dfc18b15d846adde0fb97231407
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Tue Jun 23 08:10:15 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Fri Jun 26 21:15:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb8e277

net-libs/libvncserver: arm64 stable (bug #728594)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
index c28d1ca321a..2adb6bf71a2 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl 
systemd +threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-06-22 Thread Sergei Trofimovich
commit: 1d14376421e9379c3cbbce4fad9ee00e14eb64c0
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jun 22 15:15:36 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jun 22 18:23:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d143764

net-libs/libvncserver: stable 0.9.13 for hppa/sparc, bug #728594

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="hppa sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
index 6a10ad06857..c28d1ca321a 100644
--- a/net-libs/libvncserver/libvncserver-0.9.13.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl 
systemd +threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-06-20 Thread Thomas Deutschmann
commit: 0220c0523306b9f439f4a2a2dd27d81b1a55ebcb
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Sun Jun 14 22:19:48 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Jun 20 20:30:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0220c052

net-libs/libvncserver: Version bump to 0.9.13

Closes: https://bugs.gentoo.org/715964
Closes: https://bugs.gentoo.org/715968
Bug: https://bugs.gentoo.org/728594
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/16245
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-libs/libvncserver/Manifest   |  1 +
 net-libs/libvncserver/libvncserver-0.9.13.ebuild | 71 
 net-libs/libvncserver/metadata.xml   |  3 +-
 3 files changed, 74 insertions(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/Manifest b/net-libs/libvncserver/Manifest
index 17e32429cee..836e8ec1e80 100644
--- a/net-libs/libvncserver/Manifest
+++ b/net-libs/libvncserver/Manifest
@@ -1 +1,2 @@
 DIST LibVNCServer-0.9.12.tar.gz 2237447 BLAKE2B 
583500c0bcfb6e9e3a02a33fb2701113b164851f0906fcc4845de7c7d82d4f7f65f5edd6c9a672348ee1deeefc65c1b0a257da024254598ba86d121d424f027e
 SHA512 
60ff1cc93a937d6f8f97449bc58b763095846207112f7b1b3c43eb2d74448b595d6da949903a764bd484ee54e38ff6277e882adbe965dd6d26ba15ef6ff6fcb8
+DIST LibVNCServer-0.9.13.tar.gz 567491 BLAKE2B 
138c7ca63f8cd30a21dc1b58aafa744e12a1a9eca503ffec18a63d18791d7a5df4eef176d7e4e797a2aadda1dd04d1b051abfd76bf5c6806d558c09ffee78cce
 SHA512 
18b0a1698d32bbdbfe6f65f76130b2a95860e3cc76e8adb904269663698c7c0ae982f451fda1f25e5461f096045d40a89d9014258f439366d5b4feaa4999d643

diff --git a/net-libs/libvncserver/libvncserver-0.9.13.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
new file mode 100644
index 000..6a10ad06857
--- /dev/null
+++ b/net-libs/libvncserver/libvncserver-0.9.13.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_P="LibVNCServer-${PV}"
+
+DESCRIPTION="library for creating vnc servers"
+HOMEPAGE="https://libvnc.github.io/;
+SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
+S="${WORKDIR}/${PN}-${MY_P}"
+
+# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
+LICENSE="GPL-2 GPL-2+ LGPL-2.1+ BSD MIT"
+# no sub slot wanted (yet), see #578958
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+IUSE="+24bpp +filetransfer gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl 
systemd +threads +zlib"
+# https://bugs.gentoo.org/690202
+# https://bugs.gentoo.org/435326
+# https://bugs.gentoo.org/550916
+REQUIRED_USE="
+   filetransfer? ( threads )
+   jpeg? ( zlib )
+   png? ( zlib )
+   ssl? ( !gnutls? ( threads ) )
+"
+
+DEPEND="
+   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
+   ssl? (
+   !gnutls? (
+   !libressl? ( >=dev-libs/openssl-1.0.2:0= )
+   libressl? ( >=dev-libs/libressl-2.7.0:0= )
+   )
+   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
+   )
+   jpeg? ( >=virtual/jpeg-0-r2:0 )
+   lzo? ( dev-libs/lzo )
+   png? ( >=media-libs/libpng-1.6.10:0= )
+   sasl? ( dev-libs/cyrus-sasl )
+   systemd? ( sys-apps/systemd:= )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS.md README.md TODO.md )
+
+src_configure() {
+   local mycmakeargs=(
+   -DWITH_FFMPEG=OFF
+   -DWITH_GTK=OFF
+   -DWITH_SDL=OFF
+   -DWITH_24BPP=$(usex 24bpp ON OFF)
+   -DWITH_TIGHTVNC_FILETRANSFER=$(usex filetransfer ON OFF)
+   -DWITH_GCRYPT=$(usex gcrypt ON OFF)
+   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
+   -DWITH_IPv6=$(usex ipv6 ON OFF)
+   -DWITH_JPEG=$(usex jpeg ON OFF)
+   -DWITH_LZO=$(usex lzo ON OFF)
+   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
+   -DWITH_PNG=$(usex png ON OFF)
+   -DWITH_SASL=$(usex sasl ON OFF)
+   -DWITH_SYSTEMD=$(usex systemd ON OFF)
+   -DWITH_THREADS=$(usex threads ON OFF)
+   -DWITH_ZLIB=$(usex zlib ON OFF)
+   )
+   cmake_src_configure
+}

diff --git a/net-libs/libvncserver/metadata.xml 
b/net-libs/libvncserver/metadata.xml
index 3d5cd2b505d..c968122e360 100644
--- a/net-libs/libvncserver/metadata.xml
+++ b/net-libs/libvncserver/metadata.xml
@@ -15,7 +15,8 @@


Enable 24bpp support
-   Enable support for additional 
authentication methods via dev-libs/libgcrypt
+   Enable support for TightVNC's file 
transfer protocol
+   Use dev-libs/libgcrypt as crypto 
backend
Enable LZO support via dev-libs/lzo 
instead of 

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-04-03 Thread Andreas Sturmlechner
commit: 5f77b04d989a9f245d6246087184b0a7e6f840fa
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Fri Apr  3 16:28:18 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Apr  3 16:34:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f77b04d

net-libs/libvncserver: Security cleanup

Bug: https://bugs.gentoo.org/714054
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/15216
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../libvncserver/libvncserver-0.9.12-r4.ebuild | 74 --
 1 file changed, 74 deletions(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r4.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r4.ebuild
deleted file mode 100644
index 8107ea3c05f..000
--- a/net-libs/libvncserver/libvncserver-0.9.12-r4.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_P="LibVNCServer-${PV}"
-
-DESCRIPTION="library for creating vnc servers"
-HOMEPAGE="https://libvnc.github.io/;
-SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
-S="${WORKDIR}/${PN}-${MY_P}"
-
-# libvncserver/tightvnc-filetransfer/*: GPL-2, but we don't build it
-# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
-LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
-# no sub slot wanted (yet), see #578958
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux"
-IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
-# https://bugs.gentoo.org/690202
-# https://bugs.gentoo.org/435326
-# https://bugs.gentoo.org/550916
-REQUIRED_USE="jpeg? ( zlib ) png? ( zlib ) ssl? ( !gnutls? ( threads ) )"
-
-DEPEND="
-   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
-   ssl? (
-   !gnutls? (
-   !libressl? ( >=dev-libs/openssl-1.0.2:0= )
-   libressl? ( >=dev-libs/libressl-2.7.0:0= )
-   )
-   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
-   )
-   jpeg? ( >=virtual/jpeg-0-r2:0 )
-   lzo? ( dev-libs/lzo )
-   png? ( >=media-libs/libpng-1.6.10:0= )
-   sasl? ( dev-libs/cyrus-sasl )
-   systemd? ( sys-apps/systemd:= )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )"
-RDEPEND="${DEPEND}"
-
-DOCS=( AUTHORS ChangeLog NEWS README.md TODO )
-
-PATCHES=(
-   "${FILESDIR}"/${P}-cmake-libdir.patch
-   "${FILESDIR}"/${P}-pkgconfig-libdir.patch
-   "${FILESDIR}"/${P}-libgcrypt.patch
-   "${FILESDIR}"/${P}-sparc-unaligned.patch
-   "${FILESDIR}"/${P}-CVE-2018-20750.patch
-   "${FILESDIR}"/${P}-CVE-2019-15681.patch
-   "${FILESDIR}"/${P}-fix-tight-raw-decoding.patch
-   "${FILESDIR}"/${P}-fix-shutdown-crash.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DWITH_ZLIB=$(usex zlib ON OFF)
-   -DWITH_LZO=$(usex lzo ON OFF)
-   -DWITH_JPEG=$(usex jpeg ON OFF)
-   -DWITH_PNG=$(usex png ON OFF)
-   -DWITH_THREADS=$(usex threads ON OFF)
-   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
-   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
-   -DWITH_GCRYPT=$(usex gcrypt ON OFF)
-   -DWITH_SYSTEMD=$(usex systemd ON OFF)
-   -DWITH_FFMPEG=OFF
-   -DWITH_24BPP=$(usex 24bpp ON OFF)
-   -DWITH_IPv6=$(usex ipv6 ON OFF)
-   -DWITH_SASL=$(usex sasl ON OFF)
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-04-02 Thread Sergei Trofimovich
commit: fa149b4d6dc3f2c6bd1bca7946f8005281939177
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Apr  2 08:48:06 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Apr  2 17:55:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa149b4d

net-libs/libvncserver: stable 0.9.12-r5 for sparc, bug #714054

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
index c6a1a94c257..111fcc71afe 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-03-30 Thread Sergei Trofimovich
commit: d164fc0cb796d0dec97e40377330e4bc24854b36
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Mar 30 19:20:18 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Mar 30 20:50:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d164fc0c

net-libs/libvncserver: stable 0.9.12-r5 for hppa, bug #714054

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
index 164a372ab1a..c6a1a94c257 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-03-30 Thread Agostino Sarubbo
commit: 1bf9de0c57f8bf65245acb3902776e64aeda30cf
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 30 13:41:21 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 30 13:41:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bf9de0c

net-libs/libvncserver: x86 stable wrt bug #714054

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
index b80443fa331..164a372ab1a 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-03-30 Thread Agostino Sarubbo
commit: e72dd608d9f60417c733d2ba34bd047ae98f85ea
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 30 13:35:47 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 30 13:35:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e72dd608

net-libs/libvncserver: arm stable wrt bug #714054

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
index dfc0af4dd61..b80443fa331 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-03-30 Thread Agostino Sarubbo
commit: a263ecfa631a0eb674e36f6395940b6f4d50b80b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 30 13:14:05 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 30 13:14:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a263ecfa

net-libs/libvncserver: amd64 stable wrt bug #714054

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
index cae8c8bb312..dfc0af4dd61 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-03-29 Thread Sergei Trofimovich
commit: 9de5fc159204051c5dcc5a7eb91d2d5f865de619
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 29 14:40:34 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 29 14:40:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9de5fc15

net-libs/libvncserver: stable 0.9.12-r5 for ia64, bug #714054

Package-Manager: Portage-2.3.96, Repoman-2.3.22
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
index 168a0ef8617..cae8c8bb312 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-03-29 Thread Sergei Trofimovich
commit: 063aa7f1bdb966986404a1e1a7e6980267d19cc8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 29 09:38:37 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 29 09:38:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=063aa7f1

net-libs/libvncserver: stable 0.9.12-r5 for ppc64, bug #714054

Package-Manager: Portage-2.3.96, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
index 044f80a448c..168a0ef8617 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-03-29 Thread Sergei Trofimovich
commit: 95730a309d9c2fccff49a185eb18cc46b843ae25
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Mar 29 09:26:34 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Mar 29 09:26:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95730a30

net-libs/libvncserver: stable 0.9.12-r5 for ppc, bug #714054

Package-Manager: Portage-2.3.96, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
index 3c407a062c4..044f80a448c 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-03-28 Thread Mart Raudsepp
commit: 4e4528c64471f5c4e72ea9b581bc1fa72b2d94cb
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Mar 28 22:44:32 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Mar 28 22:46:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e4528c6

net-libs/libvncserver: arm64 stable (bug #714054)

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
index ce651b6b1c9..3c407a062c4 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_P}"
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/files/, net-libs/libvncserver/

2020-03-26 Thread Joonas Niilola
commit: 369a02be4da385aca62393c390229d3311e6bb78
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Mon Mar 23 15:40:08 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Mar 26 07:22:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=369a02be

net-libs/libvncserver: Fix CVE-2019-15690

Bug: https://bugs.gentoo.org/714054
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/15070
Signed-off-by: Joonas Niilola  gentoo.org>

 .../files/libvncserver-0.9.12-CVE-2019-15690.patch | 39 +++
 .../libvncserver/libvncserver-0.9.12-r5.ebuild | 75 ++
 2 files changed, 114 insertions(+)

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2019-15690.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2019-15690.patch
new file mode 100644
index 000..5ef290129c7
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2019-15690.patch
@@ -0,0 +1,39 @@
+From 54220248886b5001fbbb9fa73c4e1a2cb9413fed Mon Sep 17 00:00:00 2001
+From: Christian Beier 
+Date: Sun, 17 Nov 2019 17:18:35 +0100
+Subject: [PATCH] libvncclient/cursor: limit width/height input values
+
+Avoids a possible heap overflow reported by Pavel Cheremushkin
+.
+
+re #275
+---
+ libvncclient/cursor.c | 5 +
+ 1 file changed, 5 insertions(+)
+
+diff --git a/libvncclient/cursor.c b/libvncclient/cursor.c
+index 67f4572..40ffb3b 100644
+--- a/libvncclient/cursor.c
 b/libvncclient/cursor.c
+@@ -28,6 +28,8 @@
+ #define OPER_SAVE 0
+ #define OPER_RESTORE  1
+ 
++#define MAX_CURSOR_SIZE 1024
++
+ #define RGB24_TO_PIXEL(bpp,r,g,b)   \
+uint##bpp##_t)(r) & 0xFF) * client->format.redMax + 127) / 255 
\
+ << client->format.redShift |  
\
+@@ -54,6 +56,9 @@ rfbBool HandleCursorShape(rfbClient* client,int xhot, int 
yhot, int width, int h
+   if (width * height == 0)
+ return TRUE;
+ 
++  if (width >= MAX_CURSOR_SIZE || height >= MAX_CURSOR_SIZE)
++return FALSE;
++
+   /* Allocate memory for pixel data and temporary mask data. */
+   if(client->rcSource)
+ free(client->rcSource);
+-- 
+2.24.1
+

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
new file mode 100644
index 000..87aad236303
--- /dev/null
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r5.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_P="LibVNCServer-${PV}"
+
+DESCRIPTION="library for creating vnc servers"
+HOMEPAGE="https://libvnc.github.io/;
+SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
+S="${WORKDIR}/${PN}-${MY_P}"
+
+# libvncserver/tightvnc-filetransfer/*: GPL-2, but we don't build it
+# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
+LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
+# no sub slot wanted (yet), see #578958
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
+# https://bugs.gentoo.org/690202
+# https://bugs.gentoo.org/435326
+# https://bugs.gentoo.org/550916
+REQUIRED_USE="jpeg? ( zlib ) png? ( zlib ) ssl? ( !gnutls? ( threads ) )"
+
+DEPEND="
+   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
+   ssl? (
+   !gnutls? (
+   !libressl? ( >=dev-libs/openssl-1.0.2:0= )
+   libressl? ( >=dev-libs/libressl-2.7.0:0= )
+   )
+   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
+   )
+   jpeg? ( >=virtual/jpeg-0-r2:0 )
+   lzo? ( dev-libs/lzo )
+   png? ( >=media-libs/libpng-1.6.10:0= )
+   sasl? ( dev-libs/cyrus-sasl )
+   systemd? ( sys-apps/systemd:= )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md TODO )
+
+PATCHES=(
+   "${FILESDIR}"/${P}-cmake-libdir.patch
+   "${FILESDIR}"/${P}-pkgconfig-libdir.patch
+   "${FILESDIR}"/${P}-libgcrypt.patch
+   "${FILESDIR}"/${P}-sparc-unaligned.patch
+   "${FILESDIR}"/${P}-CVE-2018-20750.patch
+   "${FILESDIR}"/${P}-CVE-2019-15681.patch
+   "${FILESDIR}"/${P}-fix-tight-raw-decoding.patch
+   "${FILESDIR}"/${P}-fix-shutdown-crash.patch
+   "${FILESDIR}"/${P}-CVE-2019-15690.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DWITH_ZLIB=$(usex zlib ON OFF)
+   -DWITH_LZO=$(usex lzo ON OFF)
+   -DWITH_JPEG=$(usex jpeg ON OFF)
+   -DWITH_PNG=$(usex png ON OFF)
+   -DWITH_THREADS=$(usex threads ON OFF)
+   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
+   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
+

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-01-28 Thread Andreas Sturmlechner
commit: b30afdd16ea7808398d23f3c8dea43f8f370dc90
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jan 28 20:54:43 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jan 28 20:55:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b30afdd1

net-libs/libvncserver: Drop 0.9.12-r3

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../libvncserver/libvncserver-0.9.12-r3.ebuild | 73 --
 1 file changed, 73 deletions(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
deleted file mode 100644
index 9661224c2a1..000
--- a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_P="LibVNCServer-${PV}"
-DESCRIPTION="library for creating vnc servers"
-HOMEPAGE="https://libvnc.github.io/;
-SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
-
-# libvncserver/tightvnc-filetransfer/*: GPL-2, but we don't build it
-# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
-LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
-# no sub slot wanted (yet), see #578958
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
-IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
-# https://bugs.gentoo.org/690202
-# https://bugs.gentoo.org/435326
-# https://bugs.gentoo.org/550916
-REQUIRED_USE="jpeg? ( zlib ) png? ( zlib ) ssl? ( !gnutls? ( threads ) )"
-
-DEPEND="
-   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
-   ssl? (
-   !gnutls? (
-   !libressl? ( >=dev-libs/openssl-1.0.2:0= )
-   libressl? ( >=dev-libs/libressl-2.7.0:0= )
-   )
-   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
-   )
-   jpeg? ( >=virtual/jpeg-0-r2:0 )
-   lzo? ( dev-libs/lzo )
-   png? ( >=media-libs/libpng-1.6.10:0= )
-   sasl? ( dev-libs/cyrus-sasl )
-   systemd? ( sys-apps/systemd:= )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-${MY_P}"
-
-DOCS=( AUTHORS ChangeLog NEWS README.md TODO )
-
-PATCHES=(
-   "${FILESDIR}"/${P}-cmake-libdir.patch
-   "${FILESDIR}"/${P}-pkgconfig-libdir.patch
-   "${FILESDIR}"/${P}-libgcrypt.patch
-   "${FILESDIR}"/${P}-sparc-unaligned.patch
-   "${FILESDIR}"/${P}-CVE-2018-20750.patch
-   "${FILESDIR}"/${P}-CVE-2019-15681.patch
-   "${FILESDIR}"/${P}-fix-tight-raw-decoding.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DWITH_ZLIB=$(usex zlib ON OFF)
-   -DWITH_LZO=$(usex lzo ON OFF)
-   -DWITH_JPEG=$(usex jpeg ON OFF)
-   -DWITH_PNG=$(usex png ON OFF)
-   -DWITH_THREADS=$(usex threads ON OFF)
-   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
-   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
-   -DWITH_GCRYPT=$(usex gcrypt ON OFF)
-   -DWITH_SYSTEMD=$(usex systemd ON OFF)
-   -DWITH_FFMPEG=OFF
-   -DWITH_24BPP=$(usex 24bpp ON OFF)
-   -DWITH_IPv6=$(usex ipv6 ON OFF)
-   -DWITH_SASL=$(usex sasl ON OFF)
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2020-01-28 Thread Andreas Sturmlechner
commit: f025d1be661d04fc3c216735c5eea788abbe2c4e
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Tue Jan 28 19:36:47 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jan 28 20:55:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f025d1be

net-libs/libvncserver: Drop vulnerable version

Bug: https://bugs.gentoo.org/699036
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/14490
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../libvncserver/libvncserver-0.9.12-r2.ebuild | 69 --
 1 file changed, 69 deletions(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
deleted file mode 100644
index fe773dc9baa..000
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-MY_P="LibVNCServer-${PV}"
-DESCRIPTION="library for creating vnc servers"
-HOMEPAGE="https://libvnc.github.io/;
-SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
-
-# libvncserver/tightvnc-filetransfer/*: GPL-2, but we don't build it
-# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
-LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
-# no sub slot wanted (yet), see #578958
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
-IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
-# https://bugs.gentoo.org/690202
-# https://bugs.gentoo.org/435326
-# https://bugs.gentoo.org/550916
-REQUIRED_USE="jpeg? ( zlib ) png? ( zlib ) ssl? ( !gnutls? ( threads ) )"
-
-DEPEND="
-   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
-   ssl? (
-   !gnutls? (
-   !libressl? ( >=dev-libs/openssl-1.0.2:0= )
-   libressl? ( >=dev-libs/libressl-2.7.0:0= )
-   )
-   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
-   )
-   jpeg? ( >=virtual/jpeg-0-r2:0 )
-   lzo? ( dev-libs/lzo )
-   png? ( >=media-libs/libpng-1.6.10:0= )
-   sasl? ( dev-libs/cyrus-sasl )
-   systemd? ( sys-apps/systemd:= )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-${MY_P}"
-
-DOCS=( AUTHORS ChangeLog NEWS README.md TODO )
-
-PATCHES=(
-   "${FILESDIR}"/${P}-cmake-libdir.patch
-   "${FILESDIR}"/${P}-libgcrypt.patch
-   "${FILESDIR}"/${P}-sparc-unaligned.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DWITH_ZLIB=$(usex zlib ON OFF)
-   -DWITH_LZO=$(usex lzo ON OFF)
-   -DWITH_JPEG=$(usex jpeg ON OFF)
-   -DWITH_PNG=$(usex png ON OFF)
-   -DWITH_THREADS=$(usex threads ON OFF)
-   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
-   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
-   -DWITH_GCRYPT=$(usex gcrypt ON OFF)
-   -DWITH_SYSTEMD=$(usex systemd ON OFF)
-   -DWITH_FFMPEG=OFF
-   -DWITH_24BPP=$(usex 24bpp ON OFF)
-   -DWITH_IPv6=$(usex ipv6 ON OFF)
-   -DWITH_SASL=$(usex sasl ON OFF)
-   )
-   cmake_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/, net-libs/libvncserver/files/

2020-01-15 Thread Andreas Sturmlechner
commit: 578ad0d4d400d6ab947a44aa56dde4186a0d256e
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Tue Jan 14 17:04:01 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Jan 15 19:32:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=578ad0d4

net-libs/libvncserver: fix crash on exit

Closes: https://bugs.gentoo.org/705124
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/14337
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../libvncserver-0.9.12-fix-shutdown-crash.patch   | 63 ++
 .../libvncserver/libvncserver-0.9.12-r4.ebuild | 74 ++
 2 files changed, 137 insertions(+)

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.12-fix-shutdown-crash.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.12-fix-shutdown-crash.patch
new file mode 100644
index 000..0ae8d38c6f8
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.12-fix-shutdown-crash.patch
@@ -0,0 +1,63 @@
+From d0a76539835d11c0f4723499f8be4bc9c7724eb9 Mon Sep 17 00:00:00 2001
+From: Rajesh Sahoo 
+Date: Tue, 11 Jun 2019 15:13:04 +0530
+Subject: [PATCH] avoid pthread_join if backgroundLoop is FALSE
+
+client_thread is created depending upon backgroundLoop, but joining
+without checking for same condition. so we are trying to join a garbage
+thread_id.
+---
+ libvncserver/main.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libvncserver/main.c b/libvncserver/main.c
+index d3cd9b1..772fb18 100644
+--- a/libvncserver/main.c
 b/libvncserver/main.c
+@@ -1112,6 +1112,7 @@ void rfbShutdownServer(rfbScreenInfoPtr screen,rfbBool 
disconnectClients) {
+   }
+ 
+ #ifdef LIBVNCSERVER_HAVE_LIBPTHREAD
++if(currentCl->screen->backgroundLoop) {
+   /*
+   Notify the thread. This simply writes a NULL byte to the notify pipe in 
order to get past the select()
+   in clientInput(), the loop in there will then break because the 
rfbCloseClient() above has set
+@@ -1120,6 +1121,7 @@ void rfbShutdownServer(rfbScreenInfoPtr screen,rfbBool 
disconnectClients) {
+   write(currentCl->pipe_notify_client_thread[1], "\x00", 1);
+   /* And wait for it to finish. */
+   pthread_join(currentCl->client_thread, NULL);
++}
+ #else
+   rfbClientConnectionGone(currentCl);
+ #endif
+-- 
+2.24.1
+
+From 15c4f144a3783d9f1f2c976acf9f4d85988fd466 Mon Sep 17 00:00:00 2001
+From: Albert Astals Cid 
+Date: Sun, 5 Jan 2020 19:56:57 +0100
+Subject: [PATCH] rfbShutdownServer: Call rfbClientConnectionGone if no
+ backgroundLoop
+
+Otherwise the servers that don't use rfbRunEventLoop don't get
+notified of client disconnections
+---
+ libvncserver/main.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libvncserver/main.c b/libvncserver/main.c
+index b51f0ab..738a501 100644
+--- a/libvncserver/main.c
 b/libvncserver/main.c
+@@ -1152,6 +1152,8 @@ void rfbShutdownServer(rfbScreenInfoPtr screen,rfbBool 
disconnectClients) {
+   write(currentCl->pipe_notify_client_thread[1], "\x00", 1);
+   /* And wait for it to finish. */
+   pthread_join(currentCl->client_thread, NULL);
++} else {
++  rfbClientConnectionGone(currentCl);
+ }
+ #else
+   rfbClientConnectionGone(currentCl);
+-- 
+2.24.1
+

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r4.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r4.ebuild
new file mode 100644
index 000..44fc2c99053
--- /dev/null
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_P="LibVNCServer-${PV}"
+
+DESCRIPTION="library for creating vnc servers"
+HOMEPAGE="https://libvnc.github.io/;
+SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
+S="${WORKDIR}/${PN}-${MY_P}"
+
+# libvncserver/tightvnc-filetransfer/*: GPL-2, but we don't build it
+# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
+LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
+# no sub slot wanted (yet), see #578958
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
+IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
+# https://bugs.gentoo.org/690202
+# https://bugs.gentoo.org/435326
+# https://bugs.gentoo.org/550916
+REQUIRED_USE="jpeg? ( zlib ) png? ( zlib ) ssl? ( !gnutls? ( threads ) )"
+
+DEPEND="
+   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
+   ssl? (
+   !gnutls? (
+   !libressl? ( >=dev-libs/openssl-1.0.2:0= )
+   libressl? ( >=dev-libs/libressl-2.7.0:0= )
+   )
+   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
+   )
+   jpeg? ( >=virtual/jpeg-0-r2:0 )
+   lzo? ( dev-libs/lzo )
+   png? ( >=media-libs/libpng-1.6.10:0= )
+   sasl? ( dev-libs/cyrus-sasl )
+  

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-11-27 Thread Mikle Kolyada
commit: d15314b3194730e98c0e3c4849fd38803fa39727
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Nov 27 13:23:31 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Nov 27 13:23:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d15314b3

net-libs/libvncserver: arm stable wrt bug #699036

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
index eafc8fa1f41..cedaa4a52fe 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-11-21 Thread Sergei Trofimovich
commit: 4eadcbe351d47b9e91bbcb525b0576f714ff360b
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Thu Nov 21 16:20:53 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Nov 21 17:17:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eadcbe3

net-libs/libvncserver: stable 0.9.12-r3 for hppa, bug #699036

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
index 28294a52283..eafc8fa1f41 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-11-20 Thread Aaron Bauman
commit: 3a92ed7a1a265c9fd9f1166d47874b7ace6e465e
Author: Aaron Bauman  gentoo  org>
AuthorDate: Wed Nov 20 16:44:30 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Nov 20 16:44:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a92ed7a

net-libs/libvncserver: arm64 stable (bug #699036)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.79, Repoman-2.3.18

 net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
index 1ed92c76939..28294a52283 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-11-20 Thread Agostino Sarubbo
commit: 65de74bd72bfb23c8d9285836098b76527f157fc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 20 13:22:58 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 20 13:22:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65de74bd

net-libs/libvncserver: x86 stable wrt bug #699036

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
index 308d4acbb8a..1ed92c76939 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-11-20 Thread Agostino Sarubbo
commit: 9955b79f8c5756172436462fcf627307733030d5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 20 11:34:21 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 20 11:34:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9955b79f

net-libs/libvncserver: ia64 stable wrt bug #699036

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
index c703b63c4ed..308d4acbb8a 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-11-20 Thread Agostino Sarubbo
commit: b8a37dd13ed77d7f6db9478bbd618ff2edbc3b5d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 20 11:26:41 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 20 11:26:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a37dd1

net-libs/libvncserver: ppc stable wrt bug #699036

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
index cf9805955ca..c703b63c4ed 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh 
sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-11-20 Thread Agostino Sarubbo
commit: ea14c475b4e36fd8340e60514dff997295f80350
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 20 11:14:17 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 20 11:14:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea14c475

net-libs/libvncserver: amd64 stable wrt bug #699036

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
index d8202de5dc7..4913da9fc9a 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-11-19 Thread Sergei Trofimovich
commit: f0dcfa98065a70a804f2e7001e1ebaf5f8b7b044
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Nov 19 18:03:24 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Nov 19 19:45:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0dcfa98

net-libs/libvncserver: stable 0.9.12-r3 for sparc, bug #699036

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
index e21ed47bcc3..d8202de5dc7 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r3.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/, net-libs/libvncserver/files/

2019-11-01 Thread Joonas Niilola
commit: 5ae4ada68cdf7aa131d7a50c9305b55ba14fcd43
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu Oct 31 18:41:58 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Nov  1 14:10:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ae4ada6

net-libs/libvncserver: Add a bunch of upstream fixes

* fix CVE-2018-20750 (the fix for CVE-2018-15127 was incomplete)
* fix CVE-2019-15681
* fix libdir in pkgconfig files
* fix regression in Tight/Raw decoding

Bug: https://bugs.gentoo.org/699036
Closes: https://bugs.gentoo.org/676942
Closes: https://bugs.gentoo.org/691848
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/13509
Signed-off-by: Joonas Niilola  gentoo.org>

 .../files/libvncserver-0.9.12-CVE-2018-20750.patch | 47 ++
 .../files/libvncserver-0.9.12-CVE-2019-15681.patch | 26 
 .../files/libvncserver-0.9.12-cmake-libdir.patch   | 32 --
 ...ibvncserver-0.9.12-fix-tight-raw-decoding.patch | 40 
 .../libvncserver-0.9.12-pkgconfig-libdir.patch | 41 
 .../libvncserver/libvncserver-0.9.12-r3.ebuild | 73 ++
 6 files changed, 255 insertions(+), 4 deletions(-)

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2018-20750.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2018-20750.patch
new file mode 100644
index 000..55f122d1258
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2018-20750.patch
@@ -0,0 +1,47 @@
+From 09e8fc02f59f16e2583b34fe1a270c238bd9ffec Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= 
+Date: Mon, 7 Jan 2019 10:40:01 +0100
+Subject: [PATCH 01/51] Limit lenght to INT_MAX bytes in
+ rfbProcessFileTransferReadBuffer()
+
+This ammends 15bb719c03cc70f14c36a843dcb16ed69b405707 fix for a heap
+out-of-bound write access in rfbProcessFileTransferReadBuffer() when
+reading a transfered file content in a server. The former fix did not
+work on platforms with a 32-bit int type (expected by rfbReadExact()).
+
+CVE-2018-15127
+
+
+---
+ libvncserver/rfbserver.c | 7 ++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c
+index 7af8490..f2edbee 100644
+--- a/libvncserver/rfbserver.c
 b/libvncserver/rfbserver.c
+@@ -88,6 +88,8 @@
+ #include 
+ /* strftime() */
+ #include 
++/* INT_MAX */
++#include 
+ 
+ #ifdef LIBVNCSERVER_WITH_WEBSOCKETS
+ #include "rfbssl.h"
+@@ -1472,8 +1474,11 @@ char *rfbProcessFileTransferReadBuffer(rfbClientPtr cl, 
uint32_t length)
+0X, i.e. SIZE_MAX for 32-bit systems. On 64-bit systems, a 
length of 0X
+will safely be allocated since this check will never trigger and 
malloc() can digest length+1
+without problems as length is a uint32_t.
++   We also later pass length to rfbReadExact() that expects a signed int 
type and
++   that might wrap on platforms with a 32-bit int type if length is bigger
++   than 0X7FFF.
+ */
+-if(length == SIZE_MAX) {
++if(length == SIZE_MAX || length > INT_MAX) {
+   rfbErr("rfbProcessFileTransferReadBuffer: too big file transfer length 
requested: %u", (unsigned int)length);
+   rfbCloseClient(cl);
+   return NULL;
+-- 
+2.23.0
+

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2019-15681.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2019-15681.patch
new file mode 100644
index 000..301d1340d14
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.12-CVE-2019-15681.patch
@@ -0,0 +1,26 @@
+From d01e1bb4246323ba6fcee3b82ef1faa9b1dac82a Mon Sep 17 00:00:00 2001
+From: Christian Beier 
+Date: Mon, 19 Aug 2019 22:32:25 +0200
+Subject: [PATCH 48/51] rfbserver: don't leak stack memory to the remote
+
+Thanks go to Pavel Cheremushkin of Kaspersky for reporting.
+---
+ libvncserver/rfbserver.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c
+index 3bacc89..310e548 100644
+--- a/libvncserver/rfbserver.c
 b/libvncserver/rfbserver.c
+@@ -3724,6 +3724,8 @@ rfbSendServerCutText(rfbScreenInfoPtr rfbScreen,char 
*str, int len)
+ rfbServerCutTextMsg sct;
+ rfbClientIteratorPtr iterator;
+ 
++memset((char *), 0, sizeof(sct));
++
+ iterator = rfbGetClientIterator(rfbScreen);
+ while ((cl = rfbClientIteratorNext(iterator)) != NULL) {
+ sct.type = rfbServerCutText;
+-- 
+2.23.0
+

diff --git a/net-libs/libvncserver/files/libvncserver-0.9.12-cmake-libdir.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.12-cmake-libdir.patch
index 35ee26dc7b0..cc6e4bdc909 100644
--- a/net-libs/libvncserver/files/libvncserver-0.9.12-cmake-libdir.patch
+++ 

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-28 Thread Andreas Sturmlechner
commit: 61a66db5451e859c3cc01853ba5a5737c2157147
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jul 28 21:07:58 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jul 28 21:20:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a66db5

net-libs/libvncserver: Drop 0.9.11-r1 and 0.9.12 (r0)

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libvncserver/Manifest |  1 -
 .../libvncserver/libvncserver-0.9.11-r1.ebuild | 72 --
 net-libs/libvncserver/libvncserver-0.9.12.ebuild   | 72 --
 3 files changed, 145 deletions(-)

diff --git a/net-libs/libvncserver/Manifest b/net-libs/libvncserver/Manifest
index 0cb75239ec8..17e32429cee 100644
--- a/net-libs/libvncserver/Manifest
+++ b/net-libs/libvncserver/Manifest
@@ -1,2 +1 @@
-DIST LibVNCServer-0.9.11.tar.gz 1413739 BLAKE2B 
e295d3aef7181cd767676c4e55130fa65ecf8ea92a659b6de82d2cc465f1c9e1a587839942fd89882126dc8ec54f9de20a78e799ea194f9ae227a82ae705721b
 SHA512 
e473c081b68dd3cdd96a1756b4f4945ece79d3c8e4cef62140be1699671555fc16d3080e81d764197a14ea83203ffcd0e18c3cc182e012d036e3faae943003fb
 DIST LibVNCServer-0.9.12.tar.gz 2237447 BLAKE2B 
583500c0bcfb6e9e3a02a33fb2701113b164851f0906fcc4845de7c7d82d4f7f65f5edd6c9a672348ee1deeefc65c1b0a257da024254598ba86d121d424f027e
 SHA512 
60ff1cc93a937d6f8f97449bc58b763095846207112f7b1b3c43eb2d74448b595d6da949903a764bd484ee54e38ff6277e882adbe965dd6d26ba15ef6ff6fcb8

diff --git a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
deleted file mode 100644
index e075c4351e8..000
--- a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit autotools eutils multilib-minimal
-
-MY_PN="LibVNCServer"
-
-DESCRIPTION="library for creating vnc servers"
-HOMEPAGE="https://libvnc.github.io/;
-SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
-
-LICENSE="GPL-2"
-# No sub slot wanted (yet), see #578958
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl +png ssl static-libs systemd 
test +threads +zlib"
-REQUIRED_USE="!gnutls? ( ssl? ( threads ) )"
-
-DEPEND="
-   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] )
-   gnutls? (
-   >=net-libs/gnutls-2.12.23-r6:0=[${MULTILIB_USEDEP}]
-   >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}]
-   )
-   !gnutls? (
-   ssl? (
-   !libressl? ( 
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
-   libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
-   )
-   )
-   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
-   png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
-   systemd? ( sys-apps/systemd:= )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1:0=[${MULTILIB_USEDEP}] )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-${MY_PN}-${PV}"
-
-DOCS=( AUTHORS ChangeLog NEWS README TODO )
-
-src_prepare() {
-   default
-
-   sed -i -r \
-   -e "/^SUBDIRS/s:\<$(usex test '' 
'test|')client_examples|examples\>::g" \
-   Makefile.am || die
-
-   eautoreconf
-}
-
-multilib_src_configure() {
-   ECONF_SOURCE=${S} \
-   econf \
-   --disable-silent-rules \
-   $(use_enable static-libs static) \
-   $(use_with 24bpp) \
-   $(use_with gnutls) \
-   $(usex gnutls --with-gcrypt $(use_with gcrypt)) \
-   $(usex gnutls --without-ssl $(use_with ssl)) \
-   $(use_with ipv6) \
-   $(use_with jpeg) \
-   $(use_with png) \
-   $(use_with threads pthread) \
-   $(use_with zlib)
-}
-
-multilib_src_install_all() {
-   einstalldocs
-   prune_libtool_files
-}

diff --git a/net-libs/libvncserver/libvncserver-0.9.12.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
deleted file mode 100644
index 10cbd56dcaf..000
--- a/net-libs/libvncserver/libvncserver-0.9.12.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit cmake-multilib
-
-MY_PN="LibVNCServer"
-
-DESCRIPTION="library for creating vnc servers"
-HOMEPAGE="https://libvnc.github.io/;
-SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
-
-LICENSE="GPL-2"
-# No sub slot wanted (yet), see #578958
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo 

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-28 Thread Mikle Kolyada
commit: c28a007a163343d3bef5ecf99176cd70695ea101
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Jul 28 20:00:48 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Jul 28 20:00:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c28a007a

net-libs/libvncserver: arm stable wrt bug #684596

Package-Manager: Portage-2.3.66, Repoman-2.3.16
RepoMan-Options: --include-arches="arm"
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index 1247e039f3f..13a8e923f07 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-22 Thread Aaron Bauman
commit: e2695678dcd1f1d1a5411bd63456d9535f4d8202
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Jul 23 01:33:26 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Jul 23 01:33:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2695678

net-libs/libvncserver: arm64 stable (bug #684596)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="arm64"

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index 73cefccaf0f..1247e039f3f 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-21 Thread Sergei Trofimovich
commit: cf8056f940196388ef0557bb666aa53d6b6d6aab
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jul 21 08:15:54 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jul 21 08:15:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8056f9

net-libs/libvncserver: stable 0.9.12-r2 for hppa, bug #684596

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index c53f57b56df..73cefccaf0f 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-19 Thread Michał Górny
commit: 38aac32b8a18e3c0b7b188e2da2d11746ed3f077
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Fri Jul 19 09:04:13 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jul 19 13:26:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38aac32b

net-libs/libvncserver: add REQUIRED_USE="jpeg? ( zlib )"

Closes: https://bugs.gentoo.org/690202
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/12473
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index 4723b166c75..c53f57b56df 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -17,9 +17,10 @@ LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 SLOT="0"
 KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
+# https://bugs.gentoo.org/690202
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916
-REQUIRED_USE="ssl? ( !gnutls? ( threads ) ) png? ( zlib )"
+REQUIRED_USE="jpeg? ( zlib ) png? ( zlib ) ssl? ( !gnutls? ( threads ) )"
 
 DEPEND="
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-18 Thread Agostino Sarubbo
commit: 320a277269dfe329fadf462194b60f1986a7c206
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 18 10:07:28 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 18 10:07:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=320a2772

net-libs/libvncserver: ia64 stable wrt bug #684596

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="ia64"

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index e424c4cd5d0..4723b166c75 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-18 Thread Agostino Sarubbo
commit: 8bbb011d5fe75d85ceccf13e0eeac524ee13acfb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 18 10:04:53 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 18 10:04:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bbb011d

net-libs/libvncserver: sparc stable wrt bug #684596

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index 362bc197cc1..6a4726468d9 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-18 Thread Agostino Sarubbo
commit: b49fcb5e0e9e62a9db055da8398607f9f9df950e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 18 10:05:28 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 18 10:05:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49fcb5e

net-libs/libvncserver: x86 stable wrt bug #684596

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="x86"

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index 6a4726468d9..e424c4cd5d0 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-18 Thread Agostino Sarubbo
commit: fdd513b05ac9969984e2d09b387cc08575b81326
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 18 10:03:35 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 18 10:03:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdd513b0

net-libs/libvncserver: alpha stable wrt bug #684596

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="alpha"

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index 2f3f76a4146..362bc197cc1 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-18 Thread Agostino Sarubbo
commit: 8543b5884f9ecdb0185f66cc862e235aad860d65
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 18 10:01:15 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 18 10:01:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8543b588

net-libs/libvncserver: ppc64 stable wrt bug #684596

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc64"

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index a9b301bb4a6..2f3f76a4146 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-18 Thread Agostino Sarubbo
commit: 5be4d9a4187424bdab4957da25fffdfd1936d6f1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 18 09:56:53 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 18 09:56:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5be4d9a4

net-libs/libvncserver: ppc stable wrt bug #684596

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc"

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index e8ddd6ff247..a9b301bb4a6 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-18 Thread Agostino Sarubbo
commit: a79c0d32bfbdcdd06e636f09bd4c5a3a86f4b292
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul 18 09:53:42 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul 18 09:53:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79c0d32

net-libs/libvncserver: amd64 stable wrt bug #684596

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
index 9b76cd57135..e8ddd6ff247 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-16 Thread Andreas Sturmlechner
commit: 6ac93868b07cd653636e94ccd0d65adef0c84692
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jul 16 17:14:09 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jul 16 17:16:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ac93868

net-libs/libvncserver: Drop 0.9.12-r1

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../libvncserver/libvncserver-0.9.12-r1.ebuild | 67 --
 1 file changed, 67 deletions(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
deleted file mode 100644
index c2be55523f6..000
--- a/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-utils
-
-MY_P="LibVNCServer-${PV}"
-DESCRIPTION="library for creating vnc servers"
-HOMEPAGE="https://libvnc.github.io/;
-SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
-
-# libvncserver/tightvnc-filetransfer/*: GPL-2, but we don't build it
-# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
-LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
-# no sub slot wanted (yet), see #578958
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
-# https://bugs.gentoo.org/435326
-# https://bugs.gentoo.org/550916
-REQUIRED_USE="ssl? ( !gnutls? ( threads ) ) png? ( zlib )"
-
-DEPEND="
-   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
-   ssl? (
-   !gnutls? (
-   !libressl? ( >=dev-libs/openssl-1.0.2:0= )
-   libressl? ( >=dev-libs/libressl-2.7.0:0= )
-   )
-   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
-   )
-   jpeg? ( >=virtual/jpeg-0-r2:0 )
-   lzo? ( dev-libs/lzo )
-   png? ( >=media-libs/libpng-1.6.10:0= )
-   sasl? ( dev-libs/cyrus-sasl )
-   systemd? ( sys-apps/systemd:= )
-   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${PN}-${MY_P}"
-
-DOCS=( AUTHORS ChangeLog NEWS README.md TODO )
-
-PATCHES=(
-   "${FILESDIR}"/${P}-cmake-libdir.patch
-   "${FILESDIR}"/${P}-libgcrypt.patch
-)
-
-src_configure() {
-   local mycmakeargs=(
-   -DWITH_ZLIB=$(usex zlib ON OFF)
-   -DWITH_LZO=$(usex lzo ON OFF)
-   -DWITH_JPEG=$(usex jpeg ON OFF)
-   -DWITH_PNG=$(usex png ON OFF)
-   -DWITH_THREADS=$(usex threads ON OFF)
-   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
-   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
-   -DWITH_GCRYPT=$(usex gcrypt ON OFF)
-   -DWITH_SYSTEMD=$(usex systemd ON OFF)
-   -DWITH_FFMPEG=OFF
-   -DWITH_24BPP=$(usex 24bpp ON OFF)
-   -DWITH_IPv6=$(usex ipv6 ON OFF)
-   -DWITH_SASL=$(usex sasl ON OFF)
-   )
-   cmake-utils_src_configure
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/, net-libs/libvncserver/files/

2019-07-16 Thread Andreas Sturmlechner
commit: 594b7ead9c34a3970c3e37f252a24869452fbf8f
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Jun 30 14:01:53 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jul 16 17:16:22 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=594b7ead

net-libs/libvncserver: add fix for unaligned access crash

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Closes: https://bugs.gentoo.org/686914
Closes: https://github.com/gentoo/gentoo/pull/12359
Closes: https://github.com/gentoo/gentoo/pull/12359
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../libvncserver-0.9.12-sparc-unaligned.patch  | 40 +
 .../libvncserver/libvncserver-0.9.12-r2.ebuild | 68 ++
 2 files changed, 108 insertions(+)

diff --git 
a/net-libs/libvncserver/files/libvncserver-0.9.12-sparc-unaligned.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.12-sparc-unaligned.patch
new file mode 100644
index 000..dce787f1295
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.12-sparc-unaligned.patch
@@ -0,0 +1,40 @@
+From 0cf1400c61850065de590d403f6d49e32882fd76 Mon Sep 17 00:00:00 2001
+From: Rolf Eike Beer 
+Date: Tue, 28 May 2019 18:30:46 +0200
+Subject: [PATCH] fix crash because of unaligned accesses in
+ hybiReadAndDecode()
+
+---
+ libvncserver/ws_decode.c | 7 ---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/libvncserver/ws_decode.c b/libvncserver/ws_decode.c
+index 441ebc7..10c44d1 100644
+--- a/libvncserver/ws_decode.c
 b/libvncserver/ws_decode.c
+@@ -327,7 +327,6 @@ hybiReadAndDecode(ws_ctx_t *wsctx, char *dst, int len, int 
*sockRet, int nInBuf)
+   int bufsize;
+   int nextRead;
+   unsigned char *data;
+-  uint32_t *data32;
+ 
+   /* if data was carried over, copy to start of buffer */
+   memcpy(wsctx->writePos, wsctx->carryBuf, wsctx->carrylen);
+@@ -383,10 +382,12 @@ hybiReadAndDecode(ws_ctx_t *wsctx, char *dst, int len, 
int *sockRet, int nInBuf)
+   /* for a possible base64 decoding, we decode multiples of 4 bytes until
+* the whole frame is received and carry over any remaining bytes in the 
carry buf*/
+   data = (unsigned char *)(wsctx->writePos - toDecode);
+-  data32= (uint32_t *)data;
+ 
+   for (i = 0; i < (toDecode >> 2); i++) {
+-data32[i] ^= wsctx->header.mask.u;
++uint32_t tmp;
++memcpy(, data + i * sizeof(tmp), sizeof(tmp));
++tmp ^= wsctx->header.mask.u;
++memcpy(data + i * sizeof(tmp), , sizeof(tmp));
+   }
+   ws_dbg("mask decoding; i=%d toDecode=%d\n", i, toDecode);
+ 
+-- 
+2.16.4
+

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
new file mode 100644
index 000..9b76cd57135
--- /dev/null
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+MY_P="LibVNCServer-${PV}"
+DESCRIPTION="library for creating vnc servers"
+HOMEPAGE="https://libvnc.github.io/;
+SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
+
+# libvncserver/tightvnc-filetransfer/*: GPL-2, but we don't build it
+# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
+LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
+# no sub slot wanted (yet), see #578958
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
+# https://bugs.gentoo.org/435326
+# https://bugs.gentoo.org/550916
+REQUIRED_USE="ssl? ( !gnutls? ( threads ) ) png? ( zlib )"
+
+DEPEND="
+   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
+   ssl? (
+   !gnutls? (
+   !libressl? ( >=dev-libs/openssl-1.0.2:0= )
+   libressl? ( >=dev-libs/libressl-2.7.0:0= )
+   )
+   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
+   )
+   jpeg? ( >=virtual/jpeg-0-r2:0 )
+   lzo? ( dev-libs/lzo )
+   png? ( >=media-libs/libpng-1.6.10:0= )
+   sasl? ( dev-libs/cyrus-sasl )
+   systemd? ( sys-apps/systemd:= )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_P}"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md TODO )
+
+PATCHES=(
+   "${FILESDIR}"/${P}-cmake-libdir.patch
+   "${FILESDIR}"/${P}-libgcrypt.patch
+   "${FILESDIR}"/${P}-sparc-unaligned.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DWITH_ZLIB=$(usex zlib ON OFF)
+   -DWITH_LZO=$(usex lzo ON OFF)
+   -DWITH_JPEG=$(usex jpeg ON OFF)
+   -DWITH_PNG=$(usex png ON OFF)
+   -DWITH_THREADS=$(usex threads ON OFF)
+   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-06 Thread Michał Górny
commit: 1cac1f94c485fb245f537530cc8dd74d883f9b58
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu May 23 15:56:27 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 07:02:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cac1f94

net-libs/libvncserver: drop multilib support

Multilib support was added for dev-libs/libnsfb. There are no packages
left in the gentoo repo that require it.

Closes: https://bugs.gentoo.org/671232
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Alexander Tsoy  tsoy.me>
Signed-off-by: Michał Górny  gentoo.org>

 .../libvncserver/libvncserver-0.9.12-r1.ebuild | 69 ++
 1 file changed, 69 insertions(+)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
new file mode 100644
index 000..d9c8c843433
--- /dev/null
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+MY_P="LibVNCServer-${PV}"
+DESCRIPTION="library for creating vnc servers"
+HOMEPAGE="https://libvnc.github.io/;
+SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
+
+LICENSE="GPL-2"
+# no sub slot wanted (yet), see #578958
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl sdl ssl 
static-libs systemd test +threads +zlib"
+# https://bugs.gentoo.org/435326
+# https://bugs.gentoo.org/550916
+REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
+
+DEPEND="
+   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
+   gnutls? (
+   >=net-libs/gnutls-2.12.23-r6:0=
+   >=dev-libs/libgcrypt-1.5.3:0=
+   )
+   !gnutls? (
+   ssl? (
+   !libressl? ( >=dev-libs/openssl-1.0.2:0= )
+   libressl? ( >=dev-libs/libressl-2.7.0:0= )
+   )
+   )
+   jpeg? ( >=virtual/jpeg-0-r2:0 )
+   lzo? ( dev-libs/lzo )
+   png? ( >=media-libs/libpng-1.6.10:0= )
+   sasl? ( dev-libs/cyrus-sasl )
+   sdl? ( media-libs/libsdl2 )
+   systemd? ( sys-apps/systemd:= )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_P}"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md TODO )
+
+PATCHES=(
+   "${FILESDIR}"/${P}-cmake-libdir.patch
+)
+
+src_configure() {
+   local mycmakeargs=(
+   -DWITH_ZLIB=$(usex zlib ON OFF)
+   -DWITH_LZO=$(usex lzo ON OFF)
+   -DWITH_JPEG=$(usex jpeg ON OFF)
+   -DWITH_PNG=$(usex png ON OFF)
+   -DWITH_SDL=$(usex sdl ON OFF)
+   -DWITH_THREADS=$(usex threads ON OFF)
+   -DWITH_GNUTLS=$(usex gnutls ON OFF)
+   -DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
+   -DWITH_GCRYPT=$(usex gnutls ON $(usex gcrypt ON OFF))
+   -DWITH_SYSTEMD=$(usex systemd ON OFF)
+   -DWITH_FFMPEG=OFF
+   -DWITH_24BPP=$(usex 24bpp ON OFF)
+   -DWITH_IPv6=$(usex ipv6 ON OFF)
+   -DWITH_SASL=$(usex sasl ON OFF)
+   )
+   cmake-utils_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-06 Thread Michał Górny
commit: c02a14a629a19d98b55db8ea17c320a512f78a58
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu May 23 16:32:01 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 07:02:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02a14a6

net-libs/libvncserver: take maintainership

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Alexander Tsoy  tsoy.me>
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/libvncserver/metadata.xml | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/metadata.xml 
b/net-libs/libvncserver/metadata.xml
index d495570cbb3..ac7be4c2110 100644
--- a/net-libs/libvncserver/metadata.xml
+++ b/net-libs/libvncserver/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   alexan...@tsoy.me
+   Alexander Tsoy
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

 If you don't know VNC, have a look at the original VNC or at Tridia 
 VNC, who also have commercial support for it.



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-06 Thread Michał Górny
commit: fddad281c508831d67bd0e12628f8a1ffc858324
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu May 23 16:24:24 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 07:02:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fddad281

net-libs/libvncserver: update descriptions in metadata.xml

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Alexander Tsoy  tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/12090
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/libvncserver/metadata.xml | 16 +---
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/net-libs/libvncserver/metadata.xml 
b/net-libs/libvncserver/metadata.xml
index ac7be4c2110..3d5cd2b505d 100644
--- a/net-libs/libvncserver/metadata.xml
+++ b/net-libs/libvncserver/metadata.xml
@@ -10,19 +10,13 @@
Proxy Maintainers


-If you don't know VNC, have a look at the original VNC or at Tridia 
-VNC, who also have commercial support for it.
-
-Now that you know what it is, maybe you want to make your own server. If 
-this is not the case, you can ignore the rest of this page an go on 
-surfing the internet.
-
-Now that you want to make a VNC server, that is, a server which speaks 
-the RFB protocol, you can download this library from sourceforge.
+   LibVNCServer/LibVNCClient are cross-platform C libraries that 
allow you
+   to easily implement VNC server or client functionality in your 
program.


-   enable 24bpp support
-   enable support for gcrypt
+   Enable 24bpp support
+   Enable support for additional 
authentication methods via dev-libs/libgcrypt
+   Enable LZO support via dev-libs/lzo 
instead of using internal miniLZO implementation


LibVNC/libvncserver



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-06 Thread Michał Górny
commit: c32962969910f183ea84389bb9c504699fce1cb3
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu May 23 16:04:09 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 07:02:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3296296

net-libs/libvncserver: drop redundant USE-flags

* "sdl" is a no-op without building examples, and we don't build them yet
* "static-libs" and "test" are simply redundant (static-libs was
  supported in autotools based builds)

Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Alexander Tsoy  tsoy.me>
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
index d9c8c843433..c8c0be485e3 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
@@ -14,7 +14,7 @@ LICENSE="GPL-2"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl sdl ssl 
static-libs systemd test +threads +zlib"
+IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
@@ -35,7 +35,6 @@ DEPEND="
lzo? ( dev-libs/lzo )
png? ( >=media-libs/libpng-1.6.10:0= )
sasl? ( dev-libs/cyrus-sasl )
-   sdl? ( media-libs/libsdl2 )
systemd? ( sys-apps/systemd:= )
zlib? ( >=sys-libs/zlib-1.2.8-r1:0= )"
 RDEPEND="${DEPEND}"
@@ -54,7 +53,6 @@ src_configure() {
-DWITH_LZO=$(usex lzo ON OFF)
-DWITH_JPEG=$(usex jpeg ON OFF)
-DWITH_PNG=$(usex png ON OFF)
-   -DWITH_SDL=$(usex sdl ON OFF)
-DWITH_THREADS=$(usex threads ON OFF)
-DWITH_GNUTLS=$(usex gnutls ON OFF)
-DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/, net-libs/libvncserver/files/

2019-07-06 Thread Michał Górny
commit: 8ffb9961657028bdacc37362aeb7aa1ac877cc15
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Thu Jun 20 22:36:01 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 07:02:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ffb9961

net-libs/libvncserver: reorganize ssl/crypto deps

* no longer depend on libgcrypt when gnutls USE-flag is enabled
* put gnutls dependency behind ssl USE-flag

openssl/libressl also provides crypto (if gcrypt is not enabled), but
lets leave them behind ssl USE-flag anyway.

Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Alexander Tsoy  tsoy.me>
Signed-off-by: Michał Górny  gentoo.org>

 .../files/libvncserver-0.9.12-libgcrypt.patch  | 40 ++
 .../libvncserver/libvncserver-0.9.12-r1.ebuild | 16 -
 2 files changed, 47 insertions(+), 9 deletions(-)

diff --git a/net-libs/libvncserver/files/libvncserver-0.9.12-libgcrypt.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.12-libgcrypt.patch
new file mode 100644
index 000..a0313562ff1
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.12-libgcrypt.patch
@@ -0,0 +1,40 @@
+From 57be637006a95091119f7a49b4232e461116520f Mon Sep 17 00:00:00 2001
+From: Alexander Tsoy 
+Date: Sat, 25 May 2019 02:02:47 +0300
+Subject: [PATCH] crypto: rfbcrypto_gnutls is actually libgcrypt-based
+
+Long time ago gnutls used libgcrypt as a cryptographic backend. Perhaps
+that was what caused the confusion.
+---
+ CMakeLists.txt   | 9 -
+ common/{rfbcrypto_gnutls.c => rfbcrypto_libgcrypt.c} | 0
+ 2 files changed, 4 insertions(+), 5 deletions(-)
+ rename common/{rfbcrypto_gnutls.c => rfbcrypto_libgcrypt.c} (100%)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b9ca4ba..0d3b4dc 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -226,11 +226,10 @@ if(SYSTEMD_FOUND)
+ endif(SYSTEMD_FOUND)
+ 
+ if(LIBVNCSERVER_HAVE_SYS_UIO_H)
+-  if(GNUTLS_FOUND)
+-message(STATUS "Building crypto with GnuTLS")
+-set(CRYPTO_LIBRARIES ${GNUTLS_LIBRARIES})
+-set(CRYPTO_SOURCES ${COMMON_DIR}/rfbcrypto_gnutls)
+-include_directories(${GNUTLS_INCLUDE_DIR})
++  if(WITH_GCRYPT AND LIBGCRYPT_LIBRARIES)
++message(STATUS "Building crypto with Libgcrypt")
++set(CRYPTO_LIBRARIES ${LIBGCRYPT_LIBRARIES})
++set(CRYPTO_SOURCES ${COMMON_DIR}/rfbcrypto_libgcrypt)
+   elseif(OPENSSL_FOUND)
+ message(STATUS "Building crypto with OpenSSL")
+ set(CRYPTO_LIBRARIES ${OPENSSL_LIBRARIES})
+diff --git a/common/rfbcrypto_gnutls.c b/common/rfbcrypto_libgcrypt.c
+similarity index 100%
+rename from common/rfbcrypto_gnutls.c
+rename to common/rfbcrypto_libgcrypt.c
+-- 
+2.21.0
+

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
index c8c0be485e3..8f97ef15b98 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
@@ -17,19 +17,16 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc 
~ppc64 ~s390 ~sh ~spa
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl ssl systemd 
+threads +zlib"
 # https://bugs.gentoo.org/435326
 # https://bugs.gentoo.org/550916
-REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
+REQUIRED_USE="ssl? ( !gnutls? ( threads ) ) png? ( zlib )"
 
 DEPEND="
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0= )
-   gnutls? (
-   >=net-libs/gnutls-2.12.23-r6:0=
-   >=dev-libs/libgcrypt-1.5.3:0=
-   )
-   !gnutls? (
-   ssl? (
+   ssl? (
+   !gnutls? (
!libressl? ( >=dev-libs/openssl-1.0.2:0= )
libressl? ( >=dev-libs/libressl-2.7.0:0= )
)
+   gnutls? ( >=net-libs/gnutls-2.12.23-r6:0= )
)
jpeg? ( >=virtual/jpeg-0-r2:0 )
lzo? ( dev-libs/lzo )
@@ -45,6 +42,7 @@ DOCS=( AUTHORS ChangeLog NEWS README.md TODO )
 
 PATCHES=(
"${FILESDIR}"/${P}-cmake-libdir.patch
+   "${FILESDIR}"/${P}-libgcrypt.patch
 )
 
 src_configure() {
@@ -54,9 +52,9 @@ src_configure() {
-DWITH_JPEG=$(usex jpeg ON OFF)
-DWITH_PNG=$(usex png ON OFF)
-DWITH_THREADS=$(usex threads ON OFF)
-   -DWITH_GNUTLS=$(usex gnutls ON OFF)
+   -DWITH_GNUTLS=$(usex gnutls $(usex ssl ON OFF) OFF)
-DWITH_OPENSSL=$(usex gnutls OFF $(usex ssl ON OFF))
-   -DWITH_GCRYPT=$(usex gnutls ON $(usex gcrypt ON OFF))
+   -DWITH_GCRYPT=$(usex gcrypt ON OFF)
-DWITH_SYSTEMD=$(usex systemd ON OFF)
-DWITH_FFMPEG=OFF
-DWITH_24BPP=$(usex 24bpp ON OFF)



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-07-06 Thread Michał Górny
commit: 9a3815c599c3c809e1c4b89432f0bee14dd513a9
Author: Alexander Tsoy  tsoy  me>
AuthorDate: Mon Jun  3 08:34:42 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul  6 07:02:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a3815c5

net-libs/libvncserver: update license

Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Alexander Tsoy  tsoy.me>
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
index 8f97ef15b98..c2be55523f6 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12-r1.ebuild
@@ -10,7 +10,9 @@ DESCRIPTION="library for creating vnc servers"
 HOMEPAGE="https://libvnc.github.io/;
 SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_P}.tar.gz;
 
-LICENSE="GPL-2"
+# libvncserver/tightvnc-filetransfer/*: GPL-2, but we don't build it
+# common/d3des.*: https://github.com/LibVNC/libvncserver/issues/88
+LICENSE="GPL-2+ LGPL-2.1+ BSD MIT"
 # no sub slot wanted (yet), see #578958
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-05-26 Thread Sergei Trofimovich
commit: de13ee4c0d4229ef85daf6f137a79568a17faad7
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun May 26 07:02:04 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun May 26 07:03:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de13ee4c

net-libs/libvncserver: stable 0.9.12 for hppa, bug #684596

Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
index ca82c1e8b78..2e5ce6d1b01 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl sdl ssl 
static-libs systemd test +threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-05-25 Thread Mikle Kolyada
commit: 2027e341a77fecfcff27f107179b857b1d817157
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat May 25 08:41:21 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat May 25 08:41:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2027e341

net-libs/libvncserver: amd64 stable wrt bug #684596

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 net-libs/libvncserver/libvncserver-0.9.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
index 35cdde27075..ca82c1e8b78 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl sdl ssl 
static-libs systemd test +threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-05-16 Thread Thomas Deutschmann
commit: 60e9dec349e01e8044a248e1bf33b514905af8ac
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Thu May 16 23:39:05 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Thu May 16 23:39:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e9dec3

net-libs/libvncserver: x86 stable (bug #684596)

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
index f6689d65140..35cdde27075 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl sdl ssl 
static-libs systemd test +threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-05-07 Thread Tobias Klausmann
commit: 7eb660ad0be9f204c051ecebb57f9e5c47b1c627
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue May  7 20:13:20 2019 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue May  7 20:13:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7eb660ad

net-libs/libvncserver-0.9.12-r0: alpha stable

Bug: http://bugs.gentoo.org/684596
Signed-off-by: Tobias Klausmann  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
index c228e51f894..f6689d65140 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc 
~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl sdl ssl 
static-libs systemd test +threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-04-29 Thread Sergei Trofimovich
commit: e9f56727c1c76a00091f135cbb5dc6f57a8a56f3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Apr 29 20:10:37 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Apr 29 20:10:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f56727

net-libs/libvncserver: stable 0.9.12 for ppc64, bug #684596

Package-Manager: Portage-2.3.65, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
index 53fbf4cd772..c228e51f894 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl sdl ssl 
static-libs systemd test +threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-04-29 Thread Sergei Trofimovich
commit: 2dca946d79a4e08f3099b10adeee1633aca0cffa
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Apr 29 20:08:57 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Apr 29 20:08:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dca946d

net-libs/libvncserver: stable 0.9.12 for ppc, bug #684596

Package-Manager: Portage-2.3.65, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
index e77d76b2041..53fbf4cd772 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl sdl ssl 
static-libs systemd test +threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-04-29 Thread Sergei Trofimovich
commit: b08e3b657649afa14a28cb41a27caac3a323dee6
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Apr 29 20:07:32 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Apr 29 20:07:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b08e3b65

net-libs/libvncserver: stable 0.9.12 for ia64, bug #684596

Package-Manager: Portage-2.3.65, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
index 2ec6d6f5d76..e77d76b2041 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl sdl ssl 
static-libs systemd test +threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-01-19 Thread Jonas Stein
commit: 4e0e8093366f2442b5b6a91b89f42d6598b8b3f6
Author: Jonas Stein  gentoo  org>
AuthorDate: Sat Jan 19 11:21:18 2019 +
Commit: Jonas Stein  gentoo  org>
CommitDate: Sat Jan 19 11:50:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e0e8093

net-libs/libvncserver: Maintainer retired

Proxied maintainer asked for retirement.
Closes: https://bugs.gentoo.org/632924
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Jonas Stein  gentoo.org>

 net-libs/libvncserver/metadata.xml | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/net-libs/libvncserver/metadata.xml 
b/net-libs/libvncserver/metadata.xml
index 6c1ab10cbc0..d495570cbb3 100644
--- a/net-libs/libvncserver/metadata.xml
+++ b/net-libs/libvncserver/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   alex_y...@yahoo.ca
-   Alex Xu
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   

 If you don't know VNC, have a look at the original VNC or at Tridia 
 VNC, who also have commercial support for it.



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2019-01-18 Thread Sven Wegener
commit: a048a8c4233e995ccbc7bf35c95400c0005189f8
Author: Sven Wegener  gentoo  org>
AuthorDate: Fri Jan 18 21:23:46 2019 +
Commit: Sven Wegener  gentoo  org>
CommitDate: Fri Jan 18 21:23:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a048a8c4

net-libs/libvncserver: Require >=openssl-1.0.2

Signed-off-by: Sven Wegener  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-libs/libvncserver/libvncserver-0.9.12.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.12.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
index 591ee143dfc..2ec6d6f5d76 100644
--- a/net-libs/libvncserver/libvncserver-0.9.12.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
@@ -26,7 +26,7 @@ DEPEND="
)
!gnutls? (
ssl? (
-   !libressl? ( 
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
+   !libressl? ( 
>=dev-libs/openssl-1.0.2:0=[${MULTILIB_USEDEP}] )
libressl? ( 
>=dev-libs/libressl-2.7.0:0=[${MULTILIB_USEDEP}] )
)
)



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/files/, net-libs/libvncserver/

2019-01-17 Thread Sven Wegener
commit: 4fbd9dd57d76b333b4c75791b1590f5ee09119f1
Author: Sven Wegener  gentoo  org>
AuthorDate: Tue Jan 15 21:40:20 2019 +
Commit: Sven Wegener  gentoo  org>
CommitDate: Thu Jan 17 21:21:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fbd9dd5

net-libs/libvncserver: Version bump, security bug #659560 and #673508

Bug: https://bugs.gentoo.org/659560
Bug: https://bugs.gentoo.org/673508
Closes: https://bugs.gentoo.org/435326
Closes: https://bugs.gentoo.org/675046
Signed-off-by: Sven Wegener  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-libs/libvncserver/Manifest |  1 +
 .../files/libvncserver-0.9.12-cmake-libdir.patch   | 22 +++
 net-libs/libvncserver/libvncserver-0.9.12.ebuild   | 72 ++
 3 files changed, 95 insertions(+)

diff --git a/net-libs/libvncserver/Manifest b/net-libs/libvncserver/Manifest
index 85c0fe603f2..0cb75239ec8 100644
--- a/net-libs/libvncserver/Manifest
+++ b/net-libs/libvncserver/Manifest
@@ -1 +1,2 @@
 DIST LibVNCServer-0.9.11.tar.gz 1413739 BLAKE2B 
e295d3aef7181cd767676c4e55130fa65ecf8ea92a659b6de82d2cc465f1c9e1a587839942fd89882126dc8ec54f9de20a78e799ea194f9ae227a82ae705721b
 SHA512 
e473c081b68dd3cdd96a1756b4f4945ece79d3c8e4cef62140be1699671555fc16d3080e81d764197a14ea83203ffcd0e18c3cc182e012d036e3faae943003fb
+DIST LibVNCServer-0.9.12.tar.gz 2237447 BLAKE2B 
583500c0bcfb6e9e3a02a33fb2701113b164851f0906fcc4845de7c7d82d4f7f65f5edd6c9a672348ee1deeefc65c1b0a257da024254598ba86d121d424f027e
 SHA512 
60ff1cc93a937d6f8f97449bc58b763095846207112f7b1b3c43eb2d74448b595d6da949903a764bd484ee54e38ff6277e882adbe965dd6d26ba15ef6ff6fcb8

diff --git a/net-libs/libvncserver/files/libvncserver-0.9.12-cmake-libdir.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.12-cmake-libdir.patch
new file mode 100644
index 000..35ee26dc7b0
--- /dev/null
+++ b/net-libs/libvncserver/files/libvncserver-0.9.12-cmake-libdir.patch
@@ -0,0 +1,22 @@
+--- libvncserver-LibVNCServer-0.9.12/CMakeLists.txt
 libvncserver-LibVNCServer-0.9.12/CMakeLists.txt
+@@ -666,8 +666,8 @@
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libvncclient.pc.cmakein 
${CMAKE_CURRENT_BINARY_DIR}/libvncclient.pc @ONLY)
+ 
+ 
+-install_targets(/lib vncserver)
+-install_targets(/lib vncclient)
++install_targets(/${CMAKE_INSTALL_LIBDIR} vncserver)
++install_targets(/${CMAKE_INSTALL_LIBDIR} vncclient)
+ install_files(/include/rfb FILES
+ rfb/keysym.h
+ rfb/rfb.h
+@@ -677,7 +677,7 @@
+ rfb/rfbregion.h
+ )
+ 
+-install_files(/lib/pkgconfig FILES
++install_files(/${CMAKE_INSTALL_LIBDIR}/pkgconfig FILES
+ libvncserver.pc
+ libvncclient.pc
+ )

diff --git a/net-libs/libvncserver/libvncserver-0.9.12.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
new file mode 100644
index 000..1a25cd77ee5
--- /dev/null
+++ b/net-libs/libvncserver/libvncserver-0.9.12.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake-multilib
+
+MY_PN="LibVNCServer"
+
+DESCRIPTION="library for creating vnc servers"
+HOMEPAGE="https://libvnc.github.io/;
+SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
+
+LICENSE="GPL-2"
+# No sub slot wanted (yet), see #578958
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl lzo +png sasl sdl ssl 
static-libs systemd test +threads +zlib"
+REQUIRED_USE="!gnutls? ( ssl? ( threads ) ) png? ( zlib )"
+
+DEPEND="
+   gcrypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] )
+   gnutls? (
+   >=net-libs/gnutls-2.12.23-r6:0=[${MULTILIB_USEDEP}]
+   >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}]
+   )
+   !gnutls? (
+   ssl? (
+   !libressl? ( 
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
+   libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
+   )
+   )
+   jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] )
+   lzo? ( dev-libs/lzo )
+   png? ( >=media-libs/libpng-1.6.10:0=[${MULTILIB_USEDEP}] )
+   sasl? ( dev-libs/cyrus-sasl )
+   sdl? ( media-libs/libsdl2 )
+   systemd? ( sys-apps/systemd:= )
+   zlib? ( >=sys-libs/zlib-1.2.8-r1:0=[${MULTILIB_USEDEP}] )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_PN}-${PV}"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md TODO )
+
+PATCHES=(
+   "${FILESDIR}"/${P}-cmake-libdir.patch
+)
+
+multilib_src_configure() {
+   local mycmakeargs=(
+   -DWITH_ZLIB=$(usex zlib ON OFF)
+   -DWITH_LZO=$(usex lzo ON OFF)
+   -DWITH_JPEG=$(usex jpeg ON OFF)
+   -DWITH_PNG=$(usex png ON OFF)
+   -DWITH_SDL=$(usex sdl ON OFF)
+   -DWITH_THREADS=$(usex threads ON OFF)
+   

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2017-06-28 Thread Alexis Ballier
commit: 56c204a92437734892faa08b3c5cd6d44c7a6370
Author: Alexis Ballier  gentoo  org>
AuthorDate: Wed Jun 28 10:53:52 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Wed Jun 28 10:53:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c204a9

net-libs/libvncserver: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
index 0aa97aeb00d..218aea83cd8 100644
--- a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl +png ssl static-libs systemd 
test +threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/, net-libs/libvncserver/files/

2017-02-17 Thread Thomas Deutschmann
commit: 6c329ef7d981dbb47dee4c1b45d7a98b7f60e38e
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Feb 17 09:38:32 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Feb 17 09:38:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c329ef7

net-libs/libvncserver: Security cleanup (bug #605326)

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-libs/libvncserver/Manifest |  2 -
 .../files/libvncserver-0.9.10-libva-1.0.patch  | 52 
 .../libvncserver/libvncserver-0.9.10-r3.ebuild | 69 -
 .../libvncserver/libvncserver-0.9.10-r4.ebuild | 72 --
 .../libvncserver-0.9.10_p20160127.ebuild   | 67 
 5 files changed, 262 deletions(-)

diff --git a/net-libs/libvncserver/Manifest b/net-libs/libvncserver/Manifest
index a0a440b054..9f3efc5747 100644
--- a/net-libs/libvncserver/Manifest
+++ b/net-libs/libvncserver/Manifest
@@ -1,3 +1 @@
-DIST LibVNCServer-0.9.10.tar.gz 1415191 SHA256 
ed10819a5bfbf269969f97f075939cc38273cc1b6d28bccfb0999fba489411f7 SHA512 
eb637dfb72dc50fb713a715c9d0cc8824a6871527c2edb497e70c92e2e708021fbd5d8134f2dee6a9e90d1c8fd3fee53c5f5ece790c2804e938011a980ffceae
 WHIRLPOOL 
821234e772d15668b88bd99e72345a7b5d1a9072fd868ddd47fb47a1e4c6b3c1c2de2380622231a968bd98ac05f20a004a80dfbe43db77f8170056121207b9f4
 DIST LibVNCServer-0.9.11.tar.gz 1413739 SHA256 
193d630372722a532136fd25c5326b2ca1a636cbb8bf9bb115ef869c804d2894 SHA512 
e473c081b68dd3cdd96a1756b4f4945ece79d3c8e4cef62140be1699671555fc16d3080e81d764197a14ea83203ffcd0e18c3cc182e012d036e3faae943003fb
 WHIRLPOOL 
98a24e533a0b8065d1f3c52672b601750f26a89e29cee8e3b253cc15219d0249befd1aa2735f06351d7911777ff7dc3ce39dc903f7046f39a0abf0af277dff11
-DIST libvncserver-0.9.10_p20160127.tar.gz 1407878 SHA256 
cac045bc068e567e9639624e66fb0db18205d93c12845366e16b8351b70ebd2e SHA512 
3e8079d814c624e7c8f6f4dd91dfdf05e035ec489fc87a797a4a08b4f8998156b420b941b94c48f6b5f783f1a962f802e83d4bbdefc1f4093837331c8247676d
 WHIRLPOOL 
4884303a7071c450f06b93b2b483903d45f871c0d6e1dd55f2a1c141feb3eca97d9fbcd32e8f02bf6413beb6a11e70f53b498f15172bb2f04be1796045095331

diff --git a/net-libs/libvncserver/files/libvncserver-0.9.10-libva-1.0.patch 
b/net-libs/libvncserver/files/libvncserver-0.9.10-libva-1.0.patch
deleted file mode 100644
index 2e6939e886..00
--- a/net-libs/libvncserver/files/libvncserver-0.9.10-libva-1.0.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-commit 7b6243157f042a7bde353abc6fb22aadad6d9e2d
-Author: Floris Bos 
-Date:   2014-12-29 00:02:33 +0100
-
-Fix libva related compile errors
-
-- Make h264.c compile with recent libva version by including va_compat.h
-- Only enable libva if libva-x11 is installed
-- Modified configure help text
-  Previous help text suggested libva was only build when --with-libva
-  was specified, while actual behavior is to build it by default.
-
-Warning: THIS CODE IS UNTESTED. Lacking a h.264 capable VNC server
-Also no attempt is made to support platforms not using X11
-
-Signed-off-by: Floris Bos 
-
-diff --git a/configure.ac b/configure.ac
-index ca9f3b3..fe8b1de 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -150,12 +150,11 @@ AM_CONDITIONAL(HAVE_LIBSSL, test ! -z "$SSL_LIBS")
- 
- 
- # See if we want libva support
--# TODO: check if library actually exists
- AH_TEMPLATE(CONFIG_LIBVA, [Build libva support])
- AC_ARG_WITH(libva,
--[  --with-libva   build libva support],,)
-+[  --without-libva disable support for libva],,)
- if test "x$with_libva" != "xno"; then
--AC_CHECK_LIB(va, vaInitialize,
-+AC_CHECK_LIB(va-x11, vaGetDisplay,
- VA_LIBS="-lva -lva-x11"
- [AC_DEFINE(CONFIG_LIBVA) CONFIG_LIBVA="true"], ,)
- fi
-diff --git a/libvncclient/h264.c b/libvncclient/h264.c
-index 1d94454..c63a713 100644
 a/libvncclient/h264.c
-+++ b/libvncclient/h264.c
-@@ -20,6 +20,10 @@
- #ifdef LIBVNCSERVER_CONFIG_LIBVA
- 
- #include 
-+#include 
-+#if VA_CHECK_VERSION(0,34,0)
-+#include 
-+#endif
- #include 
- 
- enum _slice_types {
-

diff --git a/net-libs/libvncserver/libvncserver-0.9.10-r3.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.10-r3.ebuild
deleted file mode 100644
index 298b3dff2e..00
--- a/net-libs/libvncserver/libvncserver-0.9.10-r3.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-inherit autotools multilib-minimal
-
-DESCRIPTION="library for creating vnc servers"
-HOMEPAGE="http://libvncserver.sourceforge.net/;
-SRC_URI="https://github.com/LibVNC/libvncserver/archive/LibVNCServer-${PV}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
-IUSE="+24bpp gcrypt gnutls ipv6 +jpeg +png ssl 

[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2017-02-05 Thread Markus Meier
commit: 63b2526c88a46dc7ef469a3c54cb850cf0753c72
Author: Markus Meier  gentoo  org>
AuthorDate: Sun Feb  5 17:00:28 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sun Feb  5 17:00:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63b2526c

net-libs/libvncserver: arm stable, bug #605326

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
index 386993f..fd25608 100644
--- a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl +png ssl static-libs systemd 
test +threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2017-02-04 Thread Andreas Sturmlechner
commit: 7ae0cafde9984e56566ad1bb997d039d1dad3fab
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Feb  5 00:14:13 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Feb  5 00:15:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ae0cafd

net-libs/libvncserver: Switch to +threads by default

Gentoo-bug: 606838

REQUIRED_USE case: Eases life of most users that either set ssl in
make.conf or are desktop profile users.

Package-Manager: portage-2.3.3

 net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
index 79f7e3f..386993f 100644
--- a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
@@ -16,7 +16,7 @@ LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
 KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
-IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl +png ssl static-libs systemd 
test threads +zlib"
+IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl +png ssl static-libs systemd 
test +threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) )"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2017-01-23 Thread Agostino Sarubbo
commit: e2dfd0e830600f4354312a3e6c119660dba79b29
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jan 23 16:25:05 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jan 23 16:27:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2dfd0e8

net-libs/libvncserver: ia64 stable wrt bug #605326

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
index 64703fe..79f7e3f 100644
--- a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl +png ssl static-libs systemd 
test threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/

2017-01-21 Thread Agostino Sarubbo
commit: 976b316fbd409ab0210fa5661736fa80bfd44aaf
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jan 21 20:28:55 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jan 21 20:33:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=976b316f

net-libs/libvncserver: ppc stable wrt bug #605326

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild 
b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
index 132d182..e1f16ca 100644
--- a/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
+++ b/net-libs/libvncserver/libvncserver-0.9.11-r1.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/LibVNC/${PN}/archive/${MY_PN}-${PV}.tar.gz;
 LICENSE="GPL-2"
 # No sub slot wanted (yet), see #578958
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 
~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux"
 IUSE="+24bpp gcrypt gnutls ipv6 +jpeg libressl +png ssl static-libs systemd 
test threads +zlib"
 REQUIRED_USE="!gnutls? ( ssl? ( threads ) )"
 



  1   2   >