From 9cced17d2a04989d6fede3141bcb90f3ea9b0914 Mon Sep 17 00:00:00 2001 From: Michael Weber Date: Tue, 11 Aug 2015 01:39:53 +0200 Subject: [PATCH] net-misc/aiccu: fix for gnutls-3.4 and adjust dep (bug 549014, thanks spam and alpinelinux). Package-Manager: portage-2.2.20 --- net-misc/aiccu/aiccu-2007.01.15-r4.ebuild | 3 +- net-misc/aiccu/aiccu-2007.01.15-r5.ebuild | 59 +++++++++++++++++++ .../files/aiccu-2007.01.15-gnutls-3.4.patch | 22 +++++++ 3 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 net-misc/aiccu/aiccu-2007.01.15-r5.ebuild create mode 100644 net-misc/aiccu/files/aiccu-2007.01.15-gnutls-3.4.patch diff --git a/net-misc/aiccu/aiccu-2007.01.15-r4.ebuild b/net-misc/aiccu/aiccu-2007.01.15-r4.ebuild index 339ace8e057f..d04136e726a4 100644 --- a/net-misc/aiccu/aiccu-2007.01.15-r4.ebuild +++ b/net-misc/aiccu/aiccu-2007.01.15-r4.ebuild @@ -15,8 +15,7 @@ SLOT="0" KEYWORDS="amd64 arm hppa ppc sparc x86" IUSE="systemd" -RDEPEND=" - net-libs/gnutls +RDEPEND="session); + /* XXX: Return value is not documented in GNUTLS documentation! */ + +- gnutls_certificate_type_set_priority(sock->session, cert_type_priority); +- /* XXX: Return value is not documented in GNUTLS documentation! */ ++ gnutls_priority_set_direct(sock->session, "NORMAL:+CTYPE-OPENPGP", NULL); + + /* Configure the x509 credentials for the current session */ + gnutls_credentials_set(sock->session, GNUTLS_CRD_CERTIFICATE, g_aiccu->tls_cred); -- 2.26.2