Bug 2411694

Summary: RFE: Build nginx-mod-http-geoip2 for EPEL10 (AlmaLinux 10)
Product: [Fedora] Fedora EPEL Reporter: Ryn Edge <admin>
Component: GeoIPAssignee: Jonathan Wright <jonathan>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel10CC: anon.amish, jonathan, paul, philipp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryn Edge 2025-11-01 01:09:14 UTC
Type: RFE / Package request

Please build and ship `nginx-mod-http-geoip2` for EPEL10 (EL10 / AlmaLinux 10).

Rationale
- EL10 currently lacks a free GeoIP2 dynamic module for nginx.
- Users have to compile the module manually which is hard to maintain and audit.
- The module is available upstream and widely used; having it in EPEL would improve consistency and support.

Request
- Provide a subpackage `nginx-mod-http-geoip2` that installs
  `/usr/lib64/nginx/modules/ngx_http_geoip2_module.so`.
- Build from upstream source `leev/ngx_http_geoip2_module` with `--with-compat`.
- Runtime dependency: `libmaxminddb` (GeoLite2 DB via geoipupdate is optional).

Environment
- Distro: AlmaLinux 10 (x86_64)
- nginx version and build flags:
  (please see below)

nginx -V
nginx version: nginx/1.26.3

How it is used after installation
- Load module:  `load_module modules/ngx_http_geoip2_module.so;`
- Configure `geoip2` in `http {}` to point to GeoLite2 `.mmdb`.
- `nginx -t` should succeed and variables like `$geoip2_country_code` should be available.

Upstream references
- Module: https://github.com/leev/ngx_http_geoip2_module
- Library: https://github.com/maxmind/libmaxminddb

Notes
- If this should live under a different component, please reassign to `nginx`.
- Happy to test any candidate builds for EPEL10 and provide feedback.Description of problem: