From 023c14f2361c19f22c555ad1f974bf418c1c99657cfa43add802004aa813aaa1 Mon Sep 17 00:00:00 2001 From: Arjen de Korte Date: Sun, 16 Jan 2022 18:57:02 +0000 Subject: [PATCH] - update to 5.1.5 * Fix minor memory leaks. If valgrind is installed, "make check" will run it to check for memory leaks. * Convert to PCRE2. * libcouriertls: use ALARM to kill couriertls if the server process terminates but openssl hangs trying to shut down the socket. OBS-URL: https://build.opensuse.org/package/show/server:mail/courier-imap?expand=0&rev=107 --- courier-imap-5.1.4.tar.bz2 | 3 --- courier-imap-5.1.4.tar.bz2.sig | Bin 589 -> 0 bytes courier-imap-5.1.5.tar.bz2 | 3 +++ courier-imap-5.1.5.tar.bz2.sig | Bin 0 -> 589 bytes courier-imap.changes | 10 ++++++++++ courier-imap.spec | 20 +++++++++++++++++--- 6 files changed, 30 insertions(+), 6 deletions(-) delete mode 100644 courier-imap-5.1.4.tar.bz2 delete mode 100644 courier-imap-5.1.4.tar.bz2.sig create mode 100644 courier-imap-5.1.5.tar.bz2 create mode 100644 courier-imap-5.1.5.tar.bz2.sig diff --git a/courier-imap-5.1.4.tar.bz2 b/courier-imap-5.1.4.tar.bz2 deleted file mode 100644 index 1abb2c8..0000000 --- a/courier-imap-5.1.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e6f30f0fadd4fce2e55c12181ba84334bd5fbc4d45f09419070a50d219da0167 -size 3363196 diff --git a/courier-imap-5.1.4.tar.bz2.sig b/courier-imap-5.1.4.tar.bz2.sig deleted file mode 100644 index a697984286e9e90c5c5ab25d43e91f7d6b5b0f79f8f317cdd6b6a69838a72c07..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 589 zcmV-T0vN-XDw_9x_PI%2*joxddo0$~QzToxQ{a&uvA zKx1!pa%p99Ep2pRE@N+P0162ZYdT`SC!N0~BdibrpV}0HZo{&mBy@4f$eU$c^rpvD zWoep@xCCWr*0sd2G~4Qwwj82lok^x#H{E6Hb+5Xf)7rpkvGe{y2;s_hqT?8?*s@aY zIG@>ZxT8~|tIeAGS=e7VUO)*vsTsxa<1D|4SBs}=3r9}v0*FMv0powX5)!}$0;iC_ z`?SnjqSs^4WgMvTSH=I!`V6(>Oe-_fgGPguu$71N2yYa|O@ad1+J#Ld2Fu4Km)n5y z;NzcdpqGrUX3x0l$SsID#icTT6Fe~UnbSb4aFLIG;%WBpPR@lzfNLN69+gHcy& zEQP@k^e$177W|RC(NahNP8QV~aNlD%w2jrT)3$F-)4BJ)myx!}o057qML)L2piH&7 zwj;}=q;M-3*0q)M$m`OXWw=KOI5^x)1w$Q(x}d>$?_R+w1hH$KljU&XAx%#iElsv+ zi0?-e!Y)(hXdsrvQ|xV$`C&Og7t3XHg-H`gc0nW!gLvN-XDw_9x_PI%2*joxddo0%7D&eHI*Ta&uvA zKx1!pa%p99Ep2pRE@N+P0162ZYdT`SC!N0~bh!`w2skURDu~BXPC`cm&2Gzd?D0Ya zs067lZPzF-6!6NR^3Q_P+Ry=&rZvxz?#%gVWUaS}a+P7nzx2i<$()u_sORrA>5UEs zV3|R^q)7;%39$OR0ZTp6VCkpEBVam}FvRx6spyHC*H}BFtvr4!1Oy*~5in$>W0 zh|#phBMYt`+M5HT5MKw%UEo_TmUGox-X}&9{alN3z-{Ut9klOHhWsnMuV@?M{jNKr z3OJ)8ozm=_k$j;_B5Li`$(qTKZ_N1I$f@)la)C~31HylZM`q$YGQa`gK1OV2?4Pt7 zf-gdCsOLm*brWEfl9-$dr#R6{zJ$OVfDcp~@iv2jN5t80qmI^Q+#aMw>7k#LZ_UY} zKqF3KfwssSG~InZWl1HGDnzW+3%xlhR=vBr@UVJ7Y@ + +- update to 5.1.5 + * Fix minor memory leaks. If valgrind is installed, "make check" will + run it to check for memory leaks. + * Convert to PCRE2. + * libcouriertls: use ALARM to kill couriertls if the server process + terminates but openssl hangs trying to shut down the socket. + ------------------------------------------------------------------- Mon Aug 2 09:16:44 UTC 2021 - Arjen de Korte diff --git a/courier-imap.spec b/courier-imap.spec index 7053bc5..31b558d 100644 --- a/courier-imap.spec +++ b/courier-imap.spec @@ -1,7 +1,7 @@ # # spec file for package courier-imap # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,11 @@ # +%bcond_with check +%bcond_with valgrind + Name: courier-imap -Version: 5.1.4 +Version: 5.1.5 Release: 0 Summary: An IMAP and POP3 Server for Maildir MTAs License: GPL-3.0-or-later @@ -48,13 +51,16 @@ BuildRequires: gcc-c++ BuildRequires: gdbm-devel BuildRequires: libstdc++-devel BuildRequires: ncurses-devel -# openssl itself for /usr/bin/openssl configure check +BuildRequires: pcre2-devel BuildRequires: postfix BuildRequires: procps BuildRequires: zlib-devel BuildRequires: pkgconfig(libidn) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(systemd) +%if %{with valgrind} +BuildRequires: valgrind +%endif Requires: courier-authlib >= 0.71 Requires: gdbm Requires: openssl @@ -113,7 +119,10 @@ mv libs/maildir/README.maildirquota{.txt,} --with-authdaemonvar=%{_rundir}/courier-authlib \ --with-certdb=%{_sysconfdir}/ssl/certs \ --with-certsdir=%{_sysconfdir}/ssl/private \ +%if %{without check} --enable-workarounds-for-imap-client-bugs +%endif + %make_build %install @@ -149,6 +158,11 @@ EOF # SSL state cache directory install -d %{buildroot}%{_localstatedir}/cache/%{name}/ +%if %{with check} +%check +make check +%endif + %pre %service_add_pre courier-imap-gencert.service courier-imap-ssl.service courier-imap.service %service_add_pre courier-pop-gencert.service courier-pop-ssl.service courier-pop.service