nginx: fix geoip2 dependency on mod ngx_stream
authorSean Khan <datapronix@protonmail.com>
Fri, 12 Apr 2024 22:40:13 +0000 (18:40 -0400)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 18 Apr 2024 11:00:20 +0000 (13:00 +0200)
commit4cc682c8a47172bd71f3065f0c078519529fa227
treef61962f06a3765b0f6e5f115ff0f16a4cc534539
parentf788525078b1df2a0e2429f228ccae1510022554
nginx: fix geoip2 dependency on mod ngx_stream

Since the geoip2 package contains both `http` and `stream` versions. It
requires the module `ngx_stream` be installed and loaded and produces
the error:

```
2024/04/12 18:38:18 [emerg] 4402#0: dlopen()
"/usr/lib/nginx/modules/ngx_stream_geoip2_module.so" failed (Error
relocating /usr/lib/nginx/modules/ngx_stream_geoip2_module.so:
ngx_stream_complex_value: symbol not found) in
/etc/nginx/module.d/ngx_stream_geoip2.module:1 nginx: configuration file
/etc/nginx/uci.conf test failed
```

Add dependency so it's built at build time and installed automatically
by `opkg`

Signed-off-by: Sean Khan <datapronix@protonmail.com>
net/nginx/Makefile