app-crypt/p11-kit: version bump to 0.23.5
authorTim Harder <radhermit@gentoo.org>
Wed, 8 Mar 2017 03:09:58 +0000 (22:09 -0500)
committerTim Harder <radhermit@gentoo.org>
Wed, 8 Mar 2017 04:02:41 +0000 (23:02 -0500)
app-crypt/p11-kit/Manifest
app-crypt/p11-kit/p11-kit-0.23.5.ebuild [new file with mode: 0644]

index d1be893fb5a61c45469aa04eb9764b7b3494687a..50962e99d45f75c517354c55e3a6374368a76475 100644 (file)
@@ -1 +1,2 @@
 DIST p11-kit-0.23.2.tar.gz 1022733 SHA256 ba726ea8303c97467a33fca50ee79b7b35212964be808ecf9b145e9042fdfaf0 SHA512 b665d89f0d752a41b01ec53e29c801c4fdcaf3f21fce524984b10acef0477ad5dbac085edd35ffb747423d0e1e09660b8d29501c979cf54937d3b9d2561cf18f WHIRLPOOL 03ffdce4b96682a7283e9d473f90f2c50be7de5930e1b3cda420bfd09002f3b0bd23351d5edf97f63f6df02545994628d97cf424fc92f66f3ccb04342ddab21c
+DIST p11-kit-0.23.5.tar.gz 1074479 SHA256 0d8fed192563c324bb5ace3c068f06558a5569a6e8eb47eee1cd79ada3b1124f SHA512 5276db3c9bb14d5e0441e7b781033b1684edfc1d4da88a9c9ce501ed1f6121918d3afe6725ceb0e2d65fc253c2f9eebf37c3380741de6c1b09cec06ae86417a7 WHIRLPOOL 6d641b7884915e3ebd93ffc6a4364fe43269af0e1bd55419d87cddc9a2074d9217f666a968d6b5bad92b4c20f52d062b0164524585460d41c78c3c590aa3b0ea
diff --git a/app-crypt/p11-kit/p11-kit-0.23.5.ebuild b/app-crypt/p11-kit/p11-kit-0.23.5.ebuild
new file mode 100644 (file)
index 0000000..2752aa7
--- /dev/null
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib-minimal
+
+DESCRIPTION="Provides a standard configuration setup for installing PKCS#11"
+HOMEPAGE="https://p11-glue.freedesktop.org/p11-kit.html https://github.com/p11-glue/p11-kit"
+SRC_URI="https://github.com/p11-glue/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+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"
+IUSE="+asn1 debug +libffi +trust"
+REQUIRED_USE="trust? ( asn1 )"
+
+RDEPEND="asn1? ( >=dev-libs/libtasn1-3.4[${MULTILIB_USEDEP}] )
+       libffi? ( >=dev-libs/libffi-3.0.0[${MULTILIB_USEDEP}] )
+       trust? ( app-misc/ca-certificates )"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+pkg_setup() {
+       # disable unsafe tests, bug#502088
+       export FAKED_MODE=1
+}
+
+multilib_src_configure() {
+       ECONF_SOURCE="${S}" econf \
+               $(use_enable trust trust-module) \
+               $(use_with trust trust-paths ${EPREFIX}/etc/ssl/certs/ca-certificates.crt) \
+               $(use_enable debug) \
+               $(use_with libffi) \
+               $(use_with asn1 libtasn1)
+
+       if multilib_is_native_abi; then
+               # re-use provided documentation
+               ln -s "${S}"/doc/manual/html doc/manual/html || die
+       fi
+}
+
+multilib_src_install_all() {
+       einstalldocs
+       prune_libtool_files --modules
+}