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 CD730139082 for ; Mon, 27 Nov 2017 12:02:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F126EE0D5E; Mon, 27 Nov 2017 12:02:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 C28EAE0D5E for ; Mon, 27 Nov 2017 12:02:53 +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 45A0333BF24 for ; Mon, 27 Nov 2017 12:02:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D2304A94A for ; Mon, 27 Nov 2017 12:02:50 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1511784151.50ab272753360d11d418d7108b2f98c9e6bfbf6c.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/libb2/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/libb2/Manifest app-crypt/libb2/libb2-0.98.ebuild app-crypt/libb2/metadata.xml X-VCS-Directories: app-crypt/libb2/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 50ab272753360d11d418d7108b2f98c9e6bfbf6c X-VCS-Branch: master Date: Mon, 27 Nov 2017 12:02:50 +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-Archives-Salt: 98d8a6f4-bb76-4f21-8642-a2ba8da9d90d X-Archives-Hash: 0bb06e84dca8b0fbd59f3b5ace33b046 commit: 50ab272753360d11d418d7108b2f98c9e6bfbf6c Author: Fabian Groffen gentoo org> AuthorDate: Mon Nov 27 12:02:08 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Nov 27 12:02:31 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50ab2727 app-crypt/libb2: initial version, ebuild by me Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-crypt/libb2/Manifest | 1 + app-crypt/libb2/libb2-0.98.ebuild | 42 +++++++++++++++++++++++++++++++++++++++ app-crypt/libb2/metadata.xml | 13 ++++++++++++ 3 files changed, 56 insertions(+) diff --git a/app-crypt/libb2/Manifest b/app-crypt/libb2/Manifest new file mode 100644 index 00000000000..44054d6b967 --- /dev/null +++ b/app-crypt/libb2/Manifest @@ -0,0 +1 @@ +DIST libb2-0.98.tar.gz 275076 BLAKE2B 7c0aa473a58a5ceb6e913487cc6f0078e6cab661bd26cb1f5611473b430213521a23adbde227da6d7561b4d581369e268308ae6b2a10da5399c0d2d6ab288b26 SHA512 be400d16ab00b3006ec7412dcbf580427600f4997cee19c0448d849ff8bbbb58bbb7be3d49e4052cb1b6791b6bed9c9cc48b51da3ec77b2fdf3d197ccf0c8073 diff --git a/app-crypt/libb2/libb2-0.98.ebuild b/app-crypt/libb2/libb2-0.98.ebuild new file mode 100644 index 00000000000..08bf237662f --- /dev/null +++ b/app-crypt/libb2/libb2-0.98.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools ltprune + +DESCRIPTION="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp" +HOMEPAGE="https://github.com/BLAKE2/libb2" +GITHASH="0d7015f6a640a63bc6c68562328e112445ea9d5c" +SRC_URI="https://github.com/BLAKE2/libb2/archive/${GITHASH}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="static" + +DEPEND="" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}-${GITHASH} + +src_prepare() { + default + # fix bashism + sed -i -e 's/ == / = /' configure.ac || die + eautoreconf # upstream doesn't make releases +} + +src_configure() { + econf $(use_enable static) +} + +src_compile() { + # respect our CFLAGS + emake CFLAGS="${CFLAGS}" +} + +src_install() { + default + prune_libtool_files +} diff --git a/app-crypt/libb2/metadata.xml b/app-crypt/libb2/metadata.xml new file mode 100644 index 00000000000..5ef83e989e9 --- /dev/null +++ b/app-crypt/libb2/metadata.xml @@ -0,0 +1,13 @@ + + + + + grobian@gentoo.org + Fabian Groffen + + + C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp + + Official implementations from BLAKE2 project. + +