| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.21 2013/08/18 08:03:19 imil Exp $ | | 1 | # $NetBSD: options.mk,v 1.22 2013/08/18 08:06:38 imil Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.nginx | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.nginx |
4 | PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 mail-proxy memcache naxsi pcre \ | | 4 | PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 mail-proxy memcache naxsi pcre \ |
5 | push realip ssl sub uwsgi image-filter upload debug \ | | 5 | push realip ssl sub uwsgi image-filter upload debug \ |
6 | status nginx-autodetect-cflags spdy | | 6 | status nginx-autodetect-cflags spdy |
7 | PKG_SUGGESTED_OPTIONS= inet6 pcre ssl | | 7 | PKG_SUGGESTED_OPTIONS= inet6 pcre ssl |
8 | | | 8 | |
9 | PLIST_VARS+= naxsi uwsgi | | 9 | PLIST_VARS+= naxsi uwsgi |
10 | | | 10 | |
11 | .include "../../mk/bsd.options.mk" | | 11 | .include "../../mk/bsd.options.mk" |
12 | | | 12 | |
13 | # documentation says naxsi must be the first module | | 13 | # documentation says naxsi must be the first module |
14 | .if !empty(PKG_OPTIONS:Mnaxsi) | | 14 | .if !empty(PKG_OPTIONS:Mnaxsi) |
| @@ -52,27 +52,27 @@ CONFIGURE_ARGS+= --with-http_sub_module | | | @@ -52,27 +52,27 @@ CONFIGURE_ARGS+= --with-http_sub_module |
52 | .if !empty(PKG_OPTIONS:Mgtools) | | 52 | .if !empty(PKG_OPTIONS:Mgtools) |
53 | CONFIGURE_ARGS+= --with-google_perftools_module | | 53 | CONFIGURE_ARGS+= --with-google_perftools_module |
54 | .endif | | 54 | .endif |
55 | | | 55 | |
56 | .if !empty(PKG_OPTIONS:Mmail-proxy) | | 56 | .if !empty(PKG_OPTIONS:Mmail-proxy) |
57 | CONFIGURE_ARGS+= --with-mail | | 57 | CONFIGURE_ARGS+= --with-mail |
58 | .endif | | 58 | .endif |
59 | | | 59 | |
60 | .if empty(PKG_OPTIONS:Mmemcache) | | 60 | .if empty(PKG_OPTIONS:Mmemcache) |
61 | CONFIGURE_ARGS+= --without-http_memcached_module | | 61 | CONFIGURE_ARGS+= --without-http_memcached_module |
62 | .endif | | 62 | .endif |
63 | | | 63 | |
64 | .if !empty(PKG_OPTIONS:Mnaxsi) || make(makesum) | | 64 | .if !empty(PKG_OPTIONS:Mnaxsi) || make(makesum) |
65 | NAXSI= naxsi-core-0.51 | | 65 | NAXSI= naxsi-core-0.51-1 |
66 | NAXSI_DISTFILE= ${NAXSI}.tgz | | 66 | NAXSI_DISTFILE= ${NAXSI}.tgz |
67 | SITES.${NAXSI_DISTFILE}= http://naxsi.googlecode.com/files/ | | 67 | SITES.${NAXSI_DISTFILE}= http://naxsi.googlecode.com/files/ |
68 | DISTFILES+= ${NAXSI_DISTFILE} | | 68 | DISTFILES+= ${NAXSI_DISTFILE} |
69 | .endif | | 69 | .endif |
70 | | | 70 | |
71 | .if !empty(PKG_OPTIONS:Mrealip) | | 71 | .if !empty(PKG_OPTIONS:Mrealip) |
72 | CONFIGURE_ARGS+= --with-http_realip_module | | 72 | CONFIGURE_ARGS+= --with-http_realip_module |
73 | .endif | | 73 | .endif |
74 | | | 74 | |
75 | .if !empty(PKG_OPTIONS:Minet6) | | 75 | .if !empty(PKG_OPTIONS:Minet6) |
76 | CONFIGURE_ARGS+= --with-ipv6 | | 76 | CONFIGURE_ARGS+= --with-ipv6 |
77 | .endif | | 77 | .endif |
78 | | | 78 | |