dgaudet     97/10/01 22:25:05

  Modified:    src      CHANGES Configure
               src/helpers GuessOS
               src/main conf.h http_main.c
  Log:
  Atari MINT port.
  
  Submitted by: Jan Paul Schmidt <[EMAIL PROTECTED]>
  Reviewed by:  Dean Gaudet, Brian Behlendorf, Jim Jagielski
  
  Revision  Changes    Path
  1.455     +3 -0      apachen/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/CHANGES,v
  retrieving revision 1.454
  retrieving revision 1.455
  diff -u -r1.454 -r1.455
  --- CHANGES   1997/10/02 05:10:30     1.454
  +++ CHANGES   1997/10/02 05:24:53     1.455
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3b1
   
  +  *) PORT: Support for Atari MINT.
  +     [Jan Paul Schmidt <[EMAIL PROTECTED]>]
  +
     *) When booting, apache will now detach itself from stdin, stdout,
        and stderr.  stderr will not be detached until after the config
        files have been read so you will be able to see initial error
  
  
  
  1.158     +6 -0      apachen/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/Configure,v
  retrieving revision 1.157
  retrieving revision 1.158
  diff -u -r1.157 -r1.158
  --- Configure 1997/09/26 03:05:23     1.157
  +++ Configure 1997/10/02 05:24:55     1.158
  @@ -163,6 +163,12 @@
   OSDIR="os/unix"
   
   case "$PLAT" in
  +    *mint)
  +        OS="MiNT"
  +        CFLAGS="-DMINT"
  +        LIBS="$LIBS -lportlib -lsocket"
  +        DEF_WANTHSREGEX=yes
  +        ;;
       *MPE/iX*)
           OS='MPE/iX'
        CFLAGS="$CFLAGS -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE"
  
  
  
  1.31      +3 -0      apachen/src/helpers/GuessOS
  
  Index: GuessOS
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/helpers/GuessOS,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- GuessOS   1997/09/16 03:59:59     1.30
  +++ GuessOS   1997/10/02 05:24:58     1.31
  @@ -56,6 +56,9 @@
   # Now we simply scan though... In most cases, the SYSTEM info is enough
   #
   case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
  +    MiNT:*)
  +        echo "m68k-atari-mint"; exit 0
  +     ;;
       A/UX:*)
        echo "m68k-apple-aux3"; exit 0
        ;;
  
  
  
  1.143     +13 -1     apachen/src/main/conf.h
  
  Index: conf.h
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/main/conf.h,v
  retrieving revision 1.142
  retrieving revision 1.143
  diff -u -r1.142 -r1.143
  --- conf.h    1997/09/25 01:03:20     1.142
  +++ conf.h    1997/10/02 05:25:00     1.143
  @@ -67,7 +67,19 @@
   #endif
   
   /* Define one of these according to your system. */
  -#if defined(MPE)
  +#if defined(MINT)
  +typedef int rlim_t;
  +#define HAVE_SYS_RESOURCE_H
  +#define JMP_BUF sigjmp_buf
  +#define NO_LONG_DOUBLE
  +#define USE_FLOCK_SERIALIZED_ACCEPT
  +#define _BSD_SOURCE
  +#define EAGAIN EACCESS
  +int initgroups (char *, int);     
  +char *crypt (const char *pw, const char *salt);
  +int gethostname (char *name, int namelen);
  +
  +#elif defined(MPE)
   #include <sys/times.h>
   #define NO_SETSID
   #define NO_KILLPG
  
  
  
  1.228     +5 -5      apachen/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/main/http_main.c,v
  retrieving revision 1.227
  retrieving revision 1.228
  diff -u -r1.227 -r1.228
  --- http_main.c       1997/10/02 05:10:33     1.227
  +++ http_main.c       1997/10/02 05:25:03     1.228
  @@ -117,6 +117,10 @@
   #endif
   
   
  +#ifdef MINT
  +long _stksize = 32768;
  +#endif
  +
   #ifdef __EMX__
       /* Add MMAP style functionality to OS/2 */
   #ifdef HAVE_MMAP
  @@ -3808,11 +3812,7 @@
                    int csd, int dupped_csd,
                    int requests_this_child, pool *pchild)
   {
  -#if defined(UW)
  -    size_t clen;
  -#else
  -    int clen;
  -#endif
  +    NET_SIZE_T clen;
       struct sockaddr sa_server;
       struct sockaddr sa_client;
   
  
  
  

Reply via email to