Pre-Submission Checklist

Type Of Change

Checklist:

Description

The kamailio-geoip RPM sub package currently builds both the geoip module - based on the old and out of support MaxMind GeoIP library - and the newer geoip2 module - based on the currently supported libmaxminddb.

The old GeoIP C library had its end of support date at May 2022 but for a while was still shipped for many distributions. At this point though, the EPEL repository that shipped the GeoIP library for RHEL-based operating systems, has removed it from their repositories for "Enterprise Linux 9":
Screenshot_20240620_144233.png (view on web)

Therefor builds using the bundled spec file fail on EL9 installations.

The suggested change is to add an RPM build option --with geoip2 that when specified will build just the geoip2 module for the kamailio-geoip RPM subpackage. This build option is not enabled by default, unless the build is running on a RHEL 9 based OS - in which case it is set as the default, because otherwise trivial builds break. To revert to the older behavior in RHEL 9 based OSs (and assuming you have the required unsupported library installed correctly) one will need to set both --without geoip2 --with geoip.


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/3886

Commit Summary

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3886@github.com>