Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/scute/
Date: Sat, 29 Feb 2020 13:18:25
Message-Id: 1582982271.724947bb0fa0e99d6a4b51c5ca293b5aa33e6e91.soap@gentoo
1 commit: 724947bb0fa0e99d6a4b51c5ca293b5aa33e6e91
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 29 13:17:51 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 29 13:17:51 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=724947bb
7
8 app-crypt/scute: Bump to 1.6.0
9
10 Closes: https://bugs.gentoo.org/696704
11 Package-Manager: Portage-2.3.89, Repoman-2.3.20
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 app-crypt/scute/Manifest | 2 ++
15 app-crypt/scute/scute-1.6.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++++
16 2 files changed, 54 insertions(+)
17
18 diff --git a/app-crypt/scute/Manifest b/app-crypt/scute/Manifest
19 index 3881b06be2f..87f5c1b53f6 100644
20 --- a/app-crypt/scute/Manifest
21 +++ b/app-crypt/scute/Manifest
22 @@ -1 +1,3 @@
23 DIST scute-1.5.0.tar.bz2 991598 BLAKE2B 3a5fdcb5c7d1ae50ce5aa508388e768c6f59c366d81d91312a60ff319b3ad7e01b3bfe5986ee880980b0f5371402c21bd8da963977459d3b90fbd607e64ea2ae SHA512 ad1dbdba5681a92696c851eca7e2bfb61f7bf84f5e02728efc1f72cd25c4ee2dc18fe975e2903d1a85c635d16be1e2085ff2305827b48d80e18c9354e555b39a
24 +DIST scute-1.6.0-manual-eps-images.tar.xz 236968 BLAKE2B 27b834f95dbd7a00193b55a8ff55c34e9bc65b31d9de09199b6bad62d2718d247717a461b58ccd55acb0331f6d980ac01cd62de7729ddafd368ebf08cbe2edde SHA512 dc7d622207f1979e5b527e3213f191f14322af9745462bf0803563711f0cb4b4c03f920742ca425987e1c8f632a05772dd5cc2f1d5afec2616ca93de74402deb
25 +DIST scute-1.6.0.tar.bz2 1008407 BLAKE2B 3ef4e1870c52007fc7f838f31c4102aeee23e6e59fe13ad1990ed9c7eb4eda948a698bea475daa2d965d1c23f65940aae9b4ded518cb9268af4ec442414932db SHA512 dd9f9d9da7979a8f4766af34b0d6d6fea63d43feb4d7e5e82cca25c792d5ec87f6d9604e7eafa822ddddfaa8541bff616c0c19c73cf3f12b21ffa1c3128bcb4c
26
27 diff --git a/app-crypt/scute/scute-1.6.0.ebuild b/app-crypt/scute/scute-1.6.0.ebuild
28 new file mode 100644
29 index 00000000000..597dcf35738
30 --- /dev/null
31 +++ b/app-crypt/scute/scute-1.6.0.ebuild
32 @@ -0,0 +1,52 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +DESCRIPTION="A PKCS #11 module for OpenPGP smartcards"
39 +HOMEPAGE="http://www.scute.org/"
40 +SRC_URI="
41 + mirror://gnupg/scute/${P}.tar.bz2
42 + https://dev.gentoo.org/~soap/distfiles/${P}-manual-eps-images.tar.xz"
43 +
44 +LICENSE="GPL-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +
48 +# configure script try to check the version of gpgsm and gpg-agent when
49 +# non-crosscompiling so we need to have them as build-time dependency as
50 +# well as runtime. Require a version of gnupg that is patched to have
51 +# gpgsm-gencert.sh working (as that's what the documentation describe).
52 +BDEPEND="
53 + >=app-crypt/pinentry-0.7.0
54 + >=app-crypt/gnupg-2.0.17-r1[smartcard]"
55 +DEPEND="
56 + >=dev-libs/libgpg-error-1.4
57 + >=dev-libs/libassuan-2.0.0"
58 +RDEPEND="
59 + ${DEPEND}
60 + ${BDEPEND}"
61 +BDEPEND+="
62 + sys-apps/texinfo"
63 +
64 +src_unpack() {
65 + default
66 +
67 + # have to use pregenerated EPS files required for the texinfo documentation,
68 + # due to bug 664236 preventing even converting *to* eps.
69 + mv scute-eps/*.eps "${S}"/doc/manual/ || die
70 +}
71 +
72 +src_configure() {
73 + econf \
74 + --libdir="${EPREFIX}"/usr/$(get_libdir)/pkcs11 \
75 + --with-libgpg-error-prefix="${ESYSROOT}"/usr \
76 + --with-libassuan-prefix="${ESYSROOT}"/usr
77 +}
78 +
79 +src_install() {
80 + default
81 +
82 + # only building plugins
83 + find "${D}" -name '*.la' -delete || die
84 +}