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)
>Organization:
>Environment:
NetBSD netb71-64.pd-house.dk 7.1 NetBSD 7.1 (GENERIC.201703111743Z) amd64
>Description:
nginx stable and development versions both have a stream module but it's missing from options.mk so it can't be compiled in
>How-To-Repeat:
try to add stream to PKG_OPTIONS.nginx in your mk.conf..
>Fix:
diff www/nginx/options.mk www/nginx/options.mk
index b7e702485a1..4459cd8f2db 100644
--- www/nginx/options.mk
+++ www/nginx/options.mk
@@ -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
 .endif

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

 .if !empty(PKG_OPTIONS:Mpcre)


Home | Main Index | Thread Index | Old Index