summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache/mod_h2')
-rw-r--r--www-apache/mod_h2/Manifest1
-rw-r--r--www-apache/mod_h2/mod_h2-1.15.23.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest
index 510d684e552b..37b4fc19c60b 100644
--- a/www-apache/mod_h2/Manifest
+++ b/www-apache/mod_h2/Manifest
@@ -5,3 +5,4 @@ DIST mod_h2-1.15.19.tar.gz 708753 BLAKE2B 9193e9b307ead341e90dffe4547de444a3f473
DIST mod_h2-1.15.20.tar.gz 707590 BLAKE2B 245b21d55c5659ed4ada3bfa5ec369ca3154e629820980caa1badefeca05399a31fb4f94594068607af20a6936e8ac2439b23e31ddcb9db8d4bb2c907400a152 SHA512 3492b24fdcb6371a5734b85253d800baa6f1650ae3c6b4d08539ec5436cbaaee2ed41fa9515fa36a94c281048f08970b20ccb6373077251a475f6831aaae8524
DIST mod_h2-1.15.21.tar.gz 720305 BLAKE2B 9abe84867a383b9dd9e0841403544abc94c95ddc9a735bdcfb420d5a14ddb7e6ff5832455659b62ed5e9c865f9c467970d1863510a4fa63c655242cdc83a54b6 SHA512 bf0ab88e07c59c38189f7c670512ff01abdf6110d05a344182c557724028734edf68eea5227ac9b5c400810621ae1d30efac2394a369fbf6ef9558e2b3bcd17c
DIST mod_h2-1.15.22.tar.gz 721713 BLAKE2B 59449f23b84cb3c0bb3a211af6c57bb6e5e77767466657addaa6cafd6cad96d7030f43785e98123af15c18fdf6ce3ec416d6e885661998d46962be5abf059159 SHA512 cc201edea4152ac8d82232a5e50f1ed6d4e358f04338d43dbdeb7cdd4f338dd8734b6f8b8febe0c9a8f2b67288d2db4bf12915f60c28935885b30b767a9043a1
+DIST mod_h2-1.15.23.tar.gz 721889 BLAKE2B 79f68d7d2bfb08886eb6cef22ce7b20961f2ff4c6045766c0abd296f389a85e0deafbbbae8465cedcc156e97a6f495cf50b2edb1170976509f72f3d2aff02036 SHA512 5358efd2de03efa89719b0714d674bf143f8331e52c78c10fd1a2a9c282a7932f9b8366a63006fce7d35e3d66a83d7083b8af577ab5bbeacfc240f703552071f
diff --git a/www-apache/mod_h2/mod_h2-1.15.23.ebuild b/www-apache/mod_h2/mod_h2-1.15.23.ebuild
new file mode 100644
index 000000000000..9d7e1b600b10
--- /dev/null
+++ b/www-apache/mod_h2/mod_h2-1.15.23.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+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
+ S="${WORKDIR}/${MY_P}"
+ SRC_URI="https://github.com/icing/mod_h2/archive/v${PV}.tar.gz -> ${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}"
+
+S="${WORKDIR}/${P}"
+
+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"
+}