mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 18:47:16 -08:00
net-libs/ngtcp2: drop 1.7.0-r1, 1.10.0-r1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST ngtcp2-1.10.0.tar.xz 636296 BLAKE2B 21ca85ed0652d9c3721f1a8dcb890bc21ea37bb49095c3fcc418e818462629463f4410e169465ff19960b09e47684e99b9fc713919f114c3ef765cc2d754aadb SHA512 de61f9c2b8135d0d08740215002a3e1688f93825ce6ab6d074ce36569bde0e789d4f1a2abd708773c4ab123c4584e94f0eeee8f7e8ef238891f9bb36be001f9b
|
||||
DIST ngtcp2-1.11.0.tar.xz 652904 BLAKE2B 138a0e10cdca8ca3a38718ddd0155cea7ed8493483186d1242e7b949477774fe8d67b00f07688e1c098984598125c3e137fa697198efe0f64d3c562961a84b94 SHA512 8c4c8faa24d34e8d6c66df99ba7f3a4dbae689b38bf2bfa68e147af11abc050dc1de790ffc5de1f7379405c91d736f67e58d5661c2d2b72126ba079fadee72d3
|
||||
DIST ngtcp2-1.7.0.tar.xz 631072 BLAKE2B 1a1ce134c54974418c0cf0bacc09a770e29cd7c7bfc44a2b5420f3bef3e70502f610bee4e9bb5ed9b87024153aa9390d5a233d2d6e2689166e1079e0e4f52600 SHA512 6efa42d17772fde00d9d0a67f2cbcf0704a8462c7305a5e3f213d1e98c9302a1ceee847081ecef358c7a421db56236e571a1ad9ff7fa5f5037987c5cb14e517d
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2025 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"
|
||||
# Without static-libs, src_test just won't run any tests and "pass".
|
||||
REQUIRED_USE="ssl? ( || ( gnutls openssl ) ) test? ( static-libs )"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-3.7.2:=[${MULTILIB_USEDEP}] )
|
||||
openssl? ( >=dev-libs/openssl-1.1.1:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.10.0-munit-c23.patch
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2025 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:=[${MULTILIB_USEDEP}] )
|
||||
openssl? ( >=dev-libs/openssl-1.1.1:=[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user