nginx-mod-http-geoip2 package breaks nginx (3.10 and edge)
Currently there are 32 bugs in the nginx package (and modules) that are present in both 3.10 and edge repos.
-
Nginx is loading ngx_stream_geoip2_module.so before ngx_stream_module.so and that prevents nginx from starting with error
nginx: [emerg] dlopen() "/var/lib/nginx/modules/ngx_stream_geoip2_module.so" failed (Error relocating /var/lib/nginx/modules/ngx_stream_geoip2_module.so: ngx_stream_add_variable: symbol not found) in /etc/nginx/modules/http_geoip2.conf:1
-
When there is more than one
so
defined for a module, the lineecho "load_module \"modules/$soname\";" > ./etc/nginx/modules/$name.conf
only writes the lastso
listed into the conf file, so ngx_http_geoip2_module.so is not being loaded
3) sha512sum for the package lua-nginx-module-0.10.15.tar.gz has changed, so nginx currently doesn't build with abuild Fixed in cbfc890c
There are PRs awaiting maintainer review for master (edge) and 3.10:
https://github.com/alpinelinux/aports/pull/9234
https://github.com/alpinelinux/aports/pull/9351