1 |
commit: 1b429456d05d99d44acd1475efb9414fba235812 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 10 18:30:56 2018 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 10 18:31:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b429456 |
7 |
|
8 |
dev-libs/softhsm: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
dev-libs/softhsm/Manifest | 1 + |
13 |
dev-libs/softhsm/softhsm-2.4.0.ebuild | 49 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/softhsm/Manifest b/dev-libs/softhsm/Manifest |
17 |
index c5b97747993..100a03a3173 100644 |
18 |
--- a/dev-libs/softhsm/Manifest |
19 |
+++ b/dev-libs/softhsm/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST softhsm-2.3.0.tar.gz 992417 BLAKE2B dcb462a7d50be465c306e2208d2d446879ec093ce3a3233e338ba4df3b29a4f70050cd10ff513bff70ef37f98341230d061d48273a6fc54b668804311cb11bf8 SHA512 ef9ee41aa6eaeeb004d4ff5c78ca6e00895cc47e36551025a4422806eee8eead985cfd28476a867761a810f6957b0759edaac769bcdedf4ad974e426cfefce0f |
22 |
+DIST softhsm-2.4.0.tar.gz 1042566 BLAKE2B 01a0f4bdc589847c4a1f860c3e3f572644d874b11d7ab8e149e598fc123b75e898de9a46f73f5f2a107edcaeabdda29e4b9b6d54af5b95ad79a3c7b7b77b8bbf SHA512 f14f65de32206500f708523ee88d8d5e3d1fd40175f1a9cd24c7760c829e2de9dbcb05453022df8186836c49a57e4eae7f2e75ce6a5346a426114f4d610a8a84 |
23 |
|
24 |
diff --git a/dev-libs/softhsm/softhsm-2.4.0.ebuild b/dev-libs/softhsm/softhsm-2.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..419485df825 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/softhsm/softhsm-2.4.0.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+inherit ltprune |
36 |
+ |
37 |
+DESCRIPTION="A software PKCS#11 implementation" |
38 |
+HOMEPAGE="https://www.opendnssec.org/" |
39 |
+SRC_URI="https://www.opendnssec.org/files/source/${P}.tar.gz" |
40 |
+ |
41 |
+KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
42 |
+IUSE="bindist libressl migration-tool test" |
43 |
+SLOT="2" |
44 |
+LICENSE="BSD" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ sys-devel/gcc:=[cxx] |
48 |
+ migration-tool? ( dev-db/sqlite:3 ) |
49 |
+ !libressl? ( dev-libs/openssl:=[bindist=] ) |
50 |
+ libressl? ( dev-libs/libressl ) |
51 |
+ !=dev-libs/softhsm-2.0.0:0 |
52 |
+" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ virtual/pkgconfig |
55 |
+ test? ( dev-util/cppunit ) |
56 |
+" |
57 |
+ |
58 |
+DOCS=( |
59 |
+ NEWS |
60 |
+ README.md |
61 |
+) |
62 |
+ |
63 |
+src_configure() { |
64 |
+ econf \ |
65 |
+ --disable-static \ |
66 |
+ --localstatedir="${EROOT}var" \ |
67 |
+ --with-crypto-backend=openssl \ |
68 |
+ --disable-p11-kit \ |
69 |
+ $(use_enable !bindist ecc) \ |
70 |
+ $(use_enable !libressl gost) \ |
71 |
+ $(use_with migration-tool migrate) |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ default |
76 |
+ keepdir "${EROOT}/var/lib/softhsm/tokens" |
77 |
+ prune_libtool_files --modules |
78 |
+} |