[Exim] exim 3.22 built on Mac OS X

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Paul Makepeace
Date:  
À: exim-users
Sujet: [Exim] exim 3.22 built on Mac OS X
Hi,

I have built exim 3.22 and successfully delivered a piece of mail
on Mac OS X a.k.a. Darwin. Here are the OS-dependent files which I
based on the Linux versions (which are reasonably different). I made
no attempt at building eximon :)

OS/Makefile-Darwin:

# Exim: OS-specific make file for Darwin (Mac OS X).

CC=cc

BASENAME_COMMAND=look_for_it

CFLAGS=-O

USE_DB = yes
DBMLIB =

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_ARG=-USR1

# End

OS/os.h-Darwin:

/* Exim: OS-specific C header file for Darwin (Mac OS X) */

#define CRYPT_H
#define HAVE_MMAP
#define HAVE_SYS_MOUNT_H
#define SIOCGIFCONF_GIVES_ADDR

#define F_FREESP     O_TRUNC
typedef struct flock flock_t;


And FWIW,

% diff exim-3.22/src/EDITME exim-3.22-Darwin/Local/Makefile
244c244
< EXIM_MONITOR=eximon.bin
---
> # EXIM_MONITOR=eximon.bin

461c461
< # SPOOL_DIRECTORY=/var/spool/exim
---
> SPOOL_DIRECTORY=/var/spool/exim

%

exim++, OS X++,
Paul