Projects
Kolab:3.4
cyrus-imapd
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 99
View file
cyrus-imapd.spec
Changed
@@ -38,13 +38,13 @@ Name: cyrus-imapd Summary: A high-performance mail server with IMAP, POP3, NNTP and SIEVE support Version: 2.5 -Release: 0.1.dev20141003.git44e8e7f7%{?dist} +Release: 0.1.dev20141007.gitd8beae4e%{?dist} License: BSD Group: System Environment/Daemons URL: http://www.cyrusimap.org # Upstream sources -# From 44e8e7f7d0e16cc6005441709fc7c02e7032d6b3 +# From d8beae4e3a9490b0435caee22ddae313b8f4b17b Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus/%{_name}-%{real_version}%{?dot_snapshot_version}.tar.gz Source1: cyrus-imapd.imap-2.3.x-conf Source2: cyrus-imapd.cvt_cyrusdb_all @@ -78,7 +78,10 @@ BuildRequires: autoconf BuildRequires: automake BuildRequires: bison +BuildRequires: CUnit-devel BuildRequires: cyrus-sasl-devel +BuildRequires: cyrus-sasl-md5 +BuildRequires: cyrus-sasl-plain %if 0%{?with_bdb} %if 0%{?suse_version} @@ -112,7 +115,7 @@ BuildRequires: libical-devel %endif -%if 0%{?suse_version} || 0%{?rhel} > 5 +%if 0%{?suse_version} || 0%{?rhel} > 5 || 0%{?fedora} BuildRequires: libtool %endif @@ -262,6 +265,10 @@ #%patch0001 -p1 %patch0002 -p1 +%if 0%{?with_bdb} < 1 +sed -i -e 's/,berkeley//g' cunit/db.testc +%endif + # only to update config.* files aclocal -I cmulocal libtoolize --install @@ -307,6 +314,7 @@ --enable-netscapehack \ --enable-nntp \ --enable-replication \ + --enable-unit-tests \ %if 0 --enable-xapian \ %endif @@ -462,6 +470,9 @@ %{__rm} -f %{buildroot}%{_mandir}/man8/syncnews.8* find %{buildroot}%{perl_vendorarch} -type f -name "*.bs" -exec %{__rm} -vf {} \; +%check +make check + %clean %{__rm} -rf %{buildroot}
View file
cyrus-imapd-2.5.tar.gz/imap/mboxevent.c
Changed
@@ -128,9 +128,10 @@ /* 21 */ { EVENT_USER, "user", EVENT_PARAM_STRING, 0, 0 }, /* 22 */ { EVENT_MESSAGE_SIZE, "messageSize", EVENT_PARAM_INT, 0, 0 }, /* 23 */ { EVENT_ENVELOPE, "vnd.cmu.envelope", EVENT_PARAM_STRING, 0, 0 }, - /* 24 */ { EVENT_BODYSTRUCTURE, "bodyStructure", EVENT_PARAM_STRING, 0, 0 }, + /* 24 */ { EVENT_SESSIONID, "vnd.cmu.sessionId", EVENT_PARAM_STRING, 0, 0 }, + /* 25 */ { EVENT_BODYSTRUCTURE, "bodyStructure", EVENT_PARAM_STRING, 0, 0 }, /* always at end to let the parser to easily truncate this part */ - /* 25 */ { EVENT_MESSAGE_CONTENT, "messageContent", EVENT_PARAM_STRING, 0, 0 } + /* 26 */ { EVENT_MESSAGE_CONTENT, "messageContent", EVENT_PARAM_STRING, 0, 0 } }, STRARRAY_INITIALIZER, { 0, 0 }, NULL, STRARRAY_INITIALIZER, NULL, NULL, NULL }; @@ -257,6 +258,9 @@ FILL_UNSIGNED_PARAM(mboxevent, EVENT_PID, getpid()); + if (mboxevent_expected_param(type, EVENT_SESSIONID)) + FILL_STRING_PARAM(mboxevent, EVENT_SESSIONID, xstrdup(session_id())); + return mboxevent; } @@ -401,12 +405,19 @@ case EVENT_PID: return 1; case EVENT_USER: - return type & (EVENT_MAILBOX_SUBSCRIBE|EVENT_MAILBOX_UNSUBSCRIBE|\ - EVENT_LOGIN|EVENT_LOGOUT); + return ( + type & MESSAGE_EVENTS || + type & FLAGS_EVENTS || + type & MAILBOX_EVENTS || + type & SUBS_EVENTS || + type & (EVENT_LOGIN|EVENT_LOGOUT|EVENT_QUOTA_CHANGE) + ); case EVENT_MIDSET: if (!(extra_params & IMAP_ENUM_EVENT_EXTRA_PARAMS_VND_CMU_MIDSET)) return 0; break; + case EVENT_SESSIONID: + return extra_params & IMAP_ENUM_EVENT_EXTRA_PARAMS_VND_CMU_SESSIONID; case EVENT_UNSEEN_MESSAGES: if (!(extra_params & IMAP_ENUM_EVENT_EXTRA_PARAMS_VND_CMU_UNSEENMESSAGES)) return 0;
View file
cyrus-imapd-2.5.tar.gz/imap/mboxevent.h
Changed
@@ -86,7 +86,7 @@ /* The number representing the last available position in * event_param, which should always be messageContent. */ -#define MAX_PARAM 25 +#define MAX_PARAM 26 /* * event parameters defined in RFC 5423 - Internet Message Store Events @@ -121,8 +121,9 @@ /* 21 */ EVENT_USER, /* 22 */ EVENT_MESSAGE_SIZE, /* 23 */ EVENT_ENVELOPE, - /* 24 */ EVENT_BODYSTRUCTURE, - /* 25 */ EVENT_MESSAGE_CONTENT + /* 24 */ EVENT_SESSIONID, + /* 25 */ EVENT_BODYSTRUCTURE, + /* 26 */ EVENT_MESSAGE_CONTENT };
View file
cyrus-imapd-2.5.tar.gz/lib/imapoptions
Changed
@@ -447,7 +447,7 @@ /* Don't send event notification for folder with given special-use attributes. Set ALL for any folder */ -{ "event_extra_params", "timestamp", BITFIELD("bodyStructure", "clientAddress", "diskUsed", "flagNames", "messageContent", "messageSize", "messages", "modseq", "service", "timestamp", "uidnext", "vnd.cmu.midset", "vnd.cmu.unseenMessages", "vnd.cmu.envelope") } +{ "event_extra_params", "timestamp", BITFIELD("bodyStructure", "clientAddress", "diskUsed", "flagNames", "messageContent", "messageSize", "messages", "modseq", "service", "timestamp", "uidnext", "vnd.cmu.midset", "vnd.cmu.unseenMessages", "vnd.cmu.envelope", "vnd.cmu.sessionId") } /* Space-separated list of extra parameters to add to any appropriated event. */ { "event_groups", "message mailbox", BITFIELD("message", "quota", "flags", "access", "mailbox", "subscription") }
View file
cyrus-imapd.dsc
Changed
@@ -2,7 +2,7 @@ Source: cyrus-imapd Binary: cyrus-imapd Architecture: any -Version: 2.5~dev2014100301-0~kolab1 +Version: 2.5~dev2014100701-0~kolab1 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.cyrusimap.org/
View file
debian.changelog
Changed
@@ -1,3 +1,10 @@ +cyrus-imapd (2.5~dev2014100701-0~kolab1) unstable; urgency=low + + * Ship a GIT development snapshot from git.cyrusimap.org + d8beae4e3a9490b0435caee22ddae313b8f4b17b + + -- Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Tue, 7 Oct 2014 11:30:13 +0100 + cyrus-imapd (2.5~dev2014100301-0~kolab1) unstable; urgency=low * Ship a GIT development snapshot from git.cyrusimap.org
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.