summaryrefslogtreecommitdiff
path: root/dev-cpp/mvfst
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/mvfst')
-rw-r--r--dev-cpp/mvfst/Manifest2
-rw-r--r--dev-cpp/mvfst/files/mvfst-2025.04.14.00-boost-1.89.patch23
-rw-r--r--dev-cpp/mvfst/metadata.xml13
-rw-r--r--dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild62
-rw-r--r--dev-cpp/mvfst/mvfst-2025.04.14.00-r1.ebuild67
-rw-r--r--dev-cpp/mvfst/mvfst-2025.04.14.00.ebuild63
6 files changed, 230 insertions, 0 deletions
diff --git a/dev-cpp/mvfst/Manifest b/dev-cpp/mvfst/Manifest
new file mode 100644
index 000000000000..16254b7df1fd
--- /dev/null
+++ b/dev-cpp/mvfst/Manifest
@@ -0,0 +1,2 @@
+DIST mvfst-2024.11.04.00.gh.tar.gz 1983543 BLAKE2B 9c8b0da32baddd04af29e892a379333f89af45957a415dfa7f6da86f9a9b39fc8fbc73e450deb51e7a61b4ddfd37f08dc3d9ba8f48f83557aab4ae762068ec14 SHA512 4a000583884777fa876f3bfc52a3420c9cf8818f943c07898ac3b313837092fc173d8db497fd59027ef405d8fa5e3114a53b3bc5cf3fef398ca712c06a1da3e0
+DIST mvfst-2025.04.14.00.gh.tar.gz 2046690 BLAKE2B 7d8861d082b027b4c5b95cb755bc89907037b7e5e71be0bbb97806fa37d24bfec48979e1a8576c1c49b3007babe9e327c16d0d0971a66899e0a0ef9f373a8be7 SHA512 65fe3d5aee2ccffd0d459b3d07901c9d1085d6ec195d896ea66eb509ec1d662d4721b39242bab44ef10cafa479aae335a7a8904214871e28728857fc709061df
diff --git a/dev-cpp/mvfst/files/mvfst-2025.04.14.00-boost-1.89.patch b/dev-cpp/mvfst/files/mvfst-2025.04.14.00-boost-1.89.patch
new file mode 100644
index 000000000000..14cc3814a138
--- /dev/null
+++ b/dev-cpp/mvfst/files/mvfst-2025.04.14.00-boost-1.89.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/962946
+https://github.com/facebook/folly/issues/2489
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -44,7 +44,6 @@ set(QUIC_FBCODE_ROOT ${CMAKE_CURRENT_SOURCE_DIR})
+ find_package(Boost 1.62
+ REQUIRED COMPONENTS
+ iostreams
+- system
+ thread
+ filesystem
+ regex
+--- a/cmake/mvfst-config.cmake.in
++++ b/cmake/mvfst-config.cmake.in
+@@ -20,7 +20,7 @@ include(CMakeFindDependencyMacro)
+ find_dependency(folly)
+ find_dependency(Fizz)
+ find_dependency(Threads)
+-find_dependency(Boost COMPONENTS iostreams system thread filesystem regex context)
++find_dependency(Boost COMPONENTS iostreams thread filesystem regex context)
+
+ if(NOT TARGET mvfst::mvfst_transport)
+ include("${CMAKE_CURRENT_LIST_DIR}/mvfst-targets.cmake")
diff --git a/dev-cpp/mvfst/metadata.xml b/dev-cpp/mvfst/metadata.xml
new file mode 100644
index 000000000000..325a4b6f7a24
--- /dev/null
+++ b/dev-cpp/mvfst/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>sin-ack@protonmail.com</email>
+ <name>sin-ack</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild b/dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild
new file mode 100644
index 000000000000..a0775698d948
--- /dev/null
+++ b/dev-cpp/mvfst/mvfst-2024.11.04.00-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# These must be bumped together:
+# dev-cpp/edencommon
+# dev-cpp/fb303
+# dev-cpp/fbthrift
+# dev-cpp/fizz
+# dev-cpp/folly
+# dev-cpp/mvfst
+# dev-cpp/wangle
+# dev-util/watchman
+
+inherit cmake
+
+DESCRIPTION="An implementation of the QUIC transport protocol"
+HOMEPAGE="https://github.com/facebook/mvfst"
+SRC_URI="https://github.com/facebook/mvfst/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~arm64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ~dev-cpp/fizz-${PV}:=
+ ~dev-cpp/folly-${PV}:=
+ dev-cpp/gflags:=
+ dev-cpp/glog:=[gflags]
+ dev-libs/boost:=
+ dev-libs/libfmt:=
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-cpp/gtest )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_MODULE_DIR="$(get_libdir)/cmake/${PN}"
+ -DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
+ -DBUILD_TESTS="$(usex test ON OFF)"
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ if use arm64; then
+ # These tests segfault on arm64.
+ # https://github.com/facebook/mvfst/issues/363
+ CMAKE_SKIP_TESTS=(
+ QuicClientTransportIntegrationTest.ResetClient
+ QuicClientTransportIntegrationTest.TestStatelessResetToken
+ )
+ fi
+
+ cmake_src_test
+}
diff --git a/dev-cpp/mvfst/mvfst-2025.04.14.00-r1.ebuild b/dev-cpp/mvfst/mvfst-2025.04.14.00-r1.ebuild
new file mode 100644
index 000000000000..36d239182fdf
--- /dev/null
+++ b/dev-cpp/mvfst/mvfst-2025.04.14.00-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2022-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# These must be bumped together:
+# dev-cpp/edencommon
+# dev-cpp/fb303
+# dev-cpp/fbthrift
+# dev-cpp/fizz
+# dev-cpp/folly
+# dev-cpp/mvfst
+# dev-cpp/wangle
+# dev-util/watchman
+
+inherit cmake
+
+DESCRIPTION="An implementation of the QUIC transport protocol"
+HOMEPAGE="https://github.com/facebook/mvfst"
+SRC_URI="https://github.com/facebook/mvfst/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~arm64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ~dev-cpp/fizz-${PV}:=
+ ~dev-cpp/folly-${PV}:=
+ dev-cpp/gflags:=
+ dev-cpp/glog:=[gflags]
+ dev-libs/double-conversion:=
+ dev-libs/libfmt:=
+ dev-libs/openssl:=
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-cpp/gtest )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2025.04.14.00-boost-1.89.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_MODULE_DIR="$(get_libdir)/cmake/${PN}"
+ -DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
+ -DBUILD_TESTS="$(usex test ON OFF)"
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ if use arm64; then
+ # These tests segfault on arm64.
+ # https://github.com/facebook/mvfst/issues/363
+ CMAKE_SKIP_TESTS=(
+ QuicClientTransportIntegrationTest.ResetClient
+ QuicClientTransportIntegrationTest.TestStatelessResetToken
+ )
+ fi
+
+ cmake_src_test
+}
diff --git a/dev-cpp/mvfst/mvfst-2025.04.14.00.ebuild b/dev-cpp/mvfst/mvfst-2025.04.14.00.ebuild
new file mode 100644
index 000000000000..1b67b9c0709e
--- /dev/null
+++ b/dev-cpp/mvfst/mvfst-2025.04.14.00.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# These must be bumped together:
+# dev-cpp/edencommon
+# dev-cpp/fb303
+# dev-cpp/fbthrift
+# dev-cpp/fizz
+# dev-cpp/folly
+# dev-cpp/mvfst
+# dev-cpp/wangle
+# dev-util/watchman
+
+inherit cmake
+
+DESCRIPTION="An implementation of the QUIC transport protocol"
+HOMEPAGE="https://github.com/facebook/mvfst"
+SRC_URI="https://github.com/facebook/mvfst/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~arm64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ ~dev-cpp/fizz-${PV}:=
+ ~dev-cpp/folly-${PV}:=
+ dev-cpp/gflags:=
+ dev-cpp/glog:=[gflags]
+ dev-libs/double-conversion:=
+ dev-libs/libfmt:=
+ dev-libs/openssl:=
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-cpp/gtest )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_MODULE_DIR="$(get_libdir)/cmake/${PN}"
+ -DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
+ -DBUILD_TESTS="$(usex test ON OFF)"
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ if use arm64; then
+ # These tests segfault on arm64.
+ # https://github.com/facebook/mvfst/issues/363
+ CMAKE_SKIP_TESTS=(
+ QuicClientTransportIntegrationTest.ResetClient
+ QuicClientTransportIntegrationTest.TestStatelessResetToken
+ )
+ fi
+
+ cmake_src_test
+}