Add app-crypt/ssss
authorkristianf <devnull@localhost>
Wed, 25 Sep 2013 18:18:46 +0000 (20:18 +0200)
committerkristianf <devnull@localhost>
Wed, 25 Sep 2013 18:18:46 +0000 (20:18 +0200)
app-crypt/ssss/Manifest [new file with mode: 0644]
app-crypt/ssss/files/01_remove_strip.patch [new file with mode: 0644]
app-crypt/ssss/ssss-0.5.ebuild [new file with mode: 0644]

diff --git a/app-crypt/ssss/Manifest b/app-crypt/ssss/Manifest
new file mode 100644 (file)
index 0000000..7ebc043
--- /dev/null
@@ -0,0 +1,3 @@
+AUX 01_remove_strip.patch 287 SHA256 ae07ba1ec4b42f7c76e50417d2bbd1cd4d54c99951a802b426478e4e39e82c98 SHA512 1c855367236a6706f1ce3875d35b9ccbda652eb95a780b122717d6e7064fd8222951c020be60709448dfe3738b789ab99433b867e13a0c8b6476e2e5f13185ce WHIRLPOOL f8dedc891b7a460a8de1fc66b0abdfd3e6770874137417ac2d7a184527d6fbdea50ca6eb171ac2a37337e08222f9d4c260b9369f667e97dbd6ea859bc81e320a
+DIST ssss-0.5.tar.gz 17435 SHA256 5d165555105606b8b08383e697fc48cf849f51d775f1d9a74817f5709db0f995 SHA512 be8df1666ac61d4097b5fd54f2cee3640db8f85ec21411f1b208a35b671c5699bc692079525d8d313d1cf2500da31bfb03771829a9fdccc0bb6d806749526ec9 WHIRLPOOL 9b09fff49c948701b4bd676945eeec366bd52bd04ae64f3e5866a77c63226427d243276c75f553628545e4a18fd59b66fe466d866c15730ac06e818942ad452d
+EBUILD ssss-0.5.ebuild 534 SHA256 0d6706b47bbf2402282c33140838b8842361f96516a9a4f8f349fca61deabc78 SHA512 68d823fb2cc6124a15e2b5f831e4850e59669e405e7ce83d8e448c9da28a2dd498b3d642dfec1281bf46d7382e2f23a560f38ebe06a2dd93ba77d1d193763c16 WHIRLPOOL ea5160ab6c2cd406c2d1889e10ff5b700e90bccc535a08394bd69aaf6dd8d85a5ec8d4e31524b9b12f963a5f7236532bc33469dd4d953caa062df2d918fd1adc
diff --git a/app-crypt/ssss/files/01_remove_strip.patch b/app-crypt/ssss/files/01_remove_strip.patch
new file mode 100644 (file)
index 0000000..365f0a1
--- /dev/null
@@ -0,0 +1,11 @@
+diff -r 9f9e32868313 Makefile
+--- a/Makefile Wed Sep 25 20:15:24 2013 +0200
++++ b/Makefile Wed Sep 25 20:16:38 2013 +0200
+@@ -2,7 +2,6 @@
+ ssss-split: ssss.c
+       $(CC) -W -Wall -O2 -lgmp -o ssss-split ssss.c
+-      strip ssss-split
+ ssss-combine: ssss-split
+       ln -f ssss-split ssss-combine
diff --git a/app-crypt/ssss/ssss-0.5.ebuild b/app-crypt/ssss/ssss-0.5.ebuild
new file mode 100644 (file)
index 0000000..588d7e7
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit base
+
+DESCRIPTION="Shamir's secret sharing scheme"
+HOMEPAGE="http://point-at-infinity.org/ssss/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+SRC_URI="http://point-at-infinity.org/ssss/${PN}-${PV}.tar.gz"
+
+DEPEND="app-doc/xmltoman
+        dev-libs/gmp"
+
+src_prepare(){
+       epatch "${FILESDIR}/01_remove_strip.patch"
+}
+
+src_install(){
+       dobin ssss-split || die
+       dobin ssss-combine || die
+}