www-apache/mod_h2: add 2.0.10

Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
Craig Andrews
2022-10-11 09:52:13 -04:00
parent bc47942a4d
commit a0ad918872
2 changed files with 50 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST mod_h2-2.0.10.tar.gz 681662 BLAKE2B f4a8f1947881e1913bb45723a4e95ce12ecc8a113b837082abfba1fda278c1de026f45ca60a8b80dfab857ccdb2f2f00b4313672674cd6713f29bf64b26141b4 SHA512 4ca0ef69bd367625846e4b7b9967c9ab112f17b6bd31db5d61bc7315fab0294551dcf36845f2aabfa6944dd25a34dd0137c63ba0a969913c4d65a10854062a9e
DIST mod_h2-2.0.9.tar.gz 679900 BLAKE2B 56cdef908cc5f95b860b4603122c0e7a09eddb8ae8c5f3173aef90971324810b8a9cbed778eb8ff5510f6a1d9cf101ee6d845631dc6b59e90f559cf462bc150e SHA512 68007181bca0c250c21be4f35fbc90be15bac4b74f32ef537c52ef4a1adc6619d7925e20e5562bfce182b5bc12159382a402f3aad7b94ac174c5b80c948a73c9
+49
View File
@@ -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"
}