Hi,

I'm using nginx as a TCP reverse proxy with ssl. I need this diff
otherwise it says:
# nginx -t                                                                      
                                                                                
                   
nginx: [emerg] the "ssl" parameter requires ngx_stream_ssl_module in 
/etc/nginx/nginx.conf:17
nginx: configuration file /etc/nginx/nginx.conf test failed

I checked there wasn't any wanted wantlib change with make
lib-depends-check and the plist didn't change either. I bumped the
stream-revision because it affects the stream module but the configure
args is port wide so maybe I should bump everything?

Comments? OK?

Cheers,
Daniel

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/nginx/Makefile,v
retrieving revision 1.132
diff -u -p -r1.132 Makefile
--- Makefile    29 Apr 2019 00:42:09 -0000      1.132
+++ Makefile    17 May 2019 15:53:36 -0000
@@ -33,6 +33,7 @@ PKGNAME-perl=         nginx-perl-${VERSION}
 PKGNAME-passenger=     nginx-passenger-${VERSION}
 
 REVISION-passenger=    0
+REVISION-stream=       0
 
 MASTER_SITES=  https://nginx.org/download/
 MASTER_SITES0= https://github.com/simpl/ngx_devel_kit/archive/
@@ -163,6 +164,7 @@ CONFIGURE_ARGS+=    --prefix=${NGINX_DIR} \
                        --with-http_xslt_module=dynamic \
                        --with-mail=dynamic \
                        --with-stream=dynamic \
+                       --with-stream_ssl_module \
                        --add-dynamic-module=${WRKSRC}/naxsi/naxsi_src/ \
                        --add-dynamic-module=${WRKSRC}/ngx_devel_kit \
                        
--add-dynamic-module=${WRKSRC}/headers-more-nginx-module \

Reply via email to