head	1.17;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.15
	RELEASE_8_2_0:1.15
	RELEASE_6_EOL:1.15
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.12
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.11
	RELEASE_6_3_0:1.11
	old_PRE_XORG_7:1.9
	old_RELEASE_4_EOL:1.8
	old_RELEASE_6_2_0:1.8
	old_RELEASE_6_1_0:1.6
	old_RELEASE_5_5_0:1.6
	old_RELEASE_6_0_0:1.5
	old_RELEASE_5_4_0:1.5
	old_RELEASE_4_11_0:1.4;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.06.02.43;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.06.14.08.12.29;	author osa;	state Exp;
branches;
next	1.15;

1.15
date	2010.09.03.13.21.31;	author osa;	state Exp;
branches;
next	1.14;

1.14
date	2010.07.14.12.19.44;	author osa;	state Exp;
branches;
next	1.13;

1.13
date	2010.06.17.14.08.53;	author osa;	state Exp;
branches;
next	1.12;

1.12
date	2008.07.22.05.55.18;	author osa;	state Exp;
branches;
next	1.11;

1.11
date	2007.09.03.12.19.26;	author osa;	state Exp;
branches;
next	1.10;

1.10
date	2007.08.16.08.56.36;	author osa;	state Exp;
branches;
next	1.9;

1.9
date	2007.04.02.11.26.05;	author osa;	state Exp;
branches;
next	1.8;

1.8
date	2006.06.30.12.45.38;	author osa;	state Exp;
branches;
next	1.7;

1.7
date	2006.05.10.09.55.02;	author osa;	state Exp;
branches;
next	1.6;

1.6
date	2006.01.22.02.57.34;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2005.02.14.15.09.31;	author osa;	state Exp;
branches;
next	1.4;

1.4
date	2004.12.13.06.21.58;	author krion;	state Exp;
branches;
next	1.3;

1.3
date	2004.12.07.09.07.43;	author osa;	state Exp;
branches;
next	1.2;

1.2
date	2004.11.11.14.52.40;	author osa;	state Exp;
branches;
next	1.1;

1.1
date	2004.10.21.17.54.45;	author osa;	state Exp;
branches;
next	;


desc
@@


1.17
log
@Switch exporter over
@
text
@@@comment $FreeBSD: head/www/nginx-devel/pkg-plist 300897 2012-07-14 14:29:18Z beat $
@@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
@@unexec if [ -z ${UPGRADE_PORT} ] ; then rm -fr %%NGINX_TMPDIR%%; fi
@


1.16
log
@Create temporary directory with install(1).
Remove duplicate code from Makefile and pkg-plist.

Bump PORTREVISION.

Requested by:	dougb
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx-devel/pkg-plist,v 1.15 2010/09/03 13:21:31 osa Exp $
@


1.15
log
@Install three plain configuration files with -dist prefix.
Do not remove *cgi_params configuration files, which may carefully
edited by the user.

Bump PORTREVISION.
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx-devel/pkg-plist,v 1.14 2010/07/14 12:19:44 osa Exp $
a29 2
@@exec [ -d %%NGINX_TMPDIR%% ] || mkdir -p %%NGINX_TMPDIR%%
@@exec chown %%WWWOWN%%:%%WWWGRP%% %%NGINX_TMPDIR%%
@


1.14
log
@Update from 0.8.44 to 0.8.45.
Add missing file scgi_params.

Feature safe:	yes

<ChangeLog>

*) Feature: ngx_http_xslt_filter improvements.
   Thanks to Laurence Rowe.

*) Bugfix: SSI response might be truncated after include with
   wait="yes"; the bug had appeared in 0.7.25.
   Thanks to Maxim Dounin.

*) Bugfix: the "listen" directive did not support the "setfib=0"
   parameter.

</ChangeLog>
@
text
@d1 4
a4 2
@@comment $FreeBSD: ports/www/nginx-devel/pkg-plist,v 1.13 2010/06/17 14:08:53 osa Exp $
%%ETCDIR%%/fastcgi_params
d7 6
a12 2
%%ETCDIR%%/scgi_params
%%ETCDIR%%/uwsgi_params
@


