From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5D7D1395E2 for ; Sun, 20 Nov 2016 21:08:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BFEAE0C40; Sun, 20 Nov 2016 21:08:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2509DE0C40 for ; Sun, 20 Nov 2016 21:08:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CAF833BE32 for ; Sun, 20 Nov 2016 21:08:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9419492 for ; Sun, 20 Nov 2016 21:08:11 +0000 (UTC) From: "Sven Wegener" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Wegener" Message-ID: <1479676075.4bcf4c432dcff57befea68d05a7fe6f0ff87ab41.swegener@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns-recursor/, net-dns/pdns-recursor/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/pdns-recursor/files/pdns-recursor-4.0.3-ecdsa.patch net-dns/pdns-recursor/pdns-recursor-4.0.3.ebuild X-VCS-Directories: net-dns/pdns-recursor/files/ net-dns/pdns-recursor/ X-VCS-Committer: swegener X-VCS-Committer-Name: Sven Wegener X-VCS-Revision: 4bcf4c432dcff57befea68d05a7fe6f0ff87ab41 X-VCS-Branch: master Date: Sun, 20 Nov 2016 21:08:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 27e68e36-8d5a-4520-a968-765d55de8af4 X-Archives-Hash: 41f6dc68a44fbbe3d2b1656e628731fa commit: 4bcf4c432dcff57befea68d05a7fe6f0ff87ab41 Author: Sven Wegener gentoo org> AuthorDate: Sun Nov 20 21:07:06 2016 +0000 Commit: Sven Wegener gentoo org> CommitDate: Sun Nov 20 21:07:55 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bcf4c43 net-dns/pdns-recursor: Fix building with disabled ECDSA support, bug #590370 Package-Manager: portage-2.3.0 .../files/pdns-recursor-4.0.3-ecdsa.patch | 29 ++++++++++++++++++++++ net-dns/pdns-recursor/pdns-recursor-4.0.3.ebuild | 1 + 2 files changed, 30 insertions(+) diff --git a/net-dns/pdns-recursor/files/pdns-recursor-4.0.3-ecdsa.patch b/net-dns/pdns-recursor/files/pdns-recursor-4.0.3-ecdsa.patch new file mode 100644 index 00000000..52826c9 --- /dev/null +++ b/net-dns/pdns-recursor/files/pdns-recursor-4.0.3-ecdsa.patch @@ -0,0 +1,29 @@ +commit 3d59c6f7d83f54d5c73013de5ab61e9a0ecd1460 +Author: Remi Gacogne +Date: Mon Oct 17 10:07:26 2016 +0200 + + Fix building with ECDSA support disabled in libcrypto + + (cherry picked from commit aa74d164ae29269168d048d2cc8d7e1f984774c4) + +diff --git a/opensslsigners.cc b/opensslsigners.cc +index 9e919a0..acf8f08 100644 +--- a/opensslsigners.cc ++++ b/opensslsigners.cc +@@ -128,6 +128,7 @@ static inline int RSA_set0_crt_params(RSA* rsakey, BIGNUM* dmp1, BIGNUM* dmq1, B + return 1; + } + ++#ifdef HAVE_LIBCRYPTO_ECDSA + static inline void ECDSA_SIG_get0(const ECDSA_SIG* signature, const BIGNUM** pr, const BIGNUM** ps) { + *pr = signature->r; + *ps = signature->s; +@@ -140,6 +141,8 @@ static inline int ECDSA_SIG_set0(ECDSA_SIG* signature, BIGNUM* pr, BIGNUM* ps) { + signature->s = ps; + return 1; + } ++#endif /* HAVE_LIBCRYPTO_ECDSA */ ++ + #else + void openssl_thread_setup() {} + void openssl_thread_cleanup() {} diff --git a/net-dns/pdns-recursor/pdns-recursor-4.0.3.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.0.3.ebuild index 321a847..954fcbd 100644 --- a/net-dns/pdns-recursor/pdns-recursor-4.0.3.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-4.0.3.ebuild @@ -32,6 +32,7 @@ S="${WORKDIR}"/${P/_/-} PATCHES=( "${FILESDIR}"/${P}-boost-1.61-fcontext.patch + "${FILESDIR}"/${P}-ecdsa.patch ) pkg_setup() {