summaryrefslogtreecommitdiff
path: root/mail/exim
diff options
context:
space:
mode:
authorad <ad@pkgsrc.org>1999-09-07 13:21:02 +0000
committerad <ad@pkgsrc.org>1999-09-07 13:21:02 +0000
commit18e2b59b6b765a4e48b5b6340cd8e93b9324e9e3 (patch)
tree99953a532d6f592d0147098b5bc043ba53a7e71c /mail/exim
parent15f7d8a7a43983cab8668465398862f313773299 (diff)
downloadpkgsrc-18e2b59b6b765a4e48b5b6340cd8e93b9324e9e3.tar.gz
Exim, yet another Sendmail replacement.
Diffstat (limited to 'mail/exim')
-rw-r--r--mail/exim/files/exim.sh8
-rw-r--r--mail/exim/files/md53
-rw-r--r--mail/exim/files/patch-sum6
-rw-r--r--mail/exim/patches/patch-aa22
-rw-r--r--mail/exim/patches/patch-ab76
-rw-r--r--mail/exim/patches/patch-ac12
-rw-r--r--mail/exim/patches/patch-ad15
-rw-r--r--mail/exim/pkg/COMMENT1
-rw-r--r--mail/exim/pkg/DESCR7
-rw-r--r--mail/exim/pkg/PLIST17
10 files changed, 167 insertions, 0 deletions
diff --git a/mail/exim/files/exim.sh b/mail/exim/files/exim.sh
new file mode 100644
index 00000000000..1ee2b4abfa1
--- /dev/null
+++ b/mail/exim/files/exim.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+#
+# $NetBSD: exim.sh,v 1.1 1999/09/07 13:21:02 ad Exp $
+#
+if [ -x @PREFIX@/sbin/exim ] ; then
+ echo -n ' exim'
+ @PREFIX@/sbin/exim -bd -q15m
+fi
diff --git a/mail/exim/files/md5 b/mail/exim/files/md5
new file mode 100644
index 00000000000..706ced53da7
--- /dev/null
+++ b/mail/exim/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1 1999/09/07 13:21:02 ad Exp $
+
+MD5 (exim-3.03.tar.gz) = 71581c8e7bce2bf6bb859ad4ae21f15f
diff --git a/mail/exim/files/patch-sum b/mail/exim/files/patch-sum
new file mode 100644
index 00000000000..309ca82cd21
--- /dev/null
+++ b/mail/exim/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1 1999/09/07 13:21:02 ad Exp $
+
+MD5 (patch-aa) = fa14804308a5ac2020be9684248eb6d5
+MD5 (patch-ab) = 35ca57154725fe373dea8500f9b39676
+MD5 (patch-ac) = 5a6c48cb8338c52e33c8bc76cfd4f4cb
+MD5 (patch-ad) = e4815e72b4c3ac1cfc6dcc9c1727ae94
diff --git a/mail/exim/patches/patch-aa b/mail/exim/patches/patch-aa
new file mode 100644
index 00000000000..26fda30382b
--- /dev/null
+++ b/mail/exim/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 1999/09/07 13:21:03 ad Exp $
+
+--- OS/Makefile-NetBSD.orig Tue Sep 7 14:25:22 1999
++++ OS/Makefile-NetBSD Tue Sep 7 13:20:08 1999
+@@ -1,7 +1,7 @@
+ # Exim: OS-specific make file for NetBSD
+
+ CHOWN_COMMAND=/usr/sbin/chown
+-CFLAGS=-O
++CFLAGS=-O2
+
+ HAVE_SA_LEN=YES
+
+@@ -13,5 +13,8 @@
+ EXIWHAT_PS_ARG=-ax
+ EXIWHAT_EGREP_ARG='/exim( |$$)'
+ EXIWHAT_KILL_ARG=-USR1
++
++# NetBSD always ships with Berkeley DB
++USE_DB=yes
+
+ # End
diff --git a/mail/exim/patches/patch-ab b/mail/exim/patches/patch-ab
new file mode 100644
index 00000000000..183b2351285
--- /dev/null
+++ b/mail/exim/patches/patch-ab
@@ -0,0 +1,76 @@
+$NetBSD: patch-ab,v 1.1 1999/09/07 13:21:03 ad Exp $
+
+--- Local/Makefile.netbsd.orig Tue Sep 7 13:21:49 1999
++++ Local/Makefile.netbsd Tue Sep 7 14:31:08 1999
+@@ -75,7 +75,7 @@
+ # CHGRP_COMMAND=/usr/bin/chgrp
+ # MV_COMMAND=/bin/mv
+ # RM_COMMAND=/bin/rm
+-# PERL_COMMAND=/usr/bin/perl
++PERL_COMMAND=@PREFIX@/bin/perl
+
+
+ # The following macro can be used to change the command for building a library
+@@ -91,7 +91,7 @@
+ # installed in this directory. There is no default for this variable built into
+ # the source files; it must be set in one of the local configuration files.
+
+-BIN_DIRECTORY=/usr/exim/bin
++BIN_DIRECTORY=@PREFIX@/sbin
+
+
+ # The default distribution of Exim contains only the plain text form of the
+@@ -109,7 +109,7 @@
+ # files. Both the name of the command and the suffix that it adds to files
+ # need to be defined here. See also the EXICYCLOG_MAX configuration.
+
+-COMPRESS_COMMAND=/opt/gnu/bin/gzip
++COMPRESS_COMMAND=/usr/bin/gzip
+ COMPRESS_SUFFIX=gz
+
+
+@@ -119,7 +119,7 @@
+ # location of all other runtime files and directories can be changed in the
+ # runtime configuration file.
+
+-CONFIGURE_FILE=/usr/exim/configure
++CONFIGURE_FILE=@PREFIX@/etc/exim/configure
+
+
+ # In some installations there may be multiple machines sharing file systems,
+@@ -221,7 +221,7 @@
+ # are defaulted in the OS/Makefile-Default file, and can be overridden
+ # in local OS-specific make files.
+
+-EXIM_MONITOR=eximon.bin
++# EXIM_MONITOR=eximon.bin
+
+
+ # Compiling in support for embedded Perl: If you want to be able to
+@@ -264,7 +264,7 @@
+ # "panic", "process" or "reject" to form the final file name. For example,
+ # some installations may want something like this:
+
+-# LOG_FILE_PATH=/var/log/exim_%slog
++LOG_FILE_PATH=/var/log/exim/%slog
+
+ # which results in files with names /var/log/exim_mainlog, etc. The directory
+ # in which the log files are placed must exist; Exim does not try to create
+@@ -364,7 +364,7 @@
+ # the file name, allowing sites that run two separate daemons to distinguish
+ # them. Some installations may want something like this
+
+-# PID_FILE_PATH=/var/lock/exim%s.pid
++PID_FILE_PATH=/var/run/exim%s.pid
+
+ # If PID_FILE_PATH is not defined, Exim writes a file in its spool directory
+ # (see SPOOL_DIRECTORY below) with the name "exim-daemon.pid" for the standard
+@@ -413,7 +413,7 @@
+ # uid and gid.
+
+ # Many installations will want something like this:
+-# SPOOL_DIRECTORY=/var/spool/exim
++SPOOL_DIRECTORY=/var/spool/exim
+
+ # Others may prefer to keep all Exim things under one directory:
+ # SPOOL_DIRECTORY=/usr/exim/spool
diff --git a/mail/exim/patches/patch-ac b/mail/exim/patches/patch-ac
new file mode 100644
index 00000000000..3927dc4cecf
--- /dev/null
+++ b/mail/exim/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1 1999/09/07 13:21:03 ad Exp $
+
+--- scripts/os-type.orig Tue Sep 7 13:36:03 1999
++++ scripts/os-type Tue Sep 7 13:36:13 1999
+@@ -54,6 +54,7 @@
+ BSD_OS) os=BSDI;;
+ dgux) os=DGUX;;
+ freebsd*) os=FreeBSD;;
++netbsd*) os=NetBSD;;
+ gnu) os=GNU;;
+ Irix5) os=IRIX;;
+ Irix6) os=IRIX6;;
diff --git a/mail/exim/patches/patch-ad b/mail/exim/patches/patch-ad
new file mode 100644
index 00000000000..8df1f9e91e5
--- /dev/null
+++ b/mail/exim/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 1999/09/07 13:21:03 ad Exp $
+
+--- scripts/exim_install.orig Mon Aug 2 16:43:03 1999
++++ scripts/exim_install Tue Sep 7 14:36:04 1999
+@@ -96,6 +96,10 @@
+ # of in /usr/bin, and therefore not likely to be on the path. This fudge
+ # tries to cope with that.
+
++if [ "${CHOWN}" = "chown" -a -x /usr/sbin/chown ] ; then
++ CHOWN=/usr/sbin/chown
++fi
++
+ if [ "${CHOWN}" = "chown" -a ! -f /usr/bin/chown -a -f /usr/etc/chown ] ; then
+ CHOWN=/usr/etc/chown
+ fi
diff --git a/mail/exim/pkg/COMMENT b/mail/exim/pkg/COMMENT
new file mode 100644
index 00000000000..fe7d5a6d487
--- /dev/null
+++ b/mail/exim/pkg/COMMENT
@@ -0,0 +1 @@
+The Exim mail transfer agent, a replacement for sendmail.
diff --git a/mail/exim/pkg/DESCR b/mail/exim/pkg/DESCR
new file mode 100644
index 00000000000..b6ed0bd5a70
--- /dev/null
+++ b/mail/exim/pkg/DESCR
@@ -0,0 +1,7 @@
+Exim is a mail transport agent (MTA) developed at the University of Cambridge
+for use on Unix systems connected to the Internet. It is freely available
+under the terms of the GNU General Public Licence. In style it is similar to
+Smail 3, but its facilities are more extensive, and in particular it has
+options for verifying incoming sender and recipient addresses, for refusing
+mail from specified hosts, networks, or senders, and for controlling mail
+relaying.
diff --git a/mail/exim/pkg/PLIST b/mail/exim/pkg/PLIST
new file mode 100644
index 00000000000..3ca3cd81a0a
--- /dev/null
+++ b/mail/exim/pkg/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 1999/09/07 13:21:03 ad Exp $
+etc/exim/configure
+etc/rc.d/exim.sh
+sbin/exicyclog
+sbin/exigrep
+sbin/exim
+sbin/exim_dbmbuild
+sbin/exim_dumpdb
+sbin/exim_fixdb
+sbin/exim_lock
+sbin/exim_tidydb
+sbin/eximstats
+sbin/exinext
+sbin/exiqsumm
+sbin/exiwhat
+sbin/mailq
+@unexec rmdir %D/etc/exim /var/log/exim 2>/dev/null || true