Skip to content

Commit

Permalink
nginx: Add support for the slice module.
Browse files Browse the repository at this point in the history
Patch provided by Brian Ewell in TritonDataCenter#240.
  • Loading branch information
jperkin committed Feb 12, 2020
1 parent 78f9701 commit 6c397bb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions www/nginx/options.mk
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -197,6 +197,10 @@ DISTFILES+= ${PUSH_DISTFILE}
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
Expand Down

0 comments on commit 6c397bb

Please sign in to comment.