[exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] cvs commit: exim/exim-doc/doc-txt ChangeLog exim/exim-src/OS Makefile-NetBSD3 os.h-NetBSD3 exim/exim-src/scripts os-type
ph10 2006/03/16 14:00:50 GMT

  Modified files:
    exim-doc/doc-txt     ChangeLog 
    exim-src/scripts     os-type 
  Added files:
    exim-src/OS          Makefile-NetBSD3 os.h-NetBSD3 
  Log:
  Added configuration files for NetBSD3.


  Revision  Changes    Path
  1.332     +2 -0      exim/exim-doc/doc-txt/ChangeLog
  1.1       +27 -0     exim/exim-src/OS/Makefile-NetBSD3 (new)
  1.1       +17 -0     exim/exim-src/OS/os.h-NetBSD3 (new)
  1.5       +5 -0      exim/exim-src/scripts/os-type


  Index: ChangeLog
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/ChangeLog,v
  retrieving revision 1.331
  retrieving revision 1.332
  diff -u -r1.331 -r1.332
  --- ChangeLog    16 Mar 2006 12:25:24 -0000    1.331
  +++ ChangeLog    16 Mar 2006 14:00:50 -0000    1.332
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.331 2006/03/16 12:25:24 ph10 Exp $
  +$Cambridge: exim/exim-doc/doc-txt/ChangeLog,v 1.332 2006/03/16 14:00:50 ph10 Exp $


   Change log file for Exim from version 4.21
   -------------------------------------------
  @@ -318,6 +318,8 @@
         HAVE_SETCLASSRESOURCES because there are different APIs in use that all
         use login_cap.h, so on its own it isn't the distinguishing feature. The
         new name refers directly to the setclassresources() function.
  +
  +PH/65 Added configuration files for NetBSD3.



Exim version 4.60

Index: Makefile-NetBSD3
====================================================================
# $Cambridge: exim/exim-src/OS/Makefile-NetBSD3,v 1.1 2006/03/16 14:00:50 ph10 Exp $

# Exim: OS-specific make file for NetBSD (ELF object format)

CHOWN_COMMAND=/usr/sbin/chown
CFLAGS=-O

HAVE_SA_LEN=YES
HAVE_IPV6=YES
LIBS=-lcrypt -lm -lutil

X11=/usr/X11R6
XINCLUDE=-I$(X11)/include
XLFLAGS=-L$(X11)/lib
X11_LD_LIB=$(X11)/lib

EXIWHAT_PS_ARG=-ax
EXIWHAT_EGREP_ARG='/exim( |$$)'
EXIWHAT_KILL_SIGNAL=-USR1

# NetBSD always ships with Berkeley DB
USE_DB=yes

# NetBSD ELF linker needs a -R flag.
XLFLAGS+=-Wl,-R$(X11)/lib/

# End

Index: os.h-NetBSD3
====================================================================
/* $Cambridge: exim/exim-src/OS/os.h-NetBSD3,v 1.1 2006/03/16 14:00:50 ph10 Exp $

/* Exim: OS-specific C header file for NetBSD */

#define HAVE_BSD_GETLOADAVG
#define HAVE_SETCLASSCONTEXT
#define HAVE_MMAP
#define HAVE_SYS_MOUNT_H
#define HAVE_SYS_STATVFS_H
#define SIOCGIFCONF_GIVES_ADDR

typedef struct flock flock_t;

#define os_strsignal strsignal
#define OS_STRSIGNAL

/* End */

  Index: os-type
  ===================================================================
  RCS file: /home/cvs/exim/exim-src/scripts/os-type,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- os-type    27 Jun 2005 10:40:14 -0000    1.4
  +++ os-type    16 Mar 2006 14:00:50 -0000    1.5
  @@ -1,5 +1,5 @@
   #! /bin/sh
  -# $Cambridge: exim/exim-src/scripts/os-type,v 1.4 2005/06/27 10:40:14 ph10 Exp $
  +# $Cambridge: exim/exim-src/scripts/os-type,v 1.5 2006/03/16 14:00:50 ph10 Exp $


   # Shell script to determine the operating system type. Some of the heuristics
   # herein have accumulated over the years and may not strictly be needed now,
  @@ -83,6 +83,11 @@
   linux-*)    os=Linux;;
   Linux-*)    os=Linux;;
   netbsd*)    os=NetBSD;;
  +NetBSD*)    version=`uname -r`
  +            case "$version" in
  +            3.*) os=NetBSD3;;
  +            *)   os=NetBSD;;
  +            esac;;
   openbsd*)   os=OpenBSD;;
   osf1)       os=OSF1;;
   qnx*)       os=QNX;;