www-apache/mod_maxminddb: add 1.3.0

Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43092
Closes: https://github.com/gentoo/gentoo/pull/43092
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Tomáš Mózes 2025-07-21 12:34:31 +00:00 committed by Sam James
parent 5fef5e0451
commit 7184e92e20
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 41 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST mod_maxminddb-1.2.0.tar.gz 101465 BLAKE2B a0f9673560851726e7e85b3c6a5ef3e9004854e79a72bb14446bd68eec59ed8befb3bc27d7e7f031c69708ab54984c9f7537e5d55616be9f7ef1b92e2de61ccd SHA512 739c3c9b136fd3ce784e0a81c82a26a188e7d07435c1381ba359b2e159a721d072cb04310f2ce2a38953a8918fec686025bac6c140048a1afc035c0b8e449483
DIST mod_maxminddb-1.3.0.tar.gz 99765 BLAKE2B c9ea577cf45e8a3c8bf2233ecc8266c070ddf1c5e05f1cd600dc2aff2f78cb9ee484005a3cec788645e05ace97354752ae3555766bb687c3127cbcf56bb8be8b SHA512 7f45efc2047fb1e57bf3d01998022857821d9157d439d4b4dbe7227d8f394ae2f587083ab36222dd3eabe4c1b34748866add6354cfe8710c0eee96560b1ca13b

View File

@ -0,0 +1,40 @@
# Copyright 1999-2025 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
}