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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AA080158094 for ; Tue, 20 Sep 2022 13:51:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE698E0BE2; Tue, 20 Sep 2022 13:51:07 +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 AF16EE0BE2 for ; Tue, 20 Sep 2022 13:51:07 +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 79D64340FE4 for ; Tue, 20 Sep 2022 13:51:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDED05A2 for ; Tue, 20 Sep 2022 13:51:04 +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: <1663681861.be0e1a7f307003fac9b734c9ea4a0faf2214908a.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.9.0.ebuild X-VCS-Directories: net-libs/ngtcp2/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: be0e1a7f307003fac9b734c9ea4a0faf2214908a X-VCS-Branch: master Date: Tue, 20 Sep 2022 13:51:04 +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: a06709e9-6679-4c32-ba6a-7eb0bf411749 X-Archives-Hash: d83bb37dcdfd05e607a5fa12d58d29af commit: be0e1a7f307003fac9b734c9ea4a0faf2214908a Author: Craig Andrews gentoo org> AuthorDate: Tue Sep 20 13:50:44 2022 +0000 Commit: Craig Andrews gentoo org> CommitDate: Tue Sep 20 13:51:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0e1a7f net-libs/ngtcp2: add 0.9.0 Signed-off-by: Craig Andrews gentoo.org> net-libs/ngtcp2/Manifest | 1 + net-libs/ngtcp2/ngtcp2-0.9.0.ebuild | 51 +++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index 043f6dea3ad1..672b54a556d5 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -1,3 +1,4 @@ DIST ngtcp2-0.7.0.tar.xz 573964 BLAKE2B 178d51fd41486620c1546b94ca5c6ac1072e7185d864251ce83d3ef7fc7b53e41f283937dd9c7b7771de7dbec099c8a308086c93929878035db7962efd821d70 SHA512 21b4506936e3dffaa06499d3b5f782212e369326f5d71cda65d76c92b0f5518937c83d791e8e5ffcd7ca8efbeeb33ed88c0c592571bf9ff4e32c53b261f6a548 DIST ngtcp2-0.8.0.tar.xz 581752 BLAKE2B 0bd124c840d56cf8324a2d3de9748e3426944c1ac9436438ced807cda269e4e199d81fc1a9a8c4f7e6a0eb93d474006875c99eafda94d42dc518ea1f6ff00662 SHA512 d8ba29d55c1ad01c04e0d62fca4c1ed97e9e0bfd5dcb889dc1cb2b0a1188554ceb9bf2f92ece15eabfffb34eb992f5ac924f14077aba0de2e11246947b16d518 DIST ngtcp2-0.8.1.tar.xz 578944 BLAKE2B d53af801b1d3646f8360070753bad903a8857f5533d5ac8957d35801f4e8bcf7b07902cfba2190f0037635cd3e1ec56967b90df7185b5e32bd9a0cd4f6709972 SHA512 dae2975076a7f060d3b09b1fea9be116b534323d63c35a47dd0db0f8f9932c0d9655e95c0b14a58d8808f4caa6823fe25e340ac9564ea8d02fe008b981df4f0e +DIST ngtcp2-0.9.0.tar.xz 584072 BLAKE2B 37d064245655da8aafc74838d2033ed589b07e0139143c1eb638c51a2dc483748f9d7bd0f7e3b6ecd8f18ffde98d6544677dba691a776245bce9870804774f53 SHA512 8d6111be1d0f8efe329ee20d0144c2b9caa0bd81c12f93b56176912f6a3417fd275411c55b071142d07a7bc8aabf04c28de0c4cb487c1cdc4c8a69d700aad378 diff --git a/net-libs/ngtcp2/ngtcp2-0.9.0.ebuild b/net-libs/ngtcp2/ngtcp2-0.9.0.ebuild new file mode 100644 index 000000000000..24ec2747596c --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-0.9.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 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" +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 +}