1 |
commit: 8589eeb915b0aab6b7c7d1a3a939ef0b571aa62d |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 14 20:21:33 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 14 20:42:10 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8589eeb9 |
7 |
|
8 |
dev-libs/softhsm: Version bump to 2.6.1 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-libs/softhsm/Manifest | 1 + |
13 |
dev-libs/softhsm/softhsm-2.6.1.ebuild | 46 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest |
17 |
index fd32042b455..c2da01da50a 100644 |
18 |
--- a/dev-libs/softhsm/Manifest |
19 |
+++ b/dev-libs/softhsm/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST softhsm-2.5.0.tar.gz 1078439 BLAKE2B f96f9e08f3ea568daccb64a5de94ac91b5efcee3dea09f460e98491e7fcdca1277ed52c339a2ec10dac2f78c9e7e44fe5c4a7d36c58e97afba6e749979d4d7e0 SHA512 a1e686729196dc25591eb3da57c2c8ea8494ed274ba711842b2dcae696f477a202acda13a975b8fb1eb68e8e44a79e839dbbc6ba500cab02ad13072c660752d9 |
22 |
+DIST softhsm-2.6.1.tar.gz 1066766 BLAKE2B 0295c5f40235c8abd8879a8c6f7fbe8e8d686ee03355006e9c90c0f2f7135eaf6794a3d39febda1b1ed6e5d48dcacb1e14dae85fb0efb884d0d719bfc6624b92 SHA512 e77137096ff2ac2f5396971efbaa2007188855a8f723cb511182c6c5e5a353b3f98297442758e77a18c3a378c0ca3fce8abe090977f0f4f8d526de204fd523fb |
23 |
|
24 |
diff --git a/dev-libs/softhsm/softhsm-2.6.1.ebuild b/dev-libs/softhsm/softhsm-2.6.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..41a1b769e85 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/softhsm/softhsm-2.6.1.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DESCRIPTION="A software PKCS#11 implementation" |
36 |
+HOMEPAGE="https://www.opendnssec.org/" |
37 |
+SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz" |
38 |
+ |
39 |
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
40 |
+IUSE="bindist gost libressl migration-tool test" |
41 |
+RESTRICT="!test? ( test )" |
42 |
+SLOT="2" |
43 |
+LICENSE="BSD" |
44 |
+ |
45 |
+RDEPEND="migration-tool? ( dev-db/sqlite:3= ) |
46 |
+ !libressl? ( dev-libs/openssl:0=[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 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 |
+} |