Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_h2/
Date: Fri, 03 Dec 2021 20:26:47
Message-Id: 1638563198.3a1f5815e4c15fb1dbc88246356152b663e7b29a.candrews@gentoo
1 commit: 3a1f5815e4c15fb1dbc88246356152b663e7b29a
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 3 20:26:08 2021 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 3 20:26:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1f5815
7
8 www-apache/mod_h2: 2.0.1 version bump
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
12
13 www-apache/mod_h2/Manifest | 1 +
14 www-apache/mod_h2/mod_h2-2.0.1.ebuild | 49 +++++++++++++++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest
18 index cc7d19c5a950..a2648c6ac71c 100644
19 --- a/www-apache/mod_h2/Manifest
20 +++ b/www-apache/mod_h2/Manifest
21 @@ -1 +1,2 @@
22 DIST mod_h2-2.0.0.tar.gz 662677 BLAKE2B caefb52696917646a773b378183261e14b7559b52ccfe99641f4ceb536bd908cda3888eed8ea447436073d53d9a5bd3a50bd05aaaa0b71ca52d94c3d7faa03d4 SHA512 95c3efd3b5cf2aab1c7bd47d72df43b2dc26757efc9d1452b8d654b50398073f414dfa70dfb2333c96c4c79649e868cff518040fccfb95cf6b44dfea73022d75
23 +DIST mod_h2-2.0.1.tar.gz 664404 BLAKE2B 94ee488f205e4ca0fdeb40e743b5679208698af97a33f965b2828e2b4f66bed4bb4ca99a23113039ed4766c73aa0aaf00377d379cfd52a5f605c197269702303 SHA512 2e2d6fb01abe34549a6ea81f33356ebbc667223d5ccb23f3027685deb9a4482cacf26be8d5cd30738afbf52be4f777f896bb8c0061bbfbbfc4ea5f2ace267468
24
25 diff --git a/www-apache/mod_h2/mod_h2-2.0.1.ebuild b/www-apache/mod_h2/mod_h2-2.0.1.ebuild
26 new file mode 100644
27 index 000000000000..352e2e78dea4
28 --- /dev/null
29 +++ b/www-apache/mod_h2/mod_h2-2.0.1.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit apache-module autotools
37 +
38 +MY_P="${PN/h2/http2}-${PV}"
39 +
40 +if [[ ${PV} == 9999 ]] ; then
41 + EGIT_REPO_URI="https://github.com/icing/mod_h2.git"
42 + inherit git-r3
43 +else
44 + MY_PV="${PV/_rc/-rc}"
45 + MY_P="${PN}-${MY_PV}"
46 + S="${WORKDIR}/${MY_P}"
47 + SRC_URI="https://github.com/icing/mod_h2/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
48 + KEYWORDS="~amd64 ~x86"
49 +fi
50 +
51 +DESCRIPTION="HTTP/2 module for Apache"
52 +HOMEPAGE="https://github.com/icing/mod_h2"
53 +
54 +LICENSE="Apache-2.0"
55 +SLOT="0"
56 +IUSE="ssl"
57 +
58 +RDEPEND=">=net-libs/nghttp2-1.0
59 + >=www-servers/apache-2.4.48[-apache2_modules_http2,ssl?]"
60 +DEPEND="${RDEPEND}"
61 +
62 +need_apache2_4
63 +
64 +src_prepare() {
65 + default
66 + eautoreconf
67 +}
68 +
69 +src_compile() {
70 + default
71 +}
72 +
73 +src_install() {
74 + default
75 +
76 + APACHE2_MOD_DEFINE="HTTP2"
77 + insinto "${APACHE_MODULES_CONFDIR}"
78 + newins "${FILESDIR}/mod_http2.conf" "41_mod_http2.conf"
79 +}