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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1642C158030 for ; Tue, 28 Feb 2023 12:58:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E50BE0207; Tue, 28 Feb 2023 12:58:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32632E0207 for ; Tue, 28 Feb 2023 12:58:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E81933BF29 for ; Tue, 28 Feb 2023 12:58:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 574137F9 for ; Tue, 28 Feb 2023 12:58:01 +0000 (UTC) From: "Denis Reva" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Denis Reva" Message-ID: <1677589014.055316fea12384d864d0b45037242eb6dfdc5ba6.RarogCmex@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/fizz/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-cpp/fizz/Manifest dev-cpp/fizz/fizz-2023.02.06.00.ebuild dev-cpp/fizz/metadata.xml X-VCS-Directories: dev-cpp/fizz/ X-VCS-Committer: RarogCmex X-VCS-Committer-Name: Denis Reva X-VCS-Revision: 055316fea12384d864d0b45037242eb6dfdc5ba6 X-VCS-Branch: dev Date: Tue, 28 Feb 2023 12:58:01 +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: 61bc4731-28c9-4579-bd8f-53b9f492e55a X-Archives-Hash: 71f75a72193ba7e0e0fb9da603be61cc commit: 055316fea12384d864d0b45037242eb6dfdc5ba6 Author: Denis Reva gmail com> AuthorDate: Tue Feb 28 11:45:14 2023 +0000 Commit: Denis Reva gmail com> CommitDate: Tue Feb 28 12:56:54 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=055316fe dev-cpp/fizz: Updated and unorphaned Signed-off-by: Denis Reva gmail.com> dev-cpp/fizz/Manifest | 1 + dev-cpp/fizz/fizz-2023.02.06.00.ebuild | 48 ++++++++++++++++++++++++++++++++++ dev-cpp/fizz/metadata.xml | 18 +++++++++++++ 3 files changed, 67 insertions(+) diff --git a/dev-cpp/fizz/Manifest b/dev-cpp/fizz/Manifest new file mode 100644 index 000000000..9dedb363e --- /dev/null +++ b/dev-cpp/fizz/Manifest @@ -0,0 +1 @@ +DIST fizz-2023.02.06.00.tar.gz 649362 BLAKE2B a77f90a9d8eca9fb934aacbc903f5af702d8e22b33b0884c742dd40b51f1993f2015758e62ee815eed0f3570a608768914d4f2077d9da0a69c50e78270a64085 SHA512 88cd3d3198442ea0cd2d5098c53fef55d9a7a6b998ddeb6e2e32f7dd26827682dabe1def9bef6f321da5dbb8c48675cb3045a20733fcc7191cc7b81248d8176e diff --git a/dev-cpp/fizz/fizz-2023.02.06.00.ebuild b/dev-cpp/fizz/fizz-2023.02.06.00.ebuild new file mode 100644 index 000000000..597703566 --- /dev/null +++ b/dev-cpp/fizz/fizz-2023.02.06.00.ebuild @@ -0,0 +1,48 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/${PV}" +KEYWORDS="~amd64" +IUSE="examples test" + +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= +" +DEPEND=" + ${RDEPEND} + test? ( >=dev-cpp/gtest-1.11.0 ) +" + +RESTRICT="!test? ( test )" +CMAKE_USE_DIR="${S}/fizz" + +src_prepare() { + cmake_src_prepare + sed -i '/Sodium/d' fizz/cmake/fizz-config.cmake.in || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=$(usex examples) + -DBUILD_TESTS=$(usex test) + -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..7e92afec0 --- /dev/null +++ b/dev-cpp/fizz/metadata.xml @@ -0,0 +1,18 @@ + + + + + denis7774@gmail.com + Denis Reva + rarogcmex + + +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 + +