summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2021-11-22 16:53:21 -0500
committerCraig Andrews <candrews@gentoo.org>2021-11-22 16:55:12 -0500
commit5793bcf7eeb4074216418683d54b9672c20d95ba (patch)
tree87a09d6d1d7f2700b77d72d30eeac3815c811b49 /www-apache/mod_qos/mod_qos-11.70.ebuild
parentapp-admin/gnome-system-log: update EAPI 5 -> 7 (diff)
downloadgentoo-5793bcf7eeb4074216418683d54b9672c20d95ba.tar.gz
gentoo-5793bcf7eeb4074216418683d54b9672c20d95ba.tar.bz2
gentoo-5793bcf7eeb4074216418683d54b9672c20d95ba.zip
www-apache/mod_qos: 11.70 version bump
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'www-apache/mod_qos/mod_qos-11.70.ebuild')
-rw-r--r--www-apache/mod_qos/mod_qos-11.70.ebuild62
1 files changed, 62 insertions, 0 deletions
diff --git a/www-apache/mod_qos/mod_qos-11.70.ebuild b/www-apache/mod_qos/mod_qos-11.70.ebuild
new file mode 100644
index 000000000000..412c8e3c8eb5
--- /dev/null
+++ b/www-apache/mod_qos/mod_qos-11.70.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 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="mirror://sourceforge/mod-qos/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-libs/libpcre:3
+ 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}"
+}