summaryrefslogtreecommitdiff
path: root/net-libs/nghttp2
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/nghttp2')
-rw-r--r--net-libs/nghttp2/Manifest11
-rw-r--r--net-libs/nghttp2/files/nghttp2-1.63.0-cares.patch38
-rw-r--r--net-libs/nghttp2/nghttp2-1.61.0.ebuild2
-rw-r--r--net-libs/nghttp2/nghttp2-1.62.0.ebuild2
-rw-r--r--net-libs/nghttp2/nghttp2-1.62.1.ebuild2
-rw-r--r--net-libs/nghttp2/nghttp2-1.63.0.ebuild65
-rw-r--r--net-libs/nghttp2/nghttp2-1.64.0.ebuild61
7 files changed, 175 insertions, 6 deletions
diff --git a/net-libs/nghttp2/Manifest b/net-libs/nghttp2/Manifest
index 505033e98b7b..199b8adc22f6 100644
--- a/net-libs/nghttp2/Manifest
+++ b/net-libs/nghttp2/Manifest
@@ -1,8 +1,13 @@
+AUX nghttp2-1.63.0-cares.patch 1597 BLAKE2B 769af899d2d78dbfd130a93ec315d681d63e50ce82cda8c70bb91909084f79764b1ec9965b69a5ea9eba2423e6327d7b9c8eaeeff396864b8445aa1fc18bcc25 SHA512 8ca2c7e3e6e9161021bbaaff123c2d347e9458c64320d22e51e90522b09ea62a6d3ac22280384b901f7efe32b6aac47edb732f4a66af00a76878076a70f765c4
DIST nghttp2-1.61.0.tar.xz 1645808 BLAKE2B e78fb94cc9234260447f0d3610e58e22f9eadc2dd8b79eec3c1bb10d5c03ad3a87f83d54e560e5bbdef5d60086c00b465caabca145485ecd636aa35a2cda616f SHA512 01e930d7caf464699505f92b76e2bc8192d168612dc564d2546812c42afea2fb81d552d70e8a5fed35e2bf5deadbec8eda095af94a2484bca41542988afce52a
DIST nghttp2-1.62.0.tar.xz 1646596 BLAKE2B 156fe3cd401e89cb9416c3281318f955abe86909d249108781f8eaeb0ff3df791f083ae6fc7bfe04350b91ffeaf8d8799d138d9d7cc9f5121a344f69f7473915 SHA512 1674e269dcf1067312056e5ea0e7108a48a177888fbaae5a194bddcc9640babc996d86e74e3160cd0dc4a360f0440441116259f3b44a3ca5fea081cdff7e7c88
DIST nghttp2-1.62.1.tar.xz 1606084 BLAKE2B 460152f08b4ebd98453b95b737e0729648b95e808e845114a47a23e39fb3c68bf5d165d71467fbca8069fd5e64a63eeedd025919af4e2186da083caa21b93130 SHA512 d5d6b068712e9b467547b0e5380465b8540317134f3f26c2b0c60eb9c604be2f37b4517a98b371d5f5fb668ce2ee35603ddd944224f11e96382aa541a6a17b4c
-EBUILD nghttp2-1.61.0.ebuild 1822 BLAKE2B 1d2d6370b078a22c748f98dca91df6a83e312e50795434fd2024a77298c55d649bce4c1f9a01f8c0f890690e5d2398834cb814b4d4c2d2c2166a6038d110dc61 SHA512 8927e6ae9a364be9c06a8319c456aa0e4bf158f8245635c351c4c749e6ea7908048e07014bc8f67b193843917a61c362b9f3a5fd67206381b66c46a5a8cddd0b
-EBUILD nghttp2-1.62.0.ebuild 1830 BLAKE2B ce3b1c2af28379daaff576f36a6d31bcbcffd9502008b0490b40a2b7612a4ed6d4f00261fa34209141bbbca301fde7266ddbefba33d52446b65bf2f5ce1c175c SHA512 c4f54e398a646f5b7f88f1b9c945569fe296a1d03c5791e2ffeb6d6756626ab9356f23068780371c5446181aba7239f94af34fe4269a7c7373fbbfe0b7a444be
-EBUILD nghttp2-1.62.1.ebuild 1824 BLAKE2B b782a828b6ffbe30cfc57d46d8c315a18a64122e79b213d74b2312488b711e832725a16b01f1e6384167034a0375e432e58030dc161be2824d311143953c8a9e SHA512 3453af217af042642ae7b34e7d58355e317e568a4fc4e756e9bcf6be2244390f283b9fbf6b0997ee1a29c8b4b20c19ba233f1d2dcc23a9fc59914226356e42e0
+DIST nghttp2-1.63.0.tar.xz 1606480 BLAKE2B 8c4158b8855b3b4b0a576f5cc894f77f88bab35bbb995809c7494bd73030d50d0189153ef5434a3071267bc6f198ea3ff5d7e3bd8bac4299fb8fbf3be91e11c7 SHA512 ac5005f33664981e194730223881f4207c9570cb8d9bba51b5592a3e7eb59455ebe25bf190211811513c64497a1b42ec7a82cc7f810059f46c99a83dd2d6cef9
+DIST nghttp2-1.64.0.tar.xz 1676124 BLAKE2B e2cad95fbe8447e99728af3ad7656d4dd2d1f51f31294bd38b6c69ee07e6e8e6302c124d47e6274a9a1531257a90bcc5833de390ac704b4b3adf435b9ce38fc9 SHA512 b544196c3b7a55faacd11700d11e2fe4f16a7418282c9abb24a668544a15293580fd1a2cc5f93367c8a17c7ee45335c6d2f5c68a72dd176d516fd033f203eeec
+EBUILD nghttp2-1.61.0.ebuild 1816 BLAKE2B 53ee685bca4dd3040979ecae97195b30caec91d09ddd91b0235de955b7848192bdc3c26c6d8d4efd3e5011ff5f0d669c5a7e403925432393c926d976aea6ee05 SHA512 8683d54a28e42d8f5d5b2e25ee360d4a7f2e9ada858afac520c943ec93934971108edf2e3051ee48dd2fa603fe00e95411ab84bc4cfdd8d9ceea9ba30c1320cb
+EBUILD nghttp2-1.62.0.ebuild 1824 BLAKE2B fb8c4290e0ab6644f18a426939b7cd7414df5485e1a0a5266ad738c9a9e850f93112c3b02c468a851b6cb6dd037ab7b181f932f40df5105fe52037b95fd1e7b4 SHA512 d4000103a106b619f1dddc9d8e0327e856219254bbf5a12c985ebc1c3b78d5895720eedbaa511cb108a8479698ba45a89973ef0c12bf3edeb59f82757fff35c3
+EBUILD nghttp2-1.62.1.ebuild 1816 BLAKE2B 53ee685bca4dd3040979ecae97195b30caec91d09ddd91b0235de955b7848192bdc3c26c6d8d4efd3e5011ff5f0d669c5a7e403925432393c926d976aea6ee05 SHA512 8683d54a28e42d8f5d5b2e25ee360d4a7f2e9ada858afac520c943ec93934971108edf2e3051ee48dd2fa603fe00e95411ab84bc4cfdd8d9ceea9ba30c1320cb
+EBUILD nghttp2-1.63.0.ebuild 1869 BLAKE2B 08b5b903ed8440379509222d16fc8f6267a1305d0ae2bcfcd5aa6b037e9ea197d389ffe2a71d2e00f146fc8dd39986b2d1d52ab1d6936fd91f3e73d60375811e SHA512 fb915a43110399a8eaccf5731df8153670c148d4c99d18bb9741680e5f39a03975ee3bcd48ba8684012ac89a5e9694d17b0a9120eb369e7720eb8181aebe1d13
+EBUILD nghttp2-1.64.0.ebuild 1824 BLAKE2B fb8c4290e0ab6644f18a426939b7cd7414df5485e1a0a5266ad738c9a9e850f93112c3b02c468a851b6cb6dd037ab7b181f932f40df5105fe52037b95fd1e7b4 SHA512 d4000103a106b619f1dddc9d8e0327e856219254bbf5a12c985ebc1c3b78d5895720eedbaa511cb108a8479698ba45a89973ef0c12bf3edeb59f82757fff35c3
EBUILD nghttp2-9999.ebuild 1607 BLAKE2B 86247f2c6086da22f6d506e8e31c63d558aa45276d2deb202ca515c35034419829be8b6fef0be10b15367b6880ee35f7b62cae6424ecf6c7ae2cac90b090f3bb SHA512 e30a674093644da312f76a7ce8c25ae468c95bbf2e3b69c8618cb21b3852799dfeb674007ae5694d77de46c093228f97c517fcc23e9791fd42c708e55431114e
MISC metadata.xml 553 BLAKE2B 694d0da32dab7f6eebd3b83a12b490b62d262de96e2bbb5c5822befbac792bc560cfe21c194d83d1afabf725967e0508c65057c8382904353abb0219d5ff3338 SHA512 4bce2e01c0b64eee279fc8a425393acf63e859a8b63346ddb2c5486d913bc58d0485d4c7fd6663bec88b070f21b6c9bbfd28e5775dbcbee02248e631610becd0
diff --git a/net-libs/nghttp2/files/nghttp2-1.63.0-cares.patch b/net-libs/nghttp2/files/nghttp2-1.63.0-cares.patch
new file mode 100644
index 000000000000..ed5286673211
--- /dev/null
+++ b/net-libs/nghttp2/files/nghttp2-1.63.0-cares.patch
@@ -0,0 +1,38 @@
+https://bugs.gentoo.org/941453
+https://github.com/nghttp2/nghttp2/issues/2253
+https://github.com/nghttp2/nghttp2/pull/2256
+https://github.com/nghttp2/nghttp2/commit/1ee4636528b1a8ea6769496750dda05f12104fa8
+
+From 1ee4636528b1a8ea6769496750dda05f12104fa8 Mon Sep 17 00:00:00 2001
+From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
+Date: Tue, 15 Oct 2024 19:25:12 +0900
+Subject: [PATCH] cmake: Fix c-ares v1.34.0 version detection failure
+
+--- a/cmake/FindLibcares.cmake
++++ b/cmake/FindLibcares.cmake
+@@ -17,12 +17,18 @@ find_library(LIBCARES_LIBRARY
+ )
+
+ if(LIBCARES_INCLUDE_DIR)
+- set(_version_regex "^#define[ \t]+ARES_VERSION_STR[ \t]+\"([^\"]+)\".*")
+- file(STRINGS "${LIBCARES_INCLUDE_DIR}/ares_version.h"
+- LIBCARES_VERSION REGEX "${_version_regex}")
+- string(REGEX REPLACE "${_version_regex}" "\\1"
+- LIBCARES_VERSION "${LIBCARES_VERSION}")
+- unset(_version_regex)
++ file(READ "${LIBCARES_INCLUDE_DIR}/ares_version.h" _ares_version_h)
++ string(REGEX REPLACE ".*#define[ \t]+ARES_VERSION_MAJOR[ \t]+([0-9]+).*" "\\1"
++ _ares_version_major ${_ares_version_h})
++ string(REGEX REPLACE ".*#define[ \t]+ARES_VERSION_MINOR[ \t]+([0-9]+).*" "\\1"
++ _ares_version_minor ${_ares_version_h})
++ string(REGEX REPLACE ".*#define[ \t]+ARES_VERSION_PATCH[ \t]+([0-9]+).*" "\\1"
++ _ares_version_patch ${_ares_version_h})
++ set(LIBCARES_VERSION "${_ares_version_major}.${_ares_version_minor}.${_ares_version_patch}")
++ unset(_ares_version_patch)
++ unset(_ares_version_minor)
++ unset(_ares_version_major)
++ unset(_ares_version_h)
+ endif()
+
+ include(FindPackageHandleStandardArgs)
+
diff --git a/net-libs/nghttp2/nghttp2-1.61.0.ebuild b/net-libs/nghttp2/nghttp2-1.61.0.ebuild
index 3f8e52d14272..ea8616811ed6 100644
--- a/net-libs/nghttp2/nghttp2-1.61.0.ebuild
+++ b/net-libs/nghttp2/nghttp2-1.61.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz
LICENSE="MIT"
SLOT="0/1.14" # 1.<SONAME>
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="debug hpack-tools jemalloc static-libs systemd test utils xml"
REQUIRED_USE="test? ( static-libs )"
diff --git a/net-libs/nghttp2/nghttp2-1.62.0.ebuild b/net-libs/nghttp2/nghttp2-1.62.0.ebuild
index 52ec575055cf..040b77645d76 100644
--- a/net-libs/nghttp2/nghttp2-1.62.0.ebuild
+++ b/net-libs/nghttp2/nghttp2-1.62.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz
LICENSE="MIT"
SLOT="0/1.14" # 1.<SONAME>
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="debug hpack-tools jemalloc static-libs systemd test utils xml"
REQUIRED_USE="test? ( static-libs )"
diff --git a/net-libs/nghttp2/nghttp2-1.62.1.ebuild b/net-libs/nghttp2/nghttp2-1.62.1.ebuild
index 38e73ec93643..ea8616811ed6 100644
--- a/net-libs/nghttp2/nghttp2-1.62.1.ebuild
+++ b/net-libs/nghttp2/nghttp2-1.62.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz
LICENSE="MIT"
SLOT="0/1.14" # 1.<SONAME>
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="debug hpack-tools jemalloc static-libs systemd test utils xml"
REQUIRED_USE="test? ( static-libs )"
diff --git a/net-libs/nghttp2/nghttp2-1.63.0.ebuild b/net-libs/nghttp2/nghttp2-1.63.0.ebuild
new file mode 100644
index 000000000000..54c2599e4f59
--- /dev/null
+++ b/net-libs/nghttp2/nghttp2-1.63.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="HTTP/2 C Library"
+HOMEPAGE="https://nghttp2.org/"
+SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0/1.14" # 1.<SONAME>
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="debug hpack-tools jemalloc static-libs systemd test utils xml"
+
+REQUIRED_USE="test? ( static-libs )"
+RESTRICT="!test? ( test )"
+
+SSL_DEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist(-),${MULTILIB_USEDEP}]
+"
+RDEPEND="
+ hpack-tools? ( >=dev-libs/jansson-2.5:= )
+ jemalloc? ( dev-libs/jemalloc:=[${MULTILIB_USEDEP}] )
+ utils? (
+ ${SSL_DEPEND}
+ >=dev-libs/libev-4.15[${MULTILIB_USEDEP}]
+ >=sys-libs/zlib-1.2.3[${MULTILIB_USEDEP}]
+ net-dns/c-ares:=[${MULTILIB_USEDEP}]
+ )
+ systemd? ( >=sys-apps/systemd-209 )
+ xml? ( >=dev-libs/libxml2-2.7.7:2[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-cares.patch
+)
+
+multilib_src_configure() {
+ #TODO: enable HTTP3
+ #requires quictls/openssl, libngtcp2, libngtcp2_crypto_quictls, libnghttp3
+ local mycmakeargs=(
+ -DENABLE_EXAMPLES=OFF
+ -DENABLE_FAILMALLOC=OFF
+ -DENABLE_HTTP3=OFF
+ -DENABLE_WERROR=OFF
+ -DENABLE_THREADS=ON
+ -DENABLE_DEBUG=$(usex debug)
+ -DENABLE_HPACK_TOOLS=$(multilib_native_usex hpack-tools)
+ $(cmake_use_find_package hpack-tools Jansson)
+ -DWITH_JEMALLOC=$(multilib_native_usex jemalloc)
+ -DBUILD_STATIC_LIBS=$(usex static-libs)
+ -DBUILD_TESTING=$(usex test)
+ $(cmake_use_find_package systemd Systemd)
+ -DENABLE_APP=$(multilib_native_usex utils)
+ -DWITH_LIBXML2=$(multilib_native_usex xml)
+ )
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ eninja check
+}
diff --git a/net-libs/nghttp2/nghttp2-1.64.0.ebuild b/net-libs/nghttp2/nghttp2-1.64.0.ebuild
new file mode 100644
index 000000000000..040b77645d76
--- /dev/null
+++ b/net-libs/nghttp2/nghttp2-1.64.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="HTTP/2 C Library"
+HOMEPAGE="https://nghttp2.org/"
+SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0/1.14" # 1.<SONAME>
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="debug hpack-tools jemalloc static-libs systemd test utils xml"
+
+REQUIRED_USE="test? ( static-libs )"
+RESTRICT="!test? ( test )"
+
+SSL_DEPEND="
+ >=dev-libs/openssl-1.0.2:0=[-bindist(-),${MULTILIB_USEDEP}]
+"
+RDEPEND="
+ hpack-tools? ( >=dev-libs/jansson-2.5:= )
+ jemalloc? ( dev-libs/jemalloc:=[${MULTILIB_USEDEP}] )
+ utils? (
+ ${SSL_DEPEND}
+ >=dev-libs/libev-4.15[${MULTILIB_USEDEP}]
+ >=sys-libs/zlib-1.2.3[${MULTILIB_USEDEP}]
+ net-dns/c-ares:=[${MULTILIB_USEDEP}]
+ )
+ systemd? ( >=sys-apps/systemd-209 )
+ xml? ( >=dev-libs/libxml2-2.7.7:2[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+multilib_src_configure() {
+ #TODO: enable HTTP3
+ #requires quictls/openssl, libngtcp2, libngtcp2_crypto_quictls, libnghttp3
+ local mycmakeargs=(
+ -DENABLE_EXAMPLES=OFF
+ -DENABLE_FAILMALLOC=OFF
+ -DENABLE_HTTP3=OFF
+ -DENABLE_WERROR=OFF
+ -DENABLE_THREADS=ON
+ -DENABLE_DEBUG=$(usex debug)
+ -DENABLE_HPACK_TOOLS=$(multilib_native_usex hpack-tools)
+ $(cmake_use_find_package hpack-tools Jansson)
+ -DWITH_JEMALLOC=$(multilib_native_usex jemalloc)
+ -DBUILD_STATIC_LIBS=$(usex static-libs)
+ -DBUILD_TESTING=$(usex test)
+ $(cmake_use_find_package systemd Systemd)
+ -DENABLE_APP=$(multilib_native_usex utils)
+ -DWITH_LIBXML2=$(multilib_native_usex xml)
+ )
+ cmake_src_configure
+}
+
+multilib_src_test() {
+ eninja check
+}