git: 7ae0d540778a - main - www/mod_maxminddb: update to 1.3.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Jan 2026 15:19:28 UTC
The branch main has been updated by joneum:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7ae0d540778acf715089c6c5426758510d930ac9
commit 7ae0d540778acf715089c6c5426758510d930ac9
Author: Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-01-07 15:17:55 +0000
Commit: Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-01-07 15:19:15 +0000
www/mod_maxminddb: update to 1.3.0
Upstream changes:
- Add support for libmaxminddb v1.8+
- Improve handling of database reloads
- Minor bug fixes and build system cleanups
Ports changes:
- Remove automatic module activation via apxs -a to avoid modifying httpd.conf during stage
Sponsored by: Netzkommune GmbH
---
www/mod_maxminddb/Makefile | 2 +-
www/mod_maxminddb/distinfo | 6 +++---
www/mod_maxminddb/files/patch-src_Makefile.am | 8 ++++----
www/mod_maxminddb/pkg-message | 19 +++++++++++++++++++
4 files changed, 27 insertions(+), 8 deletions(-)
diff --git a/www/mod_maxminddb/Makefile b/www/mod_maxminddb/Makefile
index efd87d27898f..5f6a2e258483 100644
--- a/www/mod_maxminddb/Makefile
+++ b/www/mod_maxminddb/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mod_maxminddb
-PORTVERSION= 1.2.0
+PORTVERSION= 1.3.0
PORTREVISION= 0
CATEGORIES= www
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
diff --git a/www/mod_maxminddb/distinfo b/www/mod_maxminddb/distinfo
index e406bea5a885..fc3eaeea6e7f 100644
--- a/www/mod_maxminddb/distinfo
+++ b/www/mod_maxminddb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1595500825
-SHA256 (maxmind-mod_maxminddb-1.2.0_GH0.tar.gz) = 27d926343a3b548eb7b2f9f5462cacb5a2c9762174b7af6d2c37d5f4e593a9b8
-SIZE (maxmind-mod_maxminddb-1.2.0_GH0.tar.gz) = 26005
+TIMESTAMP = 1767793202
+SHA256 (maxmind-mod_maxminddb-1.3.0_GH0.tar.gz) = 337f2cd556a3ef1eb9bc9b23e3d119444415939cf4d0ec6ae18311bbfd3f0d58
+SIZE (maxmind-mod_maxminddb-1.3.0_GH0.tar.gz) = 27496
diff --git a/www/mod_maxminddb/files/patch-src_Makefile.am b/www/mod_maxminddb/files/patch-src_Makefile.am
index 2c1fd67e675c..8c3466811cbc 100644
--- a/www/mod_maxminddb/files/patch-src_Makefile.am
+++ b/www/mod_maxminddb/files/patch-src_Makefile.am
@@ -1,6 +1,6 @@
---- src/Makefile.am.orig 2016-10-19 20:07:32 UTC
-+++ src/Makefile.am
-@@ -1,15 +1,16 @@
+--- src/Makefile.am.orig 2026-01-07 15:00:22.589270000 +0100
++++ src/Makefile.am 2026-01-07 15:02:24.650819000 +0100
+@@ -1,15 +1,16 @@ WC=-Wc,"$(CFLAGS)"
AUTOMAKE_OPTIONS = foreign
WC=-Wc,"$(CFLAGS)"
+WL=-Wl,"$(LDFLAGS)"
@@ -15,7 +15,7 @@
install-exec-local: module
- $(APXS) -i -a -n maxminddb .libs/mod_maxminddb.so
-+ $(APXS) -S LIBEXECDIR=%%LIBEXECDEST%% -i -a -n maxminddb mod_maxminddb.la ### maxminddb .libs/mod_maxminddb.so
++ $(APXS) -S LIBEXECDIR=%%LIBEXECDEST%% -i -n maxminddb mod_maxminddb.la
CLEANFILES= *.la *.lo *.o *.so *.slo .libs/*
diff --git a/www/mod_maxminddb/pkg-message b/www/mod_maxminddb/pkg-message
new file mode 100644
index 000000000000..a6777643574f
--- /dev/null
+++ b/www/mod_maxminddb/pkg-message
@@ -0,0 +1,19 @@
+[
+{ type: install
+ message: <<EOM
+To enable mod_maxminddb in Apache, add the following line to your Apache configuration:
+
+ LoadModule maxminddb_module libexec/apache24/mod_maxminddb.so
+
+A common way on FreeBSD is to create a separate file, for example:
+
+ /usr/local/etc/apache24/modules.d/270_maxminddb.conf
+
+and put the LoadModule line there.
+
+After enabling the module, restart Apache:
+
+ service apache24 restart
+EOM
+}
+]