summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2022-08-22 20:14:38 -0400
committerCraig Andrews <candrews@gentoo.org>2022-08-22 20:14:38 -0400
commitc172c2db29e184405b126da8b07eda34e5fce458 (patch)
treef8ba41bd75b705b2e680ad6dd983fee1d9fa878a /net-libs/ngtcp2
parentwww-apps/prowlarr: add 0.4.4.1947 (diff)
downloadgentoo-c172c2db29e184405b126da8b07eda34e5fce458.tar.gz
gentoo-c172c2db29e184405b126da8b07eda34e5fce458.tar.bz2
gentoo-c172c2db29e184405b126da8b07eda34e5fce458.zip
net-libs/ngtcp2: 0.8.0 version bump
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-libs/ngtcp2')
-rw-r--r--net-libs/ngtcp2/Manifest1
-rw-r--r--net-libs/ngtcp2/ngtcp2-0.8.0.ebuild51
-rw-r--r--net-libs/ngtcp2/ngtcp2-9999.ebuild3
3 files changed, 55 insertions, 0 deletions
diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest
index 235e7df57f1e..8e3db5e45c86 100644
--- a/net-libs/ngtcp2/Manifest
+++ b/net-libs/ngtcp2/Manifest
@@ -1 +1,2 @@
DIST ngtcp2-0.7.0.tar.xz 573964 BLAKE2B 178d51fd41486620c1546b94ca5c6ac1072e7185d864251ce83d3ef7fc7b53e41f283937dd9c7b7771de7dbec099c8a308086c93929878035db7962efd821d70 SHA512 21b4506936e3dffaa06499d3b5f782212e369326f5d71cda65d76c92b0f5518937c83d791e8e5ffcd7ca8efbeeb33ed88c0c592571bf9ff4e32c53b261f6a548
+DIST ngtcp2-0.8.0.tar.xz 581752 BLAKE2B 0bd124c840d56cf8324a2d3de9748e3426944c1ac9436438ced807cda269e4e199d81fc1a9a8c4f7e6a0eb93d474006875c99eafda94d42dc518ea1f6ff00662 SHA512 d8ba29d55c1ad01c04e0d62fca4c1ed97e9e0bfd5dcb889dc1cb2b0a1188554ceb9bf2f92ece15eabfffb34eb992f5ac924f14077aba0de2e11246947b16d518
diff --git a/net-libs/ngtcp2/ngtcp2-0.8.0.ebuild b/net-libs/ngtcp2/ngtcp2-0.8.0.ebuild
new file mode 100644
index 000000000000..24ec2747596c
--- /dev/null
+++ b/net-libs/ngtcp2/ngtcp2-0.8.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
+}
diff --git a/net-libs/ngtcp2/ngtcp2-9999.ebuild b/net-libs/ngtcp2/ngtcp2-9999.ebuild
index d8ed8ddc2f7e..24ec2747596c 100644
--- a/net-libs/ngtcp2/ngtcp2-9999.ebuild
+++ b/net-libs/ngtcp2/ngtcp2-9999.ebuild
@@ -37,6 +37,9 @@ 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
)