summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2022-10-24 10:41:10 -0400
committerCraig Andrews <candrews@gentoo.org>2022-10-24 10:47:21 -0400
commit674d6d32e928f6fbefb71a1b9816435358e0644d (patch)
tree928c793aa08a3e993d8ee0c3af854792401767fb /www-apache
parentsys-kernel/gentoo-kernel-bin: Bump to 6.0.3 (diff)
downloadgentoo-674d6d32e928f6fbefb71a1b9816435358e0644d.tar.gz
gentoo-674d6d32e928f6fbefb71a1b9816435358e0644d.tar.bz2
gentoo-674d6d32e928f6fbefb71a1b9816435358e0644d.zip
www-apache/mod_h2: add 2.0.11
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_h2/Manifest1
-rw-r--r--www-apache/mod_h2/mod_h2-2.0.11.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest
index 1f8e7f8444ac..8bc28632ec58 100644
--- a/www-apache/mod_h2/Manifest
+++ b/www-apache/mod_h2/Manifest
@@ -1,2 +1,3 @@
DIST mod_h2-2.0.10.tar.gz 681662 BLAKE2B f4a8f1947881e1913bb45723a4e95ce12ecc8a113b837082abfba1fda278c1de026f45ca60a8b80dfab857ccdb2f2f00b4313672674cd6713f29bf64b26141b4 SHA512 4ca0ef69bd367625846e4b7b9967c9ab112f17b6bd31db5d61bc7315fab0294551dcf36845f2aabfa6944dd25a34dd0137c63ba0a969913c4d65a10854062a9e
+DIST mod_h2-2.0.11.tar.gz 681879 BLAKE2B e49de5c117c61fc462d6556602f6f975f61754feba6b33f331f391612d8bd447cf2ee8f546e6a5cc6dd766daee0b6678865fbf3e3ed5d670bf67008d14d337ad SHA512 b0dd3ac8e179b78141b2c523a79d9d790588b13988b853a91d99f0f30e4fe0207e17b7dd333d178450ddf4784dedd0fb88d3fd46b96272aa8af6ac7a38fb8d00
DIST mod_h2-2.0.9.tar.gz 679900 BLAKE2B 56cdef908cc5f95b860b4603122c0e7a09eddb8ae8c5f3173aef90971324810b8a9cbed778eb8ff5510f6a1d9cf101ee6d845631dc6b59e90f559cf462bc150e SHA512 68007181bca0c250c21be4f35fbc90be15bac4b74f32ef537c52ef4a1adc6619d7925e20e5562bfce182b5bc12159382a402f3aad7b94ac174c5b80c948a73c9
diff --git a/www-apache/mod_h2/mod_h2-2.0.11.ebuild b/www-apache/mod_h2/mod_h2-2.0.11.ebuild
new file mode 100644
index 000000000000..34f8a15777b3
--- /dev/null
+++ b/www-apache/mod_h2/mod_h2-2.0.11.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 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"
+}