set -e
url=git://git.exim.org/exim.git
package=exim
-tag=exim-4.93
-branch=exim-4.93+fixes
+tag=exim-4.94
+branch=exim-4.94+fixes
out=$package-git.patch
repo=$package.git
for (;;)
{
/*XXX could potentially use TFO early-data here */
-- if ( (spamd_cctx.sock = ip_streamsocket(sd->hostspec, &errstr, 5)) >= 0
-+ if ( (spamd_cctx.sock = ip_streamsocket(sd->hostspec, &errstr, 15)) >= 0
+- if ( (spamd_cctx.sock = ip_streamsocket(sd->hostspec, &errstr, 5, NULL)) >= 0
++ if ( (spamd_cctx.sock = ip_streamsocket(sd->hostspec, &errstr, 15, NULL)) >= 0
|| sd->retry <= 0
)
break;
Summary(pl.UTF-8): Agent Transferu Poczty Uniwersytetu w Cambridge
Summary(pt_BR.UTF-8): Servidor de correio eletrônico exim
Name: exim
-Version: 4.93
-Release: 21
+Version: 4.94
+Release: 1
Epoch: 2
License: GPL
Group: Networking/Daemons/SMTP
Source0: ftp://ftp.exim.org/pub/exim/exim4/%{name}-%{version}.tar.bz2
-# Source0-md5: d8a9342b2c0f2275717ba1f9fafbc3aa
+# Source0-md5: 5773e8a0379bd621d57bc66c36ffff17
Source1: ftp://ftp.exim.org/pub/exim/exim4/%{name}-html-%{version}.tar.bz2
-# Source1-md5: 1985746cb7fbe8141c9f4b7fc6adece3
+# Source1-md5: e840b2f90c08bdaa8c7a356c5cab79dd
Source2: %{name}.init
Source3: %{name}.cron.db
Source4: %{name}4.conf
Source16: %{name}on.png
# sh branch.sh
Patch100: %{name}-git.patch
-# Patch100-md5: d4accdf0befbdde28ddec7dad4365f27
+# Patch100-md5: 551720b919d7bc3b21be4c51972444d8
Patch0: %{name}4-EDITME.patch
Patch1: %{name}4-monitor-EDITME.patch
Patch2: %{name}4-cflags.patch
Patch4: %{name}4-Makefile-Default.patch
# http://marc.merlins.org/linux/exim/files/sa-exim-cvs/localscan_dlopen_exim_4.20_or_better.patch
Patch5: localscan_dlopen_%{name}_4.20_or_better.patch
-Patch6: zstd.patch
Patch8: %{name}-spam-timeout.patch
%patch3 -p1
%patch4 -p1
%patch5 -p1
-%patch6 -p2
%patch8 -p1
EXPERIMENTAL_PRDR=yes
EXPERIMENTAL_DSN_INFO=yes
EXPERIMENTAL_QUEUEFILE=yes
+EXPERIMENTAL_QUEUE_RAMP=yes
SUPPORT_DANE=yes
SUPPORT_I18N=yes
SUPPORT_I18N_2008=yes
--- a/src/readconf.c
+++ b/src/readconf.c
@@ -203,6 +203,9 @@ static optionlist optionlist_config[] =
- { "local_from_prefix", opt_stringptr, &local_from_prefix },
- { "local_from_suffix", opt_stringptr, &local_from_suffix },
- { "local_interfaces", opt_stringptr, &local_interfaces },
+ { "local_from_prefix", opt_stringptr, {&local_from_prefix} },
+ { "local_from_suffix", opt_stringptr, {&local_from_suffix} },
+ { "local_interfaces", opt_stringptr, {&local_interfaces} },
+#ifdef DLOPEN_LOCAL_SCAN
-+ { "local_scan_path", opt_stringptr, &local_scan_path },
++ { "local_scan_path", opt_stringptr, {&local_scan_path} },
+#endif
#ifdef HAVE_LOCAL_SCAN
- { "local_scan_timeout", opt_time, &local_scan_timeout },
+ { "local_scan_timeout", opt_time, {&local_scan_timeout} },
#endif
--- a/src/string.c
+++ b/src/string.c
+++ /dev/null
-commit 4f252517dc0e8eda6c1eb1031ac0bcd29b6a7a93
-Author: Arkadiusz Miśkiewicz <arekm@maven.pl>
-Date: Thu Jan 23 08:51:01 2020 +0100
-
- Add support for zstd compressed .zst files (Bug 2515)
-
-diff --git a/src/src/exigrep.src b/src/src/exigrep.src
-index afd3538b6..835766fb4 100644
---- a/src/src/exigrep.src
-+++ b/src/src/exigrep.src
-@@ -159,7 +159,8 @@ my $compressors = {
- gz => { cmd => 'zcat', args => '' },
- bz2 => { cmd => 'bzcat', args => '' },
- xz => { cmd => 'xzcat', args => '' },
-- lzma => { cmd => 'lzma', args => '-dc' }
-+ lzma => { cmd => 'lzma', args => '-dc' },
-+ zst => { cmd => 'zstdcat', args => '' },
- };
- my $csearch = 0;
-
-@@ -313,8 +314,8 @@ given host, for example.
-
- If no file names are given on the command line, the standard input is read.
-
--For known file extensions indicating compression (F<.gz>, F<.bz2>, F<.xz>, and F<.lzma>)
--a suitable de-compressor is used, if available.
-+For known file extensions indicating compression (F<.gz>, F<.bz2>, F<.xz>,
-+F<.lzma>, and F<.zst>) a suitable de-compressor is used, if available.
-
- The output is sent through a pager if a terminal is connected to STDOUT. As
- pager are considered: C<$ENV{PAGER}>, C<less>, C<more>.