commit:     cd2a179ecfadad2276ca63e7d993fd7ec87ebd73
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Wed Feb 15 19:28:49 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 16:13:00 2023 +0000
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 <alexander <AT> tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/29596
Signed-off-by: Joonas Niilola <juippis <AT> 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= )

Reply via email to