From 9347f5698c9faa65509a35f953292b661777c3b3ef00350f58aedf41e1939e54 Mon Sep 17 00:00:00 2001 From: Arjen de Korte Date: Fri, 5 Jun 2020 14:25:01 +0000 Subject: [PATCH] Accepting request 811836 from home:adkorte:branches:server:mail - update to 5.0.10 * tcpd/starttls.c (dossl): Start client after negotiating SSL, in order to allow EXTERNAL client certificate authentication. * Fix virtual IP and hostname handling when using GnuTLS for SSL. * imap, pop3: include remote port TCP port number together with the IP address, in log messages. - add courier-imap-stdc.patch to remove 'for' loop initial declarations OBS-URL: https://build.opensuse.org/request/show/811836 OBS-URL: https://build.opensuse.org/package/show/server:mail/courier-imap?expand=0&rev=89 --- courier-imap-5.0.10.tar.bz2 | 3 +++ courier-imap-5.0.10.tar.bz2.sig | Bin 0 -> 589 bytes courier-imap-5.0.8.tar.bz2 | 3 --- courier-imap-5.0.8.tar.bz2.sig | Bin 589 -> 0 bytes courier-imap-stdc.patch | 39 ++++++++++++++++++++++++++++++++ courier-imap.changes | 11 +++++++++ courier-imap.spec | 7 ++++-- 7 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 courier-imap-5.0.10.tar.bz2 create mode 100644 courier-imap-5.0.10.tar.bz2.sig delete mode 100644 courier-imap-5.0.8.tar.bz2 delete mode 100644 courier-imap-5.0.8.tar.bz2.sig create mode 100644 courier-imap-stdc.patch diff --git a/courier-imap-5.0.10.tar.bz2 b/courier-imap-5.0.10.tar.bz2 new file mode 100644 index 0000000..542020f --- /dev/null +++ b/courier-imap-5.0.10.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5522a14695f6bb710a723fd92ae2ccc0771c1c2b71c7ba6b4d8b4e6f6fb78f96 +size 3324560 diff --git a/courier-imap-5.0.10.tar.bz2.sig b/courier-imap-5.0.10.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..f95ea914d47612511f1a4edc65b6ec926d7f83400e202b389d2fbcecadcce0a5 GIT binary patch literal 589 zcmV-T0vN-XDw_9x_PI%2*joxddo0$!bzrxqM-a&uvA zKx1!pa%p99Ep2pRE@N+P0162ZYdT`SC!N0~C+!daM5UC1pyisQNVQ&UE2U2qdF?yV zU$OH{ilwzDRs|8WYp8kSQ*rcPIMm|b=6J%Zmq4mUNGL%FK6!~@9xvZJP}LlI$;Yh% z3o}I+B`(<$ffq-WioQ?Ct=IQr%O?%gU5J3q(}JtZzj70`?ef-%gLFm6{@%IuCv-SZ zWkQu`DyCd*FWMfEB^je)2>tcMboRxDTUm=I=^(7s%A+5df0SOZFm}3^LB8-nh8oF< zK2}=VG4Zb=3nQ?f@&E=h+eY}|kReZ^EkZ?(Ed(|n;HB9#YPJ(OLxx|RVjDy<6%)Rt z1*RF&*%*UiqBjwB1cOcm+Dy<+RtH1BCP1VqEWWypvMhI$GTmkaEpirI;XmVZU>~Lx zVmQ!Mn~TD67wW;%h#?B#%Nxk)HycUdIZ$<`6(rm2J-{irG3O7cZc_P*M%0TuQPB42 zw%q#Y1k6l3x~OW;;XgOZ&Yo51{T5|i4OaV+-vr502}X_KH70)FM@X92%7a(p$BOLn z^D9T5_fdIZ!Fm7Y6tAsMPbxKH#Zi~7YF>N{Bii(w?b?qEUn3@UMC_V4y89iPbpE+x zWXmrSzR#d6;Wkh!;UBpYIMLbSAs}v^d?RT{;gFX}7 literal 0 HcmV?d00001 diff --git a/courier-imap-5.0.8.tar.bz2 b/courier-imap-5.0.8.tar.bz2 deleted file mode 100644 index 7e4e019..0000000 --- a/courier-imap-5.0.8.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6de26c96f92c50f83af4e9e4b5a5d7d4e55031fb42a8b1229d4f05904c1bb2d4 -size 3296810 diff --git a/courier-imap-5.0.8.tar.bz2.sig b/courier-imap-5.0.8.tar.bz2.sig deleted file mode 100644 index 7c5867122b2d0f62251ec80b5fde5032d737d03e93554738549bcc15f0497da7..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 589 zcmV-T0vN-XDw_9x_PI%2*joxddo0$pmf@D?0xa&uvA zKx1!pa%p99Ep2pRE@N+P0162ZYdT`SC!N0~&}t9=Rc%S4I&4CtrTybrKjj@?wfH)y zkrRYR`dwlX7i+8q9^Z8$nc0|Q6oz07%ip1eRE1hAh0u`~q1OGdaN|K}4D9ouk8o0` zP;mY<=y2FhIpG74g#)?!(gy+4L1GUrn{lwHI5?xLg`p)Uls7<}nGNA0o5m>;%-fV^ zsJVo4rf|tTW|$L~{u6xQi20!4CM$o%z*Qey{bH>@l#YCsJ@_iZTJ&)ZIL`*4kTP$# zxaHidL3jeK0mK5PW__B8!GWvb<;fC^F4Ns_flL;-!l;RkE|<%cY%YxSx0Hh?+}0gg zhH#qMkDE(uI|02hH1Sam*W0P?8*K-YrNsfcA4!flRR7QCe6G)_c}fY3LyF_t@0bq8 zLN77LH4CaC`u}7^5zt`!WX5n>8CN^@`PQBINKj^eN?X9uYdZf<)HEi4yyneh5j&L+ z?wZ?%iBN>2MKcv*uvx^*Nj*6=1@SYP^3&{d-Rl5uch0wd*yN_2DsI(P*8Q_9N9!BmPKeu_lU@W%{o|^R0|W^6 b15dkZSWEP!(kLNyJpx$x{oVs%%U7Oqueries[n].query=queries[n]; + resps->queries[n].querylen=querylens[n]; +@@ -89,6 +91,8 @@ + rfc1035_udp_query_response_alloc_bis(struct querybuf *queries, + int n_queries) + { ++ int n; ++ + struct rfc1035_udp_query_responses *resps = + rfc1035_udp_query_response_alloc_common(n_queries); + +@@ -96,7 +100,7 @@ + return 0; + + +- for (int n=0; nqueries[n].query=queries[n].qbuf; + resps->queries[n].querylen=queries[n].qbuflen; diff --git a/courier-imap.changes b/courier-imap.changes index 0973361..6399ee0 100644 --- a/courier-imap.changes +++ b/courier-imap.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu May 28 11:44:19 UTC 2020 - Arjen de Korte + +- update to 5.0.10 + * tcpd/starttls.c (dossl): Start client after negotiating SSL, in + order to allow EXTERNAL client certificate authentication. + * Fix virtual IP and hostname handling when using GnuTLS for SSL. + * imap, pop3: include remote port TCP port number together with the + IP address, in log messages. +- add courier-imap-stdc.patch to remove 'for' loop initial declarations + ------------------------------------------------------------------- Tue Nov 12 15:23:15 UTC 2019 - Arjen de Korte diff --git a/courier-imap.spec b/courier-imap.spec index 6a09fa9..8252b5d 100644 --- a/courier-imap.spec +++ b/courier-imap.spec @@ -1,7 +1,7 @@ # # spec file for package courier-imap # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: courier-imap -Version: 5.0.8 +Version: 5.0.10 Release: 0 Summary: An IMAP and POP3 Server for Maildir MTAs License: GPL-3.0-or-later @@ -44,6 +44,8 @@ Patch2: %{name}-ulimit_conf.patch ### Patch for upstream: ## fixes typo in Makefile.am Patch3: %{name}-Makefile.patch +# PATCH-FIX-SLE courier-imap-stdc.patch - rewrite C99 construction to C89 as GCC 4.8 doesn't enable C99 by default +Patch4: %{name}-stdc.patch BuildRequires: audit-libs BuildRequires: courier-authlib-devel >= 0.68 BuildRequires: courier-unicode-devel >= 2.0 @@ -101,6 +103,7 @@ install the entire Courier server. %patch0 %patch2 %patch3 +%patch4 %build %configure \