tomh / rpms / exim

Forked from rpms/exim 4 years ago
Clone
cda8379
--- exim-4.50/Local/Makefile.conf	2005-02-22 19:12:14.000000000 +0000
cda8379
+++ exim-4.50/Local/Makefile	2005-02-22 19:15:10.000000000 +0000
cda8379
@@ -100,7 +100,7 @@
cda8379
 # /usr/local/sbin. The installation script will try to create this directory,
cda8379
 # and any superior directories, if they do not exist.
cda8379
 
cda8379
-BIN_DIRECTORY=/usr/exim/bin
cda8379
+BIN_DIRECTORY=/usr/sbin
cda8379
 
cda8379
 
cda8379
 #------------------------------------------------------------------------------
cda8379
@@ -116,7 +116,7 @@
cda8379
 # don't exist. It will also install a default runtime configuration if this
cda8379
 # file does not exist.
cda8379
 
cda8379
-CONFIGURE_FILE=/usr/exim/configure
cda8379
+CONFIGURE_FILE=/etc/exim/exim.conf
cda8379
 
cda8379
 # It is possible to specify a colon-separated list of files for CONFIGURE_FILE.
cda8379
 # In this case, Exim will use the first of them that exists when it is run.
cda8379
@@ -134,7 +134,7 @@
cda8379
 # owner of a local mailbox.) Specifying these values as root is very strongly
cda8379
 # discouraged.
cda8379
 
cda8379
-EXIM_USER=
cda8379
+EXIM_USER=93
cda8379
 
cda8379
 # If you specify EXIM_USER as a name, this is looked up at build time, and the
cda8379
 # uid number is built into the binary. However, you can specify that this
cda8379
@@ -155,7 +155,7 @@
cda8379
 # for EXIM_USER (e.g. EXIM_USER=exim), you don't need to set EXIM_GROUP unless
cda8379
 # you want to use a group other than the default group for the given user.
cda8379
 
cda8379
-# EXIM_GROUP=
cda8379
+EXIM_GROUP=93
cda8379
 
cda8379
 # Many sites define a user called "exim", with an appropriate default group,
cda8379
 # and use
cda8379
@@ -229,7 +229,7 @@
cda8379
 # This one is special-purpose, and commonly not required, so it is not
cda8379
 # included by default.
cda8379
 
cda8379
-# TRANSPORT_LMTP=yes
cda8379
+TRANSPORT_LMTP=yes
cda8379
 
cda8379
 
cda8379
 #------------------------------------------------------------------------------
cda8379
@@ -238,9 +238,9 @@
cda8379
 # MBX, is included only when requested. If you do not know what this is about,
cda8379
 # leave these settings commented out.
cda8379
 
cda8379
-# SUPPORT_MAILDIR=yes
cda8379
-# SUPPORT_MAILSTORE=yes
cda8379
-# SUPPORT_MBX=yes
cda8379
+SUPPORT_MAILDIR=yes
cda8379
+SUPPORT_MAILSTORE=yes
cda8379
+SUPPORT_MBX=yes
cda8379
 
cda8379
 
cda8379
 #------------------------------------------------------------------------------
ebb629c
@@ -255,17 +255,20 @@
cda8379
 LOOKUP_DBM=yes
cda8379
 LOOKUP_LSEARCH=yes
cda8379
 
cda8379
-# LOOKUP_CDB=yes
cda8379
-# LOOKUP_DNSDB=yes
cda8379
-# LOOKUP_DSEARCH=yes
cda8379
+LOOKUP_CDB=yes
cda8379
+LOOKUP_DNSDB=yes
cda8379
+LOOKUP_DSEARCH=yes
cda8379
 # LOOKUP_IBASE=yes
