Apollo m68k support kit for Apache version 1.3.0.       (19970714)

    It requires a virgin copy of Apache version 1.3.0.
The /usr/new/patch, Apollo C compiler with ANSI support are needed.

    This code has been tested on an Apollo DS4500 and HP/APOLLO 425t,
both are running on SR10.4.1 with BSD4.3 environment.
I don't know it works for DN/DSP10K systems.

This patch kit contains the following files:

INSTALLATION:  how to install this kit
README:        This file
DIFFs:         context diffs for program source and other files


Known problems:

    Currently none, but it should be exist.


List of files (changed by DIFFs) and description:

src/Configure
    1: Add systype, runtype and ansi option for Apollo native C compiler.
src/helpers/GuessOS
    Return system type for Apollo correctally.
src/include/conf.h
    1: Here is additional define,
        #undef NEED_STRERROR
        #undef NEED_STRDUP
        #define NEED_STRCASECMP
        #define NEED_STRNCASECMP
        #undef NEED_INITGROUPS
        #undef NEED_WAITPID
        #include <sys/time.h>
        #define HAVE_MMAP
        #define USE_MMAP_SCOREBOARD
        #define HAVE_RESOURCE
        #define HAVE_SYS_RESOURCE_H
        #ifndef rlim_t
        typedef int rlim_t;
        #endif
        #define USE_FLOCK_SERIALIZED_ACCEPT
    2: memory.h and dirent.h are not included.
    3: Define semaphore as ap_semaphore because "semaphore" is defined in sys/mman.h
       on DomainOS.
src/main/http_main.c
    1: Ignore SIGBUS and SIGSEGV signals.
       Accourding original source, if a child process have some error 
       then SIGBUS or SIGSEGV occured to core dump.
       On Apollo, normally when a process caught SIGBUS, SIGSEGV, SIGABRT, etc...
       OS will create process dump file (not core file). 
src/modules/proxy/proxy_cache.c
    1: utime.h is not included because DomainOS dosen't have utime.h on BSD4.3 environment.
    2: Define DIR_TYPE for Apollo correctally.
src/modules/standard/mod_mime_magic.c
    1: utime.h is not included because DomainOS dosen't have utime.h on BSD4.3 environment.
    2: Ignore S_IFSOCK, because S_IFSOCK value is as same as S_IFIFO.


Any questions, suggestions are welcome.

My e-mail addressed is ishimura@pictinc.co.jp

Takanobu Ishimura
