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 9958F158099 for ; Sun, 26 Nov 2023 15:35:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB93A2BC125; Sun, 26 Nov 2023 15:35:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 88F852BC127 for ; Sun, 26 Nov 2023 15:35:22 +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 93E54340AB3 for ; Sun, 26 Nov 2023 15:35:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59BE913ED for ; Sun, 26 Nov 2023 15:35:18 +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: <1701012914.9e6a752d4bdd0ad65fcde42a846fb1f98d95b166.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.1.0.ebuild X-VCS-Directories: net-libs/ngtcp2/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 9e6a752d4bdd0ad65fcde42a846fb1f98d95b166 X-VCS-Branch: master Date: Sun, 26 Nov 2023 15:35:18 +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: 253e463c-c270-4214-852d-0067eb113126 X-Archives-Hash: bf4ac461d59273ca9577d5abf8852234 commit: 9e6a752d4bdd0ad65fcde42a846fb1f98d95b166 Author: Craig Andrews gentoo org> AuthorDate: Sun Nov 26 15:34:56 2023 +0000 Commit: Craig Andrews gentoo org> CommitDate: Sun Nov 26 15:35:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e6a752d net-libs/ngtcp2: add 1.1.0 Signed-off-by: Craig Andrews gentoo.org> net-libs/ngtcp2/Manifest | 1 + net-libs/ngtcp2/ngtcp2-1.1.0.ebuild | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index a6d8cf025a42..9075c964d3f6 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -1,2 +1,3 @@ DIST ngtcp2-0.14.1.tar.xz 585788 BLAKE2B 68574767c701432e7558fa85cbad0d49934d220e292ceb82cdf19a715f247c6ec9b3a2b87def1176ade067a78c84bd3495936847a9a53fcadaff7b66971eca8d SHA512 52c55bc322d979d020ab3124a7cc0033d0f3e5649e3c8ee5f00aa64dbad83c4f199d50685704cc9372821e7fc81c59eea79f33894260b5dca171712d5b3899a0 DIST ngtcp2-1.0.1.tar.xz 590100 BLAKE2B 3893e849777f5770d2c2f01e57fae8db81e2f1035b4f3c50d9bbc506780fe66dbc8744d3efa82ee8585862b72cb0fdde2f185e0e37f84845dc0b51f0985e38f2 SHA512 d3f7c05bd4f06ee4b98c2bea983bc281794af6d007900231972bfd7fc2d7f034e22323d26fa3a7e0a936cfecc2476d77e80ae6a8c81cca317e4ab17b25c44d61 +DIST ngtcp2-1.1.0.tar.xz 595536 BLAKE2B df37cede58fe67e9121d3c985a6d26b3534a2ef2805a9fb0ee92369d87e849164916e36c23b0e3055b4fa817307b1aa47cc1c0bfe3b03690401f00c0f050b9e8 SHA512 0de7d1aa67a5dbbf718313f90b7535980d29902a3d7e7a8a5e0362ec54b5ffe00ec2e844262ab05ddf6a0f3a1acc716a9b6df181121f8c3b66e138a91cfbe067 diff --git a/net-libs/ngtcp2/ngtcp2-1.1.0.ebuild b/net-libs/ngtcp2/ngtcp2-1.1.0.ebuild new file mode 100644 index 000000000000..c50194288f25 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-1.1.0.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 ~arm64 ~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 +}