public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ipcalc] f45: Switch to use dbip-lite geoip databases
Date: Wed, 18 Nov 2026 19:24:34 GMT [thread overview]
Message-ID: <179502987423.1.14725620957053404092.rpms-ipcalc-8e5062c88b47@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/ipcalc
Branch : f45
Commit : 8e5062c88b478a567e6fca64376cb5ac9a815fa5
Author : Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Date : 2026-11-18T20:22:00+01:00
Stats : +8/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ipcalc/c/8e5062c88b478a567e6fca64376cb5ac9a815fa5?branch=f45
Log:
Switch to use dbip-lite geoip databases
---
diff --git a/ipcalc.spec b/ipcalc.spec
index b2241f8..0939194 100644
--- a/ipcalc.spec
+++ b/ipcalc.spec
@@ -14,7 +14,7 @@ BuildRequires: gcc, libmaxminddb-devel, meson, rubygem-ronn-ng
BuildRequires: openpgpverify
# for the test suite (JsonEscapeHostname)
BuildRequires: jq
-Recommends: libmaxminddb, geolite2-city, geolite2-country
+Recommends: libmaxminddb, dbip-lite-city, dbip-lite-country, dbip-lite-asn
# Explicitly conflict with older initscript packages that ship ipcalc
Conflicts: initscripts < 9.63
@@ -34,7 +34,13 @@ or check the validity of an address.
%autosetup
%build
-%meson -Duse_maxminddb=enabled -Duse_runtime_linking=enabled
+# Default to the DB-IP Lite databases (dbip-lite-*) instead of GeoLite2.
+# -Dc_args replaces $CFLAGS, so the distro flags are passed explicitly.
+%meson -Duse_maxminddb=enabled -Duse_runtime_linking=enabled \
+ -Dc_args="%{build_cflags} \
+ -DMAXMINDDB_LOCATION_COUNTRY='\"%{_datadir}/GeoIP/dbip-country-lite.mmdb\"' \
+ -DMAXMINDDB_LOCATION_CITY='\"%{_datadir}/GeoIP/dbip-city-lite.mmdb\"' \
+ -DMAXMINDDB_LOCATION_ASN='\"%{_datadir}/GeoIP/dbip-asn-lite.mmdb\"'"
%meson_build
%install
reply other threads:[~2026-11-18 19:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179502987423.1.14725620957053404092.rpms-ipcalc-8e5062c88b47@fedoraproject.org \
--to=n.mavrogiannopoulos@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox