pkgsrc-Bugs archive

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

pkg/52177: stream feature for nginx

>Number:         52177
>Category:       pkg
>Synopsis:       stream feature for nginx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 18 14:50:00 +0000 2017
>Originator:     Anders Mundt Due
>Release:        pkgsrc current (as of 2017-04-18)
NetBSD 7.1 NetBSD 7.1 (GENERIC.201703111743Z) amd64
nginx stable and development versions both have a stream module but it's missing from so it can't be compiled in
try to add stream to PKG_OPTIONS.nginx in your mk.conf..
diff www/nginx/ www/nginx/
index b7e702485a1..4459cd8f2db 100644
--- www/nginx/
+++ www/nginx/
@@ -5,7 +5,7 @@ PKG_SUPPORTED_OPTIONS=          dav flv gtools inet6 luajit mail-proxy memcache naxsi \
                                pcre push realip ssl sub uwsgi image-filter \
                                debug status nginx-autodetect-cflags echo \
                                set-misc headers-more array-var encrypted-session \
-                               form-input perl gzip http2
+                               form-input perl gzip http2 stream
 PKG_OPTIONS_LEGACY_OPTS+=      v2:http2

 PKG_SUGGESTED_OPTIONS= inet6 pcre ssl
@@ -24,10 +24,17 @@ CONFIGURE_ARGS+=    --add-module=../${NAXSI_DISTNAME}/naxsi_src
 CONFIGURE_ARGS+=       --with-debug

+.if !empty(PKG_OPTIONS:Mstream)
+CONFIGURE_ARGS+=       --with-stream
 .if !empty(PKG_OPTIONS:Mssl)
 .include "../../security/openssl/"
 CONFIGURE_ARGS+=       --with-mail_ssl_module
 CONFIGURE_ARGS+=       --with-http_ssl_module
+.if !empty(PKG_OPTIONS:Mstream)
+CONFIGURE_ARGS+=       --with-stream_ssl_module

 .if !empty(PKG_OPTIONS:Mpcre)

Home | Main Index | Thread Index | Old Index