Update to 0.5.31.

Rewrote pkg-plist as describe in FreeBSD Porter's Handbook,
section 7.3 for fix package installation. (*)

Problem found by: Denis Shaposhnikov dsh at vlink dot ru (*)

<ChangeLog>

*) Feature: named locations.

*) Feature: the "proxy_store" and "fastcgi_store" directives.

*) Feature: the "proxy_store_access" and "fastcgi_store_access"
   directives.

</ChangeLog>
This commit is contained in:
Sergey A. Osokin 2007-08-16 08:43:06 +00:00
parent 093c817d80
commit e1917bffd1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197793
3 changed files with 10 additions and 11 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= nginx
PORTVERSION= 0.5.30
PORTVERSION= 0.5.31
CATEGORIES= www
MASTER_SITES= http://sysoev.ru/nginx/
MASTER_SITES+= ${MASTER_SITE_LOCAL}

View File

@ -1,3 +1,3 @@
MD5 (nginx-0.5.30.tar.gz) = 804cf3d6583fe820de42c5e7c50d7a1a
SHA256 (nginx-0.5.30.tar.gz) = d10047252cfaa4844a664e3cb22898dd469c95ebb6f2d05977e03d1bdaae214b
SIZE (nginx-0.5.30.tar.gz) = 474071
MD5 (nginx-0.5.31.tar.gz) = d84ef8e624b8953faf9cee2b5da535c1
SHA256 (nginx-0.5.31.tar.gz) = 34cae92545e10c6b84708d058a4981f31b688ea5309f24c394b7422ae5d71042
SIZE (nginx-0.5.31.tar.gz) = 475892

View File

@ -3,22 +3,21 @@ etc/nginx/fastcgi_params
etc/nginx/koi-utf
etc/nginx/koi-win
etc/nginx/win-utf
@unexec if cmp -s %D/etc/nginx/mime.types %D/etc/nginx/mime.types-dist; then rm -f %D/etc/nginx/mime.types; fi
@unexec if cmp -s %D/etc/nginx/mime.types-dist %D/etc/nginx/mime.types; then rm -f %D/etc/nginx/mime.types; fi
etc/nginx/mime.types-dist
@exec [ -f %D/mime.types ] || cp %D/%f %D/mime.types
@unexec if cmp -s %D/etc/nginx/nginx.conf %D/etc/nginx/nginx.conf-dist; then rm -f %D/etc/nginx/nginx.conf; fi
@exec if [ ! -f %D/etc/nginx/mime.types ] ; then cp -p %D/%F %B/mime.types; fi
@unexec if cmp -s %D/etc/nginx/nginx.conf-dist %D/etc/nginx/nginx.conf; then rm -f %D/etc/nginx/nginx.conf; fi
etc/nginx/nginx.conf-dist
@exec [ -f %D/nginx.conf ] || cp %D/%f %D/nginx.conf
@exec if [ ! -f %D/etc/nginx/nginx.conf ] ; then cp -p %D/%F %B/nginx.conf; fi
@dirrmtry etc/nginx
%%WWWDATA%%@exec mkdir -p -m 755 www/nginx-dist
@comment @unexec chmod u+w www/nginx-dist
%%WWWDATA%%@exec 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%%@exec [ -d %D/www/nginx/ ] || ln -fs %D %D/www/nginx
%%WWWDATA%%www/nginx-dist/index.html
%%WWWDATA%%www/nginx-dist/50x.html
%%WWWDATA%%@exec chmod a-w www/nginx-dist
%%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
%%WWWDATA%%@dirrm www/nginx-dist
%%WWWDATA%%@dirrmtry www/nginx-dist
sbin/nginx
@exec [ -d %%NGINX_TMPDIR%% ] || mkdir -p %%NGINX_TMPDIR%%
@exec chown %%WWWOWN%%:%%WWWGRP%% %%NGINX_TMPDIR%%