Update 3rd party Modul njs and add do-install

Sponsored by:	Netzkommune GmbH
This commit is contained in:
Jochen Neumeister 2020-03-13 17:47:43 +00:00
parent 265a8799c1
commit 544741ba0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528367
4 changed files with 9 additions and 6 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= nginx
PORTVERSION= 1.16.1
PORTREVISION?= 11
PORTREVISION?= 12
PORTEPOCH= 2
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
@ -168,7 +168,6 @@ HTTP_REWRITE_CONFIGURE_OFF= --without-http_rewrite_module
HTTP_SECURE_LINK_CONFIGURE_ON= --with-http_secure_link_module
HTTP_SLICE_CONFIGURE_ON= --with-http_slice_module
HTTP_SSL_CONFIGURE_ON= --with-http_ssl_module
HTTP_SSL_USE= openssl_rpath
HTTP_SSL_USES= ssl
HTTP_STATUS_CONFIGURE_ON= --with-http_stub_status_module
HTTP_SUB_CONFIGURE_ON= --with-http_sub_module
@ -365,6 +364,9 @@ do-install-NAXSI-on:
${WRKDIR}/naxsi-${NAXSI_NGINX_VER}/naxsi_config/naxsi_core.rules \
${STAGEDIR}${ETCDIR}
do-install-NJS-on:
${INSTALL_PROGRAM} ${WRKSRC_njs}/build/njs ${STAGEDIR}${PREFIX}/sbin
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/vim/vimfiles
cd ${WRKSRC}/contrib/vim && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/vim/vimfiles

View file

@ -246,7 +246,7 @@ NAXSI_NGINX_VER= 0.56
NAXSI_GH_TUPLE= nbs-system:naxsi:${NAXSI_NGINX_VER}:naxsi
NAXSI_VARS= DSO_EXTMODS+=naxsi NAXSI_SUBDIR=/naxsi_src
NJS_GH_TUPLE= nginx:njs:19ff812:njs
NJS_GH_TUPLE= nginx:njs:3c63fb0:njs
NJS_VARS= DSO_EXTMODS+=njs NJS_SUBDIR=/nginx
PASSENGER_NGINX_VER= 6.0.4

View file

@ -1,4 +1,4 @@
TIMESTAMP = 1579717532
TIMESTAMP = 1584099003
SHA256 (nginx-1.16.1.tar.gz) = f11c2a6dd1d3515736f0324857957db2de98be862461b5a542a3ac6188dbe32b
SIZE (nginx-1.16.1.tar.gz) = 1032630
SHA256 (ngx_cache_purge-2.3.tar.gz) = 279e0d8a46d3b1521fd43b3f78bc1c08b263899142a7cc5058c1c0361a92c89c
@ -115,8 +115,8 @@ SHA256 (SpiderLabs-ModSecurity-nginx-v1.0.1_GH0.tar.gz) = c969a78659bb47c84929de
SIZE (SpiderLabs-ModSecurity-nginx-v1.0.1_GH0.tar.gz) = 31920
SHA256 (nbs-system-naxsi-0.56_GH0.tar.gz) = 0a66dcadd32432460fab180be9f2efe24e911e3798917b2787ee710e02901eb4
SIZE (nbs-system-naxsi-0.56_GH0.tar.gz) = 192120
SHA256 (nginx-njs-19ff812_GH0.tar.gz) = f84dc6d2b1668f6841f0591f6741c2553f043f7fca38a9eb24550419249f8985
SIZE (nginx-njs-19ff812_GH0.tar.gz) = 398411
SHA256 (nginx-njs-3c63fb0_GH0.tar.gz) = 3475c177341f86d9a696df44c6bcc8dad0276764f34bcb7a27a8a2fde1a9a939
SIZE (nginx-njs-3c63fb0_GH0.tar.gz) = 412586
SHA256 (FRiCKLE-ngx_postgres-1.0rc7_GH0.tar.gz) = c942e674a7273ab87caab4dcad626ab54852be192c29b1add50d2cb535e3cbb9
SIZE (FRiCKLE-ngx_postgres-1.0rc7_GH0.tar.gz) = 40742
SHA256 (openresty-rds-csv-nginx-module-v0.08_GH0.tar.gz) = 26e80646cc4ad87984c60dab584e8f32faf5dbebb4c6911784339822f4675c79

View file

@ -65,6 +65,7 @@
%%WWW%%www/nginx-dist/50x.html
%%WWW%%@postexec chmod a-w %D/www/nginx-dist
%%WWW%%@postunexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
%%NJS%%sbin/njs
sbin/nginx
share/vim/vimfiles/ftdetect/nginx.vim
share/vim/vimfiles/ftplugin/nginx.vim