diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2017-01-02 19:57:25 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2017-01-02 19:57:25 +0800 |
commit | b7fde837de3ec3eb5a3eb3b0912b92d71f81a49e (patch) | |
tree | 287c0503f127fcdd9c6fc7d6962fc21fbbf6c7f3 /mail/exim | |
parent | b2008de09a82b890e5da8d8254458b42dd99aecb (diff) | |
download | freebsd-ports-gnome-b7fde837de3ec3eb5a3eb3b0912b92d71f81a49e.tar.gz freebsd-ports-gnome-b7fde837de3ec3eb5a3eb3b0912b92d71f81a49e.tar.zst freebsd-ports-gnome-b7fde837de3ec3eb5a3eb3b0912b92d71f81a49e.zip |
- Update to version 4.88
- Add experimental LMDB lookup option
- Add experimental queuefile option
- Remove rspamd pacth which is now included in Exim
Changes: ftp://ftp.exim.org/pub/exim/exim4/NewStuff
Diffstat (limited to 'mail/exim')
-rw-r--r-- | mail/exim/Makefile | 18 | ||||
-rw-r--r-- | mail/exim/distinfo | 6 | ||||
-rw-r--r-- | mail/exim/files/patch-rspamd-shutdown | 13 | ||||
-rw-r--r-- | mail/exim/files/patch-scripts__exim_install | 18 | ||||
-rw-r--r-- | mail/exim/files/patch-src__EDITME | 4 | ||||
-rw-r--r-- | mail/exim/options | 4 |
6 files changed, 34 insertions, 29 deletions
diff --git a/mail/exim/Makefile b/mail/exim/Makefile index e8446b9ed9e7..346bcd096e4e 100644 --- a/mail/exim/Makefile +++ b/mail/exim/Makefile @@ -50,6 +50,7 @@ EXIMON_USE= xorg=x11,xaw,xt GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls ICONV_USES= iconv:lib,build INTERNATIONAL_LIB_DEPENDS= libidn.so:dns/libidn +LMDB_LIB_DEPENDS= liblmdb.so:databases/lmdb MYSQL_USE= mysql=yes OPENLDAP_USE= openldap=yes PGSQL_USES= pgsql @@ -96,7 +97,7 @@ MASTER_SITES+= http://marc.merlins.org/linux/exim/files/:sa_exim \ DISTFILES+= sa-exim-${SA_EXIM_VERSION}.tar.gz:sa_exim .endif -EXIM_VERSION= 4.87.1 +EXIM_VERSION= 4.88 SA_EXIM_VERSION=4.2 EXIM_INSTALL_ARG+= "-no_chown" "-no_symlink" @@ -317,6 +318,17 @@ SEDLIST+= -e 's,^(DBMLIB=),\# \1,' SEDLIST+= -e 's,XX_DB_LIBS_XX,${DB_LIBS:S/,/\\,/g},' \ -e 's,XX_DB_INCLUDES_XX,${DB_INCLUDES:S/,/\\,/g},' +.if ${PORT_OPTIONS:MLMDB} +LMDB_LIBS= -L${LOCALBASE}/lib -llmdb +LMDB_INCLUDES= -I${LOCALBASE}/include +SEDLIST+= -e 's,^\# (EXPERIMENTAL_LMDB=),\1,' +.else +LMDB_LIBS= +LMDB_INCLUDES= +.endif +SEDLIST+= -e 's,XX_LMDB_LIBS_XX,${LMDB_LIBS:S/,/\\,/g},' \ + -e 's,XX_LMDB_INCLUDES_XX,${LMDB_INCLUDES:S/,/\\,/g},' + .if ${PORT_OPTIONS:MMYSQL} SEDLIST+= -e 's,XX_MYSQL_LIBS_XX,-L${LOCALBASE:S/,/\\,/g}/lib/mysql -lmysqlclient,' \ -e 's,XX_MYSQL_INCLUDE_XX,-I${LOCALBASE:S/,/\\,/g}/include/mysql,' \ @@ -505,6 +517,10 @@ SEDLIST+= -e 's,^\# (WHITELIST_D_MACROS=).*$$,\1${WHITELIST_D_MACROS:S/,/\\,/g}, SEDLIST+= -e 's,^\# (TRUSTED_CONFIG_LIST=).*$$,\1${TRUSTED_CONFIG_LIST:S/,/\\,/g},' .endif +.if ${PORT_OPTIONS:MQUEUEFILE} +SEDLIST+= -e 's,^\# (EXPERIMENTAL_QUEUEFILE=),\1,' +.endif + MAKE_ENV+= INSTALL_ARG="${EXIM_INSTALL_ARG}" DUMMY_LDFLAGS!= ${ECHO_CMD} ${LDFLAGS} | ${SED} -e 's|-Wl,-rpath|-Wl,-DUMMYrpath|g; s|-rpath|-Wl,-rpath|g; s|-DUMMYrpath|-rpath|g' diff --git a/mail/exim/distinfo b/mail/exim/distinfo index 0cc4cb1cb491..3c83a0d88194 100644 --- a/mail/exim/distinfo +++ b/mail/exim/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1482673582 -SHA256 (exim/exim-4.87.1.tar.bz2) = d4b7994c89240d2f9a9fcd7a2dffa4b72f14379001a24266f4dbb0fbe5131514 -SIZE (exim/exim-4.87.1.tar.bz2) = 1789634 +TIMESTAMP = 1483356878 +SHA256 (exim/exim-4.88.tar.bz2) = 119d5fd7e31fc224e84dfa458fe182f200856bae7adf852a8287c242161f8a2d +SIZE (exim/exim-4.88.tar.bz2) = 1824610 SHA256 (exim/sa-exim-4.2.tar.gz) = 72e0a735547f18b05785e6c58a71d24623858f0f5234a5dc0e24cb453999e99a SIZE (exim/sa-exim-4.2.tar.gz) = 66575 diff --git a/mail/exim/files/patch-rspamd-shutdown b/mail/exim/files/patch-rspamd-shutdown deleted file mode 100644 index 51a0d5827e1f..000000000000 --- a/mail/exim/files/patch-rspamd-shutdown +++ /dev/null @@ -1,13 +0,0 @@ ---- src/spam.c.orig 2016-04-02 20:24:15.000000000 +0100 -+++ src/spam.c 2016-04-21 16:42:49.297221000 +0100 -@@ -494,7 +494,9 @@ - (void)fclose(mbox_file); - - /* we're done sending, close socket for writing */ --shutdown(spamd_sock,SHUT_WR); -+if (!sd->is_rspamd) { -+ shutdown(spamd_sock,SHUT_WR); -+} - - /* read spamd response using what's left of the timeout. */ - memset(spamd_buffer, 0, sizeof(spamd_buffer)); diff --git a/mail/exim/files/patch-scripts__exim_install b/mail/exim/files/patch-scripts__exim_install index 7a2fec05545a..7279655270b9 100644 --- a/mail/exim/files/patch-scripts__exim_install +++ b/mail/exim/files/patch-scripts__exim_install @@ -1,5 +1,5 @@ ---- scripts/exim_install.orig 2014-05-26 20:14:16.000000000 +0100 -+++ scripts/exim_install 2014-07-04 12:40:45.002262243 +0100 +--- scripts/exim_install.orig 2016-12-18 14:02:28.000000000 +0000 ++++ scripts/exim_install 2017-01-02 11:48:46.939703000 +0000 @@ -29,6 +29,7 @@ do_chown=yes @@ -30,17 +30,17 @@ # Overrides of other things case "$inst_uid" in ?*) INST_UID="$inst_uid";; esac -@@ -217,8 +220,7 @@ - # The exim binary is handled specially +@@ -218,8 +221,7 @@ if [ $name = exim${EXE} ]; then -- version=exim-`./exim -bV -C /dev/null | \ + exim="./exim -bV -C /dev/null" +- version=exim-`$exim 2>/dev/null | \ - awk '/Exim version/ { OFS=""; print $3,"-",substr($4,2,length($4)-1) }'`${EXE} + version=exim if [ "${version}" = "exim-${EXE}" ]; then echo $com "" -@@ -382,9 +384,8 @@ +@@ -384,9 +386,8 @@ echo $com ' ' ${CONFIGURE_FILE} echo $com Therefore, skipping automatic installation. @@ -52,7 +52,7 @@ if [ "${SYSTEM_ALIASES_FILE}" = "" ] ; then SYSTEM_ALIASES_FILE=/etc/aliases echo $com This configuration has system aliases in ${SYSTEM_ALIASES_FILE}. -@@ -394,8 +395,8 @@ +@@ -396,8 +397,8 @@ ${real} ${MKDIR} -p `${DIRNAME} ${CONFIGURE_FILE}` echo sed -e '\\' @@ -63,7 +63,7 @@ # I can't find a way of writing this using the ${real} feature because # it seems that the output redirection always happens, even when -n was -@@ -403,8 +404,8 @@ +@@ -405,8 +406,8 @@ if [ "$real" = "" ] ; then sed -e \ @@ -74,7 +74,7 @@ else true fi -@@ -414,24 +415,22 @@ +@@ -416,24 +417,22 @@ echo $com "*** Exim installation ${ver}failed ***" exit 1 fi diff --git a/mail/exim/files/patch-src__EDITME b/mail/exim/files/patch-src__EDITME index 1a0d07016d9c..9a60f89b47b0 100644 --- a/mail/exim/files/patch-src__EDITME +++ b/mail/exim/files/patch-src__EDITME @@ -50,9 +50,9 @@ -# 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 -lgds -lsqlite3 -+INCLUDE=-IXX_LOCALBASE_XX/include XX_DB_INCLUDES_XX ++INCLUDE=-IXX_LOCALBASE_XX/include XX_DB_INCLUDES_XX XX_LMDB_INCLUDES_XX +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 ++LOOKUP_LIBS=XX_MYSQL_LIBS_XX XX_PGSQL_LIBS_XX XX_LDAP_LIBS_XX XX_LMDB_LIBS_XX +DBMLIB=XX_DB_LIBS_XX diff --git a/mail/exim/options b/mail/exim/options index 9456705ea5a6..eb18788fdee6 100644 --- a/mail/exim/options +++ b/mail/exim/options @@ -66,7 +66,7 @@ OPTIONS_GROUP_LOOKUP= CDB BDB DNSDB DSEARCH LSEARCH MYSQL NIS OPENLDAP PGSQL RED LOOKUP_DESC= Lookup support OPTIONS_GROUP_STORAGE= MAILDIR MAILSTORE MBX STORAGE_DESC= Supported storage formats -OPTIONS_GROUP_EXPERIMENTAL= CERTNAMES DANE DCC DMARC DSN SPF +OPTIONS_GROUP_EXPERIMENTAL= CERTNAMES DANE DCC DMARC DSN SPF LMDB QUEUEFILE EXPERIMENTAL_DESC= Experimental options OPTIONS_GROUP= AUTH LOOKUP STORAGE EXPERIMENTAL @@ -97,6 +97,7 @@ EXIMON_DESC= Build eximon monitor (requires X libraries) ICONV_DESC= Enable header charset conversion INTERNATIONAL_DESC= Enable support for the transmission of UTF-8 envelope addresses LISTMATCH_RHS_DESC= Enable pre-4.77 behaviour for match_* +LMDB_DESC= Enable LMDB lookups LMTP_DESC= RFC2033 SMTP over command pipe transport LSEARCH_DESC= Enable wildcarded-file lookups MAILDIR_DESC= Enable Maildir mailbox format @@ -107,6 +108,7 @@ NIS_DESC= Enable NIS-style lookups OLD_DEMIME_DESC= Enable old, deprecated "demime" ACL OPENLDAP_DESC= Enable LDAP lookups OCSP_DESC= Enable OCSP stapling +QUEUEFILE_DESC= Enable queuefile transport PAM_DESC= Enable PAM authentication mechanisms PASSWD_DESC= Enable /etc/passwd lookups PGSQL_DESC= Enable postgresql lookups |