diff options
author | osa <osa@FreeBSD.org> | 2015-11-10 05:31:59 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2015-11-10 05:31:59 +0800 |
commit | 71da23db9b98cc1c0b385b463808c33f3dbda05c (patch) | |
tree | 97f9ac9297b90d382934a9a58dc0a2b1931d6e62 /www | |
parent | 3e89495fdedec8d3c737d5a1a68dc3f141dcdc35 (diff) | |
download | freebsd-ports-gnome-71da23db9b98cc1c0b385b463808c33f3dbda05c.tar.gz freebsd-ports-gnome-71da23db9b98cc1c0b385b463808c33f3dbda05c.tar.zst freebsd-ports-gnome-71da23db9b98cc1c0b385b463808c33f3dbda05c.zip |
Add experimental HTTP JavaScript module, see https://github.com/nginx/njs for details.
Diffstat (limited to 'www')
-rw-r--r-- | www/nginx-devel/Makefile | 9 | ||||
-rw-r--r-- | www/nginx-devel/distinfo | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 4d29e052998e..b88da0da89af 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -52,6 +52,7 @@ OPTIONS_DEFINE= \ MAIL_SMTP \ MAIL_SSL \ HTTPV2 \ + NJS \ STREAM \ STREAM_SSL \ THREADS \ @@ -147,6 +148,7 @@ MAIL_POP3_DESC= Enable POP3 proxy module MAIL_SMTP_DESC= Enable SMTP proxy module MAIL_SSL_DESC= Enable mail_ssl module HTTPV2_DESC= Enable HTTP/2 protocol support (SSL req.) +NJS_DESC= Enable http_javascript module STREAM_DESC= Enable stream module STREAM_SSL_DESC= Enable stream_ssl module (SSL req.) THREADS_DESC= Enable threads support @@ -848,6 +850,13 @@ CONFIGURE_ARGS+=--with-http_v2_module USE_OPENSSL_PORT= yes .endif +.if ${PORT_OPTIONS:MNJS} +GH_ACCOUNT+= nginx:njs +GH_PROJECT+= njs:njs +GH_TAGNAME+= 8e72a0b:njs +CONFIGURE_ARGS+=--add-module=${WRKSRC_njs}/nginx +.endif + .if ${PORT_OPTIONS:MSTREAM} CONFIGURE_ARGS+=--with-stream .if ${PORT_OPTIONS:MSTREAM_SSL} diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index a68355d54ad1..243a9c0453cc 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -110,6 +110,8 @@ SHA256 (gabor-nginx-x-rid-header-0daa3cc_GH0.tar.gz) = de784142d867a35ecc5443fa3 SIZE (gabor-nginx-x-rid-header-0daa3cc_GH0.tar.gz) = 2711 SHA256 (openresty-xss-nginx-module-v0.04_GH0.tar.gz) = 4e5230a644779b8298063d5c0bd7dc19531496369456d69dc5281ae1cca4d6ec SIZE (openresty-xss-nginx-module-v0.04_GH0.tar.gz) = 10536 +SHA256 (nginx-njs-8e72a0b_GH0.tar.gz) = 41a250ddbc5e3c8796bca9f9fd5ac4c2e42c363eb1a06a80548540749c4010b8 +SIZE (nginx-njs-8e72a0b_GH0.tar.gz) = 121799 SHA256 (openresty-array-var-nginx-module-v0.03_GH0.tar.gz) = f9892ec9a2e872d8aabeb2234d0d4c66cf85b8dbb2ca5c108a20c3d8c2111189 SIZE (openresty-array-var-nginx-module-v0.03_GH0.tar.gz) = 9520 SHA256 (calio-form-input-nginx-module-v0.07_GH0.tar.gz) = c0c56cc697a290e98b88d4888bac8828041ef6f3049247d3cd3c63f2808d1e20 |