diff options
author | Craig Andrews <candrews@gentoo.org> | 2022-10-11 09:51:47 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2022-10-11 09:52:13 -0400 |
commit | a0ad9188720bd7d80d559ea1fab3c8dcb2efd5b2 (patch) | |
tree | e9ec5ef1d7f8cb4c75d06f53269d27f42e45fd4b /www-apache | |
parent | gnome-extra/gnome-shell-extension-pop-shell: add 1.2.0_p20220928 (diff) | |
download | gentoo-a0ad9188720bd7d80d559ea1fab3c8dcb2efd5b2.tar.gz gentoo-a0ad9188720bd7d80d559ea1fab3c8dcb2efd5b2.tar.bz2 gentoo-a0ad9188720bd7d80d559ea1fab3c8dcb2efd5b2.zip |
www-apache/mod_h2: add 2.0.10
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_h2/Manifest | 1 | ||||
-rw-r--r-- | www-apache/mod_h2/mod_h2-2.0.10.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest index 3a0752de8c35..1f8e7f8444ac 100644 --- a/www-apache/mod_h2/Manifest +++ b/www-apache/mod_h2/Manifest @@ -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 diff --git a/www-apache/mod_h2/mod_h2-2.0.10.ebuild b/www-apache/mod_h2/mod_h2-2.0.10.ebuild new file mode 100644 index 000000000000..34f8a15777b3 --- /dev/null +++ b/www-apache/mod_h2/mod_h2-2.0.10.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" +} |