Subject: Re: Apache package (was Re: NetBSD master CVS tree commits)
To: Curt Sampson <firstname.lastname@example.org>
From: Marc Slemko <email@example.com>
Date: 03/20/1998 18:23:17
On a related note, the current Apache default conf.h settings for NetBSD
In Apache 1.2 the conf.h section is:
#elif defined(__NetBSD__) || defined(__OpenBSD__)
#define JMP_BUF sigjmp_buf
#define DEFAULT_USER "nobody"
#define DEFAULT_GROUP "nogroup"
If all reasonable versions of NetBSD support mmap(), HAVE_MMAP
should be added.
Then you need either USE_FLOCK_SERIALIZED_ACCEPT or
USE_FCNTL_SERIALIZED_ACCEPT. Which one depends on what the platform
supports; if it supports both, then whichever is cheaper is better.
flock is probably better beacuse fcntl semantics suck for this
For Apache 1.3, should probably add:
#define HAVE_MMAP 1
Also, if NetBSD supports dlopen() and uses dlfcn.h, then HAVE_DLFCN_H
should be added.
These are easy to do, but simply require someone with access to the
platform to test it and to know what works and what they should be.
If necessary the OpenBSD and NetBSD section can be split, but I'm
guessing mmap and flock will work fine on both so that doesn't
matter; the only thing that could would be HAVE_DLFCN_H.
The mmap stuff has a reasonable performance impact (especially in 1.3
which can mmap files to send), and the serialized accept stuff can
be important. If I can get confirmation about this stuff, I will
add it. I don't have a NetBSD box to try.
Marc Slemko | Apache Group member
firstname.lastname@example.org | email@example.com
On Wed, 18 Mar 1998, Curt Sampson wrote:
> On Wed, 18 Mar 1998, Michael K. Sanders wrote:
> > Since 1.3 is still beta, why don't we have a 1.2.5 package?
> Because you haven't set it up and committed it yet. :-)
> Curt Sampson firstname.lastname@example.org Info at http://www.portal.ca/
> Internet Portal Services, Inc. Through infinite mist, software reverberates
> Vancouver, BC (604) 257-9400 In code possess'd of invisible folly.