SHA256
1
0
forked from pool/courier-imap

- 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
This commit is contained in:
Arjen de Korte 2022-01-16 18:57:02 +00:00 committed by Git OBS Bridge
parent 060317a060
commit 023c14f236
6 changed files with 30 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6f30f0fadd4fce2e55c12181ba84334bd5fbc4d45f09419070a50d219da0167
size 3363196

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dcb9a6fde14bfedf825cd2e9df8276bc6dc344395774c5f3e1c837eb0e6c94fa
size 3364314

Binary file not shown.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Jan 16 17:58:34 UTC 2022 - Arjen de Korte <suse+build@de-korte.org>
- 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 <suse+build@de-korte.org> Mon Aug 2 09:16:44 UTC 2021 - Arjen de Korte <suse+build@de-korte.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package courier-imap # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,8 +16,11 @@
# #
%bcond_with check
%bcond_with valgrind
Name: courier-imap Name: courier-imap
Version: 5.1.4 Version: 5.1.5
Release: 0 Release: 0
Summary: An IMAP and POP3 Server for Maildir MTAs Summary: An IMAP and POP3 Server for Maildir MTAs
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -48,13 +51,16 @@ BuildRequires: gcc-c++
BuildRequires: gdbm-devel BuildRequires: gdbm-devel
BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
# openssl itself for /usr/bin/openssl configure check BuildRequires: pcre2-devel
BuildRequires: postfix BuildRequires: postfix
BuildRequires: procps BuildRequires: procps
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: pkgconfig(libidn) BuildRequires: pkgconfig(libidn)
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
%if %{with valgrind}
BuildRequires: valgrind
%endif
Requires: courier-authlib >= 0.71 Requires: courier-authlib >= 0.71
Requires: gdbm Requires: gdbm
Requires: openssl Requires: openssl
@ -113,7 +119,10 @@ mv libs/maildir/README.maildirquota{.txt,}
--with-authdaemonvar=%{_rundir}/courier-authlib \ --with-authdaemonvar=%{_rundir}/courier-authlib \
--with-certdb=%{_sysconfdir}/ssl/certs \ --with-certdb=%{_sysconfdir}/ssl/certs \
--with-certsdir=%{_sysconfdir}/ssl/private \ --with-certsdir=%{_sysconfdir}/ssl/private \
%if %{without check}
--enable-workarounds-for-imap-client-bugs --enable-workarounds-for-imap-client-bugs
%endif
%make_build %make_build
%install %install
@ -149,6 +158,11 @@ EOF
# SSL state cache directory # SSL state cache directory
install -d %{buildroot}%{_localstatedir}/cache/%{name}/ install -d %{buildroot}%{_localstatedir}/cache/%{name}/
%if %{with check}
%check
make check
%endif
%pre %pre
%service_add_pre courier-imap-gencert.service courier-imap-ssl.service courier-imap.service %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 %service_add_pre courier-pop-gencert.service courier-pop-ssl.service courier-pop.service