From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1474524-garchives=archives.gentoo.org@lists.gentoo.org>
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 2767315800F
	for <garchives@archives.gentoo.org>; Fri,  6 Jan 2023 14:04:55 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E3404E07C5;
	Fri,  6 Jan 2023 14:04:53 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 C79CEE07C5
	for <gentoo-commits@lists.gentoo.org>; Fri,  6 Jan 2023 14:04:53 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 9FA3D340BB4
	for <gentoo-commits@lists.gentoo.org>; Fri,  6 Jan 2023 14:04:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D4AA57FB
	for <gentoo-commits@lists.gentoo.org>; Fri,  6 Jan 2023 14:04:50 +0000 (UTC)
From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" <candrews@gentoo.org>
Message-ID: <1673013887.5ab036cebfccee1d0ad1f1b434bfaad26be8119e.candrews@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/ngtcp2/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-libs/ngtcp2/Manifest net-libs/ngtcp2/ngtcp2-0.12.1.ebuild
X-VCS-Directories: net-libs/ngtcp2/
X-VCS-Committer: candrews
X-VCS-Committer-Name: Craig Andrews
X-VCS-Revision: 5ab036cebfccee1d0ad1f1b434bfaad26be8119e
X-VCS-Branch: master
Date: Fri,  6 Jan 2023 14:04:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: aa80ea00-4606-44cd-a38c-ae3c36d0cba8
X-Archives-Hash: 96abdb9eab64c583e9751e02c9d08b6d

commit:     5ab036cebfccee1d0ad1f1b434bfaad26be8119e
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  6 14:03:50 2023 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Fri Jan  6 14:04:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ab036ce

net-libs/ngtcp2: add 0.12.1

Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 net-libs/ngtcp2/Manifest             |  1 +
 net-libs/ngtcp2/ngtcp2-0.12.1.ebuild | 51 ++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest
index a8ddbe8be5e4..2b1d682f8e43 100644
--- a/net-libs/ngtcp2/Manifest
+++ b/net-libs/ngtcp2/Manifest
@@ -1,3 +1,4 @@
 DIST ngtcp2-0.10.0.tar.xz 582248 BLAKE2B 11c7153742657afc2df3b339e95e66e1ebc657ac251e6f1c742fb091277a4f3364e57322994f7a947e97cb0fdaa786fb48635e35b33346f1c04ef3f73d9a8128 SHA512 40ace3188ad53293df80a0f3fb144ced21897089026a18f90f45fe2aaa0d0f18ad184666a08d96263942573ed96ffa65b5f1837a008bd348a9c68c82e7508310
 DIST ngtcp2-0.11.0.tar.xz 583024 BLAKE2B 761f248a4f5e12f75d018f5285b894d8294edf102547306cb44498f97533b3e8929192c6c3a36671a4543536881b1471dd788aafe976da2efce191901af14923 SHA512 f652cb0189c485d3d007dda93f8441ea6d9a4f95d658ab763bd6d3e2e46985c0800e7fc3291c6fb4e07a0e5e0d4117d19631214a53f687f40913485182202057
 DIST ngtcp2-0.12.0.tar.xz 582996 BLAKE2B f1182e712ad68671fea3a588e4b2f09a815395ac6551eeaed5a734a3c3210f035d5b19a99a2ff5c296305de38b6bae7983b4ef5e595dadc651a6ae4d25497186 SHA512 805697fedb0dc9178fd5a8eac2ee63a9fdadda6e439e509a21544d3af5c2cca76acde7b53a4ec450eef1dff17c60d57468b5b8518103de50ba00039c969a481d
+DIST ngtcp2-0.12.1.tar.xz 581500 BLAKE2B f3dfb00301eb75b997bdcc27d9bf32807181a115bf5639159892fa19deab96a3acfee485b79b7edaf0b06032c28899efce40d1c07574670cd07a65edd3a694cb SHA512 ca1bd05b5469e7d88980eafdb2d84cffe6b21d394fcc86d94c6e57685bb779d225b944d42f6558af67e2cd4058dfeba3c963f0249654d7ebe69e20d75cb6f606

diff --git a/net-libs/ngtcp2/ngtcp2-0.12.1.ebuild b/net-libs/ngtcp2/ngtcp2-0.12.1.ebuild
new file mode 100644
index 000000000000..aa53d73cfc95
--- /dev/null
+++ b/net-libs/ngtcp2/ngtcp2-0.12.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+if [[ ${PV} == 9999 ]] ; then
+	EGIT_REPO_URI="https://github.com/ngtcp2/ngtcp2.git"
+	inherit git-r3
+else
+	SRC_URI="https://github.com/ngtcp2/ngtcp2/releases/download/v${PV}/${P}.tar.xz"
+	KEYWORDS="~amd64 ~hppa ~riscv"
+fi
+
+DESCRIPTION="Implementation of the IETF QUIC Protocol"
+HOMEPAGE="https://github.com/ngtcp2/ngtcp2/"
+
+LICENSE="MIT"
+SLOT="0/0"
+IUSE="+gnutls openssl +ssl test"
+REQUIRED_USE="ssl? ( || ( gnutls openssl ) )"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+	ssl? (
+		gnutls? ( >=net-libs/gnutls-3.7.2:0= )
+		openssl? (
+			>=dev-libs/openssl-1.1.1:0=
+		)
+	)"
+DEPEND="${RDEPEND}
+	test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
+RESTRICT="!test? ( test )"
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DENABLE_GNUTLS=$(usex gnutls)
+		-DENABLE_OPENSSL=$(usex openssl)
+		-DENABLE_BORINGSSL=OFF
+		-DENABLE_PICOTLS=OFF
+		-DENABLE_WOLFSSL=OFF
+		-DCMAKE_DISABLE_FIND_PACKAGE_Libev=ON
+		-DCMAKE_DISABLE_FIND_PACKAGE_Libnghttp3=ON
+	)
+	cmake_src_configure
+}
+
+multilib_src_test() {
+	cmake_build check
+}