head	1.16;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.12
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.11
	RELEASE_7_0_0:1.11
	RELEASE_6_3_0:1.11
	PRE_XORG_7:1.9
	RELEASE_4_EOL:1.8
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_6_0_0:1.5
	RELEASE_5_4_0:1.5
	RELEASE_4_11_0:1.4;
locks; strict;
comment	@# @;


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

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

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

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

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

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

1.10
date	2007.08.16.08.43.06;	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.16
log
@Switch exporter over
@
text
@@@comment $FreeBSD: head/www/nginx/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.15
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/pkg-plist,v 1.14 2010/09/28 06:32:16 osa Exp $
@


1.14
log
@Update from 0.7.67 to latest stable version 0.8.51 by merge changes from
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>
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.13 2010/09/03 13:28:39 osa Exp $
a29 2
@@exec [ -d %%NGINX_TMPDIR%% ] || mkdir -p %%NGINX_TMPDIR%%
@@exec chown %%WWWOWN%%:%%WWWGRP%% %%NGINX_TMPDIR%%
@


1.13
log
@Install three plain configuration files with -dist prefix.
Do not remove fastcgi_params configuration file, which may carefully
edited by the user.

Sync DEBUG knob description with www/nginx-devel.

Bump PORTREVISION.
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.12 2008/10/15 07:36:38 osa Exp $
d7 6
@


1.12
log
@Merge latest changes from nginx-devel port.
1) new rc
2) extra command 'upgrade'
3) don't remove NGINX_TMPDIR directory, if port upgrade running
from -devel to stable port version.

Profiles are unsupported by this nginx version.

Bump PORTREVISION.
@
text
@d1 4
a4 2
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.11 2007/09/19 08:48:24 osa Exp $
%%ETCDIR%%/fastcgi_params
@


1.11
log
@Optionify.
Utilize ETCDIR for Makefile and pkg-plist.
Some knobs deprecated, so bump PORTREVISION.
@
text
@d1 1
a1 1
@@comment $FreeBSD: ports/www/nginx/pkg-plist,v 1.10 2007/08/16 08:43:06 osa Exp $
d24 1
a24 1
@@unexec rm -fr %%NGINX_TMPDIR%%
@


1.10
log
@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>
@
text
@d1 12
a12 12
@@comment $FreeBSD: ports/www/nginx/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
@

