summaryrefslogtreecommitdiff
path: root/app-crypt/scute
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-01 19:24:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-01 19:24:10 +0100
commitb052fbf151106a4f47cac7fdf0ffff983decb773 (patch)
tree5d21279a4eeaf4076caee87654b610a0fe8a4051 /app-crypt/scute
parentc3b55a6be7da027d97d8aef00ef88c3011121a42 (diff)
gentoo auto-resync : 01:09:2022 - 19:24:10
Diffstat (limited to 'app-crypt/scute')
-rw-r--r--app-crypt/scute/Manifest1
-rw-r--r--app-crypt/scute/scute-1.7.0-r1.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/app-crypt/scute/Manifest b/app-crypt/scute/Manifest
index d1430f64a305..4257aff9302b 100644
--- a/app-crypt/scute/Manifest
+++ b/app-crypt/scute/Manifest
@@ -1,5 +1,6 @@
AUX scute-1.7.0-fno-common.patch 1207 BLAKE2B 1dd361484b82786d00c2883913c0f1492df22c8d0d02cccaa1f4d4186d43a55058a9ebe2f0c61ec9cc02e22b0c43b26036147e385a28b25e5163b98031166174 SHA512 3e8074a9ba910069da5c4f84d4c779baf070a3ac656ddcccb8defacd0af9e1aaf522d1eb9745caa84483bc1f6da13fd177fa8c587865797b42868002196cec64
DIST scute-1.7.0-manual-eps-images.tar.xz 236940 BLAKE2B 499207d9059bd4505f426b75f292e66755919d3e4e0d04d2f2420e2e0ceafa14ee47f0a3d7fd2846478dd0878eb01a776582a8299014728f4508a982fec36a28 SHA512 d227111456e664a295ee466dc990364423734170bc82d9a9d38ff72e79abca84775f164c2cf0dd893b9dfb63ff5035334f1740f80601a04dbc9fcb0877f50da7
DIST scute-1.7.0.tar.bz2 851177 BLAKE2B 9a459fc07c53e44d6b194f0f7786644dae7c37402f69cc511ed7e6cc387236cfe01b13400779a90a123461a28e69629abc260f0fad9c302a9b630e23cb8b4293 SHA512 d58771a8e45632f468b60ec2255f84ef5f2f4cc5e11cf8b0fcd0cec60cc8fe0c49bdd523e855998d5aa6f126138981b2316ee825cf33ec14e723f158e36283d3
+EBUILD scute-1.7.0-r1.ebuild 1287 BLAKE2B 576cc29f62345e35f0286d690793558b314de63d7b192a535fea1cef266b23d246364c7c5116e13e574d7963de78a1c7dbebb28d5ecc443fabdd96c36da49aaf SHA512 82f8497fef7522f968a910dce6e99fb7462c41f15fc011e151a187139b2c16c0b6e223b2fa6c9ca9df0b3f30e869d7715573c7bf1986fef528d0d375b2b8ed63
EBUILD scute-1.7.0.ebuild 1382 BLAKE2B 2e272267d6ab5332b16dd221be3df005b4850667e6578bc013a3eb67821a1d7effd42ea5ed022a7de2e87a9377518885058e72d615edc2e419aecf8a33b651d9 SHA512 44226957eac57f9b78a60b4eea29977d22dc0f7f1c4df37f4c35687256f33a59f0daabf0cbcf4d309a5dda76e6acfc6785a16ff0c85df43740956a7e03fa6848
MISC metadata.xml 758 BLAKE2B f223ae2fd2a26cdf487e2a5942f1ef7c59381ef3059fc38798e7d9e8ac0a9c7abe11fa917f1b5ce97ed2686f862c57995ace036d28353f9f76d40181ec3fe539 SHA512 c3ff684ddbbdad228eb40ad0f27c8d504d7f876c3762b99946031050d6917a76fb1b82e97a326d9f655402432d1e3939d4becb6fbf70c261fa0b6a9439e903eb
diff --git a/app-crypt/scute/scute-1.7.0-r1.ebuild b/app-crypt/scute/scute-1.7.0-r1.ebuild
new file mode 100644
index 000000000000..1a09b4e0e44a
--- /dev/null
+++ b/app-crypt/scute/scute-1.7.0-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A PKCS #11 module for OpenPGP smartcards"
+HOMEPAGE="http://www.scute.org/"
+SRC_URI="
+ mirror://gnupg/scute/${P}.tar.bz2
+ https://dev.gentoo.org/~soap/distfiles/${P}-manual-eps-images.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# configure script try to check the version of gpgsm and gpg-agent when
+# non-crosscompiling so we need to have them as build-time dependency as
+# well as runtime. Require a version of gnupg that is patched to have
+# gpgsm-gencert.sh working (as that's what the documentation describe).
+BDEPEND="
+ >=app-crypt/pinentry-0.7.0
+ >=app-crypt/gnupg-2.0.17-r1[smartcard]"
+DEPEND="
+ >=dev-libs/libgpg-error-1.4
+ >=dev-libs/libassuan-2.0.0"
+RDEPEND="
+ ${DEPEND}
+ ${BDEPEND}"
+BDEPEND+="
+ sys-apps/texinfo"
+
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
+
+src_unpack() {
+ default
+
+ # have to use pregenerated EPS files required for the texinfo documentation,
+ # due to bug 664236 preventing even converting *to* eps.
+ mv scute-eps/*.eps "${S}"/doc/ || die
+}
+
+src_configure() {
+ econf \
+ --libdir="${EPREFIX}"/usr/$(get_libdir)/pkcs11
+}
+
+src_install() {
+ default
+
+ # only building plugins
+ find "${ED}" -name '*.la' -delete || die
+}