pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/nginx



Module Name:    pkgsrc
Committed By:   abs
Date:           Thu Feb 20 23:34:38 UTC 2020

Modified Files:
        pkgsrc/www/nginx: options.mk

Log Message:
Add stream-ssl-preread option to nginx

Allows nginx to be used as a proxy to share a port between https and
ssh/openvpn or similar

Not enabled by default


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/www/nginx/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/nginx/options.mk
diff -u pkgsrc/www/nginx/options.mk:1.53 pkgsrc/www/nginx/options.mk:1.54
--- pkgsrc/www/nginx/options.mk:1.53    Wed Feb 12 11:32:53 2020
+++ pkgsrc/www/nginx/options.mk Thu Feb 20 23:34:38 2020
@@ -1,11 +1,12 @@
-# $NetBSD: options.mk,v 1.53 2020/02/12 11:32:53 jperkin Exp $
+# $NetBSD: options.mk,v 1.54 2020/02/20 23:34:38 abs Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.nginx
 PKG_SUPPORTED_OPTIONS=         dav flv gtools inet6 luajit mail-proxy memcache naxsi \
                                pcre push realip ssl sub uwsgi image-filter \
                                debug slice status nginx-autodetect-cflags echo \
                                set-misc headers-more array-var encrypted-session \
-                               form-input perl gzip http2 auth-request secure-link rtmp
+                               form-input perl gzip http2 auth-request secure-link rtmp \
+                               stream-ssl-preread
 PKG_OPTIONS_LEGACY_OPTS+=      v2:http2
 
 PKG_SUGGESTED_OPTIONS= inet6 pcre ssl
@@ -226,6 +227,10 @@ CONFIGURE_ARGS+=   --with-http_auth_reques
 CONFIGURE_ARGS+=       --with-http_secure_link_module
 .endif
 
+.if !empty(PKG_OPTIONS:Mstream-ssl-preread)
+CONFIGURE_ARGS+=       --with-stream --with-stream_ssl_preread_module
+.endif
+
 .if !empty(PKG_OPTIONS:Mrtmp)
 CONFIGURE_ARGS+=       --add-module=../${RTMP_DISTNAME}
 .endif



Home | Main Index | Thread Index | Old Index