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 726DF138334 for ; Wed, 22 Aug 2018 17:29:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 53878E095C; Wed, 22 Aug 2018 17:29:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B92AE095C for ; Wed, 22 Aug 2018 17:29:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9F23B335C32 for ; Wed, 22 Aug 2018 17:29:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C43002BA for ; Wed, 22 Aug 2018 17:29:29 +0000 (UTC) From: "Alon Bar-Lev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alon Bar-Lev" Message-ID: <1534958959.e60ab0b2d94f5307bf6c6c056bd5487a38ab008e.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/pkcs11-helper/files/, dev-libs/pkcs11-helper/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/pkcs11-helper/files/pkcs11-helper-1.25.1-build.patch dev-libs/pkcs11-helper/pkcs11-helper-1.25.1.ebuild X-VCS-Directories: dev-libs/pkcs11-helper/files/ dev-libs/pkcs11-helper/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: e60ab0b2d94f5307bf6c6c056bd5487a38ab008e X-VCS-Branch: master Date: Wed, 22 Aug 2018 17:29:29 +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: 556f6d68-9aa6-4427-8289-419d31334d3d X-Archives-Hash: b22fda4052ef34c79f46978c2ffbaf6a commit: e60ab0b2d94f5307bf6c6c056bd5487a38ab008e Author: Alon Bar-Lev gentoo org> AuthorDate: Wed Aug 22 17:28:47 2018 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Wed Aug 22 17:29:19 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e60ab0b2 dev-libs/pkcs11-helper: build with openssl bindist Closes: https://bugs.gentoo.org/664086 Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../files/pkcs11-helper-1.25.1-build.patch | 33 ++++++++++++++++++++++ dev-libs/pkcs11-helper/pkcs11-helper-1.25.1.ebuild | 4 +++ 2 files changed, 37 insertions(+) diff --git a/dev-libs/pkcs11-helper/files/pkcs11-helper-1.25.1-build.patch b/dev-libs/pkcs11-helper/files/pkcs11-helper-1.25.1-build.patch new file mode 100644 index 00000000000..a657dba14ce --- /dev/null +++ b/dev-libs/pkcs11-helper/files/pkcs11-helper-1.25.1-build.patch @@ -0,0 +1,33 @@ +From 0e2ae10ef9611beef92457171e8c78d8e936dfca Mon Sep 17 00:00:00 2001 +From: Alon Bar-Lev +Date: Wed, 22 Aug 2018 20:24:19 +0300 +Subject: [PATCH] openssl: build with openssl ec disabled + +--- + ChangeLog | 1 + + lib/pkcs11h-openssl.c | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lib/pkcs11h-openssl.c b/lib/pkcs11h-openssl.c +index c981e21..4ebc211 100644 +--- a/lib/pkcs11h-openssl.c ++++ b/lib/pkcs11h-openssl.c +@@ -263,6 +263,7 @@ DSA_SIG_set0 (DSA_SIG *sig, BIGNUM *r, BIGNUM *s) + } + #endif + ++#ifdef __ENABLE_EC + #ifndef HAVE_ECDSA_SIG_SET0 + static int + ECDSA_SIG_set0 (ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) +@@ -275,7 +276,6 @@ ECDSA_SIG_set0 (ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) + } + #endif + +-#ifdef __ENABLE_EC + #ifndef HAVE_EC_KEY_METHOD_GET_SIGN + void EC_KEY_METHOD_get_sign(const EC_KEY_METHOD *meth, + int (**psign)(int type, const unsigned char *dgst, +-- +2.16.4 + diff --git a/dev-libs/pkcs11-helper/pkcs11-helper-1.25.1.ebuild b/dev-libs/pkcs11-helper/pkcs11-helper-1.25.1.ebuild index 5cf68a2ebbf..976039d3900 100644 --- a/dev-libs/pkcs11-helper/pkcs11-helper-1.25.1.ebuild +++ b/dev-libs/pkcs11-helper/pkcs11-helper-1.25.1.ebuild @@ -23,6 +23,10 @@ DEPEND="${RDEPEND} virtual/pkgconfig doc? ( >=app-doc/doxygen-1.4.7 )" +PATCHES=( + "${FILESDIR}/${P}-build.patch" +) + src_configure() { econf \ --disable-crypto-engine-polarssl \