summaryrefslogtreecommitdiff
path: root/www-apache/mod_h2/mod_h2-2.0.33.ebuild
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2025-07-10 16:15:19 -0400
committerCraig Andrews <candrews@gentoo.org>2025-07-10 16:15:32 -0400
commit7d385470b8e111d24d247f54e2234f1cf679151c (patch)
treebb61ca0468ad6d5db3a213ee314799fb80421811 /www-apache/mod_h2/mod_h2-2.0.33.ebuild
parent61361db15d03a508721882e68839c30b3b4a5628 (diff)
downloadgentoo-7d385470b8e111d24d247f54e2234f1cf679151c.tar.gz
gentoo-7d385470b8e111d24d247f54e2234f1cf679151c.tar.bz2
gentoo-7d385470b8e111d24d247f54e2234f1cf679151c.zip
www-apache/mod_h2: add 2.0.33
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'www-apache/mod_h2/mod_h2-2.0.33.ebuild')
-rw-r--r--www-apache/mod_h2/mod_h2-2.0.33.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/www-apache/mod_h2/mod_h2-2.0.33.ebuild b/www-apache/mod_h2/mod_h2-2.0.33.ebuild
new file mode 100644
index 000000000000..6f95e6af559e
--- /dev/null
+++ b/www-apache/mod_h2/mod_h2-2.0.33.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"
+}