diff options
author | Craig Andrews <candrews@gentoo.org> | 2021-09-28 10:23:30 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2021-09-28 10:23:52 -0400 |
commit | db7098b0d5db839dbf33362a29925d6d90bf43bc (patch) | |
tree | 3fdbba4dca0a3eb6987cf0f8c373bdc876ecdb99 /www-apache | |
parent | dev-perl/Package-Stash: Keyword 0.390.0 for ~m68k (diff) | |
download | gentoo-db7098b0d5db839dbf33362a29925d6d90bf43bc.tar.gz gentoo-db7098b0d5db839dbf33362a29925d6d90bf43bc.tar.bz2 gentoo-db7098b0d5db839dbf33362a29925d6d90bf43bc.zip |
www-apache/mod_h2: 2.0.0_rc2 version bump
Package-Manager: Portage-3.0.24, Repoman-3.0.3
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.0_rc2.ebuild | 49 | ||||
-rw-r--r-- | www-apache/mod_h2/mod_h2-9999.ebuild | 6 |
3 files changed, 53 insertions, 3 deletions
diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest index f830dfc1092f..2a0db9d0cb25 100644 --- a/www-apache/mod_h2/Manifest +++ b/www-apache/mod_h2/Manifest @@ -1 +1,2 @@ DIST mod_h2-1.15.24.tar.gz 664134 BLAKE2B 37795ee308d62f74583d7e37c262fca2ba235f025aa96314b1edb66e9900fef61f225d4143460e0bb29d46251c6aae8540ac667deb7eef8febc5fcc92c954b82 SHA512 3988e75b4b0ddb9361b559971a0e2c4c3af225d16bde6bf17ece33993487e6b4b6d66c874fede3cca97f40e9a83b500cf356546f7e83391fb81d5ec649a53fd0 +DIST mod_h2-2.0.0-rc2.tar.gz 655944 BLAKE2B d96d9196359bd7f6fb593a148a08a974e82a5e296c893526501c3e6c60f36581bc89548098e5ff6e42428d400cd8b7b44787ea97f7d0dbcd7d4da1db19c25ac8 SHA512 2c41fbe3d780452507d15b88fafe62c3386de023cc22181b7f077dd72e9c7738b6671494ba6e9c59f09df740ec4ec76dc42a9188e294b7900c97f1975038c0e2 diff --git a/www-apache/mod_h2/mod_h2-2.0.0_rc2.ebuild b/www-apache/mod_h2/mod_h2-2.0.0_rc2.ebuild new file mode 100644 index 000000000000..352e2e78dea4 --- /dev/null +++ b/www-apache/mod_h2/mod_h2-2.0.0_rc2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 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" +} diff --git a/www-apache/mod_h2/mod_h2-9999.ebuild b/www-apache/mod_h2/mod_h2-9999.ebuild index 5b9dbe992073..352e2e78dea4 100644 --- a/www-apache/mod_h2/mod_h2-9999.ebuild +++ b/www-apache/mod_h2/mod_h2-9999.ebuild @@ -11,8 +11,10 @@ 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${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/icing/mod_h2/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz" KEYWORDS="~amd64 ~x86" fi @@ -27,8 +29,6 @@ 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() { |