diff options
author | Craig Andrews <candrews@gentoo.org> | 2024-10-17 13:37:54 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2024-10-17 13:38:36 -0400 |
commit | 94adb43c82a968f0435f0ae1f0342a8415a0bedb (patch) | |
tree | e499f142d1178971d00efb8f7ee2e5265715aaa0 /net-libs | |
parent | dev-python/wrapt: Bump to 1.17.0_rc1 (diff) | |
download | gentoo-94adb43c82a968f0435f0ae1f0342a8415a0bedb.tar.gz gentoo-94adb43c82a968f0435f0ae1f0342a8415a0bedb.tar.bz2 gentoo-94adb43c82a968f0435f0ae1f0342a8415a0bedb.zip |
net-libs/ngtcp2: add 1.8.1
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/ngtcp2/Manifest | 1 | ||||
-rw-r--r-- | net-libs/ngtcp2/ngtcp2-1.8.1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/net-libs/ngtcp2/Manifest b/net-libs/ngtcp2/Manifest index c361c82eb7a7..fb4e7f89e9cf 100644 --- a/net-libs/ngtcp2/Manifest +++ b/net-libs/ngtcp2/Manifest @@ -1,3 +1,4 @@ DIST ngtcp2-1.5.0.tar.xz 627464 BLAKE2B 6a6fc91f2755d9cbccd6118b53b56b0b4fd3b445c9a491a2d7469ad59d7fe1983516eb79242196db009e7b0875c4db5305bd4c285d2437073b605033f812084d SHA512 6c05beccac5d53c575ceaa594ac6b1d91ae9f0be01394b3520e84b51a44d3c6a71612c2c6f613d3d1b9d2992a83a68696fedbfdc3842f02d4009c95b463ad97f DIST ngtcp2-1.7.0.tar.xz 631072 BLAKE2B 1a1ce134c54974418c0cf0bacc09a770e29cd7c7bfc44a2b5420f3bef3e70502f610bee4e9bb5ed9b87024153aa9390d5a233d2d6e2689166e1079e0e4f52600 SHA512 6efa42d17772fde00d9d0a67f2cbcf0704a8462c7305a5e3f213d1e98c9302a1ceee847081ecef358c7a421db56236e571a1ad9ff7fa5f5037987c5cb14e517d DIST ngtcp2-1.8.0.tar.xz 632052 BLAKE2B efa8de7e8405c1360de1c8043e66e236024cacebd8be7564e2575cc568daede15ca6ceafa415b7c579a4fc205a507d6731cbff5c5a88dfab70e356f846012150 SHA512 4bb838ed94977515ad7fcd86bbafddfb9733264999b268c109b8f487caf01967b0e6d9d0791f19aa549177a375a7d4182662f14b09e7dc5240fa03b68de16235 +DIST ngtcp2-1.8.1.tar.xz 625204 BLAKE2B c86e975d0c41971c3671d31e152a1b65950135ea8a7c120665ef8466484da1c7d4543afd5552a917dae7bc241c9e66a4729c06be4d9e101952b9e5ce7d4ab66e SHA512 18728ee0376de319a99c3c5a294a7250a8fefa82fd530f0f2882540da2bada2451644898561be6bb6d95e6c8b7e129337edefe3e71d5ca820beb67db0db7d331 diff --git a/net-libs/ngtcp2/ngtcp2-1.8.1.ebuild b/net-libs/ngtcp2/ngtcp2-1.8.1.ebuild new file mode 100644 index 000000000000..789b94518acb --- /dev/null +++ b/net-libs/ngtcp2/ngtcp2-1.8.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 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 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~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 ) ) test? ( static-libs )" + +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 + -DBUILD_TESTING=$(usex test) + ) + cmake_src_configure +} + +multilib_src_test() { + cmake_build check +} |