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 ED9B4138359 for ; Sun, 10 May 2020 16:22:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBAE8E08FB; Sun, 10 May 2020 16:22:46 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 C6F22E08FB for ; Sun, 10 May 2020 16:22:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 EBDAF34F276 for ; Sun, 10 May 2020 16:22:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E365D22D for ; Sun, 10 May 2020 16:22:42 +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: <1589127730.b9fef369a54567ecc76f534fd1d0e1e54c344f69.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/ssss/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/ssss/ssss-0.5-r1.ebuild X-VCS-Directories: app-crypt/ssss/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: b9fef369a54567ecc76f534fd1d0e1e54c344f69 X-VCS-Branch: master Date: Sun, 10 May 2020 16:22:42 +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: b98c8316-a481-4ed2-ab22-793bbae033ed X-Archives-Hash: a6de5ea4c5354d5b8cabf9012d2042c5 commit: b9fef369a54567ecc76f534fd1d0e1e54c344f69 Author: Conrad Kostecki gentoo org> AuthorDate: Sun May 10 14:38:11 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun May 10 16:22:10 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9fef369 app-crypt/ssss: respect users ldflags Closes: https://bugs.gentoo.org/722074 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Conrad Kostecki gentoo.org> app-crypt/ssss/ssss-0.5-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/app-crypt/ssss/ssss-0.5-r1.ebuild b/app-crypt/ssss/ssss-0.5-r1.ebuild new file mode 100644 index 00000000000..99411362aaf --- /dev/null +++ b/app-crypt/ssss/ssss-0.5-r1.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="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 [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 +}