From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/
Date: Sat, 20 Jan 2024 12:51:03 +0000 (UTC) [thread overview]
Message-ID: <1705754870.cea7c09c70390799b321479a59b597a25f951f9b.sam@gentoo> (raw)
commit: cea7c09c70390799b321479a59b597a25f951f9b
Author: Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Thu Jan 4 18:58:27 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 12:47:50 2024 +0000
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 <alexander <AT> tsoy.me>
Signed-off-by: Sam James <sam <AT> 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 000000000000..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
+}
next reply other threads:[~2024-01-20 12:51 UTC|newest]
Thread overview: 102+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-20 12:51 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-01 21:36 [gentoo-commits] repo/gentoo:master commit in: net-libs/libvncserver/ Sam James
2025-03-01 7:54 Joonas Niilola
2025-02-17 20:24 Sam James
2024-01-20 12:51 Sam James
2023-10-23 14:05 Arthur Zamarin
2023-10-23 5:55 Joonas Niilola
2023-10-23 5:55 Joonas Niilola
2023-10-23 1:44 Sam James
2023-10-23 1:44 Sam James
2023-10-23 1:44 Sam James
2023-02-28 16:13 Joonas Niilola
2023-02-16 10:01 Sam James
2023-02-16 6:04 Sam James
2023-02-16 3:30 Sam James
2023-02-16 3:30 Sam James
2023-02-16 3:30 Sam James
2023-02-16 3:30 Sam James
2023-02-15 22:03 Sam James
2022-12-27 10:23 Sam James
2022-12-03 6:08 WANG Xuerui
2022-09-30 15:19 John Helmert III
2022-09-30 11:49 Agostino Sarubbo
2022-09-30 11:48 Agostino Sarubbo
2022-09-30 11:48 Agostino Sarubbo
2022-09-30 5:39 Joonas Niilola
2022-09-30 5:39 Joonas Niilola
2022-09-29 19:19 Arthur Zamarin
2022-09-29 18:07 Arthur Zamarin
2021-05-02 10:56 Mikle Kolyada
2020-06-29 6:26 Agostino Sarubbo
2020-06-29 6:22 Agostino Sarubbo
2020-06-29 6:19 Agostino Sarubbo
2020-06-28 20:48 Agostino Sarubbo
2020-06-28 20:37 Agostino Sarubbo
2020-06-26 21:16 Mart Raudsepp
2020-06-22 18:23 Sergei Trofimovich
2020-06-20 20:31 Thomas Deutschmann
2020-04-03 16:55 Andreas Sturmlechner
2020-04-02 17:55 Sergei Trofimovich
2020-03-30 20:50 Sergei Trofimovich
2020-03-30 13:41 Agostino Sarubbo
2020-03-30 13:36 Agostino Sarubbo
2020-03-30 13:14 Agostino Sarubbo
2020-03-29 14:45 Sergei Trofimovich
2020-03-29 9:40 Sergei Trofimovich
2020-03-29 9:34 Sergei Trofimovich
2020-03-28 22:46 Mart Raudsepp
2020-01-28 20:55 Andreas Sturmlechner
2020-01-28 20:55 Andreas Sturmlechner
2019-11-27 13:23 Mikle Kolyada
2019-11-21 17:17 Sergei Trofimovich
2019-11-20 16:44 Aaron Bauman
2019-11-20 13:23 Agostino Sarubbo
2019-11-20 11:35 Agostino Sarubbo
2019-11-20 11:27 Agostino Sarubbo
2019-11-20 11:16 Agostino Sarubbo
2019-11-19 19:45 Sergei Trofimovich
2019-07-28 21:21 Andreas Sturmlechner
2019-07-28 20:01 Mikle Kolyada
2019-07-23 1:33 Aaron Bauman
2019-07-21 8:16 Sergei Trofimovich
2019-07-19 13:26 Michał Górny
2019-07-18 10:07 Agostino Sarubbo
2019-07-18 10:05 Agostino Sarubbo
2019-07-18 10:05 Agostino Sarubbo
2019-07-18 10:03 Agostino Sarubbo
2019-07-18 10:01 Agostino Sarubbo
2019-07-18 9:57 Agostino Sarubbo
2019-07-18 9:54 Agostino Sarubbo
2019-07-16 17:16 Andreas Sturmlechner
2019-07-06 7:06 Michał Górny
2019-07-06 7:06 Michał Górny
2019-07-06 7:06 Michał Górny
2019-07-06 7:06 Michał Górny
2019-07-06 7:06 Michał Górny
2019-05-26 7:04 Sergei Trofimovich
2019-05-25 8:42 Mikle Kolyada
2019-05-16 23:56 Thomas Deutschmann
2019-05-07 20:14 Tobias Klausmann
2019-04-29 20:11 Sergei Trofimovich
2019-04-29 20:09 Sergei Trofimovich
2019-04-29 20:07 Sergei Trofimovich
2019-01-19 11:57 Jonas Stein
2019-01-18 21:24 Sven Wegener
2017-06-28 10:55 Alexis Ballier
2017-02-05 17:00 Markus Meier
2017-02-05 0:16 Andreas Sturmlechner
2017-01-23 16:27 Agostino Sarubbo
2017-01-21 20:33 Agostino Sarubbo
2017-01-21 17:27 Agostino Sarubbo
2017-01-21 17:16 Agostino Sarubbo
2017-01-21 12:23 Jeroen Roovers
2017-01-21 12:22 Jeroen Roovers
2017-01-21 11:37 Tobias Klausmann
2017-01-20 21:10 Thomas Deutschmann
2017-01-20 20:05 Thomas Deutschmann
2017-01-15 3:12 Göktürk Yüksek
2016-11-27 21:46 Mike Frysinger
2016-04-01 2:29 Ian Delaney
2015-09-27 2:47 Ian Delaney
2015-09-20 17:35 Julian Ospald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1705754870.cea7c09c70390799b321479a59b597a25f951f9b.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox