From 59c803bef0bf9b4f167918783e386c3ddb746751 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 24 May 2023 15:02:35 +0100 Subject: gentoo auto-resync : 24:05:2023 - 15:02:35 --- www-apache/mod_h2/mod_h2-2.0.17.ebuild | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 www-apache/mod_h2/mod_h2-2.0.17.ebuild (limited to 'www-apache/mod_h2/mod_h2-2.0.17.ebuild') diff --git a/www-apache/mod_h2/mod_h2-2.0.17.ebuild b/www-apache/mod_h2/mod_h2-2.0.17.ebuild new file mode 100644 index 000000000000..5ba43634b8e0 --- /dev/null +++ b/www-apache/mod_h2/mod_h2-2.0.17.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 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" +} -- cgit v1.2.3