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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 48962158086 for ; Fri, 3 Dec 2021 04:50:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D93B72BC003; Fri, 3 Dec 2021 04:50:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7DD62BC003 for ; Fri, 3 Dec 2021 04:50:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2BF9D342FEE for ; Fri, 3 Dec 2021 04:50:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 796D7210 for ; Fri, 3 Dec 2021 04:50:38 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1638507027.0de4fa6c810cfc668e2dcefd12a940e724bea791.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/softhsm/softhsm-2.6.1-r2.ebuild X-VCS-Directories: dev-libs/softhsm/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0de4fa6c810cfc668e2dcefd12a940e724bea791 X-VCS-Branch: master Date: Fri, 3 Dec 2021 04:50:38 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 63a6e085-6bec-41d5-a4a1-6b1ddda27b9b X-Archives-Hash: 73783c368e6906a5b80bfc463ed029b3 commit: 0de4fa6c810cfc668e2dcefd12a940e724bea791 Author: Sam James gentoo org> AuthorDate: Fri Dec 3 04:49:42 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Dec 3 04:50:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0de4fa6c dev-libs/softhsm: adapt for OpenSSL bindist changes OpenSSL no longer has a bindist flag. Bug: https://bugs.gentoo.org/762850 Signed-off-by: Sam James gentoo.org> dev-libs/softhsm/softhsm-2.6.1-r2.ebuild | 48 ++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild b/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild new file mode 100644 index 000000000000..6a7ef28681b0 --- /dev/null +++ b/dev-libs/softhsm/softhsm-2.6.1-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A software PKCS#11 implementation" +HOMEPAGE="https://www.opendnssec.org/" +SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz" + +LICENSE="BSD" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="gost migration-tool test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + migration-tool? ( dev-db/sqlite:3= ) + dev-libs/openssl:= + !~dev-libs/softhsm-2.0.0:0 +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gcc:=[cxx] + virtual/pkgconfig + test? ( dev-util/cppunit ) +" + +DOCS=( NEWS README.md ) + +src_configure() { + econf \ + --disable-static \ + --with-crypto-backend=openssl \ + --disable-p11-kit \ + --localstatedir="${EPREFIX}/var" \ + --enable-ecc \ + $(use_enable gost) \ + $(use_with migration-tool migrate) +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die + + keepdir /var/lib/softhsm/tokens +}