Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/p11-kit/
Date: Wed, 08 Mar 2017 04:02:59
Message-Id: 1488945761.7b6f603db440591fc07b818caa7c074e1fe08c2f.radhermit@gentoo
1 commit: 7b6f603db440591fc07b818caa7c074e1fe08c2f
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 8 03:09:58 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 8 04:02:41 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b6f603d
7
8 app-crypt/p11-kit: version bump to 0.23.5
9
10 app-crypt/p11-kit/Manifest | 1 +
11 app-crypt/p11-kit/p11-kit-0.23.5.ebuild | 46 +++++++++++++++++++++++++++++++++
12 2 files changed, 47 insertions(+)
13
14 diff --git a/app-crypt/p11-kit/Manifest b/app-crypt/p11-kit/Manifest
15 index d1be893fb5a..50962e99d45 100644
16 --- a/app-crypt/p11-kit/Manifest
17 +++ b/app-crypt/p11-kit/Manifest
18 @@ -1 +1,2 @@
19 DIST p11-kit-0.23.2.tar.gz 1022733 SHA256 ba726ea8303c97467a33fca50ee79b7b35212964be808ecf9b145e9042fdfaf0 SHA512 b665d89f0d752a41b01ec53e29c801c4fdcaf3f21fce524984b10acef0477ad5dbac085edd35ffb747423d0e1e09660b8d29501c979cf54937d3b9d2561cf18f WHIRLPOOL 03ffdce4b96682a7283e9d473f90f2c50be7de5930e1b3cda420bfd09002f3b0bd23351d5edf97f63f6df02545994628d97cf424fc92f66f3ccb04342ddab21c
20 +DIST p11-kit-0.23.5.tar.gz 1074479 SHA256 0d8fed192563c324bb5ace3c068f06558a5569a6e8eb47eee1cd79ada3b1124f SHA512 5276db3c9bb14d5e0441e7b781033b1684edfc1d4da88a9c9ce501ed1f6121918d3afe6725ceb0e2d65fc253c2f9eebf37c3380741de6c1b09cec06ae86417a7 WHIRLPOOL 6d641b7884915e3ebd93ffc6a4364fe43269af0e1bd55419d87cddc9a2074d9217f666a968d6b5bad92b4c20f52d062b0164524585460d41c78c3c590aa3b0ea
21
22 diff --git a/app-crypt/p11-kit/p11-kit-0.23.5.ebuild b/app-crypt/p11-kit/p11-kit-0.23.5.ebuild
23 new file mode 100644
24 index 00000000000..2752aa79f58
25 --- /dev/null
26 +++ b/app-crypt/p11-kit/p11-kit-0.23.5.ebuild
27 @@ -0,0 +1,46 @@
28 +# Copyright 1999-2017 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +
31 +EAPI=6
32 +
33 +inherit eutils multilib-minimal
34 +
35 +DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
36 +HOMEPAGE="https://p11-glue.freedesktop.org/p11-kit.html https://github.com/p11-glue/p11-kit"
37 +SRC_URI="https://github.com/p11-glue/${PN}/releases/download/${PV}/${P}.tar.gz"
38 +
39 +LICENSE="MIT"
40 +SLOT="0"
41 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
42 +IUSE="+asn1 debug +libffi +trust"
43 +REQUIRED_USE="trust? ( asn1 )"
44 +
45 +RDEPEND="asn1? ( >=dev-libs/libtasn1-3.4[${MULTILIB_USEDEP}] )
46 + libffi? ( >=dev-libs/libffi-3.0.0[${MULTILIB_USEDEP}] )
47 + trust? ( app-misc/ca-certificates )"
48 +DEPEND="${RDEPEND}
49 + virtual/pkgconfig"
50 +
51 +pkg_setup() {
52 + # disable unsafe tests, bug#502088
53 + export FAKED_MODE=1
54 +}
55 +
56 +multilib_src_configure() {
57 + ECONF_SOURCE="${S}" econf \
58 + $(use_enable trust trust-module) \
59 + $(use_with trust trust-paths ${EPREFIX}/etc/ssl/certs/ca-certificates.crt) \
60 + $(use_enable debug) \
61 + $(use_with libffi) \
62 + $(use_with asn1 libtasn1)
63 +
64 + if multilib_is_native_abi; then
65 + # re-use provided documentation
66 + ln -s "${S}"/doc/manual/html doc/manual/html || die
67 + fi
68 +}
69 +
70 +multilib_src_install_all() {
71 + einstalldocs
72 + prune_libtool_files --modules
73 +}