1 |
commit: ff6e2d8fc9c2e4a5a2407ae69a7c1c7661b07823 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 6 07:37:57 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 6 07:47:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6e2d8f |
7 |
|
8 |
dev-libs/pkcs11-helper: add 1.29.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/805047 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-libs/pkcs11-helper/Manifest | 1 + |
14 |
dev-libs/pkcs11-helper/pkcs11-helper-1.29.0.ebuild | 35 ++++++++++++++++++++++ |
15 |
2 files changed, 36 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/pkcs11-helper/Manifest b/dev-libs/pkcs11-helper/Manifest |
18 |
index fa7ff1622a81..97abc0d26b60 100644 |
19 |
--- a/dev-libs/pkcs11-helper/Manifest |
20 |
+++ b/dev-libs/pkcs11-helper/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST pkcs11-helper-1.27.0.tar.bz2 422425 BLAKE2B a9fd7ef04dce1abbae57b09a12b4be560465ae0cf2910443332882967d00b6380c62944820aa9580e101459d1c35edaae68cd7abbafa308a8b152921ac32f04c SHA512 5799342cb755dae8b7ba0880d652e9d4b4f1e52a74043015e1185e1e059326cb2689bb51957db98060ac2257dee34e2f047dcf3d52ad59fd49b91fedcfc5332b |
23 |
+DIST pkcs11-helper-1.29.0.tar.bz2 422549 BLAKE2B fec72ac82f1545fc50f80b5b28db12906df32fa3bc65f80541d8bee7f1d1c8062f1f0516344237424022c01d4f390e8a72e3e0262250f3b6c51df92c768d81ee SHA512 c530f5a4b5826a02bfe787a1293a7595d5a0d6348daa16675bd10c6d6734b1f24a3cc73b5b89433cf1edf8815f8b7298fdfd1ed686f096bb5edfb425e9430eb2 |
24 |
|
25 |
diff --git a/dev-libs/pkcs11-helper/pkcs11-helper-1.29.0.ebuild b/dev-libs/pkcs11-helper/pkcs11-helper-1.29.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..9d5bdc147bbc |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/pkcs11-helper/pkcs11-helper-1.29.0.ebuild |
30 |
@@ -0,0 +1,35 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DESCRIPTION="PKCS#11 helper library" |
37 |
+HOMEPAGE="https://github.com/OpenSC/pkcs11-helper" |
38 |
+SRC_URI="https://github.com/OpenSC/${PN}/releases/download/${P}/${P}.tar.bz2" |
39 |
+ |
40 |
+LICENSE="|| ( BSD GPL-2 )" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
43 |
+IUSE="doc gnutls nss" |
44 |
+ |
45 |
+RDEPEND=">=dev-libs/openssl-0.9.7:= |
46 |
+ gnutls? ( >=net-libs/gnutls-1.4.4:= ) |
47 |
+ nss? ( dev-libs/nss )" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+BDEPEND="virtual/pkgconfig |
50 |
+ doc? ( >=app-doc/doxygen-1.4.7 )" |
51 |
+ |
52 |
+src_configure() { |
53 |
+ econf \ |
54 |
+ --disable-crypto-engine-polarssl \ |
55 |
+ --disable-crypto-engine-mbedtls \ |
56 |
+ $(use_enable doc) \ |
57 |
+ $(use_enable gnutls crypto-engine-gnutls) \ |
58 |
+ $(use_enable nss crypto-engine-nss) |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ default |
63 |
+ |
64 |
+ find "${ED}" -name '*.la' -delete || die |
65 |
+} |