summaryrefslogtreecommitdiff
path: root/www-apache
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_h2/Manifest1
-rw-r--r--www-apache/mod_h2/mod_h2-2.0.35.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest
index 31dc8bcd8faf..5a07e16fa422 100644
--- a/www-apache/mod_h2/Manifest
+++ b/www-apache/mod_h2/Manifest
@@ -1 +1,2 @@
DIST mod_h2-2.0.34.tar.gz 700355 BLAKE2B 38d6ce7c9480b55a07f078d1712fc674a82f5069d12647bbffdbda64a3413a554bdd8cec727972efcdb45d0ddb3304fb250bc71dd9b5047a8f50482d4529904f SHA512 f1bcd9528415e22e163a8a24d70dc090c14d17cd2c50a0cf6eaa4d07d5ab15c27f0267b1bd2d15b9044901d68ebe26ab69c339d89fedc91ec6bed0673bda0eae
+DIST mod_h2-2.0.35.tar.gz 701449 BLAKE2B ab48f47846b7e7e1254e1a234c7c7bf5c711b5ac77c638dc804ec719a5551ae8a834126e8f9211cbeb0a84adfe70eee1af094f2e73f2c81d61c14d2fab081a14 SHA512 cf74732219a570aa1028bf0bab7cfa6389f45e7b48e02fda09b8f5c80e7337868d53187c671d336d92ceb42e4ce9a1bfe8b2a2a68b421ad43d42eabb6a2ca973
diff --git a/www-apache/mod_h2/mod_h2-2.0.35.ebuild b/www-apache/mod_h2/mod_h2-2.0.35.ebuild
new file mode 100644
index 000000000000..6f95e6af559e
--- /dev/null
+++ b/www-apache/mod_h2/mod_h2-2.0.35.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"
+}