commit: 9ca8c3722e651b85218a7edce67a643ed22b5a4d Author: Craig Andrews <candrews <AT> gentoo <DOT> org> AuthorDate: Fri Jan 3 17:50:50 2025 +0000 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> CommitDate: Fri Jan 3 17:52:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca8c372
www-apache/mod_qos: add 11.76 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> www-apache/mod_qos/Manifest | 1 + www-apache/mod_qos/mod_qos-11.76.ebuild | 62 +++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/www-apache/mod_qos/Manifest b/www-apache/mod_qos/Manifest index d6a2ffc64fc3..79b46ed4d566 100644 --- a/www-apache/mod_qos/Manifest +++ b/www-apache/mod_qos/Manifest @@ -1 +1,2 @@ DIST mod_qos-11.75.tar.gz 1289194 BLAKE2B b0353ac443fa7067e57ee4c4cd4b4804f58b163280d914509d4e6b68020e6791b6dc264ae3c017670efe62331355c88b95b51b630c1f42a817c780f1d0346d4b SHA512 ebb73196c94c6fa5874c179112b8dcb7283f961a04389e2c2a09191653c5112901ccf8d07cc6b90868c0233b06f49ce1ea608e0c5332351ddb29259bf342fd80 +DIST mod_qos-11.76.tar.gz 1233631 BLAKE2B 0747fa68d2185a8b84cffabbbe981af536b04b8af66ed93474a8bf844a87b3565626a42d7b7cca6839183772950283f864c77e3c5754cb528deae3b16d21f8f8 SHA512 8a1a0abc041d8488fd6a1513b8a15c18d056d2c8b6173dfca4331caa1a3798384c9114e481661639722b9e8ebe12d741948ab8fb99fd088b0eb48fb5657fac73 diff --git a/www-apache/mod_qos/mod_qos-11.76.ebuild b/www-apache/mod_qos/mod_qos-11.76.ebuild new file mode 100644 index 000000000000..417ae6dd19bf --- /dev/null +++ b/www-apache/mod_qos/mod_qos-11.76.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools apache-module + +DESCRIPTION="A QOS module for the apache webserver" +HOMEPAGE="http://mod-qos.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/mod-qos/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/libpcre2 + dev-libs/openssl:0= + media-libs/libpng:0= + sys-libs/zlib:0= +" +DEPEND="${RDEPEND}" + +APXS2_S="${S}/apache2" +APACHE2_MOD_CONF="10_${PN}" +APACHE2_MOD_DEFINE="QOS" +DOCFILES="${S}/doc/*.txt ${S}/README.TXT" + +need_apache2 + +pkg_setup() { + _init_apache2 + _init_apache2_late +} +src_prepare() { + default + + pushd "${S}"/tools &>/dev/null || die + eautoreconf + popd &>/dev/null || die +} + +src_configure() { + pushd "${S}"/tools &>/dev/null || die + econf + popd &>/dev/null || die +} + +src_compile() { + apache-module_src_compile + emake -C "${S}"/tools +} + +src_install() { + einfo "Installing Apache module ..." + pushd "${S}"/tools &>/dev/null || die + apache-module_src_install + popd &>/dev/null || die + + einfo "Installing module utilities ..." + emake -C "${S}"/tools install DESTDIR="${D}" +}