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 9FB7D158089 for ; Mon, 16 Oct 2023 12:47:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D43972BC025; Mon, 16 Oct 2023 12:47:58 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 BED2D2BC020 for ; Mon, 16 Oct 2023 12:47: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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11CCC335D21 for ; Mon, 16 Oct 2023 12:47:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB3A01262 for ; Mon, 16 Oct 2023 12:47:55 +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: <1697460470.7c9b89e1557a7ca7d135019e73c8f8727dac2531.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.0.0.ebuild X-VCS-Directories: net-libs/ngtcp2/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 7c9b89e1557a7ca7d135019e73c8f8727dac2531 X-VCS-Branch: master Date: Mon, 16 Oct 2023 12:47:55 +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: 544a1b55-8c22-409b-8674-7be4f7888d4d X-Archives-Hash: 439ab3a43d79f755c3a8b3633f094fb9 commit: 7c9b89e1557a7ca7d135019e73c8f8727dac2531 Author: Craig Andrews gentoo org> AuthorDate: Mon Oct 16 12:41:45 2023 +0000 Commit: Craig Andrews gentoo org> CommitDate: Mon Oct 16 12:47:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c9b89e1 net-libs/ngtcp2: add 1.0.0 Signed-off-by: Craig Andrews gentoo.org> net-libs/ngtcp2/Manifest | 1 + net-libs/ngtcp2/ngtcp2-1.0.0.ebuild | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index 813f0261d17a..6b7ede9c4d77 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -5,3 +5,4 @@ DIST ngtcp2-0.17.0.tar.xz 590752 BLAKE2B 584dc4137ff572f1e433420d8dfb4a91eb8c505 DIST ngtcp2-0.18.0.tar.xz 588876 BLAKE2B 24fecf24482de95b120a4a4cbb6627f09b528ab75e47964d17392f67b46144d8b5edaff1d6a4ac587ad62b6445db1b7186cdf27fe24e3fa71baa613ff95807c3 SHA512 f147f45ad0be4b45a3c3fcf2c61fc3a23e721702f19ad857e6bad93bbad5a4920f0fdcf59d3a0dd1226f5e3940e3cd3614fea21edd343e05381fb50acfe1eead DIST ngtcp2-0.19.0.tar.xz 595388 BLAKE2B 0a6c41909863eb4bece5bc960c114de6c1242f489cfc472ecc4b1c3477c37efb25eee5c8007687013a05e80e9d5c66d8b1c48f8fefd429a3b677fdecffaf2d84 SHA512 827f2da27daa61a34bac4b752ae29272c532c2c6b9432168276c5280534dedd3bf6ebcec3a1649ac0322b23d4300404080d20ffb4face36c8ccef17d611ab65f DIST ngtcp2-0.19.1.tar.xz 590532 BLAKE2B 6e80c3dab41bcd979ecaf45e248998f7bd33a669bc130ac2f92f73132328f6bab516051b99163e2ed61068a3b773b3d001c62b1ec15d395550df44993469cbf8 SHA512 eff10b28d3ee8ac39af9b8db5867f4bdeb16ae0553b97ce098d33cfff9b6f6c1c72b836550c0acce936cf4e9bf0c3e8d5ea3fe883b48d1f352a595ef709749bf +DIST ngtcp2-1.0.0.tar.xz 595696 BLAKE2B 02caa4533b85d16d7fbf0a463fd7fc47aadc0d3873b70491c1dd408dbc43d0e7728d270cbb081cda39e713e59e5b6dee7cbdbb4b3f2c32c06db15086e06a707f SHA512 7bed2345d479b2efc6ca16166782889ae9cd91a0a5485c1c9bc16ac0a785e0089443baac5ed71029c86837438cf030a96964f71e7611caa18c34aef77cb9b4ce diff --git a/net-libs/ngtcp2/ngtcp2-1.0.0.ebuild b/net-libs/ngtcp2/ngtcp2-1.0.0.ebuild new file mode 100644 index 000000000000..c50194288f25 --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-1.0.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 +}