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 C9AF61382C5 for ; Thu, 29 Apr 2021 08:23:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18C01E086D; Thu, 29 Apr 2021 08:23:34 +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 F3427E086A for ; Thu, 29 Apr 2021 08:23:33 +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 0BAE13410B8 for ; Thu, 29 Apr 2021 08:23:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4780E744 for ; Thu, 29 Apr 2021 08:23:30 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1619644037.777a2e51f6495562019be6561c8c089e42611bfc.mgorny@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/fizz/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/fizz/Manifest dev-cpp/fizz/fizz-2021.04.19.00.ebuild dev-cpp/fizz/metadata.xml X-VCS-Directories: dev-cpp/fizz/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 777a2e51f6495562019be6561c8c089e42611bfc X-VCS-Branch: master Date: Thu, 29 Apr 2021 08:23:30 +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: c07330ae-3ee8-41ef-84ec-b1f82e64638b X-Archives-Hash: d852a9f41fcc7af110787a1033255260 commit: 777a2e51f6495562019be6561c8c089e42611bfc Author: Alessandro Barbieri gmail com> AuthorDate: Wed Apr 28 20:48:36 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Apr 28 21:07:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=777a2e51 dev-cpp/fizz: new package thanks @telans Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> dev-cpp/fizz/Manifest | 1 + dev-cpp/fizz/fizz-2021.04.19.00.ebuild | 46 ++++++++++++++++++++++++++++++++++ dev-cpp/fizz/metadata.xml | 13 ++++++++++ 3 files changed, 60 insertions(+) diff --git a/dev-cpp/fizz/Manifest b/dev-cpp/fizz/Manifest new file mode 100644 index 000000000..23013ecdd --- /dev/null +++ b/dev-cpp/fizz/Manifest @@ -0,0 +1 @@ +DIST fizz-2021.04.19.00.tar.gz 532228 BLAKE2B 980d501fb7bb67ed01711f1c0dd685ea9416912ef6bb818be3fb6e6ba9c9bd28a10edd16903a244044733ed8fe85486ab4296626445b09f22b928c8041cebcfa SHA512 dda187865b02c5f7e131fb70ed47c2a63d7024decfe94a70bbdd0ae02b6709801e2ea00f23280c50f392f91305cf11197be9204145f664dc227a7400831a9a01 diff --git a/dev-cpp/fizz/fizz-2021.04.19.00.ebuild b/dev-cpp/fizz/fizz-2021.04.19.00.ebuild new file mode 100644 index 000000000..ce8b93c27 --- /dev/null +++ b/dev-cpp/fizz/fizz-2021.04.19.00.ebuild @@ -0,0 +1,46 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="C++14 implementation of the TLS-1.3 standard" +HOMEPAGE="https://github.com/facebookincubator/fizz" + +SRC_URI="https://github.com/facebookincubator/fizz/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +CMAKE_USE_DIR="${S}/fizz" + +RDEPEND=" + ~dev-cpp/folly-${PV}:= + dev-cpp/gflags + dev-cpp/glog + dev-libs/double-conversion + dev-libs/libevent + dev-libs/libfmt + dev-libs/libsodium + dev-libs/openssl:0= +" +#TODO: discover if gtest is linked +DEPEND=" + ${RDEPEND} + dev-cpp/gtest +" + +src_prepare() { + cmake_src_prepare + sed -i '/Sodium/d' fizz/cmake/fizz-config.cmake.in || die +} + +src_configure() { + local mycmakeargs=( + -DLIB_INSTALL_DIR=$(get_libdir) + ) + + cmake_src_configure +} diff --git a/dev-cpp/fizz/metadata.xml b/dev-cpp/fizz/metadata.xml new file mode 100644 index 000000000..4bdd21df7 --- /dev/null +++ b/dev-cpp/fizz/metadata.xml @@ -0,0 +1,13 @@ + + + + +The core protocol implementations are in ClientProtocol and ServerProtocol. FizzClientContext and FizzServerContext provide configuration options. FizzClient and FizzServer (which both inherit from FizzBase) provide applications with an interface to interact with the state machine. FizzClient/FizzServer receives events from the application layer, invokes the correct event handler, and invokes the application ActionVisitor to process the actions. + +AsyncFizzClient and AsyncFizzServer provide implementations of the folly AsyncTransportWrapper interface. They own an underlying transport (for example AsyncSocket) and perform the TLS handshake and encrypt/decrypt application data. + + + https://github.com/facebookincubator/fizz/issues + facebookincubator/fizz + +