Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/ssss/
Date: Fri, 30 Oct 2020 22:43:21
Message-Id: 1604097792.c2b3f6534686c6e2e1b51839b50ea12de6432b5c.conikost@gentoo
1 commit: c2b3f6534686c6e2e1b51839b50ea12de6432b5c
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 30 22:28:03 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 30 22:43:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b3f653
7
8 app-crypt/ssss: bump to version 0.5.6
9
10 This version switches to a maintained fork, as other distributions
11 started to use that, which also fixes some bugs and the original author
12 doesn't have any plans to continue development.
13
14 Package-Manager: Portage-3.0.8, Repoman-3.0.2
15 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
16
17 app-crypt/ssss/Manifest | 1 +
18 app-crypt/ssss/metadata.xml | 3 +++
19 app-crypt/ssss/ssss-0.5.6.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
20 3 files changed, 43 insertions(+)
21
22 diff --git a/app-crypt/ssss/Manifest b/app-crypt/ssss/Manifest
23 index c24684b3ff8..d4b1b0f6c91 100644
24 --- a/app-crypt/ssss/Manifest
25 +++ b/app-crypt/ssss/Manifest
26 @@ -1 +1,2 @@
27 +DIST ssss-0.5.6.tar.gz 20128 BLAKE2B d42fff5878e2ebcc62cd86b86f0f8a3e522c089cbb5e8fb2585cf375ff133da7d9ccf00e62cc6888e00abe5d64f87ac19ddbb3f6e6a0d86913e6a6aa5a8a1d4c SHA512 964af01610a7a269d19ae1fa1712ef12ca1afab02636ba83dd84ec5aeb185210a1247d932ee39d2869aa76e54ffb051d802800d295d17355d6fe2a8010edd509
28 DIST ssss-0.5.tar.gz 17435 BLAKE2B 76aae463ce11341f8b0336526f7d19c9921025cabc05bc9e00005b0bdeb676ed5e069226962232f277de2fecb1cd71bafbd4b2fa0c03ef4faf0f66daa24599d1 SHA512 be8df1666ac61d4097b5fd54f2cee3640db8f85ec21411f1b208a35b671c5699bc692079525d8d313d1cf2500da31bfb03771829a9fdccc0bb6d806749526ec9
29
30 diff --git a/app-crypt/ssss/metadata.xml b/app-crypt/ssss/metadata.xml
31 index 51c92c834b2..caba2e85d1b 100644
32 --- a/app-crypt/ssss/metadata.xml
33 +++ b/app-crypt/ssss/metadata.xml
34 @@ -10,4 +10,7 @@
35 The program suite does both: the generation of shares for a known secret,
36 and the reconstruction of a secret using user-pro‐vided shares.
37 </longdescription>
38 + <upstream>
39 + <remote-id type="github">MrJoy/ssss</remote-id>
40 + </upstream>
41 </pkgmetadata>
42
43 diff --git a/app-crypt/ssss/ssss-0.5.6.ebuild b/app-crypt/ssss/ssss-0.5.6.ebuild
44 new file mode 100644
45 index 00000000000..724f2c160f9
46 --- /dev/null
47 +++ b/app-crypt/ssss/ssss-0.5.6.ebuild
48 @@ -0,0 +1,39 @@
49 +# Copyright 1999-2020 Gentoo Authors
50 +# Distributed under the terms of the GNU General Public License v2
51 +
52 +EAPI=7
53 +
54 +inherit toolchain-funcs
55 +
56 +DESCRIPTION="Shamir's Secret Sharing Scheme"
57 +HOMEPAGE="https://github.com/MrJoy/ssss"
58 +SRC_URI="https://github.com/MrJoy/${PN}/archive/releases/v${PV}.tar.gz -> ${P}.tar.gz"
59 +S="${WORKDIR}/${PN}-releases-v${PV}"
60 +
61 +LICENSE="GPL-2"
62 +SLOT="0"
63 +KEYWORDS="~amd64 ~x86"
64 +
65 +RDEPEND="dev-libs/gmp:0="
66 +DEPEND="${RDEPEND}"
67 +BDEPEND="app-doc/xmltoman"
68 +
69 +HTML_DOCS=( "doc.html" "ssss.1.html" )
70 +
71 +src_prepare() {
72 + default
73 +
74 + tc-export CC
75 +
76 + # Respect users [CL]FLAGS and don't strip, as portage does this part
77 + sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -i Makefile || die
78 +}
79 +
80 +src_install() {
81 + dobin ssss-split
82 + dosym ssss-split /usr/bin/ssss-combine
83 +
84 + doman ssss.1
85 +
86 + einstalldocs
87 +}