Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_qos/
Date: Fri, 26 Jun 2020 23:00:45
Message-Id: 1593212383.388db80c76ce6e2e8b714e592fdd7eb2ac5e28de.whissi@gentoo
1 commit: 388db80c76ce6e2e8b714e592fdd7eb2ac5e28de
2 Author: Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Thu Apr 30 21:37:32 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 26 22:59:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=388db80c
7
8 www-apache/mod_qos: bump to 11.65
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/15585
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 www-apache/mod_qos/Manifest | 1 +
15 www-apache/mod_qos/mod_qos-11.65.ebuild | 54 +++++++++++++++++++++++++++++++++
16 2 files changed, 55 insertions(+)
17
18 diff --git a/www-apache/mod_qos/Manifest b/www-apache/mod_qos/Manifest
19 index ee4444b1986..f534059e406 100644
20 --- a/www-apache/mod_qos/Manifest
21 +++ b/www-apache/mod_qos/Manifest
22 @@ -1 +1,2 @@
23 DIST mod_qos-11.61.tar.gz 1242978 BLAKE2B d784538e516abda338230ae9f2580217e3727f8aa22e5d1e881d605ade06444753c9f393a16ef8c683422bb989434b1152aa06955c3f5ba5b38e486d3cc4571b SHA512 c34a970e869238a1340a4bf32f3b21ac3e19cfb65a809989c45100aa1c3559ce0a5f5c30e6366f6d65ef04ad6fc1be73f80a9fc18b7a6a164912618cce6383a8
24 +DIST mod_qos-11.65.tar.gz 1247087 BLAKE2B 145af39814f974855520415c3bf114aa11ac9002784feace877c9777311fb77fa798fe5f61c7b63201ab5dd6d9582a1d141f421c7215ba3271a29cece13d02b0 SHA512 7a4363b7b5e31968188f2668003d88538134456c3e6eeaff7d200ebf46064139561da6adf9b96678f349bd296f2c502a2d2c9bfb8ae12f7c78e3edbe5c13de3b
25
26 diff --git a/www-apache/mod_qos/mod_qos-11.65.ebuild b/www-apache/mod_qos/mod_qos-11.65.ebuild
27 new file mode 100644
28 index 00000000000..b98be2bbb58
29 --- /dev/null
30 +++ b/www-apache/mod_qos/mod_qos-11.65.ebuild
31 @@ -0,0 +1,54 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=5
36 +inherit autotools apache-module
37 +
38 +DESCRIPTION="A QOS module for the apache webserver"
39 +HOMEPAGE="http://mod-qos.sourceforge.net/"
40 +SRC_URI="mirror://sourceforge/mod-qos/${P}.tar.gz"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE=""
46 +
47 +RDEPEND="
48 + dev-libs/libpcre:3
49 + dev-libs/openssl:0=
50 + media-libs/libpng:0=
51 + sys-libs/zlib:0=
52 +"
53 +DEPEND="${DEPEND}"
54 +
55 +APXS2_S="${S}/apache2"
56 +APACHE2_MOD_CONF="10_${PN}"
57 +APACHE2_MOD_DEFINE="QOS"
58 +DOCFILES="${S}/doc/*.txt ${S}/README.TXT"
59 +
60 +need_apache2
61 +
62 +src_prepare() {
63 + cd "${S}/tools" && eautoreconf
64 +}
65 +
66 +src_configure() {
67 + cd "${S}/tools" && econf
68 +}
69 +
70 +src_compile() {
71 + apache-module_src_compile
72 + emake -C "${S}/tools"
73 +}
74 +
75 +src_install() {
76 + einfo "Installing Apache module ..."
77 + cd "${S}/tools"
78 + apache-module_src_install
79 +
80 + einfo "Installing module utilities ..."
81 + emake -C "${S}/tools" install DESTDIR="${D}"
82 +
83 + # installing html documentation
84 + dohtml -r -x *.txt "${S}/doc/"
85 +}