commit:     c478e16b2ca105a84815cd45dbc4e588b9328c95
Author:     Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Thu Feb 21 19:40:35 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Feb 22 21:08:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c478e16b

app-crypt/ssss: new package.

SSSS is an implementation of Shamir's Secret Sharing Scheme.

The program suite does both: the generation of shares for a know secret, and
the reconstruction of a secret using user-pro-vided shares.

Closes: https://bugs.gentoo.org/106932
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/10243
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 app-crypt/ssss/Manifest        |  1 +
 app-crypt/ssss/metadata.xml    | 17 +++++++++++++++++
 app-crypt/ssss/ssss-0.5.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 57 insertions(+)

diff --git a/app-crypt/ssss/Manifest b/app-crypt/ssss/Manifest
new file mode 100644
index 00000000000..c24684b3ff8
--- /dev/null
+++ b/app-crypt/ssss/Manifest
@@ -0,0 +1 @@
+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
new file mode 100644
index 00000000000..108893a39ca
--- /dev/null
+++ b/app-crypt/ssss/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Conrad Kostecki</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <longdescription>
+               SSSS is an implementation of Shamir's Secret Sharing Scheme.
+               The program suite does both: the generation of shares for a 
known secret,
+               and the reconstruction of a secret using user-pro‐vided shares.
+       </longdescription>
+</pkgmetadata>

diff --git a/app-crypt/ssss/ssss-0.5.ebuild b/app-crypt/ssss/ssss-0.5.ebuild
new file mode 100644
index 00000000000..55fa43d76cb
--- /dev/null
+++ b/app-crypt/ssss/ssss-0.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 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="http://point-at-infinity.org/ssss/";
+SRC_URI="http://point-at-infinity.org/${PN}/${P}.tar.gz";
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="dev-libs/gmp:0="
+DEPEND="${RDEPEND}"
+BDEPEND="app-doc/xmltoman"
+
+DOCS=( "HISTORY" "THANKS" )
+HTML_DOCS=( "doc.html" "ssss.1.html" )
+
+src_prepare() {
+       default
+
+       tc-export CC
+
+       # Respect users CFLAGS and don't strip, as portage does this part.
+       sed -e 's/-O2/$(CFLAGS)/g' -e '/strip/d' -i Makefile || die
+}
+
+src_install() {
+       dobin ssss-split
+       dosym ssss-split /usr/bin/ssss-combine
+
+       doman ssss.1
+
+       einstalldocs
+}

Reply via email to