43 |
Summary: A high-performance mail store with IMAP and POP3 support |
Summary: A high-performance mail store with IMAP and POP3 support |
44 |
Name: cyrus-imapd |
Name: cyrus-imapd |
45 |
Version: 2.4.18 |
Version: 2.4.18 |
46 |
Release: %mkrel 1 |
Release: %mkrel 2 |
47 |
License: OSI Approved |
License: OSI Approved |
48 |
Group: System/Servers |
Group: System/Servers |
49 |
URL: http://asg.web.cmu.edu/cyrus/imapd/ |
URL: http://asg.web.cmu.edu/cyrus/imapd/ |
72 |
# available here; http://www.vx.sk/download/patches/cyrus-imapd/ |
# available here; http://www.vx.sk/download/patches/cyrus-imapd/ |
73 |
# Autocreate INBOX patch (http://email.uoa.gr/projects/cyrus/autocreate/) |
# Autocreate INBOX patch (http://email.uoa.gr/projects/cyrus/autocreate/) |
74 |
Patch3: http://www.vx.sk/download/patches/cyrus-imapd/cyrus-imapd-2.4.4-autocreate-0.10-0.patch |
Patch3: http://www.vx.sk/download/patches/cyrus-imapd/cyrus-imapd-2.4.4-autocreate-0.10-0.patch |
75 |
# Create on demand folder requested by sieve filter (http://email.uoa.gr/projects/cyrus/autosievefolder/) |
# Fix for security issue Bug 17256 taken from Fedora |
76 |
# The last activity upstream on this: Dec, 22 2009 : Autosieve patch (version 0.6) released for Cyrus IMAPd 2.3.16 |
Patch4: cyrus-imapd-2.3.18-potential-overflow.patch |
|
# Removed this patch with vers. 2.4.18. It doesn't build with it and neither Fedora nor opensuse uses it. |
|
|
# Patch4: http://www.vx.sk/download/patches/cyrus-imapd/cyrus-imapd-2.4.12-autosieve-0.6.0.patch |
|
77 |
# Remove QUOTA patch (http://email.uoa.gr/projects/cyrus/quota-patches/rmquota/) |
# Remove QUOTA patch (http://email.uoa.gr/projects/cyrus/quota-patches/rmquota/) |
78 |
Patch5: http://email.uoa.gr/download/cyrus/cyrus-imapd-2.3.9/cyrus-imapd-2.3.9-rmquota-0.5-0.diff |
Patch5: http://email.uoa.gr/download/cyrus/cyrus-imapd-2.3.9/cyrus-imapd-2.3.9-rmquota-0.5-0.diff |
79 |
# command line switch to disallow plaintext login |
# command line switch to disallow plaintext login |
94 |
Patch21: cyrus-imapd-2.3.16-sieve_port.patch |
Patch21: cyrus-imapd-2.3.16-sieve_port.patch |
95 |
Patch22: cyrus-imapd.2.4.17-user_deny.db-silence.patch |
Patch22: cyrus-imapd.2.4.17-user_deny.db-silence.patch |
96 |
Patch23: prefork-conf-chroot.patch |
Patch23: prefork-conf-chroot.patch |
97 |
|
Patch29: cyrus-imapd-2.4.18-CVE-2015-8077.patch |
98 |
|
Patch30: cyrus-imapd-2.4.18-CVE-2015-8078.patch |
99 |
#Requires: krb5-libs |
#Requires: krb5-libs |
100 |
Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd |
Requires(pre): /usr/sbin/useradd /usr/sbin/groupadd |
101 |
Requires(preun):/usr/sbin/userdel /usr/sbin/groupdel |
Requires(preun):/usr/sbin/userdel /usr/sbin/groupdel |
229 |
|
|
230 |
%prep |
%prep |
231 |
|
|
232 |
%setup -q |
%setup -q -n %{name}-%{version} |
233 |
%patch1 -b .mdk9.0perl.orig |
%patch1 -b .mdk9.0perl.orig |
234 |
%patch2 |
%patch2 |
235 |
%if %{build_autocreate} |
%if %{build_autocreate} |
236 |
%patch3 -p1 -b .autocreate.orig |
%patch3 -p1 -b .autocreate.orig |
237 |
%endif |
%endif |
238 |
|
%patch4 -p1 -b .potential-overflow |
239 |
%if %{build_rmquota} |
%if %{build_rmquota} |
240 |
%patch5 -p1 -b .rmquota.orig |
%patch5 -p1 -b .rmquota.orig |
241 |
%endif |
%endif |
242 |
|
|
243 |
%patch6 -p1 -F 4 -b .plaintext.orig |
%patch6 -p1 -F 4 -b .plaintext.orig |
244 |
|
|
|
# (oe) for kolab2: Patch to support virtdomains: ldap (parse domain from "email" field an LDAP user entry) |
|
|
# %if %{build_virtualdomains_in_ldap} |
|
|
# %patch8 -p1 -b .kolab-ldap.orig |
|
|
# %endif |
|
245 |
%if %{with_ldap} |
%if %{with_ldap} |
246 |
%patch10 -p1 -b .ptloader.orig |
%patch10 -p1 -b .ptloader.orig |
247 |
%endif |
%endif |
257 |
%patch19 -p1 -b .mkimap.orig |
%patch19 -p1 -b .mkimap.orig |
258 |
%patch21 -p1 -b .sieve_port.orig |
%patch21 -p1 -b .sieve_port.orig |
259 |
%patch22 -p1 -b .user_deny_verbosity |
%patch22 -p1 -b .user_deny_verbosity |
260 |
## we run Postfix chroot |
# we run Postfix chroot |
261 |
%patch23 -p1 -b .prefork-conf-chroot |
%patch23 -p1 -b .prefork-conf-chroot |
262 |
|
%patch29 -p1 -b .CVE-2015-8077 |
263 |
|
%patch30 -p1 -b .CVE-2015-8078 |
264 |
## Extra documentation |
## Extra documentation |
265 |
mkdir -p extradocs |
mkdir -p extradocs |
266 |
for i in %{SOURCE2} %{SOURCE4} %{SOURCE19} ; do |
for i in %{SOURCE2} %{SOURCE4} %{SOURCE19} ; do |