pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/exim Add DragonFly support files.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e414bdec794
branches:  trunk
changeset: 498670:8e414bdec794
user:      reed <reed%pkgsrc.org@localhost>
date:      Mon Aug 29 18:31:48 2005 +0000

description:
Add DragonFly support files.
I only tested a little (installed and ran daemon and manually
sent one email via SMTP).

I emailed exim developer list to submit support also.

(PKGREVISION was bumped a couple minutes ago, so use it.)

diffstat:

 mail/exim/Makefile                 |   4 +++-
 mail/exim/files/Makefile-DragonFly |  32 ++++++++++++++++++++++++++++++++
 mail/exim/files/os.h-DragonFly     |  12 ++++++++++++
 3 files changed, 47 insertions(+), 1 deletions(-)

diffs (70 lines):

diff -r a4a00a83aabc -r 8e414bdec794 mail/exim/Makefile
--- a/mail/exim/Makefile        Mon Aug 29 18:29:05 2005 +0000
+++ b/mail/exim/Makefile        Mon Aug 29 18:31:48 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2005/08/29 18:29:05 reed Exp $
+# $NetBSD: Makefile,v 1.64 2005/08/29 18:31:48 reed Exp $
 
 DISTNAME=      exim-4.52
 PKGREVISION=   1
@@ -75,6 +75,8 @@
        ${MKDIR} ${WRKSRC}/Local
        ${CP} ${WRKSRC}/src/EDITME ${WRKSRC}/Local/Makefile.pkgsrc
        ${CP} ${WRKSRC}/exim_monitor/EDITME ${WRKSRC}/Local/eximon.conf.pkgsrc
+       ${CP} ${FILESDIR}/Makefile-DragonFly ${FILESDIR}/os.h-DragonFly \
+               ${WRKSRC}/OS/
 
 pre-configure:
        @${ECHO} LOOKUP_DSEARCH=yes >> ${WRKSRC}/Local/Makefile.pkgsrc
diff -r a4a00a83aabc -r 8e414bdec794 mail/exim/files/Makefile-DragonFly
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/exim/files/Makefile-DragonFly        Mon Aug 29 18:31:48 2005 +0000
@@ -0,0 +1,32 @@
+# $Cambridge: exim/exim-src/OS/Makefile-FreeBSD,v 1.2 2005/05/23 16:58:55 fanf2 Exp $
+
+# Exim: OS-specific make file for DragonFly
+# There's no setting of CFLAGS here, to allow the system default
+# for "make" to be the default.
+
+CHOWN_COMMAND=/usr/sbin/chown
+
+HAVE_SA_LEN=YES
+
+# crypt() is in a separate library
+LIBS=-lcrypt -lm
+
+# DragonFly always ships with Berkeley DB
+USE_DB=yes
+
+# X11 may be under /usr/pkg/xorg/ for example.
+# X11=/usr/X11R6
+X11=$(X11BASE)
+
+XINCLUDE=-I$(X11)/include
+XLFLAGS=-L$(X11)/lib
+XLFLAGS+=-Wl,-rpath,${X11BASE}/lib
+X11_LD_LIB=$(X11)/lib
+
+EXIWHAT_PS_ARG=-ax
+EXIWHAT_EGREP_ARG='/exim( |$$)'
+EXIWHAT_MULTIKILL_CMD='killall -m'
+EXIWHAT_MULTIKILL_ARG='^exim($$|-[0-9.]+-[0-9]+$$)'
+EXIWHAT_KILL_SIGNAL=-USR1
+
+# End
diff -r a4a00a83aabc -r 8e414bdec794 mail/exim/files/os.h-DragonFly
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/exim/files/os.h-DragonFly    Mon Aug 29 18:31:48 2005 +0000
@@ -0,0 +1,12 @@
+/* $Cambridge: exim/exim-src/OS/os.h-FreeBSD,v 1.1 2004/10/06 15:07:39 ph10 Exp $ */
+
+/* Exim: OS-specific C header file for DragonFly */
+
+#define HAVE_BSD_GETLOADAVG
+#define HAVE_MMAP
+#define HAVE_SYS_MOUNT_H
+#define SIOCGIFCONF_GIVES_ADDR
+
+typedef struct flock flock_t;
+
+/* End */



Home | Main Index | Thread Index | Old Index