pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/nginx nginx: Add support for the slice module.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ceb51950e89f
branches:  trunk
changeset: 411409:ceb51950e89f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Feb 12 11:32:53 2020 +0000

description:
nginx: Add support for the slice module.

Patch provided by Brian Ewell in joyent/pkgsrc#240.

diffstat:

 www/nginx/options.mk |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 37308b4d08c4 -r ceb51950e89f www/nginx/options.mk
--- a/www/nginx/options.mk      Wed Feb 12 11:21:17 2020 +0000
+++ b/www/nginx/options.mk      Wed Feb 12 11:32:53 2020 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.52 2019/11/04 22:09:57 rillig Exp $
+# $NetBSD: options.mk,v 1.53 2020/02/12 11:32:53 jperkin 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 status nginx-autodetect-cflags echo \
+                               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
 PKG_OPTIONS_LEGACY_OPTS+=      v2:http2
@@ -197,6 +197,10 @@
 CONFIGURE_ARGS+=       --with-http_image_filter_module
 .endif
 
+.if !empty(PKG_OPTIONS:Mslice)
+CONFIGURE_ARGS+=       --with-http_slice_module
+.endif
+
 .if !empty(PKG_OPTIONS:Mstatus)
 CONFIGURE_ARGS+=       --with-http_stub_status_module
 .endif



Home | Main Index | Thread Index | Old Index