diff options
Diffstat (limited to 'mail/exim-devel')
-rw-r--r-- | mail/exim-devel/Makefile | 199 | ||||
-rw-r--r-- | mail/exim-devel/distinfo | 2 | ||||
-rw-r--r-- | mail/exim-devel/files/POST-INSTALL-NOTES | 22 | ||||
-rw-r--r-- | mail/exim-devel/files/patch-..::texinfo-3.30::doc::spec.texinfo | 40 | ||||
-rw-r--r-- | mail/exim-devel/files/patch-OS::Makefile-FreeBSD | 10 | ||||
-rw-r--r-- | mail/exim-devel/files/patch-scripts::exim_install | 37 | ||||
-rw-r--r-- | mail/exim-devel/files/patch-src::EDITME | 122 | ||||
-rw-r--r-- | mail/exim-devel/files/patch-src::configure.default | 49 | ||||
-rw-r--r-- | mail/exim-devel/files/patch-xxx::no_fsync | 103 | ||||
-rw-r--r-- | mail/exim-devel/pkg-comment | 1 | ||||
-rw-r--r-- | mail/exim-devel/pkg-descr | 9 | ||||
-rw-r--r-- | mail/exim-devel/pkg-install | 36 | ||||
-rw-r--r-- | mail/exim-devel/pkg-message | 7 | ||||
-rw-r--r-- | mail/exim-devel/pkg-plist | 25 |
14 files changed, 0 insertions, 662 deletions
diff --git a/mail/exim-devel/Makefile b/mail/exim-devel/Makefile deleted file mode 100644 index 05d315fb7ae3..000000000000 --- a/mail/exim-devel/Makefile +++ /dev/null @@ -1,199 +0,0 @@ -# New ports collection makefile for: exim -# Date created: 23 June 1996 -# Whom: markm@FreeBSD.org -# -# $FreeBSD$ -# - -PORTNAME= exim -PORTVERSION= 3.33 -CATEGORIES= mail -MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ \ - http://www.exim.org/ftp/ \ - ftp://ftp.is.co.za/networking/mail/transport/exim/ -DISTFILES= exim-3.33.tar.bz2 exim-texinfo-3.30.tar.bz2 - -MAINTAINER= sheldonh@FreeBSD.org - -USE_BZIP2= yes - -.if defined(NOPORTDOCS) -PKGMESSAGE= ${FILESDIR}/POST-INSTALL-NOTES -.endif - -MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH} - -# If WITH_EXIMON is defined, the eximon monitor, which requires X, -# will be made a dependency. Note that using WITH_EXIMON will cause -# XFree86 to be installed if it is not present. -#WITH_EXIMON= yes - -# Define WITH_TCP_WRAPPERS, WITH_LDAP, WITH_MYSQL, and WITH_PGSQL to -# link against libwrap, an LDAP library (see below), liblibmysqlclient -# and libpq respectively. -#WITH_TCP_WRAPPERS= yes -#WITH_LDAP= yes -#WITH_MYSQL= yes -#WITH_PGSQL= yes - -# Define WITHOUT_IPV6 to exclude IPv6 support from the compiled exim -# binary. Exim compiled with IPv6 support will still operate on -# systems that do not have IPv6 kernel support, so this should not -# be necessary. -#WITHOUT_IPV6= yes - -# If WITH_LDAP is defined, LDAP_LIB_TYPE must be either OPENLDAP1 or -# OPENLDAP2. UMICHIGAN is an alias for OPENLDAP1. Exim also supports -# NETSCAPE and SOLARIS7 lookup types, but no client libraries exist -# for these in the ports tree. -LDAP_LIB_TYPE?=OPENLDAP1 - -# The following options may be defined to turn off support for various -# features that this port enables by default. -# -# Do not link against OpenSSL; disables STARTTLS. -#WITHOUT_TLS= yes -# -# Disable the embedded Perl interpreter, which allows Perl subroutines to -# be called during string expansion. -#WITHOUT_PERL= yes -# -# Disable built-in Exim support for the PAM, RFC 2195 and RFC 2595 -# authentication mechanisms, used for SMTP AUTH. -#WITHOUT_PAM= yes -#WITHOUT_AUTH_CRAM_MD5= yes -#WITHOUT_AUTH_PLAINTEXT= yes -# -# Disable built-in Exim support for additional mailbox formats. -#WITHOUT_MAILDIR= yes -#WITHOUT_MAILSTORE= yes -#WITHOUT_MBX= yes -# -# Disable support for CDB-style lookups. -#WITHOUT_CDB= yes - -# You should not need to fiddle with anything below this point. - -.if defined(WITH_EXIMON) -RUN_DEPENDS= ${LOCALBASE}/sbin/eximon:${PORTSDIR}/mail/exim-monitor -.endif - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 400014 -WITHOUT_IPV6= yes -.endif - -SEDLIST= -e 's,XX_PREFIX_XX,${PREFIX},' - -.if !defined(WITHOUT_TLS) -SEDLIST+= -e 's,^\# SUPPORT_TLS=,SUPPORT_TLS=,' -.else -SEDLIST+= -e 's,^TLS_LIBS=,\#TLS_LIBS=,' -.endif - -.if !defined(WITHOUT_PERL) -SEDLIST+= -e 's,^\# EXIM_PERL=,EXIM_PERL=,' -.endif - -.if defined(WITH_TCP_WRAPPERS) -SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,-lwrap,' \ - -e 's,^\# USE_TCP_WRAPPERS=,USE_TCP_WRAPPERS=,' -.else -SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,,' -.endif - -.if defined(WITH_LDAP) -.if (${LDAP_LIB_TYPE} == OPENLDAP1) || (${LDAP_LIB_TYPE} == UMICHIGAN) -LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap -.elif ${LDAP_LIB_TYPE} == OPENLDAP2 -LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2 -.else -.error LDAP_LIB_TYPE must be either OPENLDAP1 or OPENLDAP2 -.endif -SEDLIST+= -e 's,XX_LDAP_LIBS_XX,-L${LOCALBASE}/lib -llber -lldap,' \ - -e 's,XX_LDAP_INCLUDE_XX,-I${LOCALBASE}/include,' \ - -e 's,XX_LDAP_TYPE_XX,${LDAP_LIB_TYPE},' \ - -e 's,^\# LOOKUP_LDAP=,LOOKUP_LDAP=,' -.else -SEDLIST+= -e 's,XX_LDAP_[^ ]*_XX,,' \ - -e 's,^LDAP_LIB_TYPE=,\#LDAP_LIB_TYPE=,' -.endif - -.if defined(WITH_MYSQL) -LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client -SEDLIST+= -e 's,XX_MYSQL_LIBS_XX,-L${LOCALBASE}/lib/mysql -lmysqlclient,' \ - -e 's,XX_MYSQL_INCLUDE_XX,-I${LOCALBASE}/include/mysql,' \ - -e 's,^\# LOOKUP_MYSQL=,LOOKUP_MYSQL=,' -.else -SEDLIST+= -e 's,XX_MYSQL_[^ ]*_XX,,' -.endif - -.if !defined(WITHOUT_PAM) -SEDLIST+= -e 's,XX_PAM_LIBS_XX,-lpam,' \ - -e 's,^\# SUPPORT_PAM=,SUPPORT_PAM=,' -.else -SEDLIST+= -e 's,XX_PAM_LIBS_XX,,' -.endif - -.if !defined(WITHOUT_AUTH_CRAM_MD5) -SEDLIST+= -e 's,^\# AUTH_CRAM_MD5=,AUTH_CRAM_MD5=,' -.endif - -.if !defined(WITHOUT_AUTH_PLAINTEXT) -SEDLIST+= -e 's,^\# AUTH_PLAINTEXT=,AUTH_PLAINTEXT=,' -.endif - -.if defined(WITH_PGSQL) -LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7 -SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${LOCALBASE}/lib -lpq,' \ - -e 's,XX_PGSQL_INCLUDE_XX,-I${LOCALBASE}/include/pgsql,' \ - -e 's,^\# LOOKUP_PGSQL=,LOOKUP_PGSQL=,' -.else -SEDLIST+= -e 's,XX_PGSQL_[^ ]*_XX,,' -.endif - -.if !defined(WITHOUT_IPV6) -SEDLIST+= -e 's,^\# HAVE_IPV6=,HAVE_IPV6=,' -.endif - -.if !defined(WITH_PGSQL) && !defined(WITH_MYSQL) && !defined(WITH_LDAP) -SEDLIST+= -e 's,^LOOKUP_LIBS=,\#LOOKUP_LIBS=,' \ - -e 's,^LOOKUP_INCLUDE=,\#LOOKUP_INCLUDE=,' -.endif - -.if !defined(WITHOUT_MAILDIR) -SEDLIST+= -e 's,^\# SUPPORT_MAILDIR=,SUPPORT_MAILDIR=,' -.endif - -.if !defined(WITHOUT_MAILSTORE) -SEDLIST+= -e 's,^\# SUPPORT_MAILSTORE=,SUPPORT_MAILSTORE=,' -.endif - -.if !defined(WITHOUT_MBX) -SEDLIST+= -e 's,^\# SUPPORT_MBX=,SUPPORT_MBX=,' -.endif - -.if !defined(WITHOUT_CDB) -SEDLIST+= -e 's,^\# LOOKUP_CDB=,LOOKUP_CDB=,' -.endif - -do-configure: - ${MKDIR} ${WRKSRC}/Local - ${SED} ${SEDLIST} < ${WRKSRC}/src/EDITME > ${WRKSRC}/Local/Makefile - cd ${WRKSRC}/doc && \ - for i in ../../exim-texinfo-3.30/doc/* ; do \ - ${LN} -sf $$i ; \ - done - -pre-install: - @PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/exim - ${INSTALL_DATA} ${FILESDIR}/POST-INSTALL-NOTES ${PREFIX}/share/doc/exim -.endif - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/mail/exim-devel/distinfo b/mail/exim-devel/distinfo deleted file mode 100644 index 5f3ac9e4caa8..000000000000 --- a/mail/exim-devel/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (exim-3.33.tar.bz2) = d93a6f6387e18cf94c709f93c725b823 -MD5 (exim-texinfo-3.30.tar.bz2) = 6400cc7988036991b6bbe7ed9b4d9eeb diff --git a/mail/exim-devel/files/POST-INSTALL-NOTES b/mail/exim-devel/files/POST-INSTALL-NOTES deleted file mode 100644 index fda40dc3c7bf..000000000000 --- a/mail/exim-devel/files/POST-INSTALL-NOTES +++ /dev/null @@ -1,22 +0,0 @@ -The following documentation has been installed: - - info 'Exim Overview' -> Overview of Exim - info Exim -> Exim Specification (User Guide) - info 'Exim Filtering' -> Exim Filter Specification (for end-users) - -Postscript, PDF, HTML and plain text versions of these documents, as well -as a comprehensive FAQ list, are available at http://www.exim.org/ . - -To run Exim instead of sendmail on startup: - -1) Create exim/configure from exim/configure.default . -2) Stop the sendmail daemon. -3) Adjust mailer.conf(5) and set 'sendmail_enable' and 'sendmail_flags' - as appropriate in rc.conf(5). -4) Start exim with appropriate command-line options. - -You may also want to configure newsyslog(8) to rotate Exim log files: - -/var/log/exim/mainlog exim:mail 640 7 * @T00 Z -/var/log/exim/rejectlog exim:mail 640 7 * @T00 Z - diff --git a/mail/exim-devel/files/patch-..::texinfo-3.30::doc::spec.texinfo b/mail/exim-devel/files/patch-..::texinfo-3.30::doc::spec.texinfo deleted file mode 100644 index 8053631d6c83..000000000000 --- a/mail/exim-devel/files/patch-..::texinfo-3.30::doc::spec.texinfo +++ /dev/null @@ -1,40 +0,0 @@ ---- ../exim-texinfo-3.30/doc/spec.texinfo.orig Tue Jun 12 12:20:49 2001 -+++ ../exim-texinfo-3.30/doc/spec.texinfo Mon Jun 18 17:50:02 2001 -@@ -6571,20 +6571,24 @@ - - - @cindex gid: caller --@center aller_gid: The group id under which the process that called Exim was -+$caller_gid: -+The group id under which the process that called Exim was - running. This is not the same as the group id of the originator of a message - (see $originator_gid). If Exim re-execs itself, this variable in the new - incarnation normally contains the Exim gid. - - @cindex uid: caller --@center aller_uid: The user id under which the process that called Exim was -+$caller_uid: -+The user id under which the process that called Exim was - running. This is not the same as the user id of the originator of a message - (see $originator_uid). If Exim re-execs itself, this variable in the new - incarnation normally contains the Exim uid. - --@center ompile_date: The date on which the Exim binary was compiled. -+$compile_date: -+The date on which the Exim binary was compiled. - --@center ompile_number: The building process for Exim keeps a count of the number -+$compile_number: -+The building process for Exim keeps a count of the number - of times it has been compiled. This serves to distinguish different - compilations of the same version of the program. - -@@ -6630,7 +6634,7 @@ - transport, the value is available in that transport. In all other situations, - this variable expands to nothing. - -- rrmsg_recipient: -+$errmsg_recipient: - This is set to the recipient address of an error message while Exim is creating - it. It is useful if a customized error message text file is in use (see - chapter "Customizing error and warning messages"). diff --git a/mail/exim-devel/files/patch-OS::Makefile-FreeBSD b/mail/exim-devel/files/patch-OS::Makefile-FreeBSD deleted file mode 100644 index 58f6355e13d8..000000000000 --- a/mail/exim-devel/files/patch-OS::Makefile-FreeBSD +++ /dev/null @@ -1,10 +0,0 @@ ---- OS/Makefile-FreeBSD.orig Mon Jun 11 12:04:05 2001 -+++ OS/Makefile-FreeBSD Mon Jun 11 12:04:33 2001 -@@ -5,6 +5,7 @@ - PORTOBJFORMAT!= test -x /usr/bin/objformat && /usr/bin/objformat || echo aout - - CHOWN_COMMAND=/usr/sbin/chown -+STRIP_COMMAND=/usr/bin/strip - - HAVE_SA_LEN=YES - diff --git a/mail/exim-devel/files/patch-scripts::exim_install b/mail/exim-devel/files/patch-scripts::exim_install deleted file mode 100644 index db0bc1168f0a..000000000000 --- a/mail/exim-devel/files/patch-scripts::exim_install +++ /dev/null @@ -1,37 +0,0 @@ -*) Causes the configure file to be installed as a sample only. The - administrator needs to rename this file to "activate" exim. - ---- scripts/exim_install.orig Mon Aug 2 17:43:03 1999 -+++ scripts/exim_install Tue Aug 3 14:31:20 1999 -@@ -199,25 +199,20 @@ - fi - done - -- -- --# If there is no configuration file, install the default. -+# Install only a sample configuration, which encourages the admin to look -+# at it, since Exim won't run without a configure file. - - echo $com "" - --if [ ! -f ${CONFIGURE_FILE} ]; then -- echo $com Installing default configuration in ${CONFIGURE_FILE} -- echo $com because there is no existing configuration file. -- echo ${CP} ../src/configure.default ${CONFIGURE_FILE} -- ${real} ${CP} ../src/configure.default ${CONFIGURE_FILE} -+ echo $com Installing default configuration file in ${CONFIGURE_FILE%/*}/configure.default -+ ${real} mkdir -p ${CONFIGURE_FILE%/*} -+ echo ${CP} ../src/configure.default ${CONFIGURE_FILE%/*} -+ ${real} ${CP} ../src/configure.default ${CONFIGURE_FILE%/*} - if [ $? -ne 0 ]; then - echo $com "" - echo $com "*** Exim installation ${ver}failed ***" - exit 1 - fi --else -- echo $com Configuration file ${CONFIGURE_FILE} already exists --fi - - # Install info files if the directory is defined and the Texinfo - # source documentation is present. diff --git a/mail/exim-devel/files/patch-src::EDITME b/mail/exim-devel/files/patch-src::EDITME deleted file mode 100644 index 6a314acc6ec4..000000000000 --- a/mail/exim-devel/files/patch-src::EDITME +++ /dev/null @@ -1,122 +0,0 @@ ---- src/EDITME.orig Fri Jan 19 11:32:06 2001 -+++ src/EDITME Mon Jun 11 09:45:26 2001 -@@ -103,7 +103,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=XX_PREFIX_XX/sbin - - - # The default distribution of Exim contains only the plain text form of the -@@ -114,21 +114,21 @@ - # your info directory; "make install" will then build the info files and - # install them there. - --# INFO_DIRECTORY=/usr/local/info -+INFO_DIRECTORY=XX_PREFIX_XX/info - - - # The compress command is used by the exicyclog script to compress old log - # 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 - - - # If the exigrep utility is fed compressed log files, it tries to uncompress - # them using this command. - --ZCAT_COMMAND=/opt/gnu/bin/zcat -+ZCAT_COMMAND=/usr/bin/zcat - - - # The runtime configuration file: This variable defines where Exim's runtime -@@ -137,7 +137,7 @@ - # location of all other runtime files and directories can be changed in the - # runtime configuration file. - --CONFIGURE_FILE=/usr/exim/configure -+CONFIGURE_FILE=XX_PREFIX_XX/etc/exim/configure - - - # In some installations there may be multiple machines sharing file systems, -@@ -243,7 +243,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 -@@ -286,7 +286,7 @@ - # "panic", 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 -@@ -352,6 +352,8 @@ - - # LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include - # LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -+LOOKUP_INCLUDE=XX_MYSQL_INCLUDE_XX XX_PGSQL_INCLUDE_XX XX_LDAP_INCLUDE_XX -+LOOKUP_LIBS=XX_MYSQL_LIBS_XX XX_PGSQL_LIBS_XX XX_LDAP_LIBS_XX - - # If you have set LDAP=yes, you should set LDAP_LIB_TYPE to indicate which LDAP - # library you have. Unfortunately, though most of their functions are the -@@ -365,6 +367,7 @@ - # LDAP_LIB_TYPE=OPENLDAP2 - # LDAP_LIB_TYPE=NETSCAPE - # LDAP_LIB_TYPE=SOLARIS -+LDAP_LIB_TYPE=XX_LDAP_TYPE_XX - - # If you don't set any of these, Exim assumes the original University of - # Michigan (OpenLDAP 1) library. -@@ -411,7 +414,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 -@@ -460,7 +463,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 -@@ -525,7 +528,7 @@ - # with TLS support. - - # SUPPORT_TLS=yes --# TLS_LIBS=-lssl -lcrypto -+TLS_LIBS=-lssl -lcrypto - - # If you are running Exim as a server, note that just building it with TLS - # support is not usually all you need to do. You normally need to set up a -@@ -575,5 +578,14 @@ - # chapter on building and installing Exim. - - # USE_TCP_WRAPPERS=yes -+EXTRALIBS=XX_TCP_WRAPPERS_LIBS_XX XX_PAM_LIBS_XX -+ -+ -+# IPv6 is coming. Exim has experimental support that has been tried out on -+# one or two OS. See the file README.IPV6 for the current status of this -+# support. Do not set this option unless you are working on IPv6 and know -+# what you are doing. -+ -+# HAVE_IPV6=yes - - # End of EDITME diff --git a/mail/exim-devel/files/patch-src::configure.default b/mail/exim-devel/files/patch-src::configure.default deleted file mode 100644 index a5876067d758..000000000000 --- a/mail/exim-devel/files/patch-src::configure.default +++ /dev/null @@ -1,49 +0,0 @@ ---- src/configure.default.orig Thu Jun 14 19:39:54 2001 -+++ src/configure.default Thu Jun 14 20:10:52 2001 -@@ -99,6 +99,8 @@ - # normal user. This isn't usually a problem, as most sites have an alias for - # root that redirects such mail to a human administrator. - -+exim_user = exim -+exim_group = mail - never_users = root - - -@@ -122,6 +124,8 @@ - # See the section of the manual entitled "Control of relaying" for more - # information. - -+host_accept_relay = 127.0.0.1 -+ - - # The setting below causes Exim to do a reverse DNS lookup on all incoming - # IP calls, in order to get the true host name. If you feel this is too -@@ -230,8 +234,8 @@ - delivery_date_add - envelope_to_add - return_path_add --# group = mail --# mode = 0660 -+ group = mail -+ mode = 0660 - - - # This transport is used for handling pipe deliveries generated by alias -@@ -294,7 +298,8 @@ - driver = aliasfile - file = /etc/aliases - search_type = lsearch --# user = exim -+ user = exim -+ group = mail - file_transport = address_file - pipe_transport = address_pipe - -@@ -328,6 +333,7 @@ - file_transport = address_file - pipe_transport = address_pipe - reply_transport = address_reply -+ match_directory = !^/nonexistent - - - # This director matches local user mailboxes. diff --git a/mail/exim-devel/files/patch-xxx::no_fsync b/mail/exim-devel/files/patch-xxx::no_fsync deleted file mode 100644 index fc0f4791ac86..000000000000 --- a/mail/exim-devel/files/patch-xxx::no_fsync +++ /dev/null @@ -1,103 +0,0 @@ -diff -udrN src.orig/accept.c src/accept.c ---- src.orig/accept.c Thu Sep 6 15:25:28 2001 -+++ src/accept.c Thu Sep 6 15:28:03 2001 -@@ -2140,7 +2140,7 @@ - anything until the terminating dot line is sent. */ - - if (fflush(data_file) == EOF || ferror(data_file) || -- fsync(fileno(data_file)) < 0 || (accept_ferror)(fin)) -+ (perform_fsync && fsync(fileno(data_file))) < 0 || (accept_ferror)(fin)) - { - char *msg_errno = strerror(errno); - BOOL input_error = (accept_ferror)(fin) != 0; -diff -udrN src.orig/deliver.c src/deliver.c ---- src.orig/deliver.c Thu Sep 6 15:25:28 2001 -+++ src/deliver.c Thu Sep 6 15:29:22 2001 -@@ -578,7 +578,8 @@ - { - BOOL return_output = FALSE; - struct stat statbuf; -- fsync(addr->return_file); -+ if (perform_fsync) -+ fsync(addr->return_file); - - /* If there is no output, do nothing. */ - -@@ -1580,7 +1581,7 @@ - - /* Ensure the journal file is pushed out to disc. */ - -- if (fsync(journal_fd) < 0) -+ if (perform_fsync && fsync(journal_fd) < 0) - log_write(0, LOG_MAIN|LOG_PANIC, "failed to fsync journal: %s", - strerror(errno)); - } -diff -udrN src.orig/globals.c src/globals.c ---- src.orig/globals.c Thu Sep 6 15:25:28 2001 -+++ src/globals.c Thu Sep 6 15:24:49 2001 -@@ -494,6 +494,7 @@ - BOOL parse_allow_group = FALSE; - BOOL parse_found_group = FALSE; - char *percent_hack_domains = NULL; -+BOOL perform_fsync = TRUE; - char *pid_file_path = PID_FILE_PATH - "\0<--------------Space to patch pid_file_path->"; - BOOL preserve_message_logs = FALSE; -diff -udrN src.orig/globals.h src/globals.h ---- src.orig/globals.h Thu Sep 6 15:25:28 2001 -+++ src/globals.h Thu Sep 6 15:41:35 2001 -@@ -364,6 +364,7 @@ - extern BOOL parse_allow_group; /* Allow group syntax */ - extern BOOL parse_found_group; /* In the middle of a group */ - extern char *percent_hack_domains; /* Local domains for which '% operates */ -+extern BOOL perform_fsync; /* Use fsync() to flush to disk */ - extern char *pid_file_path; /* For writing daemon pids */ - extern BOOL preserve_message_logs; /* Save msglog files */ - extern char *primary_hostname; /* Primary name of this computer */ -diff -udrN src.orig/readconf.c src/readconf.c ---- src.orig/readconf.c Thu Sep 6 15:25:28 2001 -+++ src/readconf.c Thu Sep 6 15:24:19 2001 -@@ -81,6 +81,7 @@ - { "finduser_retries", opt_int, &finduser_retries }, - { "forbid_domain_literals", opt_bool, &forbid_domain_literals }, - { "freeze_tell_mailmaster", opt_bool, &freeze_tell_mailmaster }, -+ { "fsync", opt_bool, &perform_fsync }, - { "gecos_name", opt_stringptr, &gecos_name }, - { "gecos_pattern", opt_stringptr, &gecos_pattern }, - { "headers_check_syntax", opt_bool, &headers_check_syntax }, -diff -udrN src.orig/spool_out.c src/spool_out.c ---- src.orig/spool_out.c Thu Sep 6 15:25:28 2001 -+++ src/spool_out.c Thu Sep 6 15:29:51 2001 -@@ -277,7 +277,7 @@ - just pushes it out of C, and fclose() doesn't guarantee to do the write - either. That's just the way Unix works... */ - --if (fsync(fileno(f)) < 0) -+if (perform_fsync && fsync(fileno(f)) < 0) - return spool_write_error(where, errmsg, "sync", temp_name, f); - - /* Get the size of the file, and close it. */ -diff -udrN src.orig/transports/appendfile.c src/transports/appendfile.c ---- src.orig/transports/appendfile.c Thu Sep 6 15:25:28 2001 -+++ src/transports/appendfile.c Thu Sep 6 15:31:40 2001 -@@ -2556,7 +2556,7 @@ - /* Force out the remaining data to check for any errors; some OS don't allow - fsync() to be called for a FIFO. */ - --if (yield == OK && !isfifo && fsync(fd) < 0) yield = DEFER; -+if (perform_fsync && yield == OK && !isfifo && fsync(fd) < 0) yield = DEFER; - - /* Handle error while writing the file. Control should come here directly after - the error, with the reason in errno. In the case of expansion failure in prefix -diff -udrN src.orig/transports/smtp.c src/transports/smtp.c ---- src.orig/transports/smtp.c Thu Sep 6 15:25:28 2001 -+++ src/transports/smtp.c Thu Sep 6 15:31:55 2001 -@@ -1462,7 +1462,7 @@ - - /* Ensure the journal file is pushed out to disc. */ - -- if (fsync(journal_fd) < 0) -+ if (perform_fsync && fsync(journal_fd) < 0) - log_write(0, LOG_MAIN|LOG_PANIC, "failed to fsync journal: %s", - strerror(errno)); - } diff --git a/mail/exim-devel/pkg-comment b/mail/exim-devel/pkg-comment deleted file mode 100644 index a862bdff5618..000000000000 --- a/mail/exim-devel/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -High performance MTA for Unix systems on the Internet diff --git a/mail/exim-devel/pkg-descr b/mail/exim-devel/pkg-descr deleted file mode 100644 index e7b7d4118545..000000000000 --- a/mail/exim-devel/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Exim is a mail transfer agent for Unix systems connected to the Internet. -It is a monolithic MTA designed to be a command line compatible drop-in -replacement for Sendmail. - -Exim is an excellent mailer for an ISP, as its control and flexibility -are very good and its requeing and retry algorithms are very powerful. -Exim's configuration syntax is simple and well documented. - -WWW: http://www.exim.org/ diff --git a/mail/exim-devel/pkg-install b/mail/exim-devel/pkg-install deleted file mode 100644 index 85811906091a..000000000000 --- a/mail/exim-devel/pkg-install +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# Since FreeBSD does not supply a user for running an MTA in a sandbox -# by default, use user 'exim', adding it if it does not exist. Even -# if FreeBSD supplied an MTA user, it's neglected to do so for so long -# that every sandboxed MTA under the sun uses its own user, so user -# 'exim' should probably be used forever. -# -# Modern FreeBSD systems already have a group mail. -# -# $FreeBSD$ -# - -PKG_PREFIX=${PKG_PREFIX:=/usr/local} - -user=exim -group=mail - -if [ "$2" = "PRE-INSTALL" ]; then - if /usr/bin/id ${user} 2>/dev/null; then - echo "You already have a user '${user}', so Exim will use it." - else - echo "You need a user '${user}'..." - /usr/sbin/pw useradd ${user} -c "Mail Transfer Agent" \ - -g ${group} -d /nonexistent -s /sbin/nologin || exit 1 - echo "Added user '${user}', Exim will use it." - fi -fi - -# This is naughty, since the directory we create won't be removed along -# with Exim. However, logfiles should probably stick around after Exim -# is removed, until the administrator is sure he doesn't want them -# any more. -# -mkdir -p /var/log/exim -chown ${user}:${group} /var/log/exim diff --git a/mail/exim-devel/pkg-message b/mail/exim-devel/pkg-message deleted file mode 100644 index 83859714c92b..000000000000 --- a/mail/exim-devel/pkg-message +++ /dev/null @@ -1,7 +0,0 @@ - -IMPORTANT NOTE: -=============== - -Please read ${PREFIX}/share/doc/exim/POST-INSTALL-NOTES for important -information regarding your Exim installation. - diff --git a/mail/exim-devel/pkg-plist b/mail/exim-devel/pkg-plist deleted file mode 100644 index 11c6842fa92f..000000000000 --- a/mail/exim-devel/pkg-plist +++ /dev/null @@ -1,25 +0,0 @@ -etc/exim/configure.default -info/exim_overview.info -info/exim.info -info/exim_filter.info -sbin/exim -sbin/exim_dumpdb -sbin/exim_fixdb -sbin/exim_lock -sbin/exim_tidydb -sbin/exinext -sbin/exiwhat -sbin/exim_dbmbuild -sbin/exicyclog -sbin/exigrep -sbin/eximstats -sbin/exiqsumm -%%PORTDOCS%%share/doc/exim/POST-INSTALL-NOTES -@unexec install-info --delete %D/info/exim_overview.info %D/info/dir -@unexec install-info --delete %D/info/exim.info %D/info/dir -@unexec install-info --delete %D/info/exim_filter.info %D/info/dir -@exec install-info --section="Exim" --entry "* Exim Overview: (exim_overview). Overview of the Exim system" %D/info/exim_overview.info %D/info/dir -@exec install-info --section="Exim" --entry "* Exim Specification: (exim). Exim manual" %D/info/exim.info %D/info/dir -@exec install-info --section="Exim" --entry "* Exim Filtering: (exim_filter). Filtering mail with Exim" %D/info/exim_filter.info %D/info/dir -@dirrm etc/exim -@dirrm share/doc/exim |