head	1.35;
access;
symbols
	pkgsrc-2017Q4:1.34.0.6
	pkgsrc-2017Q4-base:1.34
	pkgsrc-2017Q3:1.34.0.4
	pkgsrc-2017Q3-base:1.34
	pkgsrc-2017Q2:1.33.0.26
	pkgsrc-2017Q2-base:1.33
	pkgsrc-2017Q1:1.33.0.24
	pkgsrc-2017Q1-base:1.33
	pkgsrc-2016Q4:1.33.0.22
	pkgsrc-2016Q4-base:1.33
	pkgsrc-2016Q3:1.33.0.20
	pkgsrc-2016Q3-base:1.33
	pkgsrc-2016Q2:1.33.0.18
	pkgsrc-2016Q2-base:1.33
	pkgsrc-2016Q1:1.33.0.16
	pkgsrc-2016Q1-base:1.33
	pkgsrc-2015Q4:1.33.0.14
	pkgsrc-2015Q4-base:1.33
	pkgsrc-2015Q3:1.33.0.12
	pkgsrc-2015Q3-base:1.33
	pkgsrc-2015Q2:1.33.0.10
	pkgsrc-2015Q2-base:1.33
	pkgsrc-2015Q1:1.33.0.8
	pkgsrc-2015Q1-base:1.33
	pkgsrc-2014Q4:1.33.0.6
	pkgsrc-2014Q4-base:1.33
	pkgsrc-2014Q3:1.33.0.4
	pkgsrc-2014Q3-base:1.33
	pkgsrc-2014Q2:1.33.0.2
	pkgsrc-2014Q2-base:1.33
	pkgsrc-2014Q1:1.32.0.12
	pkgsrc-2014Q1-base:1.32
	pkgsrc-2013Q4:1.32.0.10
	pkgsrc-2013Q4-base:1.32
	pkgsrc-2013Q3:1.32.0.8
	pkgsrc-2013Q3-base:1.32
	pkgsrc-2013Q2:1.32.0.6
	pkgsrc-2013Q2-base:1.32
	pkgsrc-2013Q1:1.32.0.4
	pkgsrc-2013Q1-base:1.32
	pkgsrc-2012Q4:1.32.0.2
	pkgsrc-2012Q4-base:1.32
	pkgsrc-2012Q3:1.31.0.22
	pkgsrc-2012Q3-base:1.31
	pkgsrc-2012Q2:1.31.0.20
	pkgsrc-2012Q2-base:1.31
	pkgsrc-2012Q1:1.31.0.18
	pkgsrc-2012Q1-base:1.31
	pkgsrc-2011Q4:1.31.0.16
	pkgsrc-2011Q4-base:1.31
	pkgsrc-2011Q3:1.31.0.14
	pkgsrc-2011Q3-base:1.31
	pkgsrc-2011Q2:1.31.0.12
	pkgsrc-2011Q2-base:1.31
	pkgsrc-2011Q1:1.31.0.10
	pkgsrc-2011Q1-base:1.31
	pkgsrc-2010Q4:1.31.0.8
	pkgsrc-2010Q4-base:1.31
	pkgsrc-2010Q3:1.31.0.6
	pkgsrc-2010Q3-base:1.31
	pkgsrc-2010Q2:1.31.0.4
	pkgsrc-2010Q2-base:1.31
	pkgsrc-2010Q1:1.31.0.2
	pkgsrc-2010Q1-base:1.31
	pkgsrc-2009Q4:1.30.0.34
	pkgsrc-2009Q4-base:1.30
	pkgsrc-2009Q3:1.30.0.32
	pkgsrc-2009Q3-base:1.30
	pkgsrc-2009Q2:1.30.0.30
	pkgsrc-2009Q2-base:1.30
	pkgsrc-2009Q1:1.30.0.28
	pkgsrc-2009Q1-base:1.30
	pkgsrc-2008Q4:1.30.0.26
	pkgsrc-2008Q4-base:1.30
	pkgsrc-2008Q3:1.30.0.24
	pkgsrc-2008Q3-base:1.30
	cube-native-xorg:1.30.0.22
	cube-native-xorg-base:1.30
	pkgsrc-2008Q2:1.30.0.20
	pkgsrc-2008Q2-base:1.30
	cwrapper:1.30.0.18
	pkgsrc-2008Q1:1.30.0.16
	pkgsrc-2008Q1-base:1.30
	pkgsrc-2007Q4:1.30.0.14
	pkgsrc-2007Q4-base:1.30
	pkgsrc-2007Q3:1.30.0.12
	pkgsrc-2007Q3-base:1.30
	pkgsrc-2007Q2:1.30.0.10
	pkgsrc-2007Q2-base:1.30
	pkgsrc-2007Q1:1.30.0.8
	pkgsrc-2007Q1-base:1.30
	pkgsrc-2006Q4:1.30.0.6
	pkgsrc-2006Q4-base:1.30
	pkgsrc-2006Q3:1.30.0.4
	pkgsrc-2006Q3-base:1.30
	pkgsrc-2006Q2:1.30.0.2
	pkgsrc-2006Q2-base:1.30
	pkgsrc-2006Q1:1.29.0.2
	pkgsrc-2006Q1-base:1.29
	pkgsrc-2005Q4:1.27.0.10
	pkgsrc-2005Q4-base:1.27
	pkgsrc-2005Q3:1.27.0.8
	pkgsrc-2005Q3-base:1.27
	pkgsrc-2005Q2:1.27.0.6
	pkgsrc-2005Q2-base:1.27
	pkgsrc-2005Q1:1.27.0.4
	pkgsrc-2005Q1-base:1.27
	pkgsrc-2004Q4:1.27.0.2
	pkgsrc-2004Q4-base:1.27
	pkgsrc-2004Q3:1.26.0.4
	pkgsrc-2004Q3-base:1.26
	pkgsrc-2004Q2:1.26.0.2
	pkgsrc-2004Q2-base:1.26
	pkgsrc-2004Q1:1.25.0.4
	pkgsrc-2004Q1-base:1.25
	pkgsrc-2003Q4:1.25.0.2
	pkgsrc-2003Q4-base:1.25
	netbsd-1-6-1:1.21.0.2
	netbsd-1-6-1-base:1.21
	netbsd-1-6:1.21.0.4
	netbsd-1-6-RELEASE-base:1.21
	pkgviews:1.19.0.4
	pkgviews-base:1.19
	buildlink2:1.19.0.2
	buildlink2-base:1.19
	netbsd-1-5-PATCH003:1.19
	netbsd-1-5-PATCH001:1.18
	netbsd-1-5-RELEASE:1.13
	netbsd-1-4-PATCH003:1.13
	netbsd-1-4-PATCH002:1.9
	comdex-fall-1999:1.8
	netbsd-1-4-PATCH001:1.8
	netbsd-1-4-RELEASE:1.7;
locks; strict;
comment	@# @;


1.35
date	2018.01.01.10.23.05;	author wiz;	state dead;
branches;
next	1.34;
commitid	zjUBNlZlngYbU9lA;

1.34
date	2017.08.16.20.45.46;	author wiz;	state Exp;
branches;
next	1.33;
commitid	pmDKNBksxK1CMt3A;

1.33
date	2014.06.10.15.22.15;	author joerg;	state Exp;
branches;
next	1.32;
commitid	djgMkPoOrhNxnZDx;

1.32
date	2012.10.28.06.30.04;	author asau;	state Exp;
branches;
next	1.31;

1.31
date	2010.02.20.14.58.45;	author joerg;	state Exp;
branches;
next	1.30;

1.30
date	2006.06.02.18.27.59;	author joerg;	state Exp;
branches;
next	1.29;

1.29
date	2006.02.05.23.11.17;	author joerg;	state Exp;
branches;
next	1.28;

1.28
date	2006.01.24.07.32.42;	author wiz;	state Exp;
branches;
next	1.27;

1.27
date	2004.10.28.21.01.50;	author cube;	state Exp;
branches;
next	1.26;

1.26
date	2004.05.08.15.19.18;	author grant;	state Exp;
branches;
next	1.25;

1.25
date	2003.07.17.22.55.24;	author grant;	state Exp;
branches;
next	1.24;

1.24
date	2003.06.02.01.16.09;	author jschauma;	state Exp;
branches;
next	1.23;

1.23
date	2003.02.17.21.01.07;	author grant;	state Exp;
branches;
next	1.22;

1.22
date	2003.02.17.18.02.21;	author grant;	state Exp;
branches;
next	1.21;

1.21
date	2002.08.01.02.37.42;	author jschauma;	state Exp;
branches;
next	1.20;

1.20
date	2002.07.24.19.45.29;	author jlam;	state Exp;
branches;
next	1.19;

1.19
date	2001.05.20.05.23.27;	author jonb;	state Exp;
branches;
next	1.18;

1.18
date	2001.04.30.03.46.33;	author jlam;	state Exp;
branches;
next	1.17;

1.17
date	2001.03.27.03.20.22;	author hubertf;	state Exp;
branches;
next	1.16;

1.16
date	2001.02.17.17.21.48;	author wiz;	state Exp;
branches;
next	1.15;

1.15
date	2000.11.28.13.03.06;	author mjl;	state Exp;
branches;
next	1.14;

1.14
date	2000.10.26.19.21.54;	author mjl;	state Exp;
branches;
next	1.13;

1.13
date	2000.09.05.09.33.17;	author jlam;	state Exp;
branches;
next	1.12;

1.12
date	2000.08.28.09.14.51;	author jlam;	state Exp;
branches;
next	1.11;

1.11
date	2000.05.18.10.11.05;	author mjl;	state Exp;
branches;
next	1.10;

1.10
date	2000.05.03.16.40.34;	author mjl;	state Exp;
branches;
next	1.9;

1.9
date	99.11.21.22.12.58;	author tron;	state Exp;
branches;
next	1.8;

1.8
date	99.05.13.14.59.43;	author tv;	state Exp;
branches;
next	1.7;

1.7
date	99.04.30.17.05.21;	author tv;	state Exp;
branches;
next	1.6;

1.6
date	99.04.14.18.00.48;	author bad;	state Exp;
branches;
next	1.5;

1.5
date	98.12.04.17.25.59;	author tv;	state Exp;
branches;
next	1.4;

1.4
date	98.12.04.00.31.01;	author tv;	state Exp;
branches;
next	1.3;

1.3
date	98.11.19.15.40.47;	author agc;	state Exp;
branches;
next	1.2;

1.2
date	98.10.05.14.27.19;	author tv;	state Exp;
branches;
next	1.1;

1.1
date	98.10.03.21.49.59;	author tv;	state Exp;
branches;
next	;


desc
@@


1.35
log
@apache22: remove, it was eol'd in June 2017

Remove packages that only work with apache22.
Remove apache22 references.
@
text
@# $NetBSD: Makefile,v 1.34 2017/08/16 20:45:46 wiz Exp $

DISTNAME=	mod_fastcgi-2.4.6
PKGNAME=	${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
CATEGORIES=	www
#MASTER_SITES=	http://www.fastcgi.com/dist/

MAINTAINER=	pkgsrc-users@@NetBSD.org
#HOMEPAGE=	http://www.fastcgi.com/
COMMENT=	New, improved CGI-like interface module for Apache

PLIST_SUBST+=	APACHE_MANUAL=${APACHE_MANUAL:Q}
MESSAGE_SUBST+=	APACHE_MANUAL=${APACHE_MANUAL:Q}

INSTALLATION_DIRS+=	share/httpd/${APACHE_MANUAL}/mod

post-install:
	${INSTALL_DATA} ${WRKSRC}/docs/mod_fastcgi.html	\
		${DESTDIR}${PREFIX}/share/httpd/${APACHE_MANUAL}/mod/

PKG_APACHE_ACCEPTED=	apache22
APACHE_MANUAL=		manual
APACHE_MODULE=		YES
USE_LIBTOOL=		YES

MAKE_FLAGS+=		LIBTOOL=${LIBTOOL:Q}

SUBST_CLASSES+=		ap2
SUBST_STAGE.ap2=	pre-build
SUBST_FILES.ap2=	Makefile
SUBST_SED.ap2=		-e s,/usr/local/apache2,${PREFIX}/share/httpd,

post-patch:
	${CP} ${WRKSRC}/Makefile.AP2 ${WRKSRC}/Makefile

.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"
@


1.34
log
@Comment out dead sites.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2014/06/10 15:22:15 joerg Exp $
@


1.33
log
@Retire Apache 1.3 and 2.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2012/10/28 06:30:07 asau Exp $
d6 1
a6 1
MASTER_SITES=	http://www.fastcgi.com/dist/
d9 1
a9 1
HOMEPAGE=	http://www.fastcgi.com/
@


1.32
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.31 2010/02/20 14:58:45 joerg Exp $
#
d3 4
a6 1
.include "Makefile.common"
d8 3
a10 1
PKGNAME=	${DISTNAME:S/mod_/ap13-/}
d12 2
a13 1
CONFLICTS=	ap-fastcgi-[0-9]*
d15 1
a15 3
APACHE_MODULE=	yes
APACHE_MODULE_NAME=	mod_fastcgi.so
APACHE_MANUAL=	htdocs/manual
d17 20
a36 1
.include "../../www/apache/module.mk"
@


1.31
log
@DESTDIR support for various Apache modules.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2006/06/02 18:27:59 joerg Exp $
a3 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.30
log
@Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or
ap2-* respectively. Add new variables to simplify the Makefile
handling. Add CONFLICTS on the old names. Reset revisions of bumped
packages. ap-php will now depend on the default Apache and PHP version.
All programs using it have an implicit option of the Apache version
as well.

OK from jlam@@ and adrianp@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2006/02/05 23:11:17 joerg Exp $
d4 2
@


1.29
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2006/01/24 07:32:42 wiz Exp $
d6 3
a8 2
PKGNAME=	${DISTNAME:S/mod_/ap-/}
PKGREVISION=	2
@


1.28
log
@Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2004/10/28 21:01:50 cube Exp $
d7 1
a7 1
PKGREVISION=	1
@


1.27
log
@Update to version 2.4.2.  Split Apache version-dependent parts from the
rest through a Makefile.common entity.  It will help with incoming
ap2-fastcgi addition.

Changes:  lots of!

2.4.2
 *) [WIN] Fix handle leaks in the process manager.
    Sascha Schumann [sascha@@schumann.cx]
 *) [WIN] Use a permanent pool for allocating the SystemRoot
    environment variable.  Sakamoto [ringring@@zb4.so-net.ne.jp]
 *) [WIN] Fix starting of scripts under AP2.
 *) Do the connect() to the application *after* collecting a chunk
    of client data.  This reinstates the pre-2.4.0 behaviour.
    James Jurach [muaddib@@erf.net].
 *) Remove an assert that was triggering on WIN when spawn() failed.
 *) Provide the NO_SUEXEC_FOR_AP_USER_N_GROUP macro for building
    mod_fastcgi with the AP13 suexec behaviour (don't use suexec
    if httpd's user and group match that needed for the application).
 *) Prevent the use of all but the "auth" directives from being used
    anywhere but in global scope.  Prevent more than one instance
    of the FastCgiWrapper directive.
 *) Return NOT_FOUND (404) or FORBIDDEN (403) instead of
    INTERNAL_SERVER_ERROR (500) when there are configuration issues
    or the script does't exist.  Suggested by Jeff Lawson [bovine@@ud.com].

2.4.0
 *) [*nix Security] - When FastCgiWrapper (FastCgiSuexec) was in use
    and a vhost configured to use the same uid/gid as the main
    server, mod_fastcgi would not bother using the wrapper (suexec)
    because its effective uid/gid was already appropriate.  This is
    consistent with Apache's v1.3 mod_cgi behaviour.  There are two
    problems with this approach:  1) when FastCgWrapper is in use
    mod_fastcgi's process manager keeps its root privileges (as its
    real uid/gid) so it can terminate the applications its starts -
    this privilege was being passed to applications when the use of
    the wrapper was bypassed  2) wrappers are often employed to
    perform functionality beyond setting the uid/gid - by not calling
    the wrapper under certain circumstances, application invocation
    environments were inconsistent.  With this change, the wrapper is
    always used (when enabled) under both Apache 1.3 and 2.
    Reported by Michael Richards [michael@@fastmail.ca].
 *) [*nix/AP2] Use the vhost uid/gid instead of the server uid/gid
    for dynamic application invocation when the FastCgiWrapper is in use.
    Reported by Michael Richards [michael@@fastmail.ca]
 *) [*nix] Fix handling of FastCgiWrapper when passed a real path,
    i.e. other than "on" or "off".  Michael Richards [michael@@fastmail.ca]
 *) Eliminate the logging of "incomplete headers (0 bytes) received from
    server" when a client aborts.
 *) [WIN32] Fix a delay in handling large POSTs to named pipe based
    servers. Philip Gladstone [philip@@okena.com]
 *) [*nix/AP2] Prevent the module from being initalized twice at startup
    (resulting in confusing error messages to the log).
 *) Eliminate the need for SetHandler or AddHandler with static or
    external applications.
 *) Limit PM requests to start a dynamic application
    to 5sec to prevent endless spinning (this is a drop-dead
    limit that should only occur if the socket/named_pipe directory
    is removed out from under a running server).
 *) [*nix] Change the default socket directory from /tmp/fcgi to:
    Apache  - logs/fastcgi
    Apache2 - RUNTIMEDIR/fastcgi
 *) Add -user & -group args to FastCgiServer and FastCgiExternalServer
    for use with wrappers (in lieu of finding the user/group associated
    with a virtual host - under Apache2 this isn't accomodated).
 *) [WIN32] Under Apache2, require v2.0.41 or later in order to pickup my
    apr_proc_create() changes.
 *) Log when invoking and restoring the restart backoff policy.
 *) [WIN32] Prevent intermittent ReadFile() failures (properly initialize the
    OVERLAPPED structure).
 *) Eliminate need for dummy files for external servers under Apache2
 *) Fix auth compatibility mode handling for access checker and authorizer
 *) Fix HEAD request handling.  Based on a patch by
    Chris Lightfoot [chris@@ex-parrot.com]
 *) [*nix] When autoupdate is enabled touch the socket when restarting
    the processes to prevent further requests.
    Eckebrecht von Pappenheim [evp@@heise.de]
 *) Apache 2.0 support.
 *) [WIN32] Don't read from a potentially closed named pipe.
    Philip Gladstone [philip@@okena.com]
 *) Require the Apache version 1.3.6 or later to eliminate some signal
    handling funk.
 *) [WIN32] Use asyncronous io with named pipes instead of polled
    nonblocking io.  This should eliminate the last of the npipe issues.
 *) Handle an application returning a complete and valid response without
    having consumed all of the data sent to it.
 *) Consume remaining client data (RESPONDERs only) if any.
 *) Add support for backing off attempts to start applications that continuously
    fail to start.  Three new macros defined in mod_fastcgi.h control this
    behaviour: MAX_FAILED_STARTS, RUNTIME_SUCCESS_INTERVAL, FAILED_STARTS_DELAY
 *) [WIN32] Add (back) support for use of TerminateProcess() to accomodate
    applications that do not (properly) support the shutdown event (this
    feature was introduced in fcgi2 2.2.2 and improved in 2.2.4).  The
    new macro WIN32_SHUTDOWN_GRACEFUL_WAIT in mod_fastcgi.h conrols the
    interval between signaling a proper shutdown and wacking the process(s)
    with a TerminateProcess().
 *) [WIN32] Don't set the OVERLAPPED_IO flag on NamedPipe listen HANDLEs -
    setting it was just plain broken.
 *) [WIN32] Fix the accept mutex - all applications were sharing one!?
 *) Fix 'FastCgiConfig -autoUpdate'.
 *) Fix 'FastCgiConfig -flush'.
 *) Prevent silly maxProcesses and processSlack combinations.
    Dmitry Dorofeev [dima@@yasp.com]
 *) Properly handle the killing of idle processes when one takes a long time
    to exit once signaled down (or the config is funky).
    Dmitry Dorofeev [dima@@yasp.com]

2.2.12
 *) Delay the logging of write errors to the pm to account for shutdown/restart.
 *) (Win32) An assortment of fixes.
 *) Fix some broken casts that were likely the cause of an assert.
 *) Win32. Eliminate forward slashes from the named pipe path name.
    Gerald Richter [richter@@ecos.de]
 *) SIGUSR2 is no longer blocked in the process manager and the fastcgi
    applications it spawns. [ryans@@amazon.com]
 *) Added support for the -flush argument to FastCgiConfig.
    Eric Sit [esit@@alum.mit.edu]
 *) Change the "which call to module_init() is this" check to a more
    reliable approach.  Doru Petrescu [pdoru@@kappa.ro]
 *) Close the old pipe file descriptor in apache main on USR1/HUP
    (elimnates a small leak).  James E. Jurach Jr. jjurach@@fundsxpress.com
 *) Fix a bug in fcgi_config_set_authoritative_slot(). Tetsuya Furukawa
    [tetsuya@@secom-sis.co.jp]
 *) Eliminate the use of locks to assist in the clean shutdown of
    applications.  Instead, it is assumed that applications handle
    termination signals properly (this is now embedded in the C
    application lib).
 *) Fix Win32 process termination.  Proper operation requires the use of
    an updated application lib (termination is now signalled with an
        Event and handled by specialized thread).
 *) Docs cleanup.  Andrew Benham [adsb@@bigfoot.com]
 *) Added code so if the last instance of a dynamic application died without
    provocation, then don't restart it if singleThreshold > 0 (i.e. if the
    configuration allows the last instance to be killed, then allow it to die).
    Andrew Benham [adsb@@bigfoot.com]
 *) Fix the loadFactor calculation used to determine when dyanmic
    applications could be killed off due to low demand [adsb@@bigfoot.com].
 *) Fix a deadlock condition that could occur with Win32 named
    pipes (dynamic).
 *) Fix a potential deadlock condition when FastCGI application
    sent responses while still reading the client request (POST data).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2004/05/08 15:19:18 grant Exp $
d7 1
@


1.26
log
@convert to use buildlink3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2003/07/17 22:55:24 grant Exp $
d4 1
a4 4
DISTNAME=	mod_fastcgi_2.2.10
PKGNAME=	ap-fastcgi-2.2.10
CATEGORIES=	www
MASTER_SITES=	http://www.fastcgi.com/dist/
d6 1
a6 5
MAINTAINER=	tech-pkg@@NetBSD.org
HOMEPAGE=	http://www.fastcgi.com/
COMMENT=	New, improved CGI-like interface module for Apache

USE_BUILDLINK3=	yes
d8 1
d10 1
a10 4

post-install:
	${INSTALL_DATA} ${WRKSRC}/docs/mod_fastcgi.html \
		${PREFIX}/share/httpd/htdocs/manual/mod/
@


1.25
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2003/06/02 01:16:09 jschauma Exp $
d13 1
a13 1
USE_BUILDLINK2=	YES
@


1.24
log
@Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2003/02/17 21:01:07 grant Exp $
d9 1
a9 1
MAINTAINER=	tech-pkg@@netbsd.org
@


1.23
log
@no need to specify *.c anymore.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2003/02/17 18:02:21 grant Exp $
d9 1
a9 1
MAINTAINER=	packages@@netbsd.org
@


1.22
log
@use apache/module.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2002/08/01 02:37:42 jschauma Exp $
a15 1
APACHE_MODULE_SRC=	*.c
@


1.21
log
@Change MAINTAINER from tv at netbsd dot org to packages at netbsd dot org
after consulting with Todd.  Any volunteers for any of these packages?
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2002/07/24 19:45:29 jlam Exp $
d13 1
a13 2
DEPENDS+=	apache{,6}-1.3.*:../../www/apache
USE_PERL5=	build	# for "apxs"
d15 2
a16 2
do-build:
	@@cd ${WRKSRC} && ${PREFIX}/sbin/apxs -c -o mod_fastcgi.so *.c
d18 1
a18 2
do-install:
	@@cd ${WRKSRC} && ${PREFIX}/sbin/apxs -i mod_fastcgi.so
d22 1
@


1.20
log
@Change explicit build dependencies on perl into "USE_PERL5=build".  This
makes these packages build correctly on Darwin where perl>=5.8.0 is
required.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2001/05/20 05:23:27 jonb Exp $
d9 1
a9 1
MAINTAINER=	tv@@netbsd.org
@


1.19
log
@Make all the ap-* packages work with apache6 as well as apache
(except for ap-ssl, of course)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2001/04/30 03:46:33 jlam Exp $
d14 1
a14 2
# For "apxs":
BUILD_DEPENDS=	perl>=${PERL5_REQD}:../../lang/perl5
@


1.18
log
@Change build dependency from perl-5.* to perl>=${PERL5_REQD}.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2001/03/27 03:20:22 hubertf Exp $
d13 1
a13 1
DEPENDS+=	apache-1.3.*:../../www/apache
@


1.17
log
@Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@@netbsd.org>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2001/02/17 17:21:48 wiz Exp $
d15 1
a15 1
BUILD_DEPENDS=	perl-5.*:../../lang/perl5
@


1.16
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2000/11/28 13:03:06 mjl Exp $
d15 1
a15 1
BUILD_DEPENDS=	${PERL5}:../../lang/perl5-base
@


1.15
log
@Update to 2.2.10. Changes since 2.2.8:

 *) Allow absolute pathnames in the -socket argument.

 *) Don't invoke suexec when the user/group for the fastcgi application
    is the same as the apache main server.  This is consistent with
    apache's suexec handling.

 *) Reset the apache drop dead timer upon successful read or writes
    to/from the client.  This eliminates timeouts that were occuring
    during the large file transfers to/from slow clients.

 *) Support generic wrappers such as cgiwrap by eliminating dependencies
    on Apache's SUEXEC, renaming the FastCgiSuexec directive
    FastCgiWrapper and eliminating any checks regarding the target
    application (this is the repsonibility of the wrapper).

 *) Fix a nasty bug that occurred when a client aborted a POST request
    before the connection to a dynamic FastCGI application was opened.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2000/10/26 19:21:54 mjl Exp $
d11 1
@


1.14
log
@Update to 2.2.8

Changes with mod_fastcgi 2.2.8

 *) Eliminate the concept of disabled applications.  If a failure
    occurs trying to setup an application (e.g. bind() error) its
    tried repeatedly every init-start-delay seconds.
 *) Tweak to Makefile.tmpl to support DSOs.  Dave Hill [ddhill@@zk3.dec.com]

Changes with mod_fastcgi 2.2.6

 *) Shutdown the PM when Apache appears to have disappeared.
 *) seteuid() tweak for HP-UX 11.  Milton L. Hankins [mlh@@swl.msd.ray.com]
 *) Increase the number of open FDs we look to close when spawning apps.
 *) Prevent an assert from popping unnecessarily.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2000/09/05 09:33:17 jlam Exp $
d4 2
a5 2
DISTNAME=	mod_fastcgi_2.2.8
PKGNAME=	ap-fastcgi-2.2.8
@


1.13
log
@Update build dependency on perl to build in correct directory if perl
interpreter is not found.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2000/08/28 09:14:51 jlam Exp $
d4 2
a5 2
DISTNAME=	mod_fastcgi_2.2.4
PKGNAME=	ap-fastcgi-2.2.4
@


1.12
log
@Use PERL5 variable for location of perl5 binary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2000/05/18 10:11:05 mjl Exp $
d14 1
a14 1
BUILD_DEPENDS=	${PERL5}:../../lang/perl5
@


1.11
log
@Update to 2.2.4. This makes it work for me, previous versions just
didn't seem to do so.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2000/05/03 16:40:34 mjl Exp $
d14 1
a14 1
BUILD_DEPENDS=	${LOCALBASE}/bin/perl:../../lang/perl5
@


1.10
log
@Updated to mod_fastcgi 2.2.2. Changes include:

 *) Added support for blocking connect()s by setting appConnTimeout to 0.
    Non-blocking connect()s (the default) can be troublesome on some platforms.

 *) Wrap the SIGPIPE handler manipulation code such that it is only applicable
    to Apache releases prior to 1.3.6.

 *) Minor tweaks for RUSSIAN_APACHE.

 *) Dynamic updates:

    Always restart a failed dynamic application if it is the last instance.
    This means there once started there will always be at least one process
    instance of a dynamic application.

    Send PLEASE_START to the PM when a connect() results in an ECONNREFUSED.
    ECONNREFUSED means the listen queue is full (or there isn't one).  Asking
    the PM to start (another) application instance may help empty it faster.

    Change two sleep() calls to select() based snoozes because alarm() is in
    effect and sleep() and alarm() don't always play nice together.

 *) Fix -listen-queue-depth arg on FastCgiConfig (dynamic).  Previously it
    was ignored and the default was always used.

 *) Allow the -initial-env argument to be used to pass variables from the
    Apache process environment to the FastCGI server (by specifying a
    variable name without the "=" or a value).

 *) Improved script stderr handling.

 *) Changed the default listen-queue-depth (FCGI_DEFAULT_LISTEN_Q) from
    5 to 100.  Its still configurable with the -listen-queue-depth option.

 *) Fix a bug in FastCgiExternalServer that broke support for external servers
    on other hosts.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 1999/11/21 22:12:58 tron Exp $
d4 2
a5 2
DISTNAME=	mod_fastcgi_2.2.2
PKGNAME=	ap-fastcgi-2.2.2
@


1.9
log
@Use wildcard dependence for "apache" package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 1999/05/13 14:59:43 tv Exp $
d4 2
a5 2
DISTNAME=	mod_fastcgi_2.2.1
PKGNAME=	ap-fastcgi-2.2.1
d7 1
a7 1
MASTER_SITES=	http://fastcgi.idle.com/dist/
@


1.8
log
@Update to 2.2.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 1999/04/30 17:05:21 tv Exp $
d12 1
a12 1
DEPENDS+=	apache-1.3.6p0:../../www/apache
@


1.7
log
@Update Apache to 1.3.6, mod_ssl to 2.2.8, and mod_perl to 1.19.  mod_ssl
now makes use of OpenSSL.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1999/04/14 18:00:48 bad Exp $
d4 2
a5 2
DISTNAME=	mod_fastcgi-2.0.18
PKGNAME=	ap-fastcgi-2.0.18
d7 1
a7 1
MASTER_SITES=	http://www.fastcgi.com/
d17 1
a17 2
	@@cd ${WRKSRC} && ${PREFIX}/sbin/apxs -c -o mod_fastcgi.so \
		mod_fastcgi.c fcgibuf.c fcgios.c fcgitcl.c
a20 3
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mod_fastcgi
	${INSTALL_DATA} ${WRKSRC}/conf/httpd.conf \
		${PREFIX}/share/doc/mod_fastcgi/httpd.conf.example
@


1.6
log
@${LOCALBAASE}/bin/perl or bust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1998/12/04 17:25:59 tv Exp $
d12 1
a12 1
DEPENDS+=	apache-1.3.3.2:../../www/apache
@


1.5
log
@Bump Apache version to `1.3.3.2'.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1998/12/04 00:31:01 tv Exp $
d14 1
a14 1
BUILD_DEPENDS=	${PREFIX}/bin/perl:../../lang/perl5
@


1.4
log
@Update to 2.0.18, and update apache dependency paths and version to
1.3.3.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1998/11/19 15:40:47 agc Exp $
d12 1
a12 1
DEPENDS+=	apache-1.3.3.1:../../www/apache
@


1.3
log
@Remove RUN_DEPENDS from package Makefiles, and replace it with an ordinary
DEPENDS definition.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/10/05 14:27:19 tv Exp $
d4 2
a5 2
DISTNAME=	mod_fastcgi-2.0.17
PKGNAME=	ap-fastcgi-2.0.17
d12 3
a14 3
DEPENDS+=	apache-1.3.2:../../www/apache

USE_PERL5=	yes	# for "apxs"
a22 2
	${INSTALL_DATA} ${WRKSRC}/docs/mod_fastcgi.html \
		${PREFIX}/share/doc/mod_fastcgi/
d25 2
@


1.2
log
@The dependencies should not have been commented out.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 1998/10/03 21:49:59 tv Exp $
d12 1
a12 2
BUILD_DEPENDS+=	${PREFIX}/sbin/apxs:../../www/apache
RUN_DEPENDS+=	${PREFIX}/sbin/apxs:../../www/apache
@


1.1
log
@Add the FastCGI module for Apache, v 2.0.17.  This pkg version of the
module compiles using apxs instead of compiling into the main binary.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1998/08/14 10:17:44 frueauf Exp $
d12 2
a13 2
#BUILD_DEPENDS+=	${PREFIX}/sbin/apxs:../../www/apache
#RUN_DEPENDS+=	${PREFIX}/sbin/apxs:../../www/apache
@
