mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
6c65a58652
www/nginx-devel. Update CONFLIGS and temporary mark IGNORE www/nginx-devel, because latest version available from www/nginx. <Announcement> Now the 0.8.x branch becomes a stable branch. The new features have been appeared during 0.8 development: o named regular expression captures; o file AIO in FreeBSD and Linux; o SSL CRL; o SCGI and uwsgi modules. </Announcement>
33 lines
1.8 KiB
Plaintext
33 lines
1.8 KiB
Plaintext
@comment $FreeBSD$
|
|
@unexec if cmp -s %D/%%ETCDIR%%/fastcgi_params-dist %D/%%ETCDIR%%/fastcgi_params; then rm -f %D/%%ETCDIR%%/fastcgi_params; fi
|
|
%%ETCDIR%%/fastcgi_params-dist
|
|
@exec if [ ! -f %D/%%ETCDIR%%/fastcgi_params ] ; then cp -p %D/%F %B/fastcgi_params; fi
|
|
%%ETCDIR%%/koi-utf
|
|
%%ETCDIR%%/koi-win
|
|
@unexec if cmp -s %D/%%ETCDIR%%/scgi_params-dist %D/%%ETCDIR%%/scgi_params; then rm -f %D/%%ETCDIR%%/scgi_params; fi
|
|
%%ETCDIR%%/scgi_params-dist
|
|
@exec if [ ! -f %D/%%ETCDIR%%/scgi_params ] ; then cp -p %D/%F %B/scgi_params; fi
|
|
@unexec if cmp -s %D/%%ETCDIR%%/uwsgi_params-dist %D/%%ETCDIR%%/uwsgi_params; then rm -f %D/%%ETCDIR%%/uwsgi_params; fi
|
|
%%ETCDIR%%/uwsgi_params-dist
|
|
@exec if [ ! -f %D/%%ETCDIR%%/uwsgi_params ] ; then cp -p %D/%F %B/uwsgi_params; fi
|
|
%%ETCDIR%%/win-utf
|
|
@unexec if cmp -s %D/%%ETCDIR%%/mime.types-dist %D/%%ETCDIR%%/mime.types; then rm -f %D/%%ETCDIR%%/mime.types; fi
|
|
%%ETCDIR%%/mime.types-dist
|
|
@exec if [ ! -f %D/%%ETCDIR%%/mime.types ] ; then cp -p %D/%F %B/mime.types; fi
|
|
@unexec if cmp -s %D/%%ETCDIR%%/nginx.conf-dist %D/%%ETCDIR%%/nginx.conf; then rm -f %D/%%ETCDIR%%/nginx.conf; fi
|
|
%%ETCDIR%%/nginx.conf-dist
|
|
@exec if [ ! -f %D/%%ETCDIR%%/nginx.conf ] ; then cp -p %D/%F %B/nginx.conf; fi
|
|
@dirrmtry %%ETCDIR%%
|
|
%%WWWDATA%%@exec mkdir -p -m 755 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%%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%%@dirrmtry www/nginx-dist
|
|
sbin/nginx
|
|
@exec [ -d %%NGINX_TMPDIR%% ] || mkdir -p %%NGINX_TMPDIR%%
|
|
@exec chown %%WWWOWN%%:%%WWWGRP%% %%NGINX_TMPDIR%%
|
|
@unexec if [ -z ${UPGRADE_PORT} ] ; then rm -fr %%NGINX_TMPDIR%%; fi
|