41 |
|
|
42 |
# virtual domains in LDAP support |
# virtual domains in LDAP support |
43 |
# needed by Kolab2 |
# needed by Kolab2 |
44 |
%define build_virtualdomains_in_ldap 1 |
##%define build_virtualdomains_in_ldap 1 |
45 |
%{?_without_virtualdomains_in_ldap: %define build_virtualdomains_in_ldap 0} |
##%{?_without_virtualdomains_in_ldap: %define build_virtualdomains_in_ldap 0} |
46 |
|
|
47 |
Summary: A high-performance mail store with IMAP and POP3 support |
Summary: A high-performance mail store with IMAP and POP3 support |
48 |
Name: cyrus-imapd |
Name: cyrus-imapd |
49 |
Version: 2.4.17 |
Version: 2.4.17 |
50 |
Release: %mkrel 12 |
Release: %mkrel 13 |
51 |
License: OSI Approved |
License: OSI Approved |
52 |
Group: System/Servers |
Group: System/Servers |
53 |
URL: http://asg.web.cmu.edu/cyrus/imapd/ |
URL: http://asg.web.cmu.edu/cyrus/imapd/ |
59 |
Source7: cyrus-imapd.pamd-0.77 |
Source7: cyrus-imapd.pamd-0.77 |
60 |
Source8: cyrus-imapd.pamd |
Source8: cyrus-imapd.pamd |
61 |
Source10: cyrus-imapd.service |
Source10: cyrus-imapd.service |
|
Source11: cyrus-imapd.init |
|
62 |
Source12: cyrus-imapd.sysconfig |
Source12: cyrus-imapd.sysconfig |
63 |
Source13: http://clement.hermann.free.fr/scripts/Cyrus/imapcreate.pl |
Source13: http://clement.hermann.free.fr/scripts/Cyrus/imapcreate.pl |
64 |
Source14: cyrus-imapd.README.RPM |
Source14: cyrus-imapd.README.RPM |
83 |
# command line switch to disallow plaintext login |
# command line switch to disallow plaintext login |
84 |
Patch6: cyrus-imapd-2.4.17-plaintext-cmd-line.patch |
Patch6: cyrus-imapd-2.4.17-plaintext-cmd-line.patch |
85 |
# (oe) for kolab2: Patch to support virtdomains: ldap (parse domain from "email" field an LDAP user entry) |
# (oe) for kolab2: Patch to support virtdomains: ldap (parse domain from "email" field an LDAP user entry) |
86 |
Patch8: cyrus-imapd-kolab-ldap.diff |
# Patch8: cyrus-imapd-kolab-ldap.diff |
87 |
# (bluca) add ptloader to cyrus.conf |
# (bluca) add ptloader to cyrus.conf |
88 |
Patch10: cyrus-imapd-ptloader-conf.diff |
Patch10: cyrus-imapd-ptloader-conf.diff |
89 |
# (bluca) fix LDAP_OPT_X_SASL_SECPROPS error in ptloader |
# (bluca) fix LDAP_OPT_X_SASL_SECPROPS error in ptloader |
246 |
%patch6 -p1 -F 4 -b .plaintext.orig |
%patch6 -p1 -F 4 -b .plaintext.orig |
247 |
|
|
248 |
# (oe) for kolab2: Patch to support virtdomains: ldap (parse domain from "email" field an LDAP user entry) |
# (oe) for kolab2: Patch to support virtdomains: ldap (parse domain from "email" field an LDAP user entry) |
249 |
%if %{build_virtualdomains_in_ldap} |
# %if %{build_virtualdomains_in_ldap} |
250 |
%patch8 -p1 -b .kolab-ldap.orig |
# %patch8 -p1 -b .kolab-ldap.orig |
251 |
%endif |
# %endif |
252 |
%if %{with_ldap} |
%if %{with_ldap} |
253 |
%patch10 -p1 -b .ptloader.orig |
%patch10 -p1 -b .ptloader.orig |
254 |
%endif |
%endif |
332 |
--with-bdb=db-5.2 \ |
--with-bdb=db-5.2 \ |
333 |
--enable-murder \ |
--enable-murder \ |
334 |
--enable-netscapehack \ |
--enable-netscapehack \ |
|
--enable-listext \ |
|
335 |
--enable-nntp \ |
--enable-nntp \ |
336 |
--with-perl=%{__perl} \ |
--with-perl=%{__perl} \ |
337 |
--with-cyrus-prefix=%{_cyrexecdir} \ |
--with-cyrus-prefix=%{_cyrexecdir} \ |
414 |
%{__install} -m 644 cyrus-imapd.pamd %{buildroot}%{_sysconfdir}/pam.d/csync |
%{__install} -m 644 cyrus-imapd.pamd %{buildroot}%{_sysconfdir}/pam.d/csync |
415 |
|
|
416 |
%{__install} -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/sysconfig/%{name} |
%{__install} -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/sysconfig/%{name} |
|
%{__install} -m 755 %{SOURCE11} %{buildroot}%{_initrddir}/%{name} |
|
417 |
%{__install} -m 644 %{SOURCE10} %{buildroot}%{_unitdir}/%{name}.service |
%{__install} -m 644 %{SOURCE10} %{buildroot}%{_unitdir}/%{name}.service |
418 |
%{__install} -m 755 %{SOURCE20} %{buildroot}%{_sysconfdir}/cron.daily/%{name} |
%{__install} -m 755 %{SOURCE20} %{buildroot}%{_sysconfdir}/cron.daily/%{name} |
419 |
%{__install} -m 755 %{SOURCE22} %{buildroot}%{_cyrexecdir}/cyr_systemd_helper |
%{__install} -m 755 %{SOURCE22} %{buildroot}%{_cyrexecdir}/cyr_systemd_helper |
573 |
%files |
%files |
574 |
%doc doc/* extradocs/* |
%doc doc/* extradocs/* |
575 |
%config(noreplace) %{_sysconfdir}/*.conf |
%config(noreplace) %{_sysconfdir}/*.conf |
|
%config(noreplace) %{_initrddir}/%{name} |
|
576 |
%{_unitdir}/%{name}.service |
%{_unitdir}/%{name}.service |
577 |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} |
578 |
%config(noreplace) %verify(not size,not md5) %{_sysconfdir}/pam.d/pop |
%config(noreplace) %verify(not size,not md5) %{_sysconfdir}/pam.d/pop |