freebsd-ports/mail/exim/Makefile

639 lines
19 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: exim
# Date created: 23 June 1996
# Whom: markm@FreeBSD.org
#
1999-08-25 08:51:17 +02:00
# $FreeBSD$
#
2000-04-13 22:01:08 +02:00
PORTNAME= exim
PORTVERSION?= ${EXIM_VERSION}
PORTREVISION= 1
CATEGORIES= mail ipv6
MASTER_SITES= ${MASTER_SITE_EXIM:S/$/:exim/}
MASTER_SITE_SUBDIR= exim4/:exim
DISTNAME= ${PORTNAME}-${EXIM_VERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:exim
DIST_SUBDIR= exim
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= rea@FreeBSD.org
COMMENT?= High performance MTA for Unix systems on the Internet
mail/exim: upgrade to 4.77 New stuff (from ftp://exim.inode.at/exim/ChangeLogs/NewStuff-4.77): 1. New options for the ratelimit ACL condition: /count= and /unique=. The /noupdate option has been replaced by a /readonly option. 2. The SMTP transport's protocol option may now be set to "smtps", to use SSL-on-connect outbound. 3. New variable $av_failed, set true if the AV scanner deferred; ie, when there is a problem talking to the AV scanner, or the AV scanner running. 4. New expansion conditions, "inlist" and "inlisti", which take simple lists and check if the search item is a member of the list. This does not support named lists, but does subject the list part to string expansion. 5. Unless the new EXPAND_LISTMATCH_RHS build option is set when Exim was built, Exim no longer performs string expansion on the second string of the match_* expansion conditions: "match_address", "match_domain", "match_ip" & "match_local_part". Named lists can still be used. Relevant entries from ChangeLog at ftp://exim.inode.at/exim/ChangeLogs/ChangeLog-4.77: TK/01 DKIM Verification: Fix relaxed canon for empty headers w/o whitespace trailer TF/02 Fix a couple more cases where we did not log the error message when unlink() failed. See also change 4.74-TF/03. TF/03 Make the exiwhat support code safe for signals. Previously Exim might lock up or crash if it happened to be inside a call to libc when it got a SIGUSR1 from exiwhat. The SIGUSR1 handler appends the current process status to the process log which is later printed by exiwhat. It used to use the general purpose logging code to do this, but several functions it calls are not safe for signals. The new output code in the SIGUSR1 handler is specific to the process log, and simple enough that it's easy to inspect for signal safety. Removing some special cases also simplifies the general logging code. Removing the spurious timestamps from the process log simplifies exiwhat. PP/02 Raise smtp_cmd_buffer_size to 16kB. Bugzilla 879. Patch from Paul Fisher. PP/07 Make maildir_use_size_file an _expandable_ boolean. Bugzilla 1089. Patch from Heiko Schlittermann. PP/08 Handle ${run} returning more data than OS pipe buffer size. Bugzilla 1131. Patch from Holger Weitz. PP/09 Handle IPv6 addresses with SPF. Bugzilla 860. Patch from Wolfgang Breyha. PP/10 GnuTLS: support TLS 1.2 & 1.1. Bugzilla 1156. Use gnutls_certificate_verify_peers2() [patch from Andreas Metzler]. Bugzilla 1095. PP/12 fix uninitialised greeting string from PP/03 (smtps client support). PP/13 shell and compiler warnings fixes for RC1-RC4 changes. PP/14 fix log_write() format string regression from TF/03. Bugzilla 1152. Patch from Dmitry Isaikin. Other changes: - the patch for XCLIENT was updated to match the latest Exim sources; - removed already incorporated patch for exiqgrep; - removed Makefile.options and simplified OPTIONS handling. PR: ports/161095, ports/161482, ports/157180
2011-10-18 10:55:44 +02:00
LICENSE= GPLv2
USE_BZIP2= yes
2009-10-21 23:15:18 +02:00
WANT_GNOME= yes
WANT_PERL= yes
MAKE_JOBS_UNSAFE= yes
2011-03-28 15:50:19 +02:00
# One can tune the following "hidden" knobs:
# - EXIM_USER: user exim is running as;
# - EXIM_GROUP: ditto for the group;
# - LOGDIR: where Exim logs will be put;
# - LOG_FILE_PATH: path where '%s' will be substituted with
# the target name (main, reject, etc);
# - CONFIG_FILE_PATH: path to the default configuration file;
# - ALT_CONFIG_PREFIX: path to the default prefix for all
# configuration files, excluding the main one;
# will be effective only when WITH_ALT_CONFIG_PREFIX
# will be set via OPTIONS.
.if make(makesum) && !defined(FETCH_ALL)
.error "You forgot to define FETCH_ALL to create the sane distinfo"
.endif
mail/exim: upgrade to 4.77 New stuff (from ftp://exim.inode.at/exim/ChangeLogs/NewStuff-4.77): 1. New options for the ratelimit ACL condition: /count= and /unique=. The /noupdate option has been replaced by a /readonly option. 2. The SMTP transport's protocol option may now be set to "smtps", to use SSL-on-connect outbound. 3. New variable $av_failed, set true if the AV scanner deferred; ie, when there is a problem talking to the AV scanner, or the AV scanner running. 4. New expansion conditions, "inlist" and "inlisti", which take simple lists and check if the search item is a member of the list. This does not support named lists, but does subject the list part to string expansion. 5. Unless the new EXPAND_LISTMATCH_RHS build option is set when Exim was built, Exim no longer performs string expansion on the second string of the match_* expansion conditions: "match_address", "match_domain", "match_ip" & "match_local_part". Named lists can still be used. Relevant entries from ChangeLog at ftp://exim.inode.at/exim/ChangeLogs/ChangeLog-4.77: TK/01 DKIM Verification: Fix relaxed canon for empty headers w/o whitespace trailer TF/02 Fix a couple more cases where we did not log the error message when unlink() failed. See also change 4.74-TF/03. TF/03 Make the exiwhat support code safe for signals. Previously Exim might lock up or crash if it happened to be inside a call to libc when it got a SIGUSR1 from exiwhat. The SIGUSR1 handler appends the current process status to the process log which is later printed by exiwhat. It used to use the general purpose logging code to do this, but several functions it calls are not safe for signals. The new output code in the SIGUSR1 handler is specific to the process log, and simple enough that it's easy to inspect for signal safety. Removing some special cases also simplifies the general logging code. Removing the spurious timestamps from the process log simplifies exiwhat. PP/02 Raise smtp_cmd_buffer_size to 16kB. Bugzilla 879. Patch from Paul Fisher. PP/07 Make maildir_use_size_file an _expandable_ boolean. Bugzilla 1089. Patch from Heiko Schlittermann. PP/08 Handle ${run} returning more data than OS pipe buffer size. Bugzilla 1131. Patch from Holger Weitz. PP/09 Handle IPv6 addresses with SPF. Bugzilla 860. Patch from Wolfgang Breyha. PP/10 GnuTLS: support TLS 1.2 & 1.1. Bugzilla 1156. Use gnutls_certificate_verify_peers2() [patch from Andreas Metzler]. Bugzilla 1095. PP/12 fix uninitialised greeting string from PP/03 (smtps client support). PP/13 shell and compiler warnings fixes for RC1-RC4 changes. PP/14 fix log_write() format string regression from TF/03. Bugzilla 1152. Patch from Dmitry Isaikin. Other changes: - the patch for XCLIENT was updated to match the latest Exim sources; - removed already incorporated patch for exiqgrep; - removed Makefile.options and simplified OPTIONS handling. PR: ports/161095, ports/161482, ports/157180
2011-10-18 10:55:44 +02:00
.include "options"
.include <bsd.port.options.mk>
.if defined(WITH_SA_EXIM)
.if defined(WITH_KAS)
IGNORE= You cannot select both SA_EXIM and KAS options
.endif
.if defined(WITH_SO_1024)
IGNORE= You cannot select both SA_EXIM and SO_1024 options
.endif
.endif
.if defined(WITH_KAS)
.if defined(WITH_SO_1024)
IGNORE= You cannot select both SA_KAS and SO_1024 options
.endif
.endif
.if defined(WITH_SA_EXIM) || defined(FETCH_ALL)
MASTER_SITES+= http://marc.merlins.org/linux/exim/files/:sa_exim \
SF/sa-exim/sa-exim/${SA_EXIM_VERSION}:sa_exim
MASTER_SITE_SUBDIR+= sa-exim/:sa_exim
DISTFILES+= sa-exim-${SA_EXIM_VERSION}.tar.gz:sa_exim
.endif
.if defined(WITH_SO_1024) || defined(FETCH_ALL)
MASTER_SITES+= ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/:so_1024
DISTFILES+= spamooborona1024-src-${SO_1024_VERSION}.tar.gz:so_1024
.endif
.if defined(WITH_SO_1024)
LDFLAGS+= -lz
PLIST_SUB+= SO_1024=""
.else
PLIST_SUB+= SO_1024="@comment "
.endif
mail/exim: upgrade to 4.77 New stuff (from ftp://exim.inode.at/exim/ChangeLogs/NewStuff-4.77): 1. New options for the ratelimit ACL condition: /count= and /unique=. The /noupdate option has been replaced by a /readonly option. 2. The SMTP transport's protocol option may now be set to "smtps", to use SSL-on-connect outbound. 3. New variable $av_failed, set true if the AV scanner deferred; ie, when there is a problem talking to the AV scanner, or the AV scanner running. 4. New expansion conditions, "inlist" and "inlisti", which take simple lists and check if the search item is a member of the list. This does not support named lists, but does subject the list part to string expansion. 5. Unless the new EXPAND_LISTMATCH_RHS build option is set when Exim was built, Exim no longer performs string expansion on the second string of the match_* expansion conditions: "match_address", "match_domain", "match_ip" & "match_local_part". Named lists can still be used. Relevant entries from ChangeLog at ftp://exim.inode.at/exim/ChangeLogs/ChangeLog-4.77: TK/01 DKIM Verification: Fix relaxed canon for empty headers w/o whitespace trailer TF/02 Fix a couple more cases where we did not log the error message when unlink() failed. See also change 4.74-TF/03. TF/03 Make the exiwhat support code safe for signals. Previously Exim might lock up or crash if it happened to be inside a call to libc when it got a SIGUSR1 from exiwhat. The SIGUSR1 handler appends the current process status to the process log which is later printed by exiwhat. It used to use the general purpose logging code to do this, but several functions it calls are not safe for signals. The new output code in the SIGUSR1 handler is specific to the process log, and simple enough that it's easy to inspect for signal safety. Removing some special cases also simplifies the general logging code. Removing the spurious timestamps from the process log simplifies exiwhat. PP/02 Raise smtp_cmd_buffer_size to 16kB. Bugzilla 879. Patch from Paul Fisher. PP/07 Make maildir_use_size_file an _expandable_ boolean. Bugzilla 1089. Patch from Heiko Schlittermann. PP/08 Handle ${run} returning more data than OS pipe buffer size. Bugzilla 1131. Patch from Holger Weitz. PP/09 Handle IPv6 addresses with SPF. Bugzilla 860. Patch from Wolfgang Breyha. PP/10 GnuTLS: support TLS 1.2 & 1.1. Bugzilla 1156. Use gnutls_certificate_verify_peers2() [patch from Andreas Metzler]. Bugzilla 1095. PP/12 fix uninitialised greeting string from PP/03 (smtps client support). PP/13 shell and compiler warnings fixes for RC1-RC4 changes. PP/14 fix log_write() format string regression from TF/03. Bugzilla 1152. Patch from Dmitry Isaikin. Other changes: - the patch for XCLIENT was updated to match the latest Exim sources; - removed already incorporated patch for exiqgrep; - removed Makefile.options and simplified OPTIONS handling. PR: ports/161095, ports/161482, ports/157180
2011-10-18 10:55:44 +02:00
EXIM_VERSION= 4.77
SA_EXIM_VERSION=4.2
SO_1024_VERSION=3.2
.if !defined(EXIMON_ONLY)
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.if defined(PKGNAMESUFFIX)
CONFLICTS+= ${PKGNAMEPREFIX}${PORTNAME}-4.*
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.endif
2005-09-28 12:12:53 +02:00
.for suffix in -ldap2 -mysql -postgresql -sa-exim -sqlite
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.if !defined(PKGNAMESUFFIX) || ${PKGNAMESUFFIX} != ${suffix}
CONFLICTS+= ${PKGNAMEPREFIX}${PORTNAME}${suffix}-4.*
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.endif
.endfor
.if defined(WITH_EXIMON)
CONFLICTS+= ${PKGNAMEPREFIX}${PORTNAME}-monitor-4.*
.endif
.else
WITH_EXIMON= yes
.endif
.if defined(WITH_EXIMON)
USE_XORG= x11 xaw xt
.endif
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.if !defined(EXIMON_ONLY)
MAN8= exim.8
.else
NO_INSTALL_MANPAGES= yes
.endif
PORTDOC_BASE= ACKNOWLEDGMENTS NOTICE README.UPDATING
PORTDOC_FILES= ChangeLog Exim3.upgrade Exim4.upgrade NewStuff \
OptionLists.txt README README.SIEVE dbm.discuss.txt \
mail/exim: upgrade to 4.77 New stuff (from ftp://exim.inode.at/exim/ChangeLogs/NewStuff-4.77): 1. New options for the ratelimit ACL condition: /count= and /unique=. The /noupdate option has been replaced by a /readonly option. 2. The SMTP transport's protocol option may now be set to "smtps", to use SSL-on-connect outbound. 3. New variable $av_failed, set true if the AV scanner deferred; ie, when there is a problem talking to the AV scanner, or the AV scanner running. 4. New expansion conditions, "inlist" and "inlisti", which take simple lists and check if the search item is a member of the list. This does not support named lists, but does subject the list part to string expansion. 5. Unless the new EXPAND_LISTMATCH_RHS build option is set when Exim was built, Exim no longer performs string expansion on the second string of the match_* expansion conditions: "match_address", "match_domain", "match_ip" & "match_local_part". Named lists can still be used. Relevant entries from ChangeLog at ftp://exim.inode.at/exim/ChangeLogs/ChangeLog-4.77: TK/01 DKIM Verification: Fix relaxed canon for empty headers w/o whitespace trailer TF/02 Fix a couple more cases where we did not log the error message when unlink() failed. See also change 4.74-TF/03. TF/03 Make the exiwhat support code safe for signals. Previously Exim might lock up or crash if it happened to be inside a call to libc when it got a SIGUSR1 from exiwhat. The SIGUSR1 handler appends the current process status to the process log which is later printed by exiwhat. It used to use the general purpose logging code to do this, but several functions it calls are not safe for signals. The new output code in the SIGUSR1 handler is specific to the process log, and simple enough that it's easy to inspect for signal safety. Removing some special cases also simplifies the general logging code. Removing the spurious timestamps from the process log simplifies exiwhat. PP/02 Raise smtp_cmd_buffer_size to 16kB. Bugzilla 879. Patch from Paul Fisher. PP/07 Make maildir_use_size_file an _expandable_ boolean. Bugzilla 1089. Patch from Heiko Schlittermann. PP/08 Handle ${run} returning more data than OS pipe buffer size. Bugzilla 1131. Patch from Holger Weitz. PP/09 Handle IPv6 addresses with SPF. Bugzilla 860. Patch from Wolfgang Breyha. PP/10 GnuTLS: support TLS 1.2 & 1.1. Bugzilla 1156. Use gnutls_certificate_verify_peers2() [patch from Andreas Metzler]. Bugzilla 1095. PP/12 fix uninitialised greeting string from PP/03 (smtps client support). PP/13 shell and compiler warnings fixes for RC1-RC4 changes. PP/14 fix log_write() format string regression from TF/03. Bugzilla 1152. Patch from Dmitry Isaikin. Other changes: - the patch for XCLIENT was updated to match the latest Exim sources; - removed already incorporated patch for exiqgrep; - removed Makefile.options and simplified OPTIONS handling. PR: ports/161095, ports/161482, ports/157180
2011-10-18 10:55:44 +02:00
experimental-spec.txt filter.txt spec.txt
PORT_EXAMPLES= convert4r3 convert4r4 transport-filter.pl
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
DAILY_SCRIPTS= 150.exim-tidydb 460.exim-mail-rejects
PKGINSTALL= ${WRKDIR}/pkg-install
.if defined(NOPORTDOCS) && !defined(EXIMON_ONLY)
PKGMESSAGE= ${WRKDIR}/POST-INSTALL-NOTES
.else
PKGMESSAGE= ${WRKDIR}/pkg-message
.endif
MAKE_ENV+= OSTYPE="${OPSYS}" ARCHTYPE="${ARCH}" DUMMY_LDFLAGS="${DUMMY_LDFLAGS}"
.if defined(EXIMON_ONLY)
MAKE_ENV+= INSTALL_ARG="eximon eximon.bin"
.elif defined(WITHOUT_SUID)
MAKE_ENV+= INSTALL_ARG="-no_chown"
.endif
EXIM_USER?= mailnull
EXIM_GROUP?= mail
2011-03-28 15:50:19 +02:00
LOGDIR?= /var/log/exim
LOG_FILE_PATH?= ${LOGDIR}/%slog
CONFIG_FILE_PATH?= ${PREFIX}/etc/exim/configure
ALT_CONFIG_PREFIX?= ${PREFIX}/etc/exim/
SED_SCRIPT= -e 's,%%PREFIX%%,${PREFIX},g' \
-e 's,%%DOCSDIR%%,${DOCSDIR},g' \
-e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \
-e 's,%%EXIM_USER%%,${EXIM_USER},g' \
-e 's,%%EXIM_GROUP%%,${EXIM_GROUP},g' \
-e 's,%%LOGDIR%%,${LOGDIR},g'
PLIST_SUB+= EXIM_VERSION="${EXIM_VERSION}-${PORTREVISION}" \
EXIM_USER=${EXIM_USER} \
EXIM_GROUP=${EXIM_GROUP} \
LOGDIR="${LOGDIR}"
# Exim refuses to run local deliveries as root by default. You can
# add other users to this colon-separated list that cannot be
# overridden at runtime below, but are advised not to remove "root".
#WITH_FIXED_NEVER_USERS= root:daemon:bin
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
# When Exim is decoding MIME "words" in header lines it converts any foreign
# character sets to the one that is set in the headers_charset option.
# The default setting is defined by this setting:
WITH_DEFAULT_CHARSET?= ISO-8859-1
# You should not need to fiddle with anything below this point.
LIB_DEPENDS+= pcre.1:${PORTSDIR}/devel/pcre
mail/exim: upgrade to 4.77 New stuff (from ftp://exim.inode.at/exim/ChangeLogs/NewStuff-4.77): 1. New options for the ratelimit ACL condition: /count= and /unique=. The /noupdate option has been replaced by a /readonly option. 2. The SMTP transport's protocol option may now be set to "smtps", to use SSL-on-connect outbound. 3. New variable $av_failed, set true if the AV scanner deferred; ie, when there is a problem talking to the AV scanner, or the AV scanner running. 4. New expansion conditions, "inlist" and "inlisti", which take simple lists and check if the search item is a member of the list. This does not support named lists, but does subject the list part to string expansion. 5. Unless the new EXPAND_LISTMATCH_RHS build option is set when Exim was built, Exim no longer performs string expansion on the second string of the match_* expansion conditions: "match_address", "match_domain", "match_ip" & "match_local_part". Named lists can still be used. Relevant entries from ChangeLog at ftp://exim.inode.at/exim/ChangeLogs/ChangeLog-4.77: TK/01 DKIM Verification: Fix relaxed canon for empty headers w/o whitespace trailer TF/02 Fix a couple more cases where we did not log the error message when unlink() failed. See also change 4.74-TF/03. TF/03 Make the exiwhat support code safe for signals. Previously Exim might lock up or crash if it happened to be inside a call to libc when it got a SIGUSR1 from exiwhat. The SIGUSR1 handler appends the current process status to the process log which is later printed by exiwhat. It used to use the general purpose logging code to do this, but several functions it calls are not safe for signals. The new output code in the SIGUSR1 handler is specific to the process log, and simple enough that it's easy to inspect for signal safety. Removing some special cases also simplifies the general logging code. Removing the spurious timestamps from the process log simplifies exiwhat. PP/02 Raise smtp_cmd_buffer_size to 16kB. Bugzilla 879. Patch from Paul Fisher. PP/07 Make maildir_use_size_file an _expandable_ boolean. Bugzilla 1089. Patch from Heiko Schlittermann. PP/08 Handle ${run} returning more data than OS pipe buffer size. Bugzilla 1131. Patch from Holger Weitz. PP/09 Handle IPv6 addresses with SPF. Bugzilla 860. Patch from Wolfgang Breyha. PP/10 GnuTLS: support TLS 1.2 & 1.1. Bugzilla 1156. Use gnutls_certificate_verify_peers2() [patch from Andreas Metzler]. Bugzilla 1095. PP/12 fix uninitialised greeting string from PP/03 (smtps client support). PP/13 shell and compiler warnings fixes for RC1-RC4 changes. PP/14 fix log_write() format string regression from TF/03. Bugzilla 1152. Patch from Dmitry Isaikin. Other changes: - the patch for XCLIENT was updated to match the latest Exim sources; - removed already incorporated patch for exiqgrep; - removed Makefile.options and simplified OPTIONS handling. PR: ports/161095, ports/161482, ports/157180
2011-10-18 10:55:44 +02:00
.if defined(WITH_LISTMATCH_RHS)
SEDLIST+= -e 's,^\# (EXPAND_LISTMATCH_RHS=),\1,'
.endif
.if defined(WITH_DCC)
SEDLIST+= -e 's,^\# (EXPERIMENTAL_DCC=),\1,'
.endif
.if defined(WITH_XCLIENT)
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-xclient
.endif
.if defined(WITH_KAS)
BUILD_DEPENDS+= libspamtest>=0:${PORTSDIR}/mail/libspamtest
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-kas
.endif
.if defined(WITH_WISHLIST)
EXTRA_PATCHES+= `${FIND} ${PATCHDIR} -name 'wishlist-*.patch'`
.endif
SEDLIST+= -e 's,XX_CFLAGS_XX,${CFLAGS},' \
-e 's,XX_PREFIX_XX,${PREFIX},' \
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
-e 's,XX_LOCALBASE_XX,${LOCALBASE},' \
-e 's,XX_LOG_FILE_PATH_XX,${LOG_FILE_PATH},' \
2011-03-28 15:50:19 +02:00
-e 's,XX_CONFIG_FILE_PATH_XX,${CONFIG_FILE_PATH},' \
-e 's,XX_ALT_CONFIG_PREFIX_XX,${ALT_CONFIG_PREFIX},' \
-e 's,XX_EXIM_USER_XX,${EXIM_USER},' \
-e 's,XX_EXIM_GROUP_XX,${EXIM_GROUP},' \
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
-e 's,XX_DEFAULT_CHARSET_XX,${WITH_DEFAULT_CHARSET},'
.if defined(WITH_FIXED_NEVER_USERS)
SEDLIST+= -e 's,^(FIXED_NEVER_USERS=).*,\1${WITH_FIXED_NEVER_USERS},'
.endif
.if defined(WITH_EXIMON)
SEDLIST+= -e 's,^\# (EXIM_MONITOR=),\1,'
PLIST_SUB+= EXIMON=""
.else
PLIST_SUB+= EXIMON="@comment "
.endif
.if !defined(WITHOUT_TLS)
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
SEDLIST+= -e 's,^\# (SUPPORT_TLS=),\1,'
.else
SEDLIST+= -e 's,^(TLS_LIBS=),\# \1,'
.endif
.if !defined(WITHOUT_EMBEDDED_PERL)
USE_PERL5= yes
SEDLIST+= -e 's,^\# (EXIM_PERL=),\1,'
.endif
.if defined(WITH_TCP_WRAPPERS)
SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,-lwrap,' \
-e 's,^\# (USE_TCP_WRAPPERS=),\1,'
.else
SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,,'
.endif
.if !defined(WITHOUT_ICONV)
USE_ICONV= yes
SEDLIST+= -e 's,XX_ICONV_LIBS_XX,-L${LOCALBASE}/lib -liconv,' \
-e 's,^\# (HAVE_ICONV=),\1,'
.else
SEDLIST+= -e 's,XX_ICONV_LIBS_XX,,'
.endif
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.if defined(WITH_LDAP) || defined(LDAP_LIB_TYPE) \
|| defined(WITH_OPENLDAP1) || defined(WITH_OPENLDAP2) \
|| defined(WITH_OPENLDAP20) || defined(WITH_OPENLDAP21)
BROKEN= deprecated LDAP option defined, use WITH_OPENLDAP or WITH_OPENLDAP_VER
.endif
.if defined(WITH_OPENLDAP_VER) && ${WITH_OPENLDAP_VER:L} != "auto"
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER}
.endif
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.if defined(WITH_OPENLDAP)
USE_OPENLDAP= yes
LDAP_LIB_TYPE= OPENLDAP2
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=),\1,'
.else
SEDLIST+= -e 's,XX_LDAP_[^ ]*_XX,,' \
-e 's,^(LDAP_LIB_TYPE=),\# \1,'
.endif
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.if defined(DB_LIB_VERSION)
BROKEN= deprecated option DB_LIB_VERSION used, use WITH_BDB_VER
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.endif
.if defined(WITH_BDB_VER)
.if ${WITH_BDB_VER} > 1
WITH_BDB= yes
.endif
.endif
.if defined(WITH_BDB)
2007-08-12 16:58:23 +02:00
USE_BDB= yes
INVALID_BDB_VER= 2 3
DB_LIBS= -L${BDB_LIB_DIR} -l${BDB_LIB_NAME}
DB_INCLUDES= -I${BDB_INCLUDE_DIR}
.else
DB_LIBS=
DB_INCLUDES=
SEDLIST+= -e 's,^(DBMLIB=),\# \1,'
.endif
SEDLIST+= -e 's,XX_DB_LIBS_XX,${DB_LIBS},' \
-e 's,XX_DB_INCLUDES_XX,${DB_INCLUDES},'
.if defined(WITH_MYSQL_VER) && ${WITH_MYSQL_VER:L} != "auto"
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
WANT_MYSQL_VER= ${WITH_MYSQL_VER}
.else
.undef WITH_MYSQL_VER
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.endif
.if defined(WITH_MYSQL)
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
USE_MYSQL= yes
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=),\1,'
.else
SEDLIST+= -e 's,XX_MYSQL_[^ ]*_XX,,'
.endif
.if defined(WITH_SASLAUTHD)
RUN_DEPENDS+= ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd
SASLAUTHD_SOCKET?= /var/run/saslauthd/mux
SEDLIST+= -e 's,^\# (CYRUS_SASLAUTHD_SOCKET=).*,\1${SASLAUTHD_SOCKET},'
.endif
.if !defined(WITHOUT_PAM)
SEDLIST+= -e 's,XX_PAM_LIBS_XX,-lpam,' \
-e 's,^\# (SUPPORT_PAM=),\1,'
.else
SEDLIST+= -e 's,XX_PAM_LIBS_XX,,'
.endif
.if !defined(WITHOUT_AUTH_CRAM_MD5)
SEDLIST+= -e 's,^\# (AUTH_CRAM_MD5=),\1,'
.endif
.if !defined(WITHOUT_AUTH_PLAINTEXT)
SEDLIST+= -e 's,^\# (AUTH_PLAINTEXT=),\1,'
.endif
2007-05-31 08:48:14 +02:00
.if !defined(WITHOUT_AUTH_DOVECOT)
SEDLIST+= -e 's,^\# (AUTH_DOVECOT=),\1,'
.endif
.if !defined(WITHOUT_AUTH_SPA)
SEDLIST+= -e 's,^\# (AUTH_SPA=),\1,'
.endif
.if defined(WITH_AUTH_SASL)
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
SEDLIST+= -e 's,^\# (AUTH_CYRUS_SASL=),\1,' \
-e 's,^\# (AUTH_LIBS=),\1,'
.endif
.if defined(WITH_AUTH_RADIUS)
WITH_RADIUS_TYPE?= RADLIB
.if ${WITH_RADIUS_TYPE:L} == radlib
SEDLIST+= -e 's,XX_RADIUS_LIBS_XX,-lradius,' \
-e 's,^\# (RADIUS_CONFIG_FILE=).*,\1/etc/radius.conf,' \
-e 's,^\# (RADIUS_LIB_TYPE=).*,\1RADLIB,'
.elif ${WITH_RADIUS_TYPE:L} == radiusclient
LIB_DEPENDS+= radiusclient-ng.2:${PORTSDIR}/net/radiusclient
SEDLIST+= -e 's,XX_RADIUS_LIBS_XX,-L${LOCALBASE}/lib -lradiusclient-ng,' \
-e 's,^\# (RADIUS_CONFIG_FILE=).*,\1${LOCALBASE}/etc/radiusclient-ng/radiusclient.conf,' \
-e 's,^\# (RADIUS_LIB_TYPE=).*,\1RADIUSCLIENTNEW,'
.else
IGNORE= the variable WITH_RADIUS_TYPE must be either RADLIB or RADIUSCLIENT
.endif
.else
SEDLIST+= -e 's,XX_RADIUS_LIBS_XX,,'
.endif
.if defined(WITH_PGSQL)
USE_PGSQL= yes
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=),\1,'
.else
SEDLIST+= -e 's,XX_PGSQL_[^ ]*_XX,,'
.endif
.if !defined(WITH_PGSQL) && !defined(WITH_MYSQL) && !defined(LDAP_LIB_TYPE) && \
!defined(WITH_BDB)
SEDLIST+= -e 's,^(LOOKUP_LIBS=),\# \1,' \
-e 's,^(LOOKUP_INCLUDE=),\# \1,'
.endif
.if !defined(WITH_DNSDB)
SEDLIST+= -e 's,^(LOOKUP_DNSDB=),\# \1,'
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.endif
.if !defined(WITHOUT_MAILDIR)
SEDLIST+= -e 's,^\# (SUPPORT_MAILDIR=),\1,'
.endif
.if !defined(WITHOUT_MAILSTORE)
SEDLIST+= -e 's,^\# (SUPPORT_MAILSTORE=),\1,'
.endif
.if !defined(WITHOUT_MBX)
SEDLIST+= -e 's,^\# (SUPPORT_MBX=),\1,'
.endif
.if !defined(WITHOUT_CDB)
SEDLIST+= -e 's,^\# (LOOKUP_CDB=),\1,'
.endif
.if !defined(WITHOUT_DSEARCH)
SEDLIST+= -e 's,^\# (LOOKUP_DSEARCH=),\1,'
.endif
.if defined(WITHOUT_LSEARCH)
SEDLIST+= -e 's,^(LOOKUP_LSEARCH=),\# \1,'
.endif
.if !defined(WITHOUT_NIS)
SEDLIST+= -e 's,^\# (LOOKUP_NIS=),\1,'
.endif
.if !defined(WITHOUT_PASSWD)
SEDLIST+= -e 's,^\# (LOOKUP_PASSWD=),\1,'
.endif
2005-09-28 12:12:53 +02:00
.if defined(WITH_SQLITE)
USE_SQLITE= yes
USE_GNOME= pkgconfig
SEDLIST+= -e 's,XX_SQLITE_LIBS_XX,`pkg-config --static --libs sqlite3`,' \
-e 's,XX_SQLITE_FLAGS_XX,`pkg-config --cflags sqlite3`,' \
2005-09-28 12:12:53 +02:00
-e 's,^\# (LOOKUP_SQLITE=),\1,'
.else
SEDLIST+= -e 's,XX_SQLITE_LIBS_XX,,' \
-e 's,XX_SQLITE_FLAGS_XX,,'
.endif
.if !defined(WITHOUT_LMTP)
SEDLIST+= -e 's,^\# (TRANSPORT_LMTP=),\1,'
.endif
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.if defined(WITHOUT_ALT_CONFIG_PREFIX)
SEDLIST+= -e 's,^(ALT_CONFIG_PREFIX=),\# \1,'
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.endif
.if defined(WITH_SPF)
LIB_DEPENDS+= spf2.3:${PORTSDIR}/mail/libspf2
SEDLIST+= -e 's,XX_SPF_FLAGS_XX,-DSPF,' \
-e 's,XX_SPF_LIBS_XX,-lspf2 ${PTHREAD_LIBS},' \
-e 's,^\# (EXPERIMENTAL_SPF=),\1,'
.else
SEDLIST+= -e 's,XX_SPF_FLAGS_XX,,' \
-e 's,XX_SPF_LIBS_XX,,'
.endif
.if defined(WITH_SRS)
LIB_DEPENDS+= srs2.0:${PORTSDIR}/mail/libsrs2
SEDLIST+= -e 's,XX_SRS_FLAGS_XX,-DSRS,' \
-e 's,XX_SRS_LIBS_XX,-lsrs2,'
.elif defined(WITH_SRS_ALT)
LIB_DEPENDS+= srs_alt.1:${PORTSDIR}/mail/libsrs_alt
SEDLIST+= -e 's,XX_SRS_FLAGS_XX,-DEXPERIMENTAL_SRS,' \
-e 's,XX_SRS_LIBS_XX,-lsrs_alt,'
.else
SEDLIST+= -e 's,XX_SRS_FLAGS_XX,,' \
-e 's,XX_SRS_LIBS_XX,,'
.endif
.if defined(WITH_SA_EXIM)
RUN_DEPENDS+= ${LOCALBASE}/bin/spamc:${PORTSDIR}/mail/p5-Mail-SpamAssassin
PLIST_SUB+= SA_EXIM=""
.else
PLIST_SUB+= SA_EXIM="@comment "
.endif
.if defined(WITH_READLINE)
SEDLIST+= -e 's,^\# (USE_READLINE=),\1,'
.endif
.if defined(WITH_CONTENT_SCAN)
SEDLIST+= -e 's,^\# (WITH_CONTENT_SCAN=),\1,'
.endif
.if !defined(WITHOUT_OLD_DEMIME)
SEDLIST+= -e 's,^\# (WITH_OLD_DEMIME=),\1,'
.endif
.if !defined(EXIMON_ONLY) && !defined(WITHOUT_DAEMON)
USE_RC_SUBR= exim.sh
PLIST_SUB+= DAEMON=""
SUB_LIST+= LOGDIR="${LOGDIR}"
.else
PLIST_SUB+= DAEMON="@comment "
.endif
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.if defined(EXIMON_ONLY) && ${MASTERDIR} == ${PKGDIR}
.error EXIMON_ONLY is not user settable
.endif
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.if !defined(WITHOUT_IPV6)
SEDLIST+= -e 's,^\# (HAVE_IPV6=),\1,'
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.endif
.if defined(WITH_DISABLE_D_OPT)
SEDLIST+= -e 's,^\# (DISABLE_D_OPTION=),\1,'
.else
.if defined(WHITELIST_D_MACROS)
SEDLIST+= -e 's,^\# (WHITELIST_D_MACROS=).*$$,\1${WHITELIST_D_MACROS:S/,/\\,/g},'
.endif
.endif
.if defined(TRUSTED_CONFIG_LIST)
SEDLIST+= -e 's,^\# (TRUSTED_CONFIG_LIST=).*$$,\1${TRUSTED_CONFIG_LIST:S/,/\\,/g},'
.endif
DUMMY_LDFLAGS!= ${ECHO_CMD} ${LDFLAGS} | ${SED} -e 's|-Wl,-rpath|-Wl,-DUMMYrpath|g; s|-rpath|-Wl,-rpath|g; s|-DUMMYrpath|-rpath|g'
pre-everything::
@${ECHO} 'Exim now drops privileges when alternate configuration'
@${ECHO} 'files are used. You can set make variable TRUSTED_CONFIG_LIST'
@${ECHO} 'to specify the list of configuration files for which'
@${ECHO} 'root privileges will be retained.'
@${ECHO} ''
@${ECHO} 'You can whitelist some macros using the make variable'
@${ECHO} 'WHITELIST_D_MACROS. This is useful if you are running'
@${ECHO} 'with DISABLE_D_OPT set, but macros whitelisting will be'
@${ECHO} 'removed in some future Exim release, so it is better'
@${ECHO} 'to use TRUSTED_CONFIG_LIST to set the list of trusted'
@${ECHO} 'configuration files.'
.if empty(.MAKEFLAGS:M-s) && defined(WITH_WISHLIST)
@${ECHO} ''
@${ECHO} 'Included extra patches:'
@${FIND} ${PATCHDIR} -name 'wishlist-*.patch' \
-exec ${SED} -ne 's,^# , ,p' {} \;
@${ECHO} ''
.endif
post-extract:
.if defined(WITH_SA_EXIM)
@cd ${WRKDIR} && ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/sa-exim-${SA_EXIM_VERSION}.tar.gz ${EXTRACT_AFTER_ARGS}
.endif
.if defined(WITH_SO_1024)
@cd ${WRKDIR} && ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/spamooborona1024-src-${SO_1024_VERSION}.tar.gz ${EXTRACT_AFTER_ARGS}
.endif
do-configure:
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
@${MKDIR} ${WRKSRC}/Local
@${SED} -E ${SEDLIST} ${WRKSRC}/src/EDITME > ${WRKSRC}/Local/Makefile
.if defined(WITH_EXIMON)
@${CP} ${WRKSRC}/exim_monitor/EDITME ${WRKSRC}/Local/eximon.conf
.endif
@[ ! -f ${PKGDIR}/pkg-install ] || ${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-install > ${PKGINSTALL}
@${REINPLACE_CMD} -E ${SEDLIST} ${WRKSRC}/src/configure.default
@${REINPLACE_CMD} -e 's!$$(LDFLAGS)!$$(DUMMY_LDFLAGS) -L$${LOCALBASE}/lib!' ${WRKSRC}/OS/Makefile-Base
@${REINPLACE_CMD} -e 's/"(Exim $$version_number)\\n\\t"/"(Exim $$version_number (${OPSYS}))\\n\\t"/' \
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
${WRKSRC}/src/globals.c
@${REINPLACE_CMD} -e 's/Exim version %s \(#%s \)\{0,1\}/&(${OPSYS} ${OSREL}) /' ${WRKSRC}/src/exim.c
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
@${REINPLACE_CMD} -e 's/^#include "cnumber\.h"$$/${PORTREVISION}/' ${WRKSRC}/src/version.c
@${REINPLACE_CMD} -E -e 's/^(PERL_COMMAND=).*/\1${PERL:S,/,\/,g}/' \
-e 's/^(CC=).*/\1${CC:S,/,\/,g}/' ${WRKSRC}/OS/Makefile-Default
.if defined(WITH_SA_EXIM)
@${REINPLACE_CMD} -E -e 's/^(LOCAL_SCAN_SOURCE=).*/\1Local\/sa-exim.c/' \
${WRKSRC}/OS/Makefile-Default
@${CP} ${WRKDIR}/sa-exim-${SA_EXIM_VERSION}/sa-exim.c ${WRKSRC}/Local
@{ \
${ECHO_CMD} "char *version=\"${SA_EXIM_VERSION}\";"; \
${ECHO_CMD} "#define SPAMC_LOCATION \"${LOCALBASE}/bin/spamc\""; \
${ECHO_CMD} "#define SPAMASSASSIN_CONF \"${PREFIX}/etc/exim/sa-exim.conf\""; \
} > ${WRKSRC}/Local/sa-exim.h
@${REINPLACE_CMD} -e 's,/usr/bin/spamc,${LOCALBASE}/bin/spamc,' \
${WRKDIR}/sa-exim-${SA_EXIM_VERSION}/sa-exim.conf
.endif
.if defined(WITH_SO_1024)
@${REINPLACE_CMD} -E -e 's/^(LOCAL_SCAN_SOURCE=).*/\1Local\/local_scan_1024.c/' \
${WRKSRC}/OS/Makefile-Default
@${CP} ${WRKDIR}/local_scan_1024.c ${WRKSRC}/Local
.endif
@${REINPLACE_CMD} -E -e 's/XX_STRIPCMD_XX/${STRIP_CMD:S,/,\/,g}/' \
${WRKSRC}/OS/Makefile-FreeBSD
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} configure)
post-build:
.for script in ${DAILY_SCRIPTS}
@${SED} ${SED_SCRIPT} ${FILESDIR}/${script}.sh > ${WRKDIR}/${script}.sh
.endfor
@${SED} ${SED_SCRIPT} ${FILESDIR}/POST-INSTALL-NOTES > \
${WRKDIR}/POST-INSTALL-NOTES
@${SED} ${SED_SCRIPT} ${FILESDIR}/POST-INSTALL-NOTES.clamd > ${WRKDIR}/POST-INSTALL-NOTES.clamd
@${SED} ${SED_SCRIPT} ${FILESDIR}/POST-INSTALL-NOTES > ${WRKDIR}/POST-INSTALL-NOTES
@[ ! -f ${PKGDIR}/pkg-message ] || ${SED} ${SED_SCRIPT} ${PKGDIR}/pkg-message > ${WRKDIR}/pkg-message
.if !defined(EXIMON_ONLY)
pre-install:
if ! /usr/sbin/pw groupshow ${EXIM_GROUP}; then /usr/sbin/pw groupadd ${EXIM_GROUP} -g 125; fi
if ! /usr/sbin/pw usershow ${EXIM_USER}; then /usr/sbin/pw useradd ${EXIM_USER} -g ${EXIM_GROUP} -u 125 \
-h - -d /var/spool/exim -s /nonexistent -c "Exim User"; fi
@[ -d "/etc" ] || ${MKDIR} "/etc"
@${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
.if !defined(WITHOUT_DAEMON)
@${MKDIR} ${PREFIX}/etc/periodic/daily
.for script in ${DAILY_SCRIPTS}
@${INSTALL_SCRIPT} ${WRKDIR}/${script}.sh ${PREFIX}/etc/periodic/daily/${script}
.endfor
.endif
@[ -f ${PREFIX}/etc/exim/configure ] || \
${CP} ${PREFIX}/etc/exim/configure.default ${PREFIX}/etc/exim/configure
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.for manfile in ${MAN8}
@${INSTALL_MAN} ${WRKSRC}/doc/${manfile} ${MAN8PREFIX}/man/man8
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKDIR}/POST-INSTALL-NOTES ${DOCSDIR}
@${INSTALL_DATA} ${WRKDIR}/POST-INSTALL-NOTES.clamd ${DOCSDIR}
.for docfile in ${PORTDOC_BASE}
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.for docfile in ${PORTDOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR}
.endfor
@${MKDIR} ${EXAMPLESDIR}
WARNING: See caution at the end of this bullet list. * Update to exim-4.24 (bugfix release). * Wishlist patch for "eqi" incorporated. * Mark exim-{ldap2,mysql,postgresql,} as conflicting. * Substitute PORTREVISION for build number so that the version string hints at which version of the port the binary comes from. * Clean up POST-INSTALL-NOTES. * Install example scripts, especially upgrade converters, now that exim-old has been retired. * Enable DNSDB-style lookup support by default; it can be disabled with WITHOUT_DNSDB. * Simplify LDAP support, using various versions of OpenLDAP only. The old WITH_OPENLDAP[0-9][0-9] options are now invalid; use WITH_OPENLDAP and/or WITH_OPENLDAP_VER instead. * Retired exim-ldap port; OpenLDAP 1.2 is ancient. * Allow the operator to specify preferred MySql version with WITH_MYSQL_VER. * Allow the operator to specify preferred Berkeley DB version with WITH_BDB_VER; the old DB_LIB_VERSION option is now invalid. * Respect bsd.ports.mk defaults of MySQL 4.0 and OpenLDAP 2.1. * Allow the operator to specify default charset for header conversions, with WITH_DEFAULT_CHARSET. * Limit configure files to ${PREFIX}/etc/exim by default for security reasons; the operator may override this behaviour with WITHOUT_ALT_CONFIG_PREFIX. !!!WARNING!!! Some of these changes may cause trouble for folks who have a bunch of exim port tweaks in make.conf and pkgtools.conf. The ALT_CONFIG_PREFIX change may break existing deployments. PR: ports/57098 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> PR: ports/56117 Submitted by: Pat Lashley <patl+freebsd@volant.org> PR: ports/57099 Reported by: Mark Foster <mark@foster.cc>
2003-09-29 13:42:45 +02:00
.for example in ${PORT_EXAMPLES}
@${INSTALL_SCRIPT} ${WRKSRC}/build-${OPSYS}-${ARCH}/${example} ${EXAMPLESDIR}
.endfor
.endif
.if defined(WITH_SA_EXIM)
@${INSTALL_DATA} ${WRKDIR}/sa-exim-${SA_EXIM_VERSION}/sa-exim.conf \
${PREFIX}/etc/exim/sa-exim.conf.default
@[ -f ${PREFIX}/etc/exim/sa-exim.conf ] || \
${CP} ${PREFIX}/etc/exim/sa-exim.conf.default \
${PREFIX}/etc/exim/sa-exim.conf
.endif
.if defined(WITH_SO_1024)
.if !exists(/var/spool/spamooborona)
@${MKDIR} -m 750 /var/spool/spamooborona
@${CHOWN} ${EXIM_USER}:${EXIM_GROUP} /var/spool/spamooborona
.endif
.endif
@${CAT} ${PKGMESSAGE}
@${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.else
post-install:
@${CAT} ${PKGMESSAGE}
.endif
mail/exim: upgrade to 4.77 New stuff (from ftp://exim.inode.at/exim/ChangeLogs/NewStuff-4.77): 1. New options for the ratelimit ACL condition: /count= and /unique=. The /noupdate option has been replaced by a /readonly option. 2. The SMTP transport's protocol option may now be set to "smtps", to use SSL-on-connect outbound. 3. New variable $av_failed, set true if the AV scanner deferred; ie, when there is a problem talking to the AV scanner, or the AV scanner running. 4. New expansion conditions, "inlist" and "inlisti", which take simple lists and check if the search item is a member of the list. This does not support named lists, but does subject the list part to string expansion. 5. Unless the new EXPAND_LISTMATCH_RHS build option is set when Exim was built, Exim no longer performs string expansion on the second string of the match_* expansion conditions: "match_address", "match_domain", "match_ip" & "match_local_part". Named lists can still be used. Relevant entries from ChangeLog at ftp://exim.inode.at/exim/ChangeLogs/ChangeLog-4.77: TK/01 DKIM Verification: Fix relaxed canon for empty headers w/o whitespace trailer TF/02 Fix a couple more cases where we did not log the error message when unlink() failed. See also change 4.74-TF/03. TF/03 Make the exiwhat support code safe for signals. Previously Exim might lock up or crash if it happened to be inside a call to libc when it got a SIGUSR1 from exiwhat. The SIGUSR1 handler appends the current process status to the process log which is later printed by exiwhat. It used to use the general purpose logging code to do this, but several functions it calls are not safe for signals. The new output code in the SIGUSR1 handler is specific to the process log, and simple enough that it's easy to inspect for signal safety. Removing some special cases also simplifies the general logging code. Removing the spurious timestamps from the process log simplifies exiwhat. PP/02 Raise smtp_cmd_buffer_size to 16kB. Bugzilla 879. Patch from Paul Fisher. PP/07 Make maildir_use_size_file an _expandable_ boolean. Bugzilla 1089. Patch from Heiko Schlittermann. PP/08 Handle ${run} returning more data than OS pipe buffer size. Bugzilla 1131. Patch from Holger Weitz. PP/09 Handle IPv6 addresses with SPF. Bugzilla 860. Patch from Wolfgang Breyha. PP/10 GnuTLS: support TLS 1.2 & 1.1. Bugzilla 1156. Use gnutls_certificate_verify_peers2() [patch from Andreas Metzler]. Bugzilla 1095. PP/12 fix uninitialised greeting string from PP/03 (smtps client support). PP/13 shell and compiler warnings fixes for RC1-RC4 changes. PP/14 fix log_write() format string regression from TF/03. Bugzilla 1152. Patch from Dmitry Isaikin. Other changes: - the patch for XCLIENT was updated to match the latest Exim sources; - removed already incorporated patch for exiqgrep; - removed Makefile.options and simplified OPTIONS handling. PR: ports/161095, ports/161482, ports/157180
2011-10-18 10:55:44 +02:00
show-variables-list:
@${SH} -c 'set -- ${OPTIONS:C/".*"//g}; \
while [ -n "$$1" ]; do \
opt="$$1"; shift; \
status="$$1"; shift; \
case "X$$status" in \
X[Oo][Nn]) echo "WITH_$$opt"=yes; ;; \
X[Oo][Ff][Ff]) echo "WITHOUT_$$opt"=yes; ;; \
esac; \
done'
.include <bsd.port.mk>