Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/softhsm/
Date: Fri, 19 Oct 2018 16:12:48
Message-Id: 1539965548.a4cb36623d37346ba2539f66ae6cbb0ecb0c27f2.alonbl@gentoo
1 commit: a4cb36623d37346ba2539f66ae6cbb0ecb0c27f2
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 19 16:12:09 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 19 16:12:28 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4cb3662
7
8 dev-libs/softhsm: version bump
9
10 Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
11 Package-Manager: Portage-2.3.49, Repoman-2.3.11
12
13 dev-libs/softhsm/Manifest | 1 +
14 dev-libs/softhsm/softhsm-2.5.0.ebuild | 45 +++++++++++++++++++++++++++++++++++
15 2 files changed, 46 insertions(+)
16
17 diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest
18 index 4a3e518a95d..3e5d79284f9 100644
19 --- a/dev-libs/softhsm/Manifest
20 +++ b/dev-libs/softhsm/Manifest
21 @@ -1 +1,2 @@
22 DIST softhsm-2.4.0.tar.gz 1042566 BLAKE2B 01a0f4bdc589847c4a1f860c3e3f572644d874b11d7ab8e149e598fc123b75e898de9a46f73f5f2a107edcaeabdda29e4b9b6d54af5b95ad79a3c7b7b77b8bbf SHA512 f14f65de32206500f708523ee88d8d5e3d1fd40175f1a9cd24c7760c829e2de9dbcb05453022df8186836c49a57e4eae7f2e75ce6a5346a426114f4d610a8a84
23 +DIST softhsm-2.5.0.tar.gz 1078439 BLAKE2B f96f9e08f3ea568daccb64a5de94ac91b5efcee3dea09f460e98491e7fcdca1277ed52c339a2ec10dac2f78c9e7e44fe5c4a7d36c58e97afba6e749979d4d7e0 SHA512 a1e686729196dc25591eb3da57c2c8ea8494ed274ba711842b2dcae696f477a202acda13a975b8fb1eb68e8e44a79e839dbbc6ba500cab02ad13072c660752d9
24
25 diff --git a/dev-libs/softhsm/softhsm-2.5.0.ebuild b/dev-libs/softhsm/softhsm-2.5.0.ebuild
26 new file mode 100644
27 index 00000000000..aecd75f474e
28 --- /dev/null
29 +++ b/dev-libs/softhsm/softhsm-2.5.0.ebuild
30 @@ -0,0 +1,45 @@
31 +# Copyright 1999-2018 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DESCRIPTION="A software PKCS#11 implementation"
37 +HOMEPAGE="https://www.opendnssec.org/"
38 +SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz"
39 +
40 +KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
41 +IUSE="bindist libressl migration-tool test"
42 +SLOT="2"
43 +LICENSE="BSD"
44 +
45 +RDEPEND="migration-tool? ( dev-db/sqlite:3= )
46 + !libressl? ( dev-libs/openssl:=[bindist=] )
47 + libressl? ( dev-libs/libressl:= )
48 + !~dev-libs/softhsm-2.0.0:0"
49 +DEPEND="${RDEPEND}"
50 +BDEPEND="virtual/pkgconfig
51 + sys-devel/gcc:=[cxx]
52 + test? ( dev-util/cppunit )"
53 +
54 +DOCS=(
55 + NEWS
56 + README.md
57 +)
58 +
59 +src_configure() {
60 + econf \
61 + --disable-static \
62 + --with-crypto-backend=openssl \
63 + --disable-p11-kit \
64 + --localstatedir="${EROOT}/var" \
65 + $(use_enable !bindist ecc) \
66 + $(use_enable !libressl gost) \
67 + $(use_with migration-tool migrate)
68 +}
69 +
70 +src_install() {
71 + default
72 + find "${D}" -name '*.la' -delete || die
73 +
74 + keepdir "${EROOT}/var/lib/softhsm/tokens"
75 +}