SHA256
1
0
forked from pool/courier-imap

Accepting request 816098 from server:mail

- update to 5.0.11
  * courier-authlib API update.
  * Add AC_PROG_CC_C99 to configure
- remove courier-imap-stdc.patch (no longer needed)

OBS-URL: https://build.opensuse.org/request/show/816098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/courier-imap?expand=0&rev=56
This commit is contained in:
Dominique Leuenberger 2020-06-23 19:04:57 +00:00 committed by Git OBS Bridge
commit 7b67af370c
7 changed files with 15 additions and 49 deletions

View File

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

Binary file not shown.

View File

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

Binary file not shown.

View File

@ -1,39 +0,0 @@
Index: libs/rfc1035/rfc1035udp.c
===================================================================
--- libs/rfc1035/rfc1035udp.c.orig
+++ libs/rfc1035/rfc1035udp.c
@@ -69,13 +69,15 @@
const unsigned *querylens,
int n_queries)
{
+ int n;
+
struct rfc1035_udp_query_responses *resps =
rfc1035_udp_query_response_alloc_common(n_queries);
if (!resps)
return 0;
- for (int n=0; n<n_queries; ++n)
+ for (n=0; n<n_queries; ++n)
{
resps->queries[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; n<n_queries; ++n)
+ for (n=0; n<n_queries; ++n)
{
resps->queries[n].query=queries[n].qbuf;
resps->queries[n].querylen=queries[n].qbuflen;

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Jun 19 08:25:12 UTC 2020 - Arjen de Korte <suse+build@de-korte.org>
- update to 5.0.11
* courier-authlib API update.
* Add AC_PROG_CC_C99 to configure
- remove courier-imap-stdc.patch (no longer needed)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 28 11:44:19 UTC 2020 - Arjen de Korte <suse+build@de-korte.org> Thu May 28 11:44:19 UTC 2020 - Arjen de Korte <suse+build@de-korte.org>

View File

@ -17,7 +17,7 @@
Name: courier-imap Name: courier-imap
Version: 5.0.10 Version: 5.0.11
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
@ -44,11 +44,9 @@ Patch2: %{name}-ulimit_conf.patch
### Patch for upstream: ### Patch for upstream:
## fixes typo in Makefile.am ## fixes typo in Makefile.am
Patch3: %{name}-Makefile.patch 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: audit-libs
BuildRequires: courier-authlib-devel >= 0.68 BuildRequires: courier-authlib-devel >= 0.71
BuildRequires: courier-unicode-devel >= 2.0 BuildRequires: courier-unicode-devel >= 2.1
BuildRequires: db-devel BuildRequires: db-devel
BuildRequires: gamin-devel BuildRequires: gamin-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -62,7 +60,7 @@ BuildRequires: procps
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
Requires: courier-authlib >= 0.68 Requires: courier-authlib >= 0.71
Requires: fam-server Requires: fam-server
Requires: gdbm Requires: gdbm
Requires: openssl Requires: openssl
@ -103,7 +101,6 @@ install the entire Courier server.
%patch0 %patch0
%patch2 %patch2
%patch3 %patch3
%patch4
%build %build
%configure \ %configure \