diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-11-27 14:12:29 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-11-27 14:34:37 +0100 |
commit | c5e3c634012fada5ec84837b0dcb8f3cb7798cd7 (patch) | |
tree | 59deb16cfe3c992fc5ea99da914033c5a19b1aa7 | |
parent | www-apache/mod_whatkilledus: update EAPI 5 -> 7 (diff) | |
download | gentoo-c5e3c634012fada5ec84837b0dcb8f3cb7798cd7.tar.gz gentoo-c5e3c634012fada5ec84837b0dcb8f3cb7798cd7.tar.bz2 gentoo-c5e3c634012fada5ec84837b0dcb8f3cb7798cd7.zip |
www-apache/mod_bw: update EAPI 5 -> 7
Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r-- | www-apache/mod_bw/mod_bw-0.9.2-r2.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/www-apache/mod_bw/mod_bw-0.9.2-r2.ebuild b/www-apache/mod_bw/mod_bw-0.9.2-r2.ebuild new file mode 100644 index 000000000000..ff0a685229cf --- /dev/null +++ b/www-apache/mod_bw/mod_bw-0.9.2-r2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit apache-module depend.apache + +MY_PV=$(ver_rs 2 '') +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="Bandwidth Management Module for Apache2" +HOMEPAGE="http://wp.ivn.cl/apache-bandwidth-mod/" +SRC_URI="http://legacy.ivn.cl/files/source/${MY_P}.tgz" + +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="Apache-2.0" +SLOT="0" + +BDEPEND="sys-devel/libtool" + +PATCHES=( + "${FILESDIR}"/${PN}-0.9.2-apache24.patch +) + +APACHE2_MOD_CONF="11_${PN}" +APACHE2_MOD_DEFINE="BW" + +need_apache2 + +S="${WORKDIR}" + +# Work around Bug #616612 +pkg_setup() { + _init_apache2 + _init_apache2_late +} |