From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C2666138359 for ; Fri, 30 Oct 2020 22:43:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EEF12E0839; Fri, 30 Oct 2020 22:43:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D31C6E0839 for ; Fri, 30 Oct 2020 22:43:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E71A8340A7F for ; Fri, 30 Oct 2020 22:43:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A046F3F8 for ; Fri, 30 Oct 2020 22:43:18 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1604097792.c2b3f6534686c6e2e1b51839b50ea12de6432b5c.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/ssss/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/ssss/Manifest app-crypt/ssss/metadata.xml app-crypt/ssss/ssss-0.5.6.ebuild X-VCS-Directories: app-crypt/ssss/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: c2b3f6534686c6e2e1b51839b50ea12de6432b5c X-VCS-Branch: master Date: Fri, 30 Oct 2020 22:43:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 85bafaa5-c4a5-4f53-9c42-e580c0fa4bf5 X-Archives-Hash: d27064cf556f52a682e2d8b0e1962001 commit: c2b3f6534686c6e2e1b51839b50ea12de6432b5c Author: Conrad Kostecki gentoo org> AuthorDate: Fri Oct 30 22:28:03 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Fri Oct 30 22:43:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2b3f653 app-crypt/ssss: bump to version 0.5.6 This version switches to a maintained fork, as other distributions started to use that, which also fixes some bugs and the original author doesn't have any plans to continue development. Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> app-crypt/ssss/Manifest | 1 + app-crypt/ssss/metadata.xml | 3 +++ app-crypt/ssss/ssss-0.5.6.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/app-crypt/ssss/Manifest b/app-crypt/ssss/Manifest index c24684b3ff8..d4b1b0f6c91 100644 --- a/app-crypt/ssss/Manifest +++ b/app-crypt/ssss/Manifest @@ -1 +1,2 @@ +DIST ssss-0.5.6.tar.gz 20128 BLAKE2B d42fff5878e2ebcc62cd86b86f0f8a3e522c089cbb5e8fb2585cf375ff133da7d9ccf00e62cc6888e00abe5d64f87ac19ddbb3f6e6a0d86913e6a6aa5a8a1d4c SHA512 964af01610a7a269d19ae1fa1712ef12ca1afab02636ba83dd84ec5aeb185210a1247d932ee39d2869aa76e54ffb051d802800d295d17355d6fe2a8010edd509 DIST ssss-0.5.tar.gz 17435 BLAKE2B 76aae463ce11341f8b0336526f7d19c9921025cabc05bc9e00005b0bdeb676ed5e069226962232f277de2fecb1cd71bafbd4b2fa0c03ef4faf0f66daa24599d1 SHA512 be8df1666ac61d4097b5fd54f2cee3640db8f85ec21411f1b208a35b671c5699bc692079525d8d313d1cf2500da31bfb03771829a9fdccc0bb6d806749526ec9 diff --git a/app-crypt/ssss/metadata.xml b/app-crypt/ssss/metadata.xml index 51c92c834b2..caba2e85d1b 100644 --- a/app-crypt/ssss/metadata.xml +++ b/app-crypt/ssss/metadata.xml @@ -10,4 +10,7 @@ The program suite does both: the generation of shares for a known secret, and the reconstruction of a secret using user-pro‐vided shares. + + MrJoy/ssss + diff --git a/app-crypt/ssss/ssss-0.5.6.ebuild b/app-crypt/ssss/ssss-0.5.6.ebuild new file mode 100644 index 00000000000..724f2c160f9 --- /dev/null +++ b/app-crypt/ssss/ssss-0.5.6.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Shamir's Secret Sharing Scheme" +HOMEPAGE="https://github.com/MrJoy/ssss" +SRC_URI="https://github.com/MrJoy/${PN}/archive/releases/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-releases-v${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-libs/gmp:0=" +DEPEND="${RDEPEND}" +BDEPEND="app-doc/xmltoman" + +HTML_DOCS=( "doc.html" "ssss.1.html" ) + +src_prepare() { + default + + tc-export CC + + # Respect users [CL]FLAGS and don't strip, as portage does this part + sed -e 's/-O2/$(CFLAGS) -lgmp $(LDFLAGS)/g' -e '/strip/d' -i Makefile || die +} + +src_install() { + dobin ssss-split + dosym ssss-split /usr/bin/ssss-combine + + doman ssss.1 + + einstalldocs +}