1 |
commit: 777a2e51f6495562019be6561c8c089e42611bfc |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 28 20:48:36 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 28 21:07:17 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=777a2e51 |
7 |
|
8 |
dev-cpp/fizz: new package |
9 |
|
10 |
thanks @telans |
11 |
|
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
13 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
14 |
|
15 |
dev-cpp/fizz/Manifest | 1 + |
16 |
dev-cpp/fizz/fizz-2021.04.19.00.ebuild | 46 ++++++++++++++++++++++++++++++++++ |
17 |
dev-cpp/fizz/metadata.xml | 13 ++++++++++ |
18 |
3 files changed, 60 insertions(+) |
19 |
|
20 |
diff --git a/dev-cpp/fizz/Manifest b/dev-cpp/fizz/Manifest |
21 |
new file mode 100644 |
22 |
index 000000000..23013ecdd |
23 |
--- /dev/null |
24 |
+++ b/dev-cpp/fizz/Manifest |
25 |
@@ -0,0 +1 @@ |
26 |
+DIST fizz-2021.04.19.00.tar.gz 532228 BLAKE2B 980d501fb7bb67ed01711f1c0dd685ea9416912ef6bb818be3fb6e6ba9c9bd28a10edd16903a244044733ed8fe85486ab4296626445b09f22b928c8041cebcfa SHA512 dda187865b02c5f7e131fb70ed47c2a63d7024decfe94a70bbdd0ae02b6709801e2ea00f23280c50f392f91305cf11197be9204145f664dc227a7400831a9a01 |
27 |
|
28 |
diff --git a/dev-cpp/fizz/fizz-2021.04.19.00.ebuild b/dev-cpp/fizz/fizz-2021.04.19.00.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000..ce8b93c27 |
31 |
--- /dev/null |
32 |
+++ b/dev-cpp/fizz/fizz-2021.04.19.00.ebuild |
33 |
@@ -0,0 +1,46 @@ |
34 |
+# Copyright 2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit cmake |
40 |
+ |
41 |
+DESCRIPTION="C++14 implementation of the TLS-1.3 standard" |
42 |
+HOMEPAGE="https://github.com/facebookincubator/fizz" |
43 |
+ |
44 |
+SRC_URI="https://github.com/facebookincubator/fizz/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64" |
49 |
+ |
50 |
+CMAKE_USE_DIR="${S}/fizz" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ ~dev-cpp/folly-${PV}:= |
54 |
+ dev-cpp/gflags |
55 |
+ dev-cpp/glog |
56 |
+ dev-libs/double-conversion |
57 |
+ dev-libs/libevent |
58 |
+ dev-libs/libfmt |
59 |
+ dev-libs/libsodium |
60 |
+ dev-libs/openssl:0= |
61 |
+" |
62 |
+#TODO: discover if gtest is linked |
63 |
+DEPEND=" |
64 |
+ ${RDEPEND} |
65 |
+ dev-cpp/gtest |
66 |
+" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ cmake_src_prepare |
70 |
+ sed -i '/Sodium/d' fizz/cmake/fizz-config.cmake.in || die |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ local mycmakeargs=( |
75 |
+ -DLIB_INSTALL_DIR=$(get_libdir) |
76 |
+ ) |
77 |
+ |
78 |
+ cmake_src_configure |
79 |
+} |
80 |
|
81 |
diff --git a/dev-cpp/fizz/metadata.xml b/dev-cpp/fizz/metadata.xml |
82 |
new file mode 100644 |
83 |
index 000000000..4bdd21df7 |
84 |
--- /dev/null |
85 |
+++ b/dev-cpp/fizz/metadata.xml |
86 |
@@ -0,0 +1,13 @@ |
87 |
+<?xml version="1.0" encoding="UTF-8"?> |
88 |
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> |
89 |
+<pkgmetadata> |
90 |
+ <longdescription lang="en"> |
91 |
+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. |
92 |
+ |
93 |
+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. |
94 |
+ </longdescription> |
95 |
+ <upstream> |
96 |
+ <bugs-to>https://github.com/facebookincubator/fizz/issues</bugs-to> |
97 |
+ <remote-id type="github">facebookincubator/fizz</remote-id> |
98 |
+ </upstream> |
99 |
+</pkgmetadata> |