cda8379
-# LOOKUP_LDAP=yes
cda8379
+LOOKUP_LDAP=yes
cda8379
+LDAP_LIB_TYPE=OPENLDAP2
ebb629c
+LOOKUP_INCLUDE=-I/usr/include/mysql
b1cc555
+LOOKUP_LIBS=-lldap -llber -lsqlite3 -L/usr/$(_lib)/mysql -lmysqlclient -lpq
ebb629c
-# LOOKUP_MYSQL=yes
ebb629c
+LOOKUP_MYSQL=yes
cda8379
-# LOOKUP_NIS=yes
cda8379
-# LOOKUP_NISPLUS=yes
cda8379
+LOOKUP_NIS=yes
cda8379
+LOOKUP_NISPLUS=yes
cda8379
 # LOOKUP_ORACLE=yes
cda8379
-# LOOKUP_PASSWD=yes
cda8379
+LOOKUP_PASSWD=yes
ebb629c
-# LOOKUP_PGSQL=yes
ebb629c
+# LOOKUP_PGSQL=yes
aac745b
-# LOOKUP_SQLITE=yes
aac745b
+LOOKUP_SQLITE=yes
cda8379
 # LOOKUP_WHOSON=yes
cda8379
 
cda8379
@@ -272,7 +274,7 @@
cda8379
 # LOOKUP_LSEARCH is enabled. However, we retain these for backward
cda8379
 # compatibility. Setting one forces LOOKUP_LSEARCH if it is not set.
cda8379
 
cda8379
-# LOOKUP_WILDLSEARCH=yes
cda8379
+LOOKUP_WILDLSEARCH=yes
cda8379
 # LOOKUP_NWILDLSEARCH=yes
cda8379
 
cda8379
 
cda8379
@@ -321,14 +323,14 @@
cda8379
 # and the MIME ACL. Please read the documentation to learn more about these
cda8379
 # features.
cda8379
 
cda8379
-# WITH_CONTENT_SCAN=yes
cda8379
+WITH_CONTENT_SCAN=yes
cda8379
 
cda8379
 # If you want to use the deprecated "demime" condition in the DATA ACL,
cda8379
 # uncomment the line below. Doing so will also explicitly turn on the
cda8379
 # WITH_CONTENT_SCAN option. If possible, use the MIME ACL instead of
cda8379
 # the "demime" condition.
cda8379
 
cda8379
-# WITH_OLD_DEMIME=yes
cda8379
+WITH_OLD_DEMIME=yes
cda8379
 
cda8379
 #------------------------------------------------------------------------------
cda8379
 # Compiling Exim with experimental features. These are documented in
cda8379
@@ -464,10 +466,10 @@
cda8379
 # included in the Exim binary. You will then need to set up the run time
cda8379
 # configuration to make use of the mechanism(s) selected.
cda8379
 
cda8379
-# AUTH_CRAM_MD5=yes
cda8379
-# AUTH_CYRUS_SASL=yes
cda8379
-# AUTH_PLAINTEXT=yes
cda8379
-# AUTH_SPA=yes
cda8379
+AUTH_CRAM_MD5=yes
cda8379
+AUTH_CYRUS_SASL=yes
cda8379
+AUTH_PLAINTEXT=yes
cda8379
+AUTH_SPA=yes
cda8379
 
cda8379
 
cda8379
 #------------------------------------------------------------------------------
cda8379
@@ -484,7 +486,7 @@
cda8379
 # one that is set in the headers_charset option. The default setting is
cda8379
 # defined by this setting:
cda8379
 
cda8379
-HEADERS_CHARSET="ISO-8859-1"
cda8379
+HEADERS_CHARSET="UTF-8"
cda8379
 
cda8379
 # If you are going to make use of $header_xxx expansions in your configuration
cda8379
 # file, or if your users are going to use them in filter files, and the normal
cda8379
@@ -504,7 +506,7 @@
cda8379
 # the Sieve filter support. For those OS where iconv() is known to be installed
cda8379
 # as standard, the file in OS/Makefile-xxxx contains
cda8379
 #
cda8379
-# HAVE_ICONV=yes
cda8379
+HAVE_ICONV=yes
cda8379
 #
cda8379
 # If you are not using one of those systems, but have installed iconv(), you
cda8379
 # need to uncomment that line above. In some cases, you may find that iconv()
