commit:     7184e92e201a80aa64e7bf9b37e7755ac4e0b940
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Mon Jul 21 12:34:31 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 02:29:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7184e92e

www-apache/mod_maxminddb: add 1.3.0

Signed-off-by: Tomáš Mózes <hydrapolic <AT> 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 <AT> gentoo.org>

 www-apache/mod_maxminddb/Manifest                  |  1 +
 .../mod_maxminddb/mod_maxminddb-1.3.0.ebuild       | 40 ++++++++++++++++++++++
 2 files changed, 41 insertions(+)

diff --git a/www-apache/mod_maxminddb/Manifest 
b/www-apache/mod_maxminddb/Manifest
index 1fe9bf451f64..ae563ea62764 100644
--- a/www-apache/mod_maxminddb/Manifest
+++ b/www-apache/mod_maxminddb/Manifest
@@ -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

diff --git a/www-apache/mod_maxminddb/mod_maxminddb-1.3.0.ebuild 
b/www-apache/mod_maxminddb/mod_maxminddb-1.3.0.ebuild
new file mode 100644
index 000000000000..d30c541b0fca
--- /dev/null
+++ b/www-apache/mod_maxminddb/mod_maxminddb-1.3.0.ebuild
@@ -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
+}

Reply via email to