Hello community,
here is the log from the commit of package cyrus-imapd
checked in at Fri Jul 28 15:18:36 CEST 2006.
--------
--- cyrus-imapd/cyrus-imapd.changes 2006-06-02 12:30:57.000000000 +0200
+++ cyrus-imapd/cyrus-imapd.changes 2006-07-28 14:55:21.000000000 +0200
@@ -1,0 +2,25 @@
+Fri Jul 28 14:34:20 CEST 2006 - rhafer(a)suse.de
+
+- update to version 2.2.13. Most important changes:
+ * Allow sieve scripts to be run on shared mailboxes
+ (via sieve annotation).
+ * Updated nntpd to be compliant with latest draft (soon to be
+ RFC3977).
+ * Updated IMAP UIDPLUS extension to be compliant with latest
+ specification (RFC4315).
+ * Performance improvements to quota utility.
+ * Fixed possible race condition in IMAP IDLE.
+ * Made ptloader runtime configurable.
+ * Added more extensive output to arbitron.
+ * Allow responses of any length from backend when proxing
+ IMAP/POP3/NNTP traffic.
+ * Added plaintextloginalert option.
+ * Only allow mbpath to be run as Cyrus user.
+ * Added berkeley_hash and berkeley_hash_nosync cyrusdb backends
+ (seem to perform better under heavy loads).
+ * Added lastpop mailbox annotation.
+ * Added subscribe/unsubscribe support to cyradm.
+ * Fixed miscellaneous bugs and build issues.
+- removed obsolete patches
+
+-------------------------------------------------------------------
Old:
----
cyrus-imapd-2.2.12-autocreate-0.9.4.patch
cyrus-imapd-2.2.12.tar.bz2
gcc4.patch
timsieved_reset_sasl_conn.patch
New:
----
cyrus-imapd-2.2.13-autocreate-0.9.4.diff
cyrus-imapd-2.2.13.tar.bz2
cyrus-imapd-2.2.13_drac_auth_patch.patch
gcc-warnings.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cyrus-imapd.spec ++++++
--- /var/tmp/diff_new_pack.dd9iIJ/_old 2006-07-28 15:14:23.000000000 +0200
+++ /var/tmp/diff_new_pack.dd9iIJ/_new 2006-07-28 15:14:23.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package cyrus-imapd (Version 2.2.12)
+# spec file for package cyrus-imapd (Version 2.2.13)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -19,23 +19,23 @@
Conflicts: imap courier-imap
Autoreqprov: on
Summary: An IMAP and POP Mail Server
-Version: 2.2.12
-Release: 28
+Version: 2.2.13
+Release: 1
Source: %{name}-%{version}.tar.bz2
Source1: cyrus-imapd-rc.tar.gz
+Patch: cyrus-imapd-2.2.13_drac_auth_patch.patch
+Patch1: cyrus-imapd-2.2.13-autocreate-0.9.4.diff
Patch2: authid_normalize.patch
Patch3: allow_auth_plain_proxying.patch
Patch4: luser_relay.patch
Patch5: cyrus-imapd-perl.patch
Patch7: cyrus-imapd-2.1.12-stdarg.patch
Patch8: tail-1-fix.patch
-Patch9: gcc4.patch
Patch10: cyrus-imapd-openslp.patch
-Patch11: pie.patch
-Patch12: cyrus-imapd-2.2.12-autocreate-0.9.4.patch
-Patch13: timsieved_reset_sasl_conn.patch
+Patch12: pie.patch
Patch14: impl_decl.patch
Patch15: cyrus-imapd-strip.patch
+Patch16: gcc-warnings.patch
Prereq: /usr/sbin/useradd %insserv_prereq %fillup_prereq /bin/sed /bin/awk /bin/grep /bin/cat /usr/bin/find /usr/bin/db_verify sh-utils fileutils cyrus-sasl netcfg /usr/bin/strings
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package -n perl-Cyrus-IMAP
@@ -95,19 +95,19 @@
%define cyrus_uid 96
%prep
%setup -q -a 1
+%patch -p1
patch -s -p0 < contrib/drac_auth.patch
+%patch1 -p1
%patch2
%patch3
%patch4
%patch5
%patch7
-%patch9
%patch10
-%patch11 -p1
%patch12 -p1
-%patch13
%patch14 -p1
%patch15
+%patch16 -p1
%build
#%{?suse_update_config:%{suse_update_config -l -f build}}
@@ -382,6 +382,28 @@
%doc %{_mandir}/man3/Cyrus::SIEVE::managesieve.3pm.gz
%changelog -n cyrus-imapd
+* Fri Jul 28 2006 - rhafer(a)suse.de
+- update to version 2.2.13. Most important changes:
+ * Allow sieve scripts to be run on shared mailboxes
+ (via sieve annotation).
+ * Updated nntpd to be compliant with latest draft (soon to be
+ RFC3977).
+ * Updated IMAP UIDPLUS extension to be compliant with latest
+ specification (RFC4315).
+ * Performance improvements to quota utility.
+ * Fixed possible race condition in IMAP IDLE.
+ * Made ptloader runtime configurable.
+ * Added more extensive output to arbitron.
+ * Allow responses of any length from backend when proxing
+ IMAP/POP3/NNTP traffic.
+ * Added plaintextloginalert option.
+ * Only allow mbpath to be run as Cyrus user.
+ * Added berkeley_hash and berkeley_hash_nosync cyrusdb backends
+ (seem to perform better under heavy loads).
+ * Added lastpop mailbox annotation.
+ * Added subscribe/unsubscribe support to cyradm.
+ * Fixed miscellaneous bugs and build issues.
+- removed obsolete patches
* Fri Jun 02 2006 - rhafer(a)suse.de
- renamed SuSE.tar.gz to cyrus-sasl-rc.tar.gz to avoid name
collision with other packages in src.rpm (Bug #98188)
++++++ authid_normalize.patch ++++++
--- /var/tmp/diff_new_pack.dd9iIJ/_old 2006-07-28 15:14:23.000000000 +0200
+++ /var/tmp/diff_new_pack.dd9iIJ/_new 2006-07-28 15:14:23.000000000 +0200
@@ -1,6 +1,8 @@
---- lib/auth_unix.c
-+++ lib/auth_unix.c 2004/05/31 11:32:50
-@@ -159,10 +159,12 @@
+Index: lib/auth_unix.c
+===================================================================
+--- lib/auth_unix.c.orig
++++ lib/auth_unix.c
+@@ -157,10 +157,12 @@ const char *identifier;
size_t len;
{
static char retbuf[81];
@@ -13,9 +15,9 @@
if(!len) len = strlen(identifier);
if(len >= sizeof(retbuf)) return NULL;
-@@ -210,6 +212,22 @@
-
- if (!sawalpha) return NULL; /* has to be one alpha char */
+@@ -210,6 +212,22 @@ size_t len;
+ /* now we don't */
+ /* if (!sawalpha) return NULL; */
+ if( (libcyrus_config_getswitch(CYRUSOPT_NORMALIZEUID) == 1) ) {
+ strcpy(backup,retbuf);
@@ -36,9 +38,11 @@
return retbuf;
}
---- lib/imapoptions
-+++ lib/imapoptions 2004/05/31 11:32:50
-@@ -832,6 +832,11 @@
+Index: lib/imapoptions
+===================================================================
+--- lib/imapoptions.orig
++++ lib/imapoptions
+@@ -927,6 +927,11 @@ are listed with ``<none>''.
interface, otherwise the user is assumed to be in the default
domain (if set). */
@@ -50,23 +54,27 @@
/*
.SH SEE ALSO
.PP
---- lib/libcyr_cfg.c
-+++ lib/libcyr_cfg.c 2004/05/31 11:32:50
-@@ -118,6 +118,11 @@
- CFGVAL(int, 100),
+Index: lib/libcyr_cfg.c
+===================================================================
+--- lib/libcyr_cfg.c.orig
++++ lib/libcyr_cfg.c
+@@ -123,6 +123,11 @@ struct cyrusopt_s cyrus_options[] = {
+ CFGVAL(long, 100),
CYRUS_OPT_INT },
+ { CYRUSOPT_NORMALIZEUID,
-+ (union cyrus_config_value)((int)1),
++ CFGVAL(long, 1),
+ CYRUS_OPT_SWITCH },
+
+
{ CYRUSOPT_LAST, { NULL }, CYRUS_OPT_NOTOPT }
};
---- lib/libcyr_cfg.h
-+++ lib/libcyr_cfg.h 2004/05/31 11:33:10
-@@ -97,6 +97,8 @@
+Index: lib/libcyr_cfg.h
+===================================================================
+--- lib/libcyr_cfg.h.orig
++++ lib/libcyr_cfg.h
+@@ -99,6 +99,8 @@ enum cyrus_opt {
CYRUSOPT_BERKELEY_LOCKS_MAX,
/* BDB max txns (100) */
CYRUSOPT_BERKELEY_TXNS_MAX,
++++++ cyrus-imapd-2.2.13-autocreate-0.9.4.diff ++++++
++++ 2247 lines (skipped)
++++++ cyrus-imapd-2.2.12.tar.bz2 -> cyrus-imapd-2.2.13.tar.bz2 ++++++
++++ 90853 lines of diff (skipped)
++++++ cyrus-imapd-2.2.13_drac_auth_patch.patch ++++++
Index: cyrus-imapd-2.2.13/contrib/drac_auth.patch
===================================================================
--- cyrus-imapd-2.2.13.orig/contrib/drac_auth.patch
+++ cyrus-imapd-2.2.13/contrib/drac_auth.patch
@@ -373,6 +373,6 @@ diff -u -r1.8 imapoptions
+{ "drachost", "localhost", STRING }
+/* Hostname of the RPC dracd server. */
+
- { "duplicate_db", "berkeley-nosync", STRINGLIST("berkeley", "berkeley-nosync", "skiplist")}
+ { "duplicate_db", "berkeley-nosync", STRINGLIST("berkeley", "berkeley-nosync", "berkeley-hash", "berkeley-hash-nosync", "skiplist")}
/* The cyrusdb backend to use for the duplicate delivery suppression
and sieve. */
++++++ gcc-warnings.patch ++++++
Index: cyrus-imapd-2.2.13/lib/auth_krb.c
===================================================================
--- cyrus-imapd-2.2.13.orig/lib/auth_krb.c
+++ cyrus-imapd-2.2.13/lib/auth_krb.c
@@ -83,8 +83,6 @@ static struct auth_state auth_anonymous
"anonymous", "anonymous", "", ""
};
-
-
static int parse_krbequiv_line (const char *src,
char *principal, char *localuser);
char *auth_map_krbid (const char *real_aname, const char *real_inst,
@@ -349,11 +347,14 @@ static char *mycanonuser(struct auth_sta
#else /* HAVE_KRB */
+extern void fatal(const char *, int);
+
static int mymemberof(
struct auth_state *auth_state __attribute__((unused)),
const char *identifier __attribute__((unused)))
{
fatal("Authentication mechanism (krb) not compiled in", EC_CONFIG);
+ return NULL;
}
static char *mycanonifyid(
@@ -361,24 +362,28 @@ static char *mycanonifyid(
size_t len __attribute__((unused)))
{
fatal("Authentication mechanism (krb) not compiled in", EC_CONFIG);
+ return NULL;
}
static struct auth_state *mynewstate(
const char *identifier __attribute__((unused)))
{
fatal("Authentication mechanism (krb) not compiled in", EC_CONFIG);
+ return NULL;
}
static void myfreestate(
struct auth_state *auth_state __attribute__((unused)))
{
fatal("Authentication mechanism (krb) not compiled in", EC_CONFIG);
+ return NULL;
}
static char *mycanonuser(
struct auth_state *auth_state __attribute__((unused)))
{
fatal("Authentication mechanism (krb) not compiled in", EC_CONFIG);
+ return NULL;
}
Index: cyrus-imapd-2.2.13/lib/auth_krb5.c
===================================================================
--- cyrus-imapd-2.2.13.orig/lib/auth_krb5.c
+++ cyrus-imapd-2.2.13/lib/auth_krb5.c
@@ -207,11 +207,14 @@ static char *mycanonuser(struct auth_sta
#else /* HAVE_GSSAPI_H */
+extern void fatal(const char *, int);
+
static int mymemberof(
struct auth_state *auth_state __attribute__((unused)),
const char *identifier __attribute__((unused)))
{
fatal("Authentication mechanism (krb5) not compiled in", EC_CONFIG);
+ return NULL;
}
static char *mycanonifyid(
@@ -219,24 +222,28 @@ static char *mycanonifyid(
size_t len __attribute__((unused)))
{
fatal("Authentication mechanism (krb5) not compiled in", EC_CONFIG);
+ return NULL;
}
static struct auth_state *mynewstate(
const char *identifier __attribute__((unused)))
{
fatal("Authentication mechanism (krb5) not compiled in", EC_CONFIG);
+ return NULL;
}
static void myfreestate(
struct auth_state *auth_state __attribute__((unused)))
{
fatal("Authentication mechanism (krb5) not compiled in", EC_CONFIG);
+ return NULL;
}
static char *mycanonuser(
struct auth_state *auth_state __attribute__((unused)))
{
fatal("Authentication mechanism (krb5) not compiled in", EC_CONFIG);
+ return NULL;
}
#endif
Index: cyrus-imapd-2.2.13/imap/autosieve.c
===================================================================
--- cyrus-imapd-2.2.13.orig/imap/autosieve.c
+++ cyrus-imapd-2.2.13/imap/autosieve.c
@@ -2,9 +2,7 @@
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#include <errno.h>
#include <sys/types.h>
@@ -186,7 +184,6 @@ int autoadd_sieve(char *userid, const ch
/* Check if a default sieve filter alrady exists */
if(!stat(sieve_default,&statbuf)) {
syslog(LOG_WARNING,"autocreate_sieve: Default sieve script already exists");
- fclose(in_stream);
return 1;
}
Index: cyrus-imapd-2.2.13/lib/xstrlcat.c
===================================================================
--- cyrus-imapd-2.2.13.orig/lib/xstrlcat.c
+++ cyrus-imapd-2.2.13/lib/xstrlcat.c
@@ -42,6 +42,7 @@
* $Id: xstrlcat.c,v 1.1 2006/01/10 23:18:48 jeaton Exp $
*/
#include "xstrlcat.h"
+#include <string.h>
#ifndef HAVE_STRLCAT
size_t strlcat(char *dst, const char *src, size_t len)
Index: cyrus-imapd-2.2.13/lib/xstrlcpy.c
===================================================================
--- cyrus-imapd-2.2.13.orig/lib/xstrlcpy.c
+++ cyrus-imapd-2.2.13/lib/xstrlcpy.c
@@ -41,6 +41,7 @@
/*
* $Id: xstrlcpy.c,v 1.1 2006/01/10 23:18:48 jeaton Exp $
*/
+#include <string.h>
#include "xstrlcpy.h"
#include "exitcodes.h"
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit-unsubscribe(a)opensuse.org
For additional commands, e-mail: opensuse-commit-help(a)opensuse.org