Gentoo Archives: gentoo-commits

From: Denis Reva <denis7774@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-cpp/fizz/
Date: Tue, 28 Feb 2023 12:58:05
Message-Id: 1677589014.055316fea12384d864d0b45037242eb6dfdc5ba6.RarogCmex@gentoo
1 commit: 055316fea12384d864d0b45037242eb6dfdc5ba6
2 Author: Denis Reva <denis7774 <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 28 11:45:14 2023 +0000
4 Commit: Denis Reva <denis7774 <AT> gmail <DOT> com>
5 CommitDate: Tue Feb 28 12:56:54 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=055316fe
7
8 dev-cpp/fizz: Updated and unorphaned
9
10 Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>
11
12 dev-cpp/fizz/Manifest | 1 +
13 dev-cpp/fizz/fizz-2023.02.06.00.ebuild | 48 ++++++++++++++++++++++++++++++++++
14 dev-cpp/fizz/metadata.xml | 18 +++++++++++++
15 3 files changed, 67 insertions(+)
16
17 diff --git a/dev-cpp/fizz/Manifest b/dev-cpp/fizz/Manifest
18 new file mode 100644
19 index 000000000..9dedb363e
20 --- /dev/null
21 +++ b/dev-cpp/fizz/Manifest
22 @@ -0,0 +1 @@
23 +DIST fizz-2023.02.06.00.tar.gz 649362 BLAKE2B a77f90a9d8eca9fb934aacbc903f5af702d8e22b33b0884c742dd40b51f1993f2015758e62ee815eed0f3570a608768914d4f2077d9da0a69c50e78270a64085 SHA512 88cd3d3198442ea0cd2d5098c53fef55d9a7a6b998ddeb6e2e32f7dd26827682dabe1def9bef6f321da5dbb8c48675cb3045a20733fcc7191cc7b81248d8176e
24
25 diff --git a/dev-cpp/fizz/fizz-2023.02.06.00.ebuild b/dev-cpp/fizz/fizz-2023.02.06.00.ebuild
26 new file mode 100644
27 index 000000000..597703566
28 --- /dev/null
29 +++ b/dev-cpp/fizz/fizz-2023.02.06.00.ebuild
30 @@ -0,0 +1,48 @@
31 +# Copyright 2021-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit cmake
37 +
38 +DESCRIPTION="C++14 implementation of the TLS-1.3 standard"
39 +HOMEPAGE="https://github.com/facebookincubator/fizz"
40 +SRC_URI="https://github.com/facebookincubator/fizz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0/${PV}"
44 +KEYWORDS="~amd64"
45 +IUSE="examples test"
46 +
47 +RDEPEND="
48 + >=dev-cpp/folly-${PV}:=
49 + dev-cpp/gflags
50 + dev-cpp/glog
51 + dev-libs/double-conversion
52 + dev-libs/libevent
53 + dev-libs/libfmt
54 + dev-libs/libsodium
55 + dev-libs/openssl:0=
56 +"
57 +DEPEND="
58 + ${RDEPEND}
59 + test? ( >=dev-cpp/gtest-1.11.0 )
60 +"
61 +
62 +RESTRICT="!test? ( test )"
63 +CMAKE_USE_DIR="${S}/fizz"
64 +
65 +src_prepare() {
66 + cmake_src_prepare
67 + sed -i '/Sodium/d' fizz/cmake/fizz-config.cmake.in || die
68 +}
69 +
70 +src_configure() {
71 + local mycmakeargs=(
72 + -DBUILD_EXAMPLES=$(usex examples)
73 + -DBUILD_TESTS=$(usex test)
74 + -DLIB_INSTALL_DIR=$(get_libdir)
75 + )
76 +
77 + cmake_src_configure
78 +}
79
80 diff --git a/dev-cpp/fizz/metadata.xml b/dev-cpp/fizz/metadata.xml
81 new file mode 100644
82 index 000000000..7e92afec0
83 --- /dev/null
84 +++ b/dev-cpp/fizz/metadata.xml
85 @@ -0,0 +1,18 @@
86 +<?xml version="1.0" encoding="UTF-8"?>
87 +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
88 +<pkgmetadata>
89 + <maintainer type="person">
90 + <email>denis7774@×××××.com</email>
91 + <name>Denis Reva</name>
92 + <description>rarogcmex</description>
93 + </maintainer>
94 + <longdescription lang="en">
95 +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.
96 +
97 +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.
98 + </longdescription>
99 + <upstream>
100 + <bugs-to>https://github.com/facebookincubator/fizz/issues</bugs-to>
101 + <remote-id type="github">facebookincubator/fizz</remote-id>
102 + </upstream>
103 +</pkgmetadata>