aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2016-05-02 04:54:57 +0800
committerosa <osa@FreeBSD.org>2016-05-02 04:54:57 +0800
commit3b886edf0c1d7d19565245f47cc0b4b61e4b71a0 (patch)
treead3c30726144d50361a3b7413f9cf9aa06e2e1a8 /www/nginx
parent4d3753de5bb5ec55d2d818c5ef22e88a0cc2789e (diff)
downloadfreebsd-ports-gnome-3b886edf0c1d7d19565245f47cc0b4b61e4b71a0.tar.gz
freebsd-ports-gnome-3b886edf0c1d7d19565245f47cc0b4b61e4b71a0.tar.zst
freebsd-ports-gnome-3b886edf0c1d7d19565245f47cc0b4b61e4b71a0.zip
Add the pkg-message with the message about recent changes.
Bump PORTREVISION.
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/Makefile6
-rw-r--r--www/nginx/files/pkg-message.in23
2 files changed, 27 insertions, 2 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index d2daf63e4213..60eddc014ced 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nginx
PORTVERSION= 1.10.0
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= http://nginx.org/download/
@@ -255,10 +255,12 @@ NGINX_ERRORLOG?= ${NGINX_LOGDIR}/nginx-error.log
CONFLICTS?= nginx-devel-1.*
USE_RC_SUBR= nginx
+SUB_FILES= pkg-message
SUB_LIST+= WWWOWN=${WWWOWN} \
WWWGRP=${WWWGRP} \
NGINX_RUNDIR=${NGINX_RUNDIR} \
- NGINX_TMPDIR=${NGINX_TMPDIR}
+ NGINX_TMPDIR=${NGINX_TMPDIR} \
+ PREFIX=${PREFIX}
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=--prefix=${ETCDIR} \
diff --git a/www/nginx/files/pkg-message.in b/www/nginx/files/pkg-message.in
new file mode 100644
index 000000000000..7022d9c83995
--- /dev/null
+++ b/www/nginx/files/pkg-message.in
@@ -0,0 +1,23 @@
+
+===================================================================
+Recent version of the NGINX introduces dynamic modules support. In
+FreeBSD ports tree this feature was enabled by default with the DSO
+knob. Several vendor's and third-party modules have been converted
+to dynamic modules. Unset the DSO knob builds an NGINX without
+dynamic modules support.
+
+To load a module at runtime, include the new `load_module'
+directive in the main context, specifying the path to the shared
+object file for the module, enclosed in quotation marks. When you
+reload the configuration or restart NGINX, the module is loaded in.
+It is possible to specify a path relative to the source directory,
+or a full path, please see
+https://www.nginx.com/blog/dynamic-modules-nginx-1-9-11/ and
+http://nginx.org/en/docs/ngx_core_module.html#load_module for
+details.
+
+Default path for the NGINX dynamic modules is
+
+%%PREFIX%%/libexec/nginx.
+===================================================================
+