summaryrefslogtreecommitdiff
path: root/mail/exim/patches
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/patches
parent15f7d8a7a43983cab8668465398862f313773299 (diff)
downloadpkgsrc-18e2b59b6b765a4e48b5b6340cd8e93b9324e9e3.tar.gz
Exim, yet another Sendmail replacement.
Diffstat (limited to 'mail/exim/patches')
-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
4 files changed, 125 insertions, 0 deletions
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