cda8379
@@ -553,10 +555,11 @@
cda8379
 # leave these settings commented out.
cda8379
 
cda8379
 # This setting is required for any TLS support (either OpenSSL or GnuTLS)
cda8379
-# SUPPORT_TLS=yes
cda8379
+SUPPORT_TLS=yes
cda8379
 
cda8379
 # Uncomment this setting if you are using OpenSSL
cda8379
-# TLS_LIBS=-lssl -lcrypto
cda8379
+TLS_INCLUDE=-I/usr/kerberos/include
cda8379
+TLS_LIBS=-lssl -lcrypto
cda8379
 
cda8379
 # Uncomment these settings if you are using GnuTLS
cda8379
 # USE_GNUTLS=yes
cda8379
@@ -607,7 +610,7 @@
cda8379
 # Once you have done this, "make install" will build the info files and
cda8379
 # install them in the directory you have defined.
cda8379
 
cda8379
-# INFO_DIRECTORY=/usr/share/info
cda8379
+INFO_DIRECTORY=/usr/share/info
cda8379
 
cda8379
 
cda8379
 #------------------------------------------------------------------------------
cda8379
@@ -620,7 +623,7 @@
cda8379
 # %s. This will be replaced by one of the strings "main", "panic", or "reject"
cda8379
 # to form the final file names. Some installations may want something like this:
cda8379
 
cda8379
-# LOG_FILE_PATH=/var/log/exim_%slog
cda8379
+LOG_FILE_PATH=/var/log/exim/%s.log
cda8379
 
cda8379
 # which results in files with names /var/log/exim_mainlog, etc. The directory
cda8379
 # in which the log files are placed must exist; Exim does not try to create
cda8379
@@ -669,7 +672,7 @@
cda8379
 # files. Both the name of the command and the suffix that it adds to files
cda8379
 # need to be defined here. See also the EXICYCLOG_MAX configuration.
cda8379
 
cda8379
-COMPRESS_COMMAND=/usr/bin/gzip
cda8379
+COMPRESS_COMMAND=/bin/gzip
cda8379
 COMPRESS_SUFFIX=gz
cda8379
 
cda8379
 
cda8379
@@ -677,7 +680,7 @@
cda8379
 # If the exigrep utility is fed compressed log files, it tries to uncompress
cda8379
 # them using this command.
cda8379
 
cda8379
-ZCAT_COMMAND=/usr/bin/zcat
cda8379
+ZCAT_COMMAND=/bin/zcat
cda8379
 
cda8379
 
cda8379
 #------------------------------------------------------------------------------
cda8379
@@ -686,7 +689,7 @@
cda8379
 # (version 5.004 or later) installed, set EXIM_PERL to perl.o. Using embedded
cda8379
 # Perl costs quite a lot of resources. Only do this if you really need it.
cda8379
 
cda8379
-# EXIM_PERL=perl.o
cda8379
+EXIM_PERL=perl.o
cda8379
 
cda8379
 
cda8379
 #------------------------------------------------------------------------------
cda8379
@@ -696,7 +699,7 @@
cda8379
 # support, which is intended for use in conjunction with the SMTP AUTH
cda8379
 # facilities, is included only when requested by the following setting:
cda8379
 
cda8379
-# SUPPORT_PAM=yes
cda8379
+SUPPORT_PAM=yes
cda8379
 
cda8379
 # You probably need to add -lpam to EXTRALIBS, and in some releases of
cda8379
 # GNU/Linux -ldl is also needed.
cda8379
@@ -757,7 +760,7 @@
cda8379
 # group. Once you have installed saslauthd, you should arrange for it to be
cda8379
 # started by root at boot time.
cda8379
 
cda8379
-# CYRUS_SASLAUTHD_SOCKET=/var/state/saslauthd/mux
cda8379
+CYRUS_SASLAUTHD_SOCKET=/var/run/saslauthd/mux
cda8379
 
cda8379
 
cda8379
 #------------------------------------------------------------------------------
