From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 10D3015800F for ; Thu, 9 Feb 2023 13:57:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA8FBE0843; Thu, 9 Feb 2023 13:57:09 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 726CCE0843 for ; Thu, 9 Feb 2023 13:57:09 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5596833FE60 for ; Thu, 9 Feb 2023 13:57:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09C7B88E for ; Thu, 9 Feb 2023 13:57:06 +0000 (UTC) From: "Craig Andrews" 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" Message-ID: <1675951021.f8a8a86166f0a3abb6fe583157e6d87b0e380056.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.13.1.ebuild X-VCS-Directories: net-libs/ngtcp2/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: f8a8a86166f0a3abb6fe583157e6d87b0e380056 X-VCS-Branch: master Date: Thu, 9 Feb 2023 13:57:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f1c41d0f-1379-49ff-bc17-9f453a263586 X-Archives-Hash: 3e95c0a839eb41b757561fa2c4572390 commit: f8a8a86166f0a3abb6fe583157e6d87b0e380056 Author: Craig Andrews gentoo org> AuthorDate: Thu Feb 9 13:55:52 2023 +0000 Commit: Craig Andrews gentoo org> CommitDate: Thu Feb 9 13:57:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8a8a861 net-libs/ngtcp2: add 0.13.1 Signed-off-by: Craig Andrews gentoo.org> net-libs/ngtcp2/Manifest | 1 + net-libs/ngtcp2/ngtcp2-0.13.1.ebuild | 52 ++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index df930f0f92bd..55a3cdd6e8f1 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -1 +1,2 @@ DIST ngtcp2-0.13.0.tar.xz 583788 BLAKE2B bf704f546560695831ce38f75639201f77e32704040bdf4241d1cf8251b308490a833de543772c040853dba314fcd916974958f6619dda500ee9f199f7a71d0f SHA512 a14b0363edabdce595bf7eeb04a5664c69c87d43ffeb1ec1b1b801c6428a65e3fb202fddedb0696ced6511ad94793b3cd75972148b144d52606a1da944487b80 +DIST ngtcp2-0.13.1.tar.xz 582412 BLAKE2B 086203def9e89a718852c0232d3dea9ee732f58b9fa76ec418de24fa6415ea507da391068611f16b60d8f19034bff7f69e73cc777d3a1d82cc901cb2a9e599fb SHA512 c8ff2eba9d2b7c5424e32e17ea481168ef3aa3140c0e17d210b4ef1065bc5c8d2e4393b99e7aea72693f8b6aa1cb9b44e9d48dde4e55e380bb614ec77a7b95fa diff --git a/net-libs/ngtcp2/ngtcp2-0.13.1.ebuild b/net-libs/ngtcp2/ngtcp2-0.13.1.ebuild new file mode 100644 index 000000000000..4d3a4cbaa377 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.13.1.ebuild @@ -0,0 +1,52 @@ +# 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 ~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 ) )" + +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 + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +}