diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-10-12 08:27:40 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-10-12 08:27:40 +0000 |
commit | ee5d3c413a16b68da6862b0817097a6243ee7fee (patch) | |
tree | 5a67aaf670f81bd092ba0b5e28885bb0de56ffcf /www/apache2/files/patch-support:apachectl.in | |
parent | Update to 2.6.4. (diff) |
- Update to 2.0.52
- Use "PORTDOCS= #" and get rid of docs entry in plist.
- Support for FreeBSD 6 in apr
- Move of cache modules from THREADS to EXPERIMENTAL category and make
sure we enable THREADS modules (cgid only) when a threaded MPM is
selected.
- Resurect WITH_EXTRA_MODULES knob
- powerlogo.gif is now hosted by FreeBSD mirrors
- WITH_<category> is definitively no longer supported.
- Add Includes dir when installed via a package [1]
PR: ports/72309 [1]
Submitted by: Christian Kratzer <ck at cksoft dot de> [1]
Notes
Notes:
svn path=/head/; revision=118860
Diffstat (limited to 'www/apache2/files/patch-support:apachectl.in')
-rw-r--r-- | www/apache2/files/patch-support:apachectl.in | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/www/apache2/files/patch-support:apachectl.in b/www/apache2/files/patch-support:apachectl.in index 57d2af876b8f..7c5c3238e955 100644 --- a/www/apache2/files/patch-support:apachectl.in +++ b/www/apache2/files/patch-support:apachectl.in @@ -1,21 +1,11 @@ ---- support/apachectl.in.orig Mon May 27 20:46:01 2002 -+++ support/apachectl.in Thu Jul 11 21:12:36 2002 -@@ -31,8 +31,8 @@ - HTTPD='@exp_sbindir@/@progname@' - # - # pick up any necessary environment variables --if test -f @exp_bindir@/envvars; then -- . @exp_bindir@/envvars -+if test -f @exp_sbindir@/envvars; then -+ . @exp_sbindir@/envvars - fi - # - # a command that outputs a formatted text version of the HTML at the -@@ -46,6 +46,7 @@ - # +--- support/apachectl.in.orig Thu Sep 16 09:28:54 2004 ++++ support/apachectl.in Thu Sep 16 09:29:14 2004 +@@ -63,7 +63,7 @@ + ULIMIT_MAX_FILES="@APACHECTL_ULIMIT@" # -------------------- -------------------- # |||||||||||||||||||| END CONFIGURATION SECTION |||||||||||||||||||| +- +eval `limits -e -C daemon` >/dev/null 2>&1 - - ERROR=0 - if [ "x$ARGV" = "x" ] ; then + # Set the maximum number of file descriptors allowed per child process. + if [ "x$ULIMIT_MAX_FILES" != "x" ] ; then + $ULIMIT_MAX_FILES |