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: Mon, 30 Jan 2023 14:24:33
Message-Id: 1675088666.f2e012c492e525a92e739669f7e97ee910ac876a.candrews@gentoo
1 commit: f2e012c492e525a92e739669f7e97ee910ac876a
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 14:23:58 2023 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 14:24:26 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2e012c4
7
8 www-apache/mod_h2: add 2.0.12
9
10 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
11
12 www-apache/mod_h2/Manifest | 1 +
13 www-apache/mod_h2/mod_h2-2.0.12.ebuild | 49 ++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/www-apache/mod_h2/Manifest b/www-apache/mod_h2/Manifest
17 index 0eec95862784..8576b0f5a991 100644
18 --- a/www-apache/mod_h2/Manifest
19 +++ b/www-apache/mod_h2/Manifest
20 @@ -1 +1,2 @@
21 DIST mod_h2-2.0.11.tar.gz 681879 BLAKE2B e49de5c117c61fc462d6556602f6f975f61754feba6b33f331f391612d8bd447cf2ee8f546e6a5cc6dd766daee0b6678865fbf3e3ed5d670bf67008d14d337ad SHA512 b0dd3ac8e179b78141b2c523a79d9d790588b13988b853a91d99f0f30e4fe0207e17b7dd333d178450ddf4784dedd0fb88d3fd46b96272aa8af6ac7a38fb8d00
22 +DIST mod_h2-2.0.12.tar.gz 790232 BLAKE2B da06e41b95e5dae0b9e114e749ef07383c565d3decf26a87d939a8377f7f687d03c7e8bac46b5c3ed85f0e0e0dfe9d4eb03548910c10268042878780981aaca7 SHA512 36c07357cfe3896237fb94e09d6a1f131cfa11de7d7e0fa86aac22197836a988daf200978b0b1541712ad990391418b394266871b86817d45597f4a83f7eddfb
23
24 diff --git a/www-apache/mod_h2/mod_h2-2.0.12.ebuild b/www-apache/mod_h2/mod_h2-2.0.12.ebuild
25 new file mode 100644
26 index 000000000000..5ba43634b8e0
27 --- /dev/null
28 +++ b/www-apache/mod_h2/mod_h2-2.0.12.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit apache-module autotools
36 +
37 +MY_P="${PN/h2/http2}-${PV}"
38 +
39 +if [[ ${PV} == 9999 ]] ; then
40 + EGIT_REPO_URI="https://github.com/icing/mod_h2.git"
41 + inherit git-r3
42 +else
43 + MY_PV="${PV/_rc/-rc}"
44 + MY_P="${PN}-${MY_PV}"
45 + S="${WORKDIR}/${MY_P}"
46 + SRC_URI="https://github.com/icing/mod_h2/archive/v${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
47 + KEYWORDS="~amd64 ~x86"
48 +fi
49 +
50 +DESCRIPTION="HTTP/2 module for Apache"
51 +HOMEPAGE="https://github.com/icing/mod_h2"
52 +
53 +LICENSE="Apache-2.0"
54 +SLOT="0"
55 +IUSE="ssl"
56 +
57 +RDEPEND=">=net-libs/nghttp2-1.0
58 + >=www-servers/apache-2.4.48[-apache2_modules_http2,ssl?]"
59 +DEPEND="${RDEPEND}"
60 +
61 +need_apache2_4
62 +
63 +src_prepare() {
64 + default
65 + eautoreconf
66 +}
67 +
68 +src_compile() {
69 + default
70 +}
71 +
72 +src_install() {
73 + default
74 +
75 + APACHE2_MOD_DEFINE="HTTP2"
76 + insinto "${APACHE_MODULES_CONFDIR}"
77 + newins "${FILESDIR}/mod_http2.conf" "41_mod_http2.conf"
78 +}