diff options
author | osa <osa@FreeBSD.org> | 2017-12-15 08:56:39 +0800 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2017-12-15 08:56:39 +0800 |
commit | 3b6c6fd17b1944d200e9a3e861df5c3171219e2d (patch) | |
tree | c7137a3a3d4c4e770d6949a1510e79c749019a2e /www | |
parent | b439940095a941001358080ab80e2e9af7e611a9 (diff) | |
download | freebsd-ports-gnome-3b6c6fd17b1944d200e9a3e861df5c3171219e2d.tar.gz freebsd-ports-gnome-3b6c6fd17b1944d200e9a3e861df5c3171219e2d.tar.zst freebsd-ports-gnome-3b6c6fd17b1944d200e9a3e861df5c3171219e2d.zip |
Use @postexec keyword instead of deprecated @exec one in pkg-plist.
Bump PORTREVISION.
While I'm here upgrade third-party fancyindex module to the latest
version - 0.4.2.
Diffstat (limited to 'www')
-rw-r--r-- | www/nginx-devel/Makefile | 4 | ||||
-rw-r--r-- | www/nginx-devel/distinfo | 6 | ||||
-rw-r--r-- | www/nginx-devel/pkg-plist | 8 |
3 files changed, 9 insertions, 9 deletions
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 59b409ab967a..0f5aa5769cb5 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -3,7 +3,7 @@ PORTNAME= nginx PORTVERSION= 1.13.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ MASTER_SITES+= LOCAL/osa @@ -524,7 +524,7 @@ CONFIGURE_ARGS+=--add-module=${WRKSRC_eval} .endif .if ${PORT_OPTIONS:MHTTP_FANCYINDEX} -NGINX_FANCYINDEX_VERSION= 0.4.1 +NGINX_FANCYINDEX_VERSION= 0.4.2 GH_ACCOUNT+= aperezdc:fancyindex GH_PROJECT+= ngx-fancyindex:fancyindex GH_TAGNAME+= v${NGINX_FANCYINDEX_VERSION}:fancyindex diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index f101878d52a8..fda28a3e3cb4 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1512445126 +TIMESTAMP = 1513298617 SHA256 (nginx-1.13.7.tar.gz) = beb732bc7da80948c43fd0bf94940a21a21b1c1ddfba0bd99a4b88e026220f5c SIZE (nginx-1.13.7.tar.gz) = 990836 SHA256 (ngx_cache_purge-2.3.tar.gz) = 279e0d8a46d3b1521fd43b3f78bc1c08b263899142a7cc5058c1c0361a92c89c @@ -47,8 +47,8 @@ SHA256 (arut-nginx-dav-ext-module-v0.0.3_GH0.tar.gz) = d428a0236c933779cb40ac8c9 SIZE (arut-nginx-dav-ext-module-v0.0.3_GH0.tar.gz) = 6260 SHA256 (openresty-nginx-eval-module-342c812_GH0.tar.gz) = c45f6438474593f0cf5229160327d20c2f2d72e9c0b5c8cf9e0ef8d5295de177 SIZE (openresty-nginx-eval-module-342c812_GH0.tar.gz) = 14183 -SHA256 (aperezdc-ngx-fancyindex-v0.4.1_GH0.tar.gz) = 2b00d8e0ad2a67152a9cee7b7ee67990c742d501412df912baaf1eee9bb6dc71 -SIZE (aperezdc-ngx-fancyindex-v0.4.1_GH0.tar.gz) = 21130 +SHA256 (aperezdc-ngx-fancyindex-v0.4.2_GH0.tar.gz) = 8327150864ca267b735d550d3304030efbbd863fdddfe0a94e970f249a8827ee +SIZE (aperezdc-ngx-fancyindex-v0.4.2_GH0.tar.gz) = 22047 SHA256 (alibaba-nginx-http-footer-filter-1.2.2_GH0.tar.gz) = 3493b54460c59370f9f60c6e662862752f1920fc6e684f7a66bb2b3260692813 SIZE (alibaba-nginx-http-footer-filter-1.2.2_GH0.tar.gz) = 3934 SHA256 (leev-ngx_http_geoip2_module-2.0_GH0.tar.gz) = ebb4652c4f9a2e1ee31fddefc4c93ff78e651a4b2727d3453d026bccbd708d99 diff --git a/www/nginx-devel/pkg-plist b/www/nginx-devel/pkg-plist index f7e44688f120..5f8800d2ace6 100644 --- a/www/nginx-devel/pkg-plist +++ b/www/nginx-devel/pkg-plist @@ -6,13 +6,13 @@ %%ETCDIR%%/win-utf @sample %%ETCDIR%%/mime.types-dist %%ETCDIR%%/mime.types @sample %%ETCDIR%%/nginx.conf-dist %%ETCDIR%%/nginx.conf -%%WWWDATA%%@exec mkdir -p -m 755 %D/www/nginx-dist -%%WWWDATA%%@exec if [ ! -d %D/www/nginx/ ] ; then ln -fs %D/www/nginx-dist %D/www/nginx; fi +%%WWWDATA%%@postexec mkdir -p -m 755 %D/www/nginx-dist +%%WWWDATA%%@postexec if [ ! -d %D/www/nginx/ ] ; then ln -fs %D/www/nginx-dist %D/www/nginx; fi %%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING %%WWWDATA%%www/nginx-dist/index.html %%WWWDATA%%www/nginx-dist/50x.html -%%WWWDATA%%@exec chmod a-w %D/www/nginx-dist -%%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi +%%WWWDATA%%@postexec chmod a-w %D/www/nginx-dist +%%WWWDATA%%@postunexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi sbin/nginx @dir %%NGINX_TMPDIR%% @dir %%NGINX_LOGDIR%% |