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

    This kit include all original source code/documents
and pre-compiled binary for Apollo/DomainOS m68k machine.

    This binary has been tested on an Apollo DS4500 and HP/APOLLO 425t,
both are running on SR10.4.1 with BSD4.3 environment.

This patch kit contains the following files (except original):

README_apollo.txt:      This file
DIFFs_apollo.txt:       context diffs for program source and other files
                        If you would like to re-compile yourself, it will be helpful for you.

Compile note:
    I complied this kit used by:
    CC="/bin/cc" ./configure --enable-module=most --enable-module=log_referer --enable-module=log_agent --datadir=/www --mandir=/usr/local/man

Known problems:

    Currently none, but it should be exist.


List of files (changed by DIFFs_apollo.txt) 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.


INSTALLATION:
    Just type,
    % make install

    Then all executable binary and configure files will be copied under /usr/local/apache
except man pages and htdocs. All man pages will be located under /usr/local/man, htdocs, cgi-bin
and icons will be located under /www.

Any questions, suggestions are welcome.

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

Takanobu Ishimura
