1 |
commit: 248fbb13053b00780b6e3a7356bc58435fdd2c86 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 28 23:21:56 2019 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 28 23:22:49 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=248fbb13 |
7 |
|
8 |
app-crypt/p11-kit: version bump |
9 |
|
10 |
Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
12 |
|
13 |
app-crypt/p11-kit/Manifest | 1 + |
14 |
app-crypt/p11-kit/p11-kit-0.23.16.1.ebuild | 60 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 61 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/p11-kit/Manifest b/app-crypt/p11-kit/Manifest |
18 |
index d03f2bd8500..46f4678f15a 100644 |
19 |
--- a/app-crypt/p11-kit/Manifest |
20 |
+++ b/app-crypt/p11-kit/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST p11-kit-0.23.12.tar.gz 1257028 BLAKE2B 8add003ad298b7c4548c40f863835e9aae4234a66a4b216149be7c473f2b3b7ffb633b95883d58e5b039c974dd8571e56e23f6dcc77e484672605e6178d75ad2 SHA512 ae43b1f6ba5400cf5ae7b64b8c93aa47e5c7ee927196828600fd88beb6fdf6bcb6a63bc822d356757255638f9fbf10896e0604e32a1332a9a833836fa0468726 |
23 |
+DIST p11-kit-0.23.16.1.tar.gz 1292783 BLAKE2B 60be56656156c86d6f0f3285bd691ed85ec1a992e8a789f0f21f9ada172a8cab0581cc42f89c3079a1bd7b3493f0d38cd952711fda50c2e80bf96e94fcd9ff87 SHA512 7d0bbd793b43dba081054b4d022a8dbd1d477a3bd6aced72a641087023cf020f1d898899a08e737880e6c810f924814c62497c5ecb19f8322cde42667426a9a7 |
24 |
|
25 |
diff --git a/app-crypt/p11-kit/p11-kit-0.23.16.1.ebuild b/app-crypt/p11-kit/p11-kit-0.23.16.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..ec7c6c32971 |
28 |
--- /dev/null |
29 |
+++ b/app-crypt/p11-kit/p11-kit-0.23.16.1.ebuild |
30 |
@@ -0,0 +1,60 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="Provides a standard configuration setup for installing PKCS#11" |
39 |
+HOMEPAGE="https://p11-glue.github.io/p11-glue/p11-kit.html" |
40 |
+SRC_URI="https://github.com/p11-glue/${PN}/releases/download/${PV}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
+IUSE="+asn1 debug +libffi +trust" |
46 |
+REQUIRED_USE="trust? ( asn1 )" |
47 |
+ |
48 |
+RDEPEND="asn1? ( >=dev-libs/libtasn1-3.4:=[${MULTILIB_USEDEP}] ) |
49 |
+ libffi? ( >=virtual/libffi-3.0.0:=[${MULTILIB_USEDEP}] ) |
50 |
+ trust? ( app-misc/ca-certificates )" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+BDEPEND="virtual/pkgconfig" |
53 |
+ |
54 |
+pkg_setup() { |
55 |
+ # disable unsafe tests, bug#502088 |
56 |
+ export FAKED_MODE=1 |
57 |
+} |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ if [[ ${CHOST} == *-solaris2.* && ${CHOST##*-solaris2.} -lt 11 ]] ; then |
61 |
+ # Solaris 10 and before doesn't know about XPG7 (XOPEN_SOURCE=700) |
62 |
+ # drop to XPG6 to make feature_tests.h happy |
63 |
+ sed -i -e '/define _XOPEN_SOURCE/s/700/600/' common/compat.c || die |
64 |
+ # paths.h isn't available, oddly enough also not used albeit included |
65 |
+ sed -i -e '/#include <paths.h>/d' trust/test-trust.c || die |
66 |
+ # we don't have SUN_LEN here |
67 |
+ sed -i -e 's/SUN_LEN \(([^)]\+)\)/strlen (\1->sun_path)/' \ |
68 |
+ p11-kit/server.c || die |
69 |
+ fi |
70 |
+ default |
71 |
+} |
72 |
+ |
73 |
+multilib_src_configure() { |
74 |
+ ECONF_SOURCE="${S}" econf \ |
75 |
+ $(use_enable trust trust-module) \ |
76 |
+ $(use_with trust trust-paths ${EPREFIX}/etc/ssl/certs/ca-certificates.crt) \ |
77 |
+ $(use_enable debug) \ |
78 |
+ $(use_with libffi) \ |
79 |
+ $(use_with asn1 libtasn1) |
80 |
+ |
81 |
+ if multilib_is_native_abi; then |
82 |
+ # re-use provided documentation |
83 |
+ ln -s "${S}"/doc/manual/html doc/manual/html || die |
84 |
+ fi |
85 |
+} |
86 |
+ |
87 |
+multilib_src_install_all() { |
88 |
+ einstalldocs |
89 |
+ find "${D}" -name '*.la' -delete || die |
90 |
+} |