diff options
author | Sven Wegener <swegener@gentoo.org> | 2019-01-15 21:40:20 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2019-01-17 21:21:30 +0000 |
commit | 4fbd9dd57d76b333b4c75791b1590f5ee09119f1 (patch) | |
tree | 2847f16e615d2fd2da54f82b430dbdaafcceda6b /net-libs/libvncserver | |
parent | app-backup/snapper: amd64 stable wrt bug #674042 (diff) | |
download | gentoo-4fbd9dd57d76b333b4c75791b1590f5ee09119f1.tar.gz gentoo-4fbd9dd57d76b333b4c75791b1590f5ee09119f1.tar.bz2 gentoo-4fbd9dd57d76b333b4c75791b1590f5ee09119f1.zip |
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 <swegener@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'net-libs/libvncserver')
-rw-r--r-- | net-libs/libvncserver/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libvncserver/files/libvncserver-0.9.12-cmake-libdir.patch | 22 | ||||
-rw-r--r-- | net-libs/libvncserver/libvncserver-0.9.12.ebuild | 72 |
3 files changed, 95 insertions, 0 deletions
diff --git a/net-libs/libvncserver/Manifest b/net-libs/libvncserver/Manifest index 85c0fe603f21..0cb75239ec8b 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 000000000000..35ee26dc7b04 --- /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 000000000000..1a25cd77ee5b --- /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) + -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 +} + +multilib_src_install_all() { + einstalldocs +} |