pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/nginx nginx: added secure-link option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64d28df7251c
branches:  trunk
changeset: 377802:64d28df7251c
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Mar 23 07:38:28 2018 +0000

description:
nginx: added secure-link option

diffstat:

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

diffs (28 lines):

diff -r 1044c3d4bad2 -r 64d28df7251c www/nginx/options.mk
--- a/www/nginx/options.mk      Fri Mar 23 05:30:52 2018 +0000
+++ b/www/nginx/options.mk      Fri Mar 23 07:38:28 2018 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.42 2017/10/28 10:57:29 adam Exp $
+# $NetBSD: options.mk,v 1.43 2018/03/23 07:38:28 adam 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 \
                                set-misc headers-more array-var encrypted-session \
-                               form-input perl gzip http2 auth-request rtmp
+                               form-input perl gzip http2 auth-request secure-link rtmp
 PKG_OPTIONS_LEGACY_OPTS+=      v2:http2
 
 PKG_SUGGESTED_OPTIONS= inet6 pcre ssl
@@ -221,6 +221,10 @@
 CONFIGURE_ARGS+=       --with-http_auth_request_module
 .endif
 
+.if !empty(PKG_OPTIONS:Msecure-link)
+CONFIGURE_ARGS+=       --with-http_secure_link_module
+.endif
+
 .if !empty(PKG_OPTIONS:Mrtmp)
 CONFIGURE_ARGS+=       --add-module=../${RTMP_DISTNAME}
 .endif



Home | Main Index | Thread Index | Old Index