TritonDataCenter / pkgsrc

NetBSD/pkgsrc fork for our binary package repositories
https://pkgsrc.smartos.org/
132 stars 51 forks source link

nginx no longer has status module #327

Closed drboone closed 2 years ago

drboone commented 2 years ago

Suddenly this morning, the stub_status directive was failing. It appears that the package was upgraded to 1.21.6nb5, and that the status module isn't being built any more. Previous version appears to have been 1.21.6nb3.

jperkin commented 2 years ago

Ah yeh I know what this is, the nginx-devel package which is where 1.21 comes from switched its options name so it no longer shares the same options as nginx. I'll get this fixed.

jfqd commented 2 years ago

@jperkin Thx for pointing out this issue. Here is the nginx module output:

nginx/1.21.6 before the update

configure arguments: --user=www --group=www --with-ld-opt='-L/opt/local/lib -Wl,-R/opt/local/lib' --prefix=/opt/local --sbin-path=/opt/local/sbin --conf-path=/opt/local/etc/nginx/nginx.conf --pid-path=/var/db/nginx/nginx.pid --lock-path=/var/db/nginx/nginx.lock --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/db/nginx/client_body_temp --http-proxy-temp-path=/var/db/nginx/proxy_temp --http-fastcgi-temp-path=/var/db/nginx/fstcgi_temp --http-scgi-temp-path=/var/db/nginx/scgi_temp --with-mail_ssl_module --with-http_ssl_module --with-pcre-jit --with-http_dav_module --with-http_geoip_module --with-http_v2_module --with-http_realip_module --http-uwsgi-temp-path=/var/db/nginx/uwsgi_temp --with-http_slice_module --with-http_stub_status_module --with-perl=/opt/local/bin/perl --with-http_gzip_static_module --with-http_auth_request_module --with-http_perl_module --add-module=../naxsi-1.3/naxsi_src --add-module=../nginx-dav-ext-module-3.0.0 --add-module=../headers-more-nginx-module-0.33

nginx/1.21.6 after the update

configure arguments: --user=www --group=www --with-ld-opt='-L/opt/local/lib -Wl,-R/opt/local/lib' --prefix=/opt/local --sbin-path=/opt/local/sbin --conf-path=/opt/local/etc/nginx/nginx.conf --pid-path=/var/db/nginx/nginx.pid --lock-path=/var/db/nginx/nginx.lock --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --http-client-body-temp-path=/var/db/nginx/client_body_temp --http-proxy-temp-path=/var/db/nginx/proxy_temp --http-fastcgi-temp-path=/var/db/nginx/fstcgi_temp --http-scgi-temp-path=/var/db/nginx/scgi_temp --with-mail_ssl_module --with-http_ssl_module --with-pcre --without-pcre2 --with-http_geoip_module --with-http_v2_module --without-http_memcached_module --without-http_uwsgi_module

Missing are stub_status, http_gzip_static, http_slice, http_uwsg, etc.

jperkin commented 2 years ago

This has been fixed in the SmartOS trunk and macOS Big Sur repositories, one of which I assume you both are using. Apologies for the breakage.

drboone commented 2 years ago

Thanks @jperkin!

jfqd commented 2 years ago

@jperkin Thx a lot!