commit: 6a164b7c79411031e69d151bf0eaac0a36f7e609
Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 17:40:06 2025 +0000
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 17:40:46 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a164b7c
www-apache/mod_h2: add 2.0.31
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
www-apache/mod_h2/Manifest | 1 +
www-apache/mod_h2/mod_h2-2.0.31.ebuild | 49 ++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest
index 98dc95d573e4..de895d5588c1 100644
--- a/www-apache/mod_h2/Manifest
+++ b/www-apache/mod_h2/Manifest
@@ -1 +1,2 @@
DIST mod_h2-2.0.30.tar.gz 697315 BLAKE2B
e61f2f705399dd3312e94d7d30ca9445729ac5572f8e6bbc18ca578189d91155f2bc8fe9f7adfe540c95b00752f1b17f45fb5e24e7ba2fcf44a6e4678773e739
SHA512
b31e49dd3c4c7478335e8c6c3118430fc8236e21957fe481390df0578e5b91159c092ece55924411b6ce5d412ef76aab9553fe676b07746815bf790b81416840
+DIST mod_h2-2.0.31.tar.gz 697396 BLAKE2B
a078fcb9f98cb969a68dcca1507e8781d907e0b7ff9f54b9a7ee36560c24d779c29b3188747c2e89a788f382e5f0e27a52cd1ca02bf268675c0c412f3936bd13
SHA512
5dd3a2e10a7d1572a2392378808d451b2afe6ce87360d30ba8ff1f8d3d1f0f7c58e405cfb6d22ed53bb6ba38dcea3cc267c12c058786b8b51d3922d21e9c71f7
diff --git a/www-apache/mod_h2/mod_h2-2.0.31.ebuild
b/www-apache/mod_h2/mod_h2-2.0.31.ebuild
new file mode 100644
index 000000000000..6f95e6af559e
--- /dev/null
+++ b/www-apache/mod_h2/mod_h2-2.0.31.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit apache-module autotools
+
+MY_P="${PN/h2/http2}-${PV}"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/icing/mod_h2.git"
+ inherit git-r3
+else
+ MY_PV="${PV/_rc/-rc}"
+ MY_P="${PN}-${MY_PV}"
+ S="${WORKDIR}/${MY_P}"
+ SRC_URI="https://github.com/icing/mod_h2/archive/v${MY_PV}.tar.gz ->
${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="HTTP/2 module for Apache"
+HOMEPAGE="https://github.com/icing/mod_h2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="ssl"
+
+RDEPEND=">=net-libs/nghttp2-1.0
+ >=www-servers/apache-2.4.48[-apache2_modules_http2,ssl?]"
+DEPEND="${RDEPEND}"
+
+need_apache2_4
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_compile() {
+ default
+}
+
+src_install() {
+ default
+
+ APACHE2_MOD_DEFINE="HTTP2"
+ insinto "${APACHE_MODULES_CONFDIR}"
+ newins "${FILESDIR}/mod_http2.conf" "41_mod_http2.conf"
+}