From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1693897-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 (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A37261581F3
	for <garchives@archives.gentoo.org>; Mon, 25 Nov 2024 14:30:59 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E4A05E08C2;
	Mon, 25 Nov 2024 14:30:58 +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 979B3E08C2
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Nov 2024 14:30:58 +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 7A0F0343007
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Nov 2024 14:30:57 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B7A841898
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Nov 2024 14:30:55 +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: <1732545052.a6ce9086703374404f7212c90cd239cae874b2a5.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-1.9.1.ebuild
X-VCS-Directories: net-libs/ngtcp2/
X-VCS-Committer: candrews
X-VCS-Committer-Name: Craig Andrews
X-VCS-Revision: a6ce9086703374404f7212c90cd239cae874b2a5
X-VCS-Branch: master
Date: Mon, 25 Nov 2024 14:30:55 +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: 1c79eb34-0421-4419-9b37-edce20c38f86
X-Archives-Hash: 940a1532002ce9d134e89642f7ecad58

commit:     a6ce9086703374404f7212c90cd239cae874b2a5
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 25 14:30:43 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Nov 25 14:30:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ce9086

net-libs/ngtcp2: add 1.9.1

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

 net-libs/ngtcp2/Manifest            |  1 +
 net-libs/ngtcp2/ngtcp2-1.9.1.ebuild | 53 +++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest
index b154d8084ca4..c4eb2fa96b6b 100644
--- a/net-libs/ngtcp2/Manifest
+++ b/net-libs/ngtcp2/Manifest
@@ -3,3 +3,4 @@ DIST ngtcp2-1.7.0.tar.xz 631072 BLAKE2B 1a1ce134c54974418c0cf0bacc09a770e29cd7c7
 DIST ngtcp2-1.8.0.tar.xz 632052 BLAKE2B efa8de7e8405c1360de1c8043e66e236024cacebd8be7564e2575cc568daede15ca6ceafa415b7c579a4fc205a507d6731cbff5c5a88dfab70e356f846012150 SHA512 4bb838ed94977515ad7fcd86bbafddfb9733264999b268c109b8f487caf01967b0e6d9d0791f19aa549177a375a7d4182662f14b09e7dc5240fa03b68de16235
 DIST ngtcp2-1.8.1.tar.xz 625204 BLAKE2B c86e975d0c41971c3671d31e152a1b65950135ea8a7c120665ef8466484da1c7d4543afd5552a917dae7bc241c9e66a4729c06be4d9e101952b9e5ce7d4ab66e SHA512 18728ee0376de319a99c3c5a294a7250a8fefa82fd530f0f2882540da2bada2451644898561be6bb6d95e6c8b7e129337edefe3e71d5ca820beb67db0db7d331
 DIST ngtcp2-1.9.0.tar.xz 636976 BLAKE2B 333dba2ca972dc9a119f118014fb7879d78f2a919e4c9905f2e11dc3fde09fe9ac114f83a9024b9465d360dea4f3f9f190dd2f06469e940689b5f11c068c6035 SHA512 2ecec2ec968878caa41df621a9054cca00b1b7b96dedc7c9c6f46b3c5e7534d9b07c985bdfc5e762ee68751e40ba06318aa54948ec01219eee4156f717e85b8c
+DIST ngtcp2-1.9.1.tar.xz 633404 BLAKE2B ee0802acbfc5b1e2dd601090c3a8cd58494132a144c3532c61b8b78e1e0f34ca554c3a351d479db0bd04dea8088c52073871ae29dd1027157eb8c354f856bd8c SHA512 2f1ea7c97b248cbcfc2d616c2285e8d105176d94642649e4629fba279ebdd92424bcc6a96517e17e12005cb64bc2e9bbc0c54bb9da7f49337b6d8257e5be963b

diff --git a/net-libs/ngtcp2/ngtcp2-1.9.1.ebuild b/net-libs/ngtcp2/ngtcp2-1.9.1.ebuild
new file mode 100644
index 000000000000..789b94518acb
--- /dev/null
+++ b/net-libs/ngtcp2/ngtcp2-1.9.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 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 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+fi
+
+DESCRIPTION="Implementation of the IETF QUIC Protocol"
+HOMEPAGE="https://github.com/ngtcp2/ngtcp2/"
+
+LICENSE="MIT"
+SLOT="0/0"
+IUSE="+gnutls openssl +ssl static-libs test"
+REQUIRED_USE="ssl? ( || ( gnutls openssl ) ) test? ( static-libs )"
+
+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_STATIC_LIB=$(usex static-libs)
+		-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
+		-DBUILD_TESTING=$(usex test)
+	)
+	cmake_src_configure
+}
+
+multilib_src_test() {
+	cmake_build check
+}