diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2024-06-10 05:34:02 +0000 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-10 22:38:52 +0300 |
commit | 168e95ae5d87c24ffb6a15ef6f0c7dc391b592c1 (patch) | |
tree | 7594864a10d53c6c3f86caa2cca8907f3d6f3442 /www-apache | |
parent | app-emulation/ruffle: Stabilize 0_p20240521 amd64, #934011 (diff) | |
download | gentoo-168e95ae5d87c24ffb6a15ef6f0c7dc391b592c1.tar.gz gentoo-168e95ae5d87c24ffb6a15ef6f0c7dc391b592c1.tar.bz2 gentoo-168e95ae5d87c24ffb6a15ef6f0c7dc391b592c1.zip |
www-apache/mod_maxminddb: update EAPI 6 -> 8
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_maxminddb/mod_maxminddb-1.2.0-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/www-apache/mod_maxminddb/mod_maxminddb-1.2.0-r1.ebuild b/www-apache/mod_maxminddb/mod_maxminddb-1.2.0-r1.ebuild new file mode 100644 index 000000000000..5d627f1c3888 --- /dev/null +++ b/www-apache/mod_maxminddb/mod_maxminddb-1.2.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit apache-module autotools + +DESCRIPTION="MaxMind DB Apache Module" +HOMEPAGE="https://maxmind.github.io/mod_maxminddb/" +SRC_URI="https://github.com/maxmind/mod_maxminddb/releases/download/${PV}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-libs/libmaxminddb:=" +RDEPEND="${DEPEND}" + +need_apache2_4 + +src_prepare() { + default + eautoreconf +} + +src_compile() { + # skipping this results in: + # Cannot load modules/mod_maxminddb.so into server: + # /usr/lib64/apache2/modules/mod_maxminddb.so: undefined symbol: MMDB_aget_value + # because mod_maxminddb.so is not linked with libmaxminddb + emake +} + +src_install() { + APACHE2_MOD_CONF="70_${PN}" + APACHE2_MOD_DEFINE="MAXMINDDB" + APACHE_MODULESDIR="/usr/$(get_libdir)/apache2/modules" + + apache-module_src_install +} |