cda8379
@@ -770,9 +773,9 @@
cda8379
 # You may well also have to specify a local "include" file and an additional
cda8379
 # library for TCP wrappers, so you probably need something like this:
cda8379
 #
cda8379
-# USE_TCP_WRAPPERS=yes
cda8379
-# CFLAGS=-O -I/usr/local/include
cda8379
-# EXTRALIBS_EXIM=-L/usr/local/lib -lwrap
cda8379
+USE_TCP_WRAPPERS=yes
cda8379
+CFLAGS=-g -O
cda8379
+EXTRALIBS_EXIM=-lwrap -lpam -ldl
cda8379
 #
cda8379
 # but of course there may need to be other things in CFLAGS and EXTRALIBS_EXIM
cda8379
 # as well.
cda8379
@@ -817,13 +820,13 @@
cda8379
 # is "yes", as well as supporting line editing, a history of input lines in the
cda8379
 # current run is maintained.
cda8379
 
cda8379
-# USE_READLINE=yes
cda8379
+USE_READLINE=yes
cda8379
 
cda8379
 # You may need to add -ldl to EXTRA_LIBS when you set USE_READLINE=yes.
cda8379
 # Note that this option adds to the size of the Exim binary, because the
cda8379
 # dynamic loading library is not otherwise included.
cda8379
 
cda8379
-
cda8379
+HAVE_IPV6=yes
cda8379
 
cda8379
 ###############################################################################
cda8379
 #              THINGS YOU ALMOST NEVER NEED TO MENTION                        #
cda8379
@@ -844,11 +847,12 @@
cda8379
 # haven't got Perl, Exim will still build and run; you just won't be able to
cda8379
 # use those utilities.
cda8379
 
cda8379
-# CHOWN_COMMAND=/usr/bin/chown
cda8379
-# CHGRP_COMMAND=/usr/bin/chgrp
cda8379
-# MV_COMMAND=/bin/mv
cda8379
-# RM_COMMAND=/bin/rm
cda8379
-# PERL_COMMAND=/usr/bin/perl
cda8379
+CHOWN_COMMAND=/bin/chown
cda8379
+CHGRP_COMMAND=/bin/chgrp
cda8379
+
cda8379
+MV_COMAND=/bin/mv
cda8379
+RM_COMMAND=/bin/rm
cda8379
+PERL_COMMAND=/usr/bin/perl
cda8379
 
cda8379
 
cda8379
 #------------------------------------------------------------------------------
cda8379
@@ -1042,7 +1046,7 @@
cda8379
 # (process id) to a file so that it can easily be identified. The path of the
cda8379
 # file can be specified here. Some installations may want something like this:
cda8379
 
cda8379
-# PID_FILE_PATH=/var/lock/exim.pid
cda8379
+PID_FILE_PATH=/var/run/exim.pid
cda8379
 
cda8379
 # If PID_FILE_PATH is not defined, Exim writes a file in its spool directory
cda8379
 # using the name "exim-daemon.pid".
cda8379
--- exim-4.50/scripts/Configure-Makefile.conf	2005-02-17 14:49:11.000000000 +0000
cda8379
+++ exim-4.50/scripts/Configure-Makefile	2005-02-22 19:12:21.000000000 +0000
cda8379
@@ -131,7 +131,7 @@
cda8379
 
cda8379
   mv $mft $mftt
cda8379
   echo "PERL_CC=`$PERL_COMMAND -MConfig -e 'print $Config{cc}'`" >>$mft
cda8379
-  echo "PERL_CCOPTS=`$PERL_COMMAND -MExtUtils::Embed -e ccopts`" >>$mft
cda8379
+  echo "PERL_CCOPTS=`$PERL_COMMAND -MExtUtils::Embed -e ccopts` \$(CFLAGS)" >>$mft
cda8379
   echo "PERL_LIBS=`$PERL_COMMAND -MExtUtils::Embed -e ldopts`" >>$mft
cda8379
   echo "" >>$mft
cda8379
   cat $mftt >> $mft