1.13
log
@Add missing file uwsgi_params.
Bump PORTREVISION.

Submitted by:	Hizbulin Ildar aka hizel at vyborg dot ru
PR:		ports/147937
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx-devel/pkg-plist,v 1.12 2008/07/22 05:55:18 osa Exp $
d5 1
@


1.12
log
@[1] Don't remove NGINX_TMPDIR directory, if port upgrade running. (*)

[2] Add extra command upgrade for rc, allowing to change binary
on-the-fly without loosing any single request.

Remove empty string from rc.
Bump PORTREVISION.

[1,2] Problems reported by:	Maxim Dounin aka mdounin at mdounin dot ru
PR's:				125762,125766
(*) Undocumented feature from:	skv@@
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx-devel/pkg-plist,v 1.11 2007/09/03 12:19:26 osa Exp $
d5 1
@


1.11
log
@Update to 0.6.10.
Utilize %%ETCDIR%%.

<ChangeLog>

*) Feature: the "open_file_cache", "open_file_cache_retest",
   and "open_file_cache_errors" directives.

*) Bugfix: socket leak; bug appeared in 0.6.7.

*) Bugfix: a charset set by the "charset" directive was not
   appended to the "Content-Type" header set by
   $r->send_http_header().

*) Bugfix: a segmentation fault might occur in worker process
   if /dev/poll method was used.

</ChangeLog>
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx-devel/pkg-plist,v 1.10 2007/08/16 08:56:36 osa Exp $
d24 1
a24 1
@@unexec rm -fr %%NGINX_TMPDIR%%
@


1.10
log
@Update to 0.6.7.
Update patch for nginx.conf.
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>

*) Change: now the paths specified in the "include",
   "auth_basic_user_file", "perl_modules", "ssl_certificate",
   "ssl_certificate_key", and "ssl_client_certificate" directives
    are relative to directory of nginx configuration file
    nginx.conf, but no to nginx prefix directory.

*) Change: the --sysconfdir=PATH option in configure was canceled.

*) Change: the special make target "upgrade1" was defined for
   online upgrade of 0.1.x versions.

*) Feature: the "server_name" and "valid_referers" directives
   support regular expressions.

*) Feature: the "server" directive in the "upstream" context
   supports the "backup" parameter.

*) Feature: the ngx_http_perl_module supports the
   $r->discard_request_body.

*) Feature: the "add_header Last-Modified ..." directive changes
   the "Last-Modified" response header line.

*) Bugfix: if an response different than 200 was returned to an
   request with body and connection went to the keep-alive state
   after the request, then nginx returned 400 for the next request.

*) Bugfix: a segmentation fault occurred in worker process if
   invalid address was set in the "auth_http" directive.

*) Bugfix: now nginx uses default listen backlog value 511 on all
   platforms except FreeBSD.
   Thanks to Jiang Hong.

*) Bugfix: a worker process may got caught in an endless loop,
   if an "server" inside "upstream" block was marked as "down";
   bug appeared in 0.6.6.

*) Bugfix: now Solaris sendfilev() is not used to transfer the
   client request body to FastCGI-server via the unix domain
   socket.

</ChangeLog>
@
text
@d1 12
a12 12
@@comment $FreeBSD: ports/www/nginx-devel/pkg-plist,v 1.9 2007/04/02 11:26:05 osa Exp $
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-dist %D/etc/nginx/mime.types; then rm -f %D/etc/nginx/mime.types; fi
etc/nginx/mime.types-dist
@@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 if [ ! -f %D/etc/nginx/nginx.conf ] ; then cp -p %D/%F %B/nginx.conf; fi
@@dirrmtry etc/nginx
@


1.9
log
@Update to latest bugfix release 0.5.17.

Change knob IMAP_MODULE to MAIL_MODULE (1).
Keep compatibility for IMAP_MODULE, notice warning if usage.
Cosmetic fixes for package list (2).

(1) Anton Yuzhaninov (citrin at rambler-co dot ru)
(2) portlint -a
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.8 2006/06/30 12:45:38 osa Exp $
d6 1
a6 1
@@unexec if cmp -s %D/etc/nginx/mime.types %D/etc/nginx/mime.types-dist; then rm -f %D/etc/nginx/mime.types; fi
d8 2
a9 2
@@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
d11 1
a11 1
@@exec [ -f %D/nginx.conf ] || cp %D/%f %D/nginx.conf
d14 1
a14 1
@@comment @@unexec chmod u+w www/nginx-dist
a15 1
%%WWWDATA%%@@exec [ -d %D/www/nginx/ ] || ln -fs %D %D/www/nginx
d20 1
a20 1
%%WWWDATA%%@@dirrm www/nginx-dist
@


1.8
log
@Install 4 additional files from distro.
Bump PORTREVISION.
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.7 2006/05/10 09:55:02 osa Exp $
d8 1
a8 1
@@exec [ -f %B/mime.types ] || cp %B/%f %B/mime.types
d11 1
a11 1
@@exec [ -f %B/nginx.conf ] || cp %B/%f %B/nginx.conf
d16 1
a16 1
%%WWWDATA%%@@exec [ -d %D/www/nginx/ ] || ln -fs %B %D/www/nginx
@


1.7
log
@Update to 0.3.45.

Update port infrastructure.
Add compiler's debug flag if WITH_DEBUG defined.
Add prefix NGINX_ for port's variables (VARDIR, LOGDIR, TMPDIR) for
prevent conflict with system variables.
Remove STOP_BEFORE_REMOVE and START_AFTER_INSTALL knobs.
@
text
@d1 3
a3 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.6 2006/01/22 02:57:34 edwin Exp $
d5 1
d18 1
@


1.6
log
@Replace ugly "@@unexec rmdir %D... 2>/dev/null || true" with @@dirrmtry

Approved by:    krion@@
PR:             ports/88711 (related)
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.5 2005/02/14 15:09:31 osa Exp $
a17 1
%%STOP_BEFORE_REMOVE%%@@unexec %D/etc/rc.d/nginx.sh stop || true
d19 3
a21 5
etc/rc.d/nginx.sh
@@exec [ -d %%TMPDIR%% ] || mkdir -p %%TMPDIR%%
@@exec chown %%WWWOWN%%:%%WWWGRP%% %%TMPDIR%%
@@unexec rm -fr %%TMPDIR%%
%%START_AFTER_INSTALL%%@@exec %D/etc/rc.d/nginx.sh start
@


1.5
log
@Update to 0.1.18.

Create and remove ${TMPDIR} for package on install/deinstall time.
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.4 2004/12/13 06:21:58 krion Exp $
d9 1
a9 1
@@unexec rmdir %D/etc/nginx 2>/dev/null || true
@


1.4
log
@Fix typo.
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.3 2004/12/07 09:07:43 osa Exp $
d21 3
@


1.3
log
@Update to 0.1.12.
Fix link to WWWDATA directory (test link exist before make link).
Add two new knobs: START_AFTER_INSTALL and STOP_BEFORE_REMOVE.
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.2 2004/11/11 14:52:40 osa Exp $
d9 1
a9 1
@@unexec rmdir $D/etc/nginx 2>/dev/null || true
@


1.2
log
@Update to 0.1.5.
Add WITHOUT_WWW knob.
@
text
@d1 2
a2 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.1 2004/10/21 17:54:45 osa Exp $
d18 4
@


1.1
log
@Add nginx (Engine X) - small and fast WWW-server.

Special thanks to:	marck
Some ideas from PR:	72830
@
text
@d1 1
a1 1
@@comment $FreeBSD$
d9 1
a9 1
@@exec mkdir -p -m 755 www/nginx-dist
d11 6
a16 6
www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
@@exec [ -d %D/www/nginx/ ] || ln -fs %B %D/www/nginx
www/nginx-dist/index.html
@@exec chmod a-w www/nginx-dist
@@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
@@dirrm www/nginx-dist
@

