2008-09-01 11:50:44 +00:00
|
|
|
%define upstream_ver 2.3.12p2
|
2006-02-28 20:04:01 +00:00
|
|
|
Name: cyrus-imapd
|
2008-09-01 11:50:44 +00:00
|
|
|
Version: 2.3.12p2
|
2008-09-12 07:09:30 +00:00
|
|
|
Release: 2%{?dist}
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
# ********************** BUILD TIME OPTIONS START **********************
|
|
|
|
|
|
|
|
# To modify parameters, edit the .spec file or build like this:
|
|
|
|
# rpm --rebuild --define='SEEN_DB skiplist' cyrus-imapd-2.x.x-x.src.rpm
|
|
|
|
|
|
|
|
# use saslauth group
|
2006-07-27 10:41:04 +00:00
|
|
|
%{!?SASLGROUP: %define SASLGROUP 1}
|
2005-04-15 20:24:15 +00:00
|
|
|
# include deliver-wrapper
|
2006-02-28 20:04:01 +00:00
|
|
|
%{!?DEL_WRAP: %define DEL_WRAP 0}
|
2005-04-15 20:24:15 +00:00
|
|
|
# use preforking cyrus.conf
|
2006-02-28 20:04:01 +00:00
|
|
|
%{!?PREFORK: %define PREFORK 1}
|
2005-04-15 20:24:15 +00:00
|
|
|
# enable Netscape hack (recommended)
|
2006-02-28 20:04:01 +00:00
|
|
|
%{!?NETSCAPEHACK: %define NETSCAPEHACK 1}
|
2005-04-15 20:24:15 +00:00
|
|
|
# enable IMAP4 LIST extensions
|
2006-02-28 20:04:01 +00:00
|
|
|
%{!?LISTEXT: %define LISTEXT 1}
|
2005-04-15 20:24:15 +00:00
|
|
|
# enable IDLED support
|
2006-02-28 20:04:01 +00:00
|
|
|
%{!?IDLED: %define IDLED 1}
|
|
|
|
# enable SNMP support
|
2006-07-27 10:41:04 +00:00
|
|
|
%{!?SNMP: %define SNMP 1}
|
2005-04-15 20:24:15 +00:00
|
|
|
# force syncronous updates on ext3
|
2006-02-28 20:04:01 +00:00
|
|
|
%{!?FORCESYNCEXT3: %define FORCESYNCEXT3 0}
|
2005-04-15 20:24:15 +00:00
|
|
|
# include autocreate feature
|
2006-02-28 20:04:01 +00:00
|
|
|
%{!?AUTOCREATE: %define AUTOCREATE 1}
|
2005-04-15 20:24:15 +00:00
|
|
|
# don't check for RFC compliant line termination (bare newlines)
|
2006-02-28 20:04:01 +00:00
|
|
|
%{!?NO_BARE_NL: %define NO_BARE_NL 0}
|
2005-04-15 20:24:15 +00:00
|
|
|
# used syslog facility for logging
|
2006-02-28 20:04:01 +00:00
|
|
|
%{!?SYSLOGFACILITY: %define SYSLOGFACILITY MAIL}
|
2005-04-15 20:24:15 +00:00
|
|
|
# use -fpie for linking
|
2006-07-27 10:41:04 +00:00
|
|
|
%{!?USEPIE: %define USEPIE 1}
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
# ********************** BUILD TIME OPTIONS END ************************
|
|
|
|
|
2006-07-27 10:41:04 +00:00
|
|
|
#%define _acversion 2.59
|
2006-02-28 20:04:01 +00:00
|
|
|
%define _use_internal_dependency_generator 0
|
2006-07-27 10:41:04 +00:00
|
|
|
#%define _rhver %(eval rpm -q --queryformat '%{VERSION}' $(rpm -qf /etc/redhat-release))
|
|
|
|
#%define _rhrelease %(eval %{__cat} /etc/redhat-release)
|
2006-02-28 20:04:01 +00:00
|
|
|
%define _dbver db4
|
2006-07-27 10:41:04 +00:00
|
|
|
#%define _dbrpmver %(eval "rpm -q %{_dbver}")
|
2005-04-15 20:24:15 +00:00
|
|
|
# Do we need the perl install hack for RedHat > 7.3 ?
|
2006-07-27 10:41:04 +00:00
|
|
|
|
|
|
|
%define _perlhack 1
|
|
|
|
#(eval [ %{_rhver} = "6.2" -o %{_rhver} = "7.0" -o %{_rhver} = "7.1" -o %{_rhver} = "7.2" -o %{_rhver} = "7.3" -o %{_rhver} = "2.1AS" -o %{_rhver} = "2.1ES" ] && echo 0 || echo 1)
|
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
%define _perl_man3dir %(eval "$(perl -V:man3dir)"; echo $man3dir)
|
2006-07-27 10:41:04 +00:00
|
|
|
|
|
|
|
%define _withldap 1
|
|
|
|
#(eval "rpm -q --requires openldap | grep -q ^libsasl2 && echo 1 || echo 0")
|
|
|
|
|
|
|
|
%define _snmpver net
|
|
|
|
#(eval "rpm -q --quiet ucd-snmp && echo ucd || echo net")
|
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
# Disable -debuginfo package generation
|
2006-02-28 20:04:01 +00:00
|
|
|
#define debug_package %{nil}
|
|
|
|
# Do we have filesystem >= 2.3.2 (new pki location) ?
|
2006-07-27 10:41:04 +00:00
|
|
|
|
|
|
|
%define use_etc_pki 1
|
|
|
|
#(eval [ $(rpm -q --queryformat '%{VERSION}' filesystem \| sed -e "s/\\.//g") -ge 232 ] && echo 1 || echo 0 )
|
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
%if %{use_etc_pki}
|
|
|
|
%define certs_dir %{_sysconfdir}/pki/tls/certs
|
2005-04-21 20:10:08 +00:00
|
|
|
%define pki_dir %{_sysconfdir}/pki/%{name}
|
2006-02-28 20:04:01 +00:00
|
|
|
%else
|
|
|
|
%define certs_dir %{_datadir}/ssl/certs
|
|
|
|
%define pki_dir %{_datadir}/ssl/certs
|
|
|
|
%endif
|
2006-07-27 10:41:04 +00:00
|
|
|
|
2005-04-21 20:10:08 +00:00
|
|
|
%define ssl_pem_file %{pki_dir}/%{name}.pem
|
2006-02-28 20:04:01 +00:00
|
|
|
%define uid 76
|
2005-04-15 20:24:15 +00:00
|
|
|
%if %{SASLGROUP}
|
2006-02-28 20:04:01 +00:00
|
|
|
%define gid 76
|
|
|
|
%define _saslgroup saslauth
|
|
|
|
%endif
|
|
|
|
%define _cyrususer cyrus
|
|
|
|
%define _cyrusgroup mail
|
|
|
|
%define _vardata %{_var}/lib/imap
|
|
|
|
%define _spooldata %{_var}/spool/imap
|
|
|
|
%define _cyrexecdir %{_exec_prefix}/lib/%{name}
|
|
|
|
%define _confdir master/conf
|
|
|
|
%define _contribdir doc/contrib
|
2005-04-15 20:24:15 +00:00
|
|
|
%if %{PREFORK}
|
2006-02-28 20:04:01 +00:00
|
|
|
%define _cyrusconf %{_confdir}/prefork.conf
|
2005-04-15 20:24:15 +00:00
|
|
|
%else
|
2006-02-28 20:04:01 +00:00
|
|
|
%define _cyrusconf %{_confdir}/normal.conf
|
|
|
|
%endif
|
|
|
|
|
2006-07-27 10:41:04 +00:00
|
|
|
Summary: A high-performance mail server with IMAP, POP3, NNTP and SIEVE support
|
2007-08-22 12:16:12 +00:00
|
|
|
# BSD with advertising: imap/setproctitle.c, lib/mkgmtime.c, lib/sysexits.h
|
|
|
|
# the rest is CMU
|
|
|
|
License: MIT and BSD with advertising
|
2006-02-28 20:04:01 +00:00
|
|
|
Group: System Environment/Daemons
|
2007-03-12 16:22:52 +00:00
|
|
|
URL: http://cyrusimap.web.cmu.edu/
|
2006-02-28 20:04:01 +00:00
|
|
|
#Packager: Simon Matter <simon.matter@invoca.ch>
|
|
|
|
#Vendor: Invoca Systems
|
|
|
|
#Distribution: Invoca Linux Server
|
2007-08-14 15:16:44 +00:00
|
|
|
Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus/%{name}-%{upstream_ver}.tar.gz
|
2007-08-28 11:09:51 +00:00
|
|
|
Source1: ftp://ftp.andrew.cmu.edu/pub/cyrus/%{name}-%{upstream_ver}.tar.gz.sig
|
2006-07-27 10:41:04 +00:00
|
|
|
#Source2: http://ftp.gnu.org/gnu/autoconf/autoconf-%{_acversion}.tar.gz
|
2006-02-28 20:04:01 +00:00
|
|
|
Source3: cyrus-deliver-wrapper.c
|
|
|
|
Source4: cyrus-user-procmailrc.template
|
|
|
|
Source5: cyrus-imapd.logrotate
|
|
|
|
Source6: cyrus-imapd.imap-2.3.x-conf
|
|
|
|
Source7: cyrus-imapd.pam-config
|
|
|
|
Source8: http://email.uoa.gr/projects/cyrus/autocreate/README.autocreate-cyrus-2.3
|
|
|
|
Source9: http://email.uoa.gr/projects/cyrus/autosievefolder/README.autosievefolder
|
|
|
|
Source10: http://oss.netfarm.it/download/skiplist.py
|
|
|
|
Source11: cyrus-imapd.init
|
|
|
|
Source12: cyrus-imapd.sysconfig
|
|
|
|
Source13: cyrus-imapd.cvt_cyrusdb_all
|
|
|
|
Source14: cyrus-imapd.magic
|
|
|
|
Source15: http://clement.hermann.free.fr/scripts/Cyrus/imapcreate.pl
|
|
|
|
Source16: http://eu.dl.sourceforge.net/cyrus-utils/cyrus_ldap_quota.pl
|
|
|
|
Source17: ftp://kalamazoolinux.org/pub/projects/awilliam/cyrus/batchreconstruct
|
|
|
|
Source18: ftp://kalamazoolinux.org/pub/projects/awilliam/cyrus/bsd2cyrus
|
|
|
|
Source19: ftp://kalamazoolinux.org/pub/projects/awilliam/cyrus/cpmsg
|
|
|
|
Source20: ftp://kalamazoolinux.org/pub/projects/awilliam/cyrus/folderxfer
|
|
|
|
Source21: ftp://kalamazoolinux.org/pub/projects/awilliam/cyrus/inboxfer
|
|
|
|
Source22: http://email.uoa.gr/download/cyrus/cyrus_sharedbackup/cyrus_sharedbackup-0.1.tar.gz
|
|
|
|
Source23: cyrus-imapd-README.RPM
|
|
|
|
Source24: cyrus-imapd-README.HOWTO-recover-mailboxes.db
|
|
|
|
Source25: cyrus-imapd.cron-daily
|
|
|
|
Source26: cyrus-procmailrc
|
|
|
|
Source27: cyrus-imapd-procmail+cyrus.mc
|
|
|
|
Source28: cyrus-imapd.rpm_set_permissions
|
|
|
|
Source29: cyrus-imapd-sendmail-8.12.9-cyrusv2.m4
|
|
|
|
Source30: cyrus-imapd-README.contrib
|
|
|
|
Source33: cyrus-imapd-README.skiplist_recovery
|
|
|
|
Patch0: cyrus-imapd-2.2.12-no_transfig.patch
|
2008-09-01 11:50:44 +00:00
|
|
|
Patch1: http://email.uoa.gr/download/cyrus/cyrus-imapd-2.3.12/cyrus-imapd-2.3.12p2-autocreate-0.10-0.diff
|
|
|
|
Patch2: http://email.uoa.gr/download/cyrus/cyrus-imapd-2.3.12/cyrus-imapd-2.3.12p2-autosieve-0.6.0.diff
|
2008-03-25 10:20:30 +00:00
|
|
|
#Patch3: http://email.uoa.gr/download/cyrus/cyrus-imapd-2.3.9/cyrus-imapd-2.3.9-rmquota+deletemailbox-0.2-1.diff
|
2006-02-28 20:04:01 +00:00
|
|
|
Patch4: http://servercc.oakton.edu/~jwade/cyrus/cyrus-imapd-2.1.3/cyrus-imapd-2.1.3-flock.patch
|
|
|
|
Patch6: cyrus-imapd-2.1.16-getrlimit.patch
|
2007-04-11 09:43:42 +00:00
|
|
|
Patch7: cyrus-imapd-2.3.7-nobarenewlinescheck.patch
|
2006-02-28 20:04:01 +00:00
|
|
|
Patch9: cyrus-imapd-2.3.1-config_defaults.patch
|
|
|
|
Patch10: cyrus-imapd-acceptinvalidfrom.patch
|
2007-03-12 16:22:52 +00:00
|
|
|
Patch12: cyrus-imapd-2.3.7-notify_sms.patch
|
2006-02-28 20:04:01 +00:00
|
|
|
Patch14: cyrus-imapd-2.3.1-authid_normalize.patch
|
|
|
|
Patch15: cyrus-imapd-2.3.1-make_md5_defaults.patch
|
2007-01-24 12:52:37 +00:00
|
|
|
Patch18: cyrus-imapd-2.3.7-krb4.patch
|
2008-09-12 07:09:30 +00:00
|
|
|
Patch19: cyrus-imapd-2.3.12p2-db4.7.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2006-07-27 10:41:04 +00:00
|
|
|
BuildRequires: autoconf >= 2.59
|
2008-09-12 07:09:30 +00:00
|
|
|
BuildRequires: cyrus-sasl-devel >= 2.1.15-1, perl-devel, tcp_wrappers
|
2006-07-27 10:41:04 +00:00
|
|
|
BuildRequires: %{_dbver}-devel, openssl-devel, pkgconfig
|
|
|
|
BuildRequires: flex, bison, groff >= 1.15-8, automake
|
|
|
|
BuildRequires: openldap-devel
|
2007-01-24 12:52:37 +00:00
|
|
|
BuildRequires: krb5-devel
|
2006-02-28 20:04:01 +00:00
|
|
|
%if %{SNMP}
|
2006-08-04 08:33:39 +00:00
|
|
|
BuildRequires: %{_snmpver}-snmp-devel
|
2005-04-15 20:24:15 +00:00
|
|
|
%endif
|
2006-07-27 10:41:04 +00:00
|
|
|
Requires(post): e2fsprogs, /sbin/chkconfig, /sbin/service, perl, grep, coreutils, findutils
|
|
|
|
Requires(preun): /sbin/chkconfig, /sbin/service, coreutils
|
|
|
|
Requires(postun): /sbin/service
|
|
|
|
Requires: %{name}-utils = %{version}-%{release}
|
2006-02-28 22:24:03 +00:00
|
|
|
Requires: cyrus-sasl-lib >= 2.1.15, file >= 3.35-1, %{_dbver}-utils
|
2008-03-18 15:38:01 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2006-07-27 10:41:04 +00:00
|
|
|
Obsoletes: cyrus-murder, cyrus-nntp
|
|
|
|
Provides: cyrus-murder, cyrus-nntp
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The %{name} package contains the core of the Cyrus IMAP server.
|
|
|
|
It is a scaleable enterprise mail system designed for use from
|
|
|
|
small to large enterprise environments using standards-based
|
|
|
|
internet mail technologies.
|
|
|
|
|
|
|
|
A full Cyrus IMAP implementation allows a seamless mail and bulletin
|
|
|
|
board environment to be set up across multiple servers. It differs from
|
|
|
|
other IMAP server implementations in that it is run on "sealed"
|
2006-02-28 20:04:01 +00:00
|
|
|
servers, where users are not normally permitted to log in and have no
|
|
|
|
system account on the server. The mailbox database is stored in parts
|
|
|
|
of the filesystem that are private to the Cyrus IMAP server. All user
|
|
|
|
access to mail is through software using the IMAP, POP3 or KPOP
|
|
|
|
protocols. It also includes support for virtual domains, NNTP,
|
|
|
|
mailbox annotations, and much more. The private mailbox database design
|
|
|
|
gives the server large advantages in efficiency, scalability and
|
|
|
|
administratability. Multiple concurrent read/write connections to the
|
|
|
|
same mailbox are permitted. The server supports access control lists on
|
|
|
|
mailboxes and storage quotas on mailbox hierarchies.
|
|
|
|
|
|
|
|
The Cyrus IMAP server supports the IMAP4rev1 protocol described
|
|
|
|
in RFC 3501. IMAP4rev1 has been approved as a proposed standard.
|
|
|
|
It supports any authentication mechanism available from the SASL
|
|
|
|
library, imaps/pop3s/nntps (IMAP/POP3/NNTP encrypted using SSL and
|
|
|
|
TLSv1) can be used for security. The server supports single instance
|
|
|
|
store where possible when an email message is addressed to multiple
|
|
|
|
recipients, SIEVE provides server side email filtering.
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
2006-07-27 10:41:04 +00:00
|
|
|
Summary: Cyrus IMAP server development files
|
2007-04-23 10:59:54 +00:00
|
|
|
#Requires: %{name} = %{version}-%{release}
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains header files and libraries
|
|
|
|
necessary for developing applications which use the imclient library.
|
|
|
|
|
2007-03-12 16:22:52 +00:00
|
|
|
%package perl
|
2006-07-27 10:41:04 +00:00
|
|
|
Provides: perl-Cyrus
|
|
|
|
Obsoletes: perl-Cyrus
|
2005-04-15 20:24:15 +00:00
|
|
|
Group: System Environment/Libraries
|
2006-07-27 10:41:04 +00:00
|
|
|
Summary: Cyrus IMAP server utility Perl modules
|
2005-04-15 20:24:15 +00:00
|
|
|
|
2007-03-12 16:22:52 +00:00
|
|
|
%description perl
|
|
|
|
The %{name}-perl contains Perl modules necessary to use the
|
2005-04-15 20:24:15 +00:00
|
|
|
Cyrus IMAP server administration utilities.
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Group: Applications/System
|
2006-07-27 10:41:04 +00:00
|
|
|
Summary: Cyrus IMAP server administration utilities
|
|
|
|
Requires(pre): /usr/sbin/groupadd, /usr/sbin/useradd
|
|
|
|
Requires(post): grep, coreutils, make, openssl
|
|
|
|
Requires(postun): /usr/sbin/userdel, /usr/sbin/groupdel
|
2007-03-12 16:22:52 +00:00
|
|
|
Requires: %{name}-perl = %{version}-%{release}
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
%description utils
|
|
|
|
The %{name}-utils package contains administrative tools for the
|
|
|
|
Cyrus IMAP server. It can be installed on systems other than the
|
|
|
|
one running the server.
|
|
|
|
|
|
|
|
%prep
|
2006-07-27 10:41:04 +00:00
|
|
|
%setup -q
|
2006-02-28 20:04:01 +00:00
|
|
|
%patch0 -p1 -b .no_transfig
|
2005-04-15 20:24:15 +00:00
|
|
|
%if %{AUTOCREATE}
|
|
|
|
%patch1 -p1 -b .autocreate
|
2006-07-27 10:41:04 +00:00
|
|
|
%patch2 -p1 -b .autosieve
|
2008-03-25 10:20:30 +00:00
|
|
|
#%patch3 -p1 -b .rmquota
|
2005-04-15 20:24:15 +00:00
|
|
|
%endif
|
|
|
|
%patch4 -p1 -b .flock
|
|
|
|
%patch6 -p1 -b .getrlimit
|
|
|
|
%if %{NO_BARE_NL}
|
|
|
|
%patch7 -p1 -b .nobarenewlinescheck
|
|
|
|
%endif
|
2006-07-27 10:41:04 +00:00
|
|
|
#%patch9 -p1 -b .config_defaults
|
2005-04-15 20:24:15 +00:00
|
|
|
%patch10 -p1 -b .acceptinvalidfrom
|
2006-02-28 20:04:01 +00:00
|
|
|
%patch12 -p1 -b .notify_sms
|
|
|
|
%patch14 -p1 -b .authid_normalize
|
|
|
|
%patch15 -p1 -b .make_md5_defaults
|
2007-01-24 12:52:37 +00:00
|
|
|
%patch18 -p1 -b .krb4
|
2008-09-12 07:09:30 +00:00
|
|
|
%patch19 -p1 -b .db4.7
|
2006-07-27 10:41:04 +00:00
|
|
|
|
2008-05-31 15:23:53 +00:00
|
|
|
# only to update config.* files
|
|
|
|
automake -a -f -c || :
|
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
aclocal -I cmulocal
|
|
|
|
autoheader
|
|
|
|
autoconf -f
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
%build
|
2007-09-25 09:17:00 +00:00
|
|
|
#export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Werror-implicit-function-declaration"
|
2006-02-28 20:04:01 +00:00
|
|
|
CPPFLAGS="-I%{_includedir}/et"; export CPPFLAGS
|
2005-04-15 20:24:15 +00:00
|
|
|
CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
|
2006-02-28 20:04:01 +00:00
|
|
|
if pkg-config openssl; then
|
|
|
|
CPPFLAGS="$(pkg-config --cflags-only-I openssl) $CPPFLAGS"; export CPPFLAGS
|
|
|
|
CFLAGS="$(pkg-config --cflags openssl) $CFLAGS"; export CFLAGS
|
|
|
|
LDFLAGS="$(pkg-config --libs-only-L openssl) $LDFLAGS"; export LDFLAGS
|
|
|
|
fi
|
2007-01-24 12:52:37 +00:00
|
|
|
CPPFLAGS="-I%{_includedir}/kerberosIV $CPPFLAGS"; export CPPFLAGS
|
2005-04-15 20:24:15 +00:00
|
|
|
CCDLFLAGS="-rdynamic"; export CCDLFLAGS
|
|
|
|
%if %{USEPIE}
|
|
|
|
%ifnarch ppc ppc64
|
|
|
|
LDFLAGS="$LDFLAGS -pie"; export LDFLAGS
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%{configure} \
|
|
|
|
%if %{NETSCAPEHACK}
|
|
|
|
--enable-netscapehack \
|
|
|
|
%endif
|
|
|
|
%if %{LISTEXT}
|
|
|
|
--enable-listext \
|
|
|
|
%endif
|
|
|
|
%if %{IDLED}
|
2006-02-28 20:04:01 +00:00
|
|
|
--enable-idled \
|
|
|
|
%endif
|
|
|
|
%if %{_withldap}
|
2007-03-12 16:22:52 +00:00
|
|
|
--with-ldap=/usr \
|
2006-02-28 20:04:01 +00:00
|
|
|
%endif
|
|
|
|
%if %{SNMP}
|
|
|
|
--with-snmp \
|
|
|
|
%else
|
|
|
|
--without-snmp \
|
2005-04-15 20:24:15 +00:00
|
|
|
%endif
|
|
|
|
--enable-murder \
|
2006-02-28 20:04:01 +00:00
|
|
|
--enable-replication \
|
2005-04-15 20:24:15 +00:00
|
|
|
--enable-nntp \
|
|
|
|
--with-perl=%{__perl} \
|
|
|
|
--with-cyrus-prefix=%{_cyrexecdir} \
|
|
|
|
--with-service-path=%{_cyrexecdir} \
|
|
|
|
--with-bdb-incdir=%{_includedir}/%{_dbver} \
|
2007-03-12 16:22:52 +00:00
|
|
|
--with-extraident="Fedora-RPM-%{version}-%{release}" \
|
2007-01-24 12:52:37 +00:00
|
|
|
--with-syslogfacility=%{SYSLOGFACILITY} \
|
|
|
|
--with-krbimpl=mit
|
2005-04-15 20:24:15 +00:00
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
%{__make} -C man -f Makefile.dist
|
|
|
|
%{__make} -C doc -f Makefile.dist
|
2005-04-15 20:24:15 +00:00
|
|
|
%{__make}
|
2006-02-28 20:04:01 +00:00
|
|
|
%{__make} -C notifyd notifytest
|
2005-04-15 20:24:15 +00:00
|
|
|
%if %{DEL_WRAP}
|
|
|
|
%{__cc} $CFLAGS -DLIBEXECDIR=\"%{_cyrexecdir}\" -Wall -o deliver-wrapper %{SOURCE3}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Modify docs master --> cyrus-master
|
|
|
|
pushd man
|
|
|
|
%{__perl} -pi -e "s@master\(8\)@cyrus-master(8)@" $(ls *5 *8)
|
|
|
|
popd
|
|
|
|
pushd doc
|
|
|
|
%{__perl} -pi -e "s@master@cyrus-master@g;" man.html
|
|
|
|
popd
|
|
|
|
pushd doc/man
|
|
|
|
%{__perl} -pi -e "s@master\(8\)@cyrus-master(8)@;" $(ls *html)
|
|
|
|
popd
|
|
|
|
|
|
|
|
# Modify path in perl scripts
|
|
|
|
%{__perl} -pi -e "s@/usr/local/bin/perl@%{__perl}@" $(find . -type f -name "*.pl")
|
|
|
|
|
|
|
|
# Fix permissions on perl programs
|
|
|
|
find . -type f -name "*.pl" -exec %{__chmod} 755 {} \;
|
|
|
|
|
|
|
|
# Cleanup of doc dir
|
|
|
|
find doc perl -name CVS -type d | xargs -r %{__rm} -fr
|
2006-02-28 20:04:01 +00:00
|
|
|
find doc perl -name .cvsignore -type f | xargs -r %{__rm} -f
|
2005-04-15 20:24:15 +00:00
|
|
|
find doc -name "*~" -type f | xargs -r %{__rm} -f
|
2006-02-28 20:04:01 +00:00
|
|
|
find doc -name "*.html.*" -type f | xargs -r %{__rm} -f
|
|
|
|
%{__rm} -f doc/Makefile.dist*
|
2005-04-15 20:24:15 +00:00
|
|
|
%{__rm} -f doc/text/htmlstrip.c
|
|
|
|
|
2007-10-15 16:31:43 +00:00
|
|
|
%{__install} -m 644 %{SOURCE23} doc/README.RPM
|
|
|
|
%{__install} -m 644 %{SOURCE24} doc/README.HOWTO-recover-mailboxes.db
|
2006-02-28 20:04:01 +00:00
|
|
|
%{__install} -m 644 %{SOURCE33} doc/README.skiplist_recovery
|
2005-04-15 20:24:15 +00:00
|
|
|
%if %{AUTOCREATE}
|
|
|
|
%{__install} -m 644 %{SOURCE8} doc/README.autocreate
|
|
|
|
%{__install} -m 644 %{SOURCE9} doc/README.autosievefolder
|
|
|
|
%endif
|
|
|
|
%{__install} -d doc/m4
|
2007-10-15 16:31:43 +00:00
|
|
|
%{__install} -m 644 %{SOURCE26} doc/m4/cyrus-procmailrc
|
|
|
|
%{__install} -m 644 %{SOURCE4} doc/m4/cyrus-user-procmailrc.template
|
|
|
|
%{__install} -m 644 %{SOURCE27} doc/m4/%{name}-procmail+cyrus.mc
|
|
|
|
%{__install} -m 644 %{SOURCE29} doc/m4/%{name}-sendmail-8.12.9-cyrusv2.m4
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
# modify lmtp socket path in .conf files
|
|
|
|
%{__perl} -pi -e "s@/var/imap/@%{_vardata}/@" %{_confdir}/*.conf doc/cyrusv2.mc doc/m4/%{name}-sendmail-8.12.9-cyrusv2.m4
|
|
|
|
|
|
|
|
# enable/disable idled in .conf files to prevent error messages
|
|
|
|
%if %{IDLED}
|
|
|
|
%{__perl} -pi -e "s/# idled/ idled/" %{_confdir}/*.conf
|
|
|
|
%else
|
|
|
|
%{__perl} -pi -e "s/ idled/# idled/" %{_confdir}/*.conf
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%install
|
2007-10-15 16:31:43 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
# This hack is needed on RedHat > 7.3 to install the perl files correctly
|
|
|
|
%if %{_perlhack}
|
|
|
|
pushd perl/imap
|
2006-07-27 10:41:04 +00:00
|
|
|
%{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor
|
2005-04-15 20:24:15 +00:00
|
|
|
popd
|
|
|
|
pushd perl/sieve/managesieve
|
2006-07-27 10:41:04 +00:00
|
|
|
%{__perl} Makefile.PL PREFIX=%{buildroot}%{_prefix} INSTALLDIRS=vendor
|
2005-04-15 20:24:15 +00:00
|
|
|
popd
|
|
|
|
|
|
|
|
# Do what the regular make install does
|
|
|
|
%{__make} install DESTDIR=%{buildroot} PREFIX=%{_prefix} mandir=%{_mandir}
|
|
|
|
%{__make} -C man install DESTDIR=%{buildroot} PREFIX=%{_prefix} mandir=%{_mandir}
|
|
|
|
%else
|
|
|
|
%{__make} install DESTDIR=%{buildroot} PREFIX=%{buildroot}%{_prefix} mandir=%{_mandir}
|
|
|
|
%{__make} -C man install DESTDIR=%{buildroot} PREFIX=%{buildroot}%{_prefix} mandir=%{_mandir}
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{DEL_WRAP}
|
2006-02-28 20:04:01 +00:00
|
|
|
%{__install} -m 2755 deliver-wrapper %{buildroot}%{_cyrexecdir}/
|
2005-04-15 20:24:15 +00:00
|
|
|
%endif
|
2006-02-28 20:04:01 +00:00
|
|
|
%{__install} -m 755 imtest/imtest %{buildroot}%{_bindir}/
|
|
|
|
%{__install} -m 755 notifyd/notifytest %{buildroot}%{_bindir}/
|
|
|
|
%{__install} -m 755 perl/imap/cyradm %{buildroot}%{_bindir}/
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
# Install tools
|
|
|
|
for tool in tools/* ; do
|
|
|
|
test -f ${tool} && %{__install} -m 755 ${tool} %{buildroot}%{_cyrexecdir}/
|
|
|
|
done
|
|
|
|
|
|
|
|
# Create directories
|
|
|
|
%{__install} -d \
|
|
|
|
%{buildroot}%{_sysconfdir}/{rc.d/init.d,logrotate.d,pam.d,sysconfig,cron.daily} \
|
|
|
|
%{buildroot}%{_libdir}/sasl \
|
|
|
|
%{buildroot}%{_spooldata} \
|
2007-03-12 16:22:52 +00:00
|
|
|
%{buildroot}%{_vardata}/{user,quota,proc,log,msg,socket,db,sieve,sync,md5,rpm,backup,meta} \
|
2006-02-28 20:04:01 +00:00
|
|
|
%if %{_withldap}
|
|
|
|
%{buildroot}%{_vardata}/ptclient \
|
|
|
|
%endif
|
2005-04-15 20:24:15 +00:00
|
|
|
%{buildroot}%{_datadir}/%{name}/rpm \
|
2005-04-21 20:10:08 +00:00
|
|
|
%{buildroot}%{pki_dir} \
|
2005-04-15 20:24:15 +00:00
|
|
|
%{_contribdir}
|
|
|
|
|
|
|
|
# Install additional files
|
|
|
|
%{__install} -m 755 %{SOURCE13} %{buildroot}%{_cyrexecdir}/cvt_cyrusdb_all
|
|
|
|
%{__install} -m 755 %{SOURCE28} %{buildroot}%{_cyrexecdir}/rpm_set_permissions
|
|
|
|
%{__install} -m 644 %{SOURCE14} %{buildroot}%{_datadir}/%{name}/rpm/magic
|
2006-02-28 20:04:01 +00:00
|
|
|
%{__install} -m 644 %{SOURCE10} %{_contribdir}/
|
2005-04-15 20:24:15 +00:00
|
|
|
%{__install} -m 644 %{SOURCE15} %{_contribdir}/imapcreate
|
|
|
|
%{__install} -m 644 %{SOURCE16} %{_contribdir}/cyrus_ldap_quota
|
|
|
|
%{__install} -m 644 %{SOURCE17} %{_contribdir}/batchreconstruct
|
|
|
|
%{__install} -m 644 %{SOURCE18} %{_contribdir}/bsd2cyrus
|
|
|
|
%{__install} -m 644 %{SOURCE19} %{_contribdir}/cpmsg
|
|
|
|
%{__install} -m 644 %{SOURCE20} %{_contribdir}/folderxfer
|
|
|
|
%{__install} -m 644 %{SOURCE21} %{_contribdir}/inboxfer
|
|
|
|
%{__install} -m 644 %{SOURCE22} %{_contribdir}/
|
|
|
|
%{__install} -m 644 %{SOURCE30} %{_contribdir}/README
|
|
|
|
|
2006-07-27 10:41:04 +00:00
|
|
|
# fix permissions on perl .so files
|
|
|
|
find %{buildroot}%{_libdir}/perl5/ -type f -name "*.so" -exec %{__chmod} 755 {} \;
|
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
# Install config files
|
2008-03-19 19:13:26 +00:00
|
|
|
%{__install} -p -m 644 %{_cyrusconf} %{buildroot}%{_sysconfdir}/cyrus.conf
|
|
|
|
%{__install} -p -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/imapd.conf
|
|
|
|
%{__install} -p -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/pam.d/pop
|
|
|
|
%{__install} -p -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/pam.d/imap
|
|
|
|
%{__install} -p -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/pam.d/sieve
|
|
|
|
%{__install} -p -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/pam.d/mupdate
|
|
|
|
%{__install} -p -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/pam.d/lmtp
|
|
|
|
%{__install} -p -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/pam.d/nntp
|
|
|
|
%{__install} -p -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/pam.d/csync
|
|
|
|
%{__install} -p -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
|
|
|
%{__install} -p -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
|
|
|
|
%{__install} -p -m 755 %{SOURCE25} %{buildroot}%{_sysconfdir}/cron.daily/%{name}
|
|
|
|
%{__install} -p -m 755 %{SOURCE11} %{buildroot}%{_sysconfdir}/rc.d/init.d/%{name}
|
|
|
|
|
|
|
|
# fix conflicts with uw-imap
|
|
|
|
mv %{buildroot}%{_mandir}/man8/imapd.8 %{buildroot}%{_mandir}/man8/imapd.8cyrus
|
|
|
|
mv %{buildroot}%{_mandir}/man8/pop3d.8 %{buildroot}%{_mandir}/man8/pop3d.8cyrus
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
# Install templates
|
|
|
|
%{__install} -m 755 -d doc/conf
|
|
|
|
%{__install} -m 644 %{_confdir}/*.conf doc/conf/
|
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
# Generate db config file
|
|
|
|
( grep '^{' lib/imapoptions | grep _db | cut -d'"' -f 2,4 | \
|
|
|
|
sed -e 's/^ *//' -e 's/-nosync//' -e 's/ *$//' -e 's/"/=/'
|
|
|
|
echo sieve_version=2.2.3 ) | sort > %{buildroot}%{_datadir}/%{name}/rpm/db.cfg
|
|
|
|
|
2005-04-18 22:52:24 +00:00
|
|
|
# create the ghost pem file
|
|
|
|
touch %{buildroot}%{ssl_pem_file}
|
2006-02-28 20:04:01 +00:00
|
|
|
%if %{use_etc_pki}
|
2005-04-18 22:52:24 +00:00
|
|
|
# change config file so ssl certificates are under /etc rather than /usr/share
|
2005-04-22 20:21:59 +00:00
|
|
|
%{__perl} -pi -e \
|
2006-02-28 20:04:01 +00:00
|
|
|
's@/usr/share/ssl/certs/%{name}.pem@%{ssl_pem_file}@g; \
|
2005-04-22 20:21:59 +00:00
|
|
|
s@/usr/share/ssl/certs/ca-bundle.crt@/etc/pki/tls/certs/ca-bundle.crt@' \
|
|
|
|
%{buildroot}%{_sysconfdir}/imapd.conf
|
2006-02-28 20:04:01 +00:00
|
|
|
%endif
|
2005-04-18 22:52:24 +00:00
|
|
|
|
2007-10-15 16:31:43 +00:00
|
|
|
# Rename 'master' binary and manpage to avoid clash with postfix
|
2005-04-15 20:24:15 +00:00
|
|
|
%{__mv} -f %{buildroot}%{_cyrexecdir}/master %{buildroot}%{_cyrexecdir}/cyrus-master
|
|
|
|
%{__mv} -f %{buildroot}%{_mandir}/man8/master.8 %{buildroot}%{_mandir}/man8/cyrus-master.8
|
|
|
|
%{__mv} -f doc/man/master.8.html doc/man/cyrus-master.8.html
|
|
|
|
%{__perl} -pi -e 's/master/cyrus-master/g' %{buildroot}%{_mandir}/man8/cyrus-master.8
|
|
|
|
%{__perl} -pi -e 's/Master/Cyrus-master/g' %{buildroot}%{_mandir}/man8/cyrus-master.8
|
|
|
|
%{__perl} -pi -e 's/MASTER/CYRUS-MASTER/g' %{buildroot}%{_mandir}/man8/cyrus-master.8
|
|
|
|
%{__perl} -pi -e 's/master/cyrus-master/g' doc/man/cyrus-master.8.html
|
|
|
|
%{__perl} -pi -e 's/Master/Cyrus-master/g' doc/man/cyrus-master.8.html
|
|
|
|
%{__perl} -pi -e 's/MASTER/CYRUS-MASTER/g' doc/man/cyrus-master.8.html
|
|
|
|
|
2007-10-15 16:31:43 +00:00
|
|
|
# Rename 'fetchnews' binary and manpage to avoid clash with leafnode
|
2005-04-15 20:24:15 +00:00
|
|
|
%{__mv} -f %{buildroot}%{_cyrexecdir}/fetchnews %{buildroot}%{_cyrexecdir}/cyrfetchnews
|
|
|
|
%{__mv} -f %{buildroot}%{_mandir}/man8/fetchnews.8 %{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
|
|
|
%{__mv} -f doc/man/fetchnews.8.html doc/man/cyrfetchnews.8.html
|
|
|
|
%{__perl} -pi -e 's/fetchnews/cyrfetchnews/g' %{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
|
|
|
%{__perl} -pi -e 's/Fetchnews/Cyrfetchnews/g' %{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
|
|
|
%{__perl} -pi -e 's/FETCHNEWS/CYRFETCHNEWS/g' %{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
|
|
|
%{__perl} -pi -e 's/fetchnews/cyrfetchnews/g' doc/man/cyrfetchnews.8.html
|
|
|
|
%{__perl} -pi -e 's/Fetchnews/Cyrfetchnews/g' doc/man/cyrfetchnews.8.html
|
|
|
|
%{__perl} -pi -e 's/FETCHNEWS/CYRFETCHNEWS/g' doc/man/cyrfetchnews.8.html
|
|
|
|
|
|
|
|
# Create filelist for perl package, compress manpages before
|
|
|
|
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
|
2006-07-27 10:41:04 +00:00
|
|
|
find %{buildroot}%{perl_vendorarch}/Cyrus %{buildroot}%{perl_vendorarch}/auto/Cyrus -type f -print |
|
2005-04-15 20:24:15 +00:00
|
|
|
%{__sed} "s@^%{buildroot}@@g" |
|
|
|
|
%{__grep} -v perllocal.pod |
|
2006-07-27 10:41:04 +00:00
|
|
|
%{__grep} -v "\.packlist" > cyrus-imapd-perl-%{version}-filelist
|
2005-04-15 20:24:15 +00:00
|
|
|
find %{buildroot}%{_perl_man3dir} -type f -name "Cyrus*" -print |
|
2006-07-27 10:41:04 +00:00
|
|
|
%{__sed} "s@^%{buildroot}@@g" >> cyrus-imapd-perl-%{version}-filelist
|
|
|
|
if [ "$(%{__cat} cyrus-imapd-perl-%{version}-filelist)X" = "X" ] ; then
|
2005-04-15 20:24:15 +00:00
|
|
|
echo "ERROR: EMPTY FILE LIST"
|
|
|
|
exit -1
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Remove installed but not packaged files
|
|
|
|
%{__rm} -f %{buildroot}%{_cyrexecdir}/not-mkdep
|
2006-02-28 20:04:01 +00:00
|
|
|
%{__rm} -f %{buildroot}%{_cyrexecdir}/config2header*
|
2005-04-15 20:24:15 +00:00
|
|
|
%{__rm} -f %{buildroot}%{_cyrexecdir}/config2man
|
|
|
|
%{__rm} -f %{buildroot}%{_cyrexecdir}/pop3proxyd
|
|
|
|
find %{buildroot} -name "perllocal.pod" -exec %{__rm} -f {} \;
|
|
|
|
find %{buildroot} -name ".packlist" -exec %{__rm} -f {} \;
|
|
|
|
%if !%{IDLED}
|
|
|
|
%{__rm} -f %{buildroot}%{_mandir}/man8/idled.8*
|
|
|
|
%{__rm} -f doc/man/idled.8.html
|
|
|
|
%endif
|
2006-02-28 20:04:01 +00:00
|
|
|
%{__rm} -f doc/text/Makefile
|
|
|
|
%{__rm} -f %{buildroot}%{_mandir}/man8/syncnews.8*
|
|
|
|
%{__rm} -f doc/man/syncnews.8.html
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
# On RedHat 7.3, this file is created here
|
|
|
|
%{__rm} -f /perllocal.pod
|
|
|
|
|
|
|
|
%clean
|
2007-10-15 16:31:43 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
%pre
|
|
|
|
# Let postun know whether cyrus-imapd was running
|
|
|
|
if [ -e /var/lock/subsys/cyrus-imapd ]; then
|
|
|
|
/sbin/service %{name} stop >/dev/null 2>&1 || :
|
|
|
|
touch /var/lock/subsys/cyrus-imapd
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/chkconfig --add %{name}
|
|
|
|
|
|
|
|
# Force synchronous updates, usually only on ext2 filesystems
|
|
|
|
for i in %{_vardata}/{user,quota} %{_spooldata}
|
|
|
|
do
|
|
|
|
%if %{FORCESYNCEXT3}
|
|
|
|
if [ $(find $i -maxdepth 0 -printf %%F) = "ext2" -o $(find $i -maxdepth 0 -printf %%F) = "ext3" ]; then
|
|
|
|
%else
|
|
|
|
if [ $(find $i -maxdepth 0 -printf %%F) = "ext2" ]; then
|
|
|
|
%endif
|
|
|
|
chattr -R +S $i 2>/dev/null
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
# "ctl_deliver -E" is deprecated, now is "cyr_expire -E"
|
|
|
|
if grep -q "ctl_deliver *-E" %{_sysconfdir}/cyrus.conf ; then
|
|
|
|
%{__perl} -pi -e "s/ctl_deliver *-E/cyr_expire -E/" %{_sysconfdir}/cyrus.conf
|
|
|
|
fi
|
|
|
|
|
|
|
|
# prevent idled related errors to show up
|
|
|
|
%if %{IDLED}
|
|
|
|
if grep -q "^# idled" %{_sysconfdir}/cyrus.conf ; then
|
|
|
|
%{__perl} -pi -e "s/^# idled/ idled/" %{_sysconfdir}/cyrus.conf
|
|
|
|
fi
|
|
|
|
%else
|
|
|
|
if grep -q "^ idled" %{_sysconfdir}/cyrus.conf ; then
|
|
|
|
%{__perl} -pi -e "s/^ idled/# idled/" %{_sysconfdir}/cyrus.conf
|
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
%if %{use_etc_pki}
|
|
|
|
# change existing config so ssl certificates are under /etc rather than /usr/share
|
|
|
|
%{__perl} -pi -e \
|
|
|
|
's@/usr/share/ssl/certs/%{name}.pem@%{ssl_pem_file}@g; \
|
|
|
|
s@/usr/share/ssl/certs/ca-bundle.crt@/etc/pki/tls/certs/ca-bundle.crt@' \
|
|
|
|
%{_sysconfdir}/imapd.conf
|
|
|
|
%endif
|
|
|
|
|
|
|
|
# Create SSL certificates
|
|
|
|
exec > /dev/null 2> /dev/null
|
|
|
|
%if %{use_etc_pki}
|
|
|
|
# if the certificate is only in the old location, move it to the new location
|
|
|
|
if [ -f %{_datadir}/ssl/certs/%{name}.pem -a ! -f %{ssl_pem_file} ]; then
|
|
|
|
mv %{_datadir}/ssl/certs/%{name}.pem %{ssl_pem_file}
|
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
if [ ! -f %{ssl_pem_file} ]; then
|
|
|
|
pushd %{certs_dir}
|
|
|
|
umask 077
|
|
|
|
%{__cat} << EOF | make %{name}.pem
|
|
|
|
--
|
|
|
|
SomeState
|
|
|
|
SomeCity
|
|
|
|
SomeOrganization
|
|
|
|
SomeOrganizationalUnit
|
|
|
|
localhost.localdomain
|
|
|
|
root@localhost.localdomain
|
|
|
|
EOF
|
|
|
|
%{__chown} root.%{_cyrusgroup} %{name}.pem
|
|
|
|
%{__chmod} 640 %{name}.pem
|
|
|
|
%if %{use_etc_pki}
|
|
|
|
mv %{name}.pem %{ssl_pem_file}
|
|
|
|
%endif
|
|
|
|
popd
|
|
|
|
fi
|
|
|
|
|
2007-12-05 23:12:12 +00:00
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
/sbin/service %{name} stop >/dev/null 2>&1 || :
|
|
|
|
/sbin/chkconfig --del %{name}
|
|
|
|
%{__rm} -f %{_vardata}/socket/* 2> /dev/null
|
|
|
|
%{__rm} -f %{_vardata}/proc/* 2> /dev/null
|
|
|
|
%if %{_withldap}
|
|
|
|
%{__rm} -f %{_vardata}/ptclient/ptsock 2> /dev/null
|
|
|
|
%endif
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 != 0 ]; then
|
|
|
|
/sbin/service %{name} condrestart >/dev/null 2>&1 || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%pre utils
|
|
|
|
# Create 'cyrus' user on target host
|
|
|
|
%if %{SASLGROUP}
|
|
|
|
/usr/sbin/groupadd -g %{gid} -r %{_saslgroup} 2> /dev/null || :
|
|
|
|
/usr/sbin/useradd -c "Cyrus IMAP Server" -d %{_vardata} -g %{_cyrusgroup} \
|
|
|
|
-G %{_saslgroup} -s /bin/bash -u %{uid} -r %{_cyrususer} 2> /dev/null || :
|
|
|
|
%else
|
|
|
|
/usr/sbin/useradd -c "Cyrus IMAP Server" -d %{_vardata} -g %{_cyrusgroup} \
|
|
|
|
-s /bin/bash -u %{uid} -r %{_cyrususer} 2> /dev/null || :
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%post utils
|
2006-02-28 20:04:01 +00:00
|
|
|
# Add service entries if necessary
|
|
|
|
if ! %{__grep} -q ^lmtp %{_sysconfdir}/services; then
|
|
|
|
echo -e 'lmtp\t\t24/tcp\t\t\t\t# LMTP Mail Delivery over TCP' >> %{_sysconfdir}/services
|
|
|
|
echo -e 'lmtp\t\t24/udp\t\t\t\t# LMTP Mail Delivery over TCP' >> %{_sysconfdir}/services
|
|
|
|
fi
|
|
|
|
if ! %{__grep} -q ^nntps %{_sysconfdir}/services; then
|
|
|
|
echo -e 'nntps\t\t563/tcp\t\t\t\t# NNTP over SSL' >> %{_sysconfdir}/services
|
|
|
|
echo -e 'nntps\t\t563/udp\t\t\t\t# NNTP over SSL' >> %{_sysconfdir}/services
|
|
|
|
fi
|
|
|
|
if ! %{__grep} -q ^pop3s %{_sysconfdir}/services; then
|
|
|
|
echo -e 'pop3s\t\t995/tcp\t\t\t\t# POP-3 over SSL' >> %{_sysconfdir}/services
|
|
|
|
echo -e 'pop3s\t\t995/udp\t\t\t\t# POP-3 over SSL' >> %{_sysconfdir}/services
|
|
|
|
fi
|
|
|
|
if ! %{__grep} -q ^imaps %{_sysconfdir}/services; then
|
|
|
|
echo -e 'imaps\t\t993/tcp\t\t\t\t# IMAP over SSL' >> %{_sysconfdir}/services
|
|
|
|
echo -e 'imaps\t\t993/udp\t\t\t\t# IMAP over SSL' >> %{_sysconfdir}/services
|
|
|
|
fi
|
|
|
|
if ! %{__grep} -q ^sieve %{_sysconfdir}/services; then
|
|
|
|
echo -e 'sieve\t\t2000/tcp\t\t\t# Sieve Mail Filter Daemon' >> %{_sysconfdir}/services
|
|
|
|
echo -e 'sieve\t\t2000/udp\t\t\t# Sieve Mail Filter Daemon' >> %{_sysconfdir}/services
|
|
|
|
fi
|
|
|
|
if ! %{__grep} -q ^csync %{_sysconfdir}/services; then
|
|
|
|
echo -e 'csync\t\t2005/tcp\t\t\t# Cyrus IMAP Replication Daemon' >> %{_sysconfdir}/services
|
|
|
|
echo -e 'csync\t\t2005/udp\t\t\t# Cyrus IMAP Replication Daemon' >> %{_sysconfdir}/services
|
|
|
|
fi
|
|
|
|
if ! %{__grep} -q ^mupdate %{_sysconfdir}/services; then
|
|
|
|
echo -e 'mupdate\t\t3905/tcp\t\t\t# Cyrus IMAP Mupdate Daemon' >> %{_sysconfdir}/services
|
|
|
|
echo -e 'mupdate\t\t3905/udp\t\t\t# Cyrus IMAP Mupdate Daemon' >> %{_sysconfdir}/services
|
|
|
|
fi
|
|
|
|
if ! %{__grep} -q ^fud %{_sysconfdir}/services; then
|
|
|
|
echo -e 'fud\t\t4201/udp\t\t\t# Cyrus IMAP FUD Daemon' >> %{_sysconfdir}/services
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun utils
|
2005-04-15 20:24:15 +00:00
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
/usr/sbin/userdel %{_cyrususer} 2> /dev/null || :
|
|
|
|
%if %{SASLGROUP}
|
|
|
|
if [ "$(%{__grep} ^%{_saslgroup}: %{_sysconfdir}/group | cut -d: -f4-)" = "" ]; then
|
|
|
|
/usr/sbin/groupdel %{_saslgroup} 2> /dev/null || :
|
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%config(noreplace) %{_sysconfdir}/cyrus.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/imapd.conf
|
2007-10-15 16:31:43 +00:00
|
|
|
%attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/%{name}
|
|
|
|
%{_sysconfdir}/logrotate.d/%{name}
|
2005-04-15 20:24:15 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/pop
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/imap
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/sieve
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/lmtp
|
2006-02-28 20:04:01 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/mupdate
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/csync
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/nntp
|
2007-10-15 16:31:43 +00:00
|
|
|
%attr(0755,root,root) %{_sysconfdir}/cron.daily/%{name}
|
2005-04-15 20:24:15 +00:00
|
|
|
%dir %{_cyrexecdir}
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/arbitron
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/arbitronsort.pl
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/chk_cyrus
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/convert-sieve.pl
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/ctl_cyrusdb
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/ctl_deliver
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/ctl_mboxlist
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/cvt_cyrusdb
|
2007-03-12 16:22:52 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/cyr_dbtool
|
2005-04-15 20:24:15 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/cyr_expire
|
2008-03-25 10:20:30 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/cyr_synclog
|
2005-04-15 20:24:15 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/cyrdump
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/cyrus-master
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/deliver
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/dohash
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/fud
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/imapd
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/ipurge
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/lmtpd
|
2006-07-27 10:41:04 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/lmtpproxyd
|
2008-03-25 10:20:30 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/make_sha1
|
2005-04-15 20:24:15 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/masssievec
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/mbexamine
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/mbpath
|
2006-02-28 20:04:01 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/migrate-metadata
|
2005-04-15 20:24:15 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/mkimap
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/mknewsgroups
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/notifyd
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/pop3d
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/quota
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/reconstruct
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/rehash
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/sievec
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/smmapd
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/squatter
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/timsieved
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/tls_prune
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/translatesieve
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/undohash
|
2006-02-28 20:04:01 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/unexpunge
|
2005-04-15 20:24:15 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/upgradesieve
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/cvt_cyrusdb_all
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/rpm_set_permissions
|
|
|
|
%if %{IDLED}
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/idled
|
|
|
|
%endif
|
|
|
|
%if %{AUTOCREATE}
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/compile_sieve
|
|
|
|
%endif
|
2006-02-28 20:04:01 +00:00
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/mupdate
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/mupdate-loadgen.pl
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/proxyd
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/make_md5
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/sync_client
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/sync_reset
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/sync_server
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/cyrfetchnews
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/nntpd
|
|
|
|
%if %{_withldap}
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/ptdump
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/ptexpire
|
|
|
|
%attr(0755,root,root) %{_cyrexecdir}/ptloader
|
|
|
|
%endif
|
2005-04-15 20:24:15 +00:00
|
|
|
%if %{DEL_WRAP}
|
|
|
|
%attr(2755,%{_cyrususer},%{_cyrusgroup}) %{_cyrexecdir}/deliver-wrapper
|
|
|
|
%endif
|
|
|
|
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}
|
|
|
|
%attr(0750,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/socket
|
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/user
|
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/quota
|
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/proc
|
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/log
|
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/msg
|
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/db
|
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/sieve
|
2006-02-28 20:04:01 +00:00
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/sync
|
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/md5
|
2005-04-15 20:24:15 +00:00
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/rpm
|
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/backup
|
2007-03-12 16:22:52 +00:00
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/meta
|
2006-02-28 20:04:01 +00:00
|
|
|
%if %{_withldap}
|
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_vardata}/ptclient
|
|
|
|
%endif
|
2005-04-15 20:24:15 +00:00
|
|
|
%attr(0700,%{_cyrususer},%{_cyrusgroup}) %dir %{_spooldata}
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/rpm
|
|
|
|
%{_datadir}/%{name}/rpm/*
|
|
|
|
%{_mandir}/man5/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%doc COPYRIGHT README
|
|
|
|
%doc doc/*
|
2006-02-28 20:04:01 +00:00
|
|
|
%if %{use_etc_pki}
|
2005-04-21 20:10:08 +00:00
|
|
|
%dir %{pki_dir}
|
2006-02-28 20:04:01 +00:00
|
|
|
%endif
|
2005-04-18 22:52:24 +00:00
|
|
|
%attr(0640,root,%{_cyrusgroup}) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %{ssl_pem_file}
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%{_includedir}/cyrus
|
|
|
|
%{_libdir}/lib*.a
|
|
|
|
%{_mandir}/man3/imclient.3*
|
|
|
|
|
2007-03-12 16:22:52 +00:00
|
|
|
%files perl -f cyrus-imapd-perl-%{version}-filelist
|
2005-04-15 20:24:15 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc perl/imap/README
|
|
|
|
%doc perl/imap/Changes
|
|
|
|
%doc perl/imap/examples
|
|
|
|
|
|
|
|
%files utils
|
|
|
|
%defattr(0644,root,root,0755)
|
|
|
|
%attr(0755,root,root) %{_bindir}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
|
|
%changelog
|
2008-09-12 07:09:30 +00:00
|
|
|
* Fri Sep 14 2008 Dan Horák <dan[at]danny.cz - 2.3.12p2-2
|
|
|
|
- fix linking with db4.7 (Resolves: #461875)
|
|
|
|
- patch cleanup
|
|
|
|
|
2008-09-01 11:50:44 +00:00
|
|
|
* Mon Sep 1 2008 Dan Horák <dan[at]danny.cz - 2.3.12p2-1
|
|
|
|
- update to new upstream version 2.3.12p2
|
|
|
|
- update patches
|
|
|
|
|
2008-09-01 09:41:02 +00:00
|
|
|
* Mon Sep 1 2008 Dan Horák <dan[at]danny.cz - 2.3.11-3
|
|
|
|
- refresh patches
|
|
|
|
|
2008-05-31 15:23:53 +00:00
|
|
|
* Sat May 31 2008 Dan Horák <dan[at]danny.cz - 2.3.11-2
|
|
|
|
- call automake to update config.* files and be buildable again on rawhide
|
|
|
|
|
2008-03-25 10:20:30 +00:00
|
|
|
* Tue Mar 25 2008 Tomas Janousek <tjanouse@redhat.com> - 2.3.11-1
|
|
|
|
- update to latest upstream
|
|
|
|
- (temporarily) dropped the rmquota+deletemailbox patch (doesn't apply)
|
|
|
|
|
2008-03-19 19:13:26 +00:00
|
|
|
* Wed Mar 19 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.3.9-12
|
|
|
|
- cyrus-imapd conflicts with uw-imap (#222506)
|
|
|
|
|
2008-03-18 15:38:01 +00:00
|
|
|
* Tue Mar 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.3.9-11
|
|
|
|
- add Requires for versioned perl (libperl.so)
|
|
|
|
|
2008-02-20 05:29:55 +00:00
|
|
|
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.3.9-10
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-02-08 09:56:50 +00:00
|
|
|
* Fri Feb 08 2008 Tomas Janousek <tjanouse@redhat.com> - 2.3.9-9
|
|
|
|
- don't run cronjob if cyrus-imapd has never been started (#418191)
|
|
|
|
|
2007-12-05 23:12:12 +00:00
|
|
|
* Tue Dec 04 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.9-8
|
|
|
|
- move certificate creation from -utils postinst to main package
|
|
|
|
- rebuild with newer openssl and openldap
|
|
|
|
|
2007-09-25 09:17:00 +00:00
|
|
|
* Sun Sep 23 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.9-7
|
|
|
|
- updated the getgrouplist patch
|
|
|
|
- fixed a few undeclared functions (and int to pointer conversions)
|
|
|
|
|
2007-08-22 12:16:12 +00:00
|
|
|
* Wed Aug 22 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.9-6
|
|
|
|
- update to latest upstream
|
|
|
|
- updated all patches from uoa and reenabled rmquota+deletemailbox
|
|
|
|
|
2007-08-16 11:15:16 +00:00
|
|
|
* Thu Aug 16 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.9-5.rc2
|
|
|
|
- update to latest upstream beta
|
|
|
|
|
2007-08-14 15:16:44 +00:00
|
|
|
* Tue Aug 14 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.9-4.rc1
|
|
|
|
- update to latest upstream beta
|
|
|
|
- temporarily dropped the rmquota+deletemailbox patch (doesn't apply)
|
|
|
|
- fixed to compile with newer glibc
|
2007-08-14 16:24:45 +00:00
|
|
|
- added the getgrouplist patch from RHEL-4, dropped groupcache patch
|
2007-08-14 15:16:44 +00:00
|
|
|
- dropped the allow_auth_plain patch
|
|
|
|
- buildrequire perl-devel
|
|
|
|
|
2007-07-23 12:39:46 +00:00
|
|
|
* Mon Jul 23 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.8-3.2
|
|
|
|
- removed the lm_sensors-devel dependency, since it's properly required in
|
|
|
|
net-snmp-devel
|
2007-07-23 13:03:30 +00:00
|
|
|
- #248984 - cyrus-imapd.logrotate updated for rsyslog
|
2007-07-23 12:39:46 +00:00
|
|
|
|
2007-04-23 10:59:54 +00:00
|
|
|
* Mon Apr 23 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.8-3.1
|
|
|
|
- the -devel subpackage no longer requires the main one
|
|
|
|
|
2007-04-11 09:43:42 +00:00
|
|
|
* Wed Apr 11 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.8-3
|
|
|
|
- updated the no-bare-nl patch (#235569), thanks to Matthias Hensler
|
|
|
|
|
2007-04-04 15:18:08 +00:00
|
|
|
* Wed Apr 04 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.8-2
|
|
|
|
- fixed mboxlist backup rotation (#197054)
|
|
|
|
|
2007-03-12 16:22:52 +00:00
|
|
|
* Mon Mar 12 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.8-1
|
|
|
|
- update to latest upstream
|
|
|
|
|
2007-01-24 12:52:37 +00:00
|
|
|
* Wed Jan 24 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.7-8
|
|
|
|
- compile with kerberos support
|
|
|
|
|
2007-01-24 09:50:32 +00:00
|
|
|
* Wed Jan 24 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.7-7
|
|
|
|
- fixed Makefile typo (caused multiarch conflict)
|
|
|
|
|
2007-01-08 12:52:34 +00:00
|
|
|
* Mon Jan 08 2007 Tomas Janousek <tjanouse@redhat.com> - 2.3.7-6
|
|
|
|
- #218046: applied patches to compile with db4-4.5
|
|
|
|
|
2006-12-05 17:21:39 +00:00
|
|
|
* Tue Dec 5 2006 John Dennis <jdennis@redhat.com> - 2.3.7-5
|
|
|
|
- Resolves: bug# 218046: Cyrus-imapd in rawhide needs to be rebuilt
|
|
|
|
against new snmp package
|
|
|
|
|
2006-10-04 23:00:10 +00:00
|
|
|
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 2.3.7-4
|
|
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
|
2006-09-18 15:04:32 +00:00
|
|
|
* Mon Sep 18 2006 John Dennis <jdennis@redhat.com> - 2.3.7-3
|
|
|
|
- bump rev for rebuild
|
|
|
|
|
2006-08-04 08:33:39 +00:00
|
|
|
* Fri Aug 04 2006 Petr Rockai <prockai@redhat.com> - 2.3.7-2
|
|
|
|
- only buildrequire lm_sensors on i386 and x86_64, since it is not
|
|
|
|
available elsewhere
|
|
|
|
|
2006-07-27 10:41:04 +00:00
|
|
|
* Sun Jul 23 2006 Petr Rockai <prockai@redhat.com> - 2.3.7-1
|
|
|
|
- update to latest upstream version, fixes a fair amount of issues
|
|
|
|
- forward-port the autocreate and rmquota patches (used latest
|
|
|
|
upstream patches, those are for 2.3.3)
|
|
|
|
|
|
|
|
* Tue Jul 18 2006 Petr Rockai <prockai@redhat.com> - 2.3.1-3
|
|
|
|
- install perl modules into vendor_perl instead of site_perl
|
|
|
|
- change mode of perl .so files to 755 instead of 555
|
|
|
|
- update pam configuration to use include directive instead
|
|
|
|
of deprecated pam_stack
|
|
|
|
- change prereq on cyrus-imapd-utils to requires
|
|
|
|
|
|
|
|
* Tue Jul 11 2006 Petr Rockai <prockai@redhat.com> - 2.3.1-2.99.test1
|
|
|
|
- address bunch of rpmlint errors and warnings
|
|
|
|
- rename perl-Cyrus to cyrus-imapd-perl to be consistent with rest
|
|
|
|
of package (the cyrus modules are not part of cpan)
|
|
|
|
- added provides on cyrus-nntp and cyrus-murder (the functionality
|
|
|
|
is part of main package now)
|
|
|
|
- removed generation of README.buildoptions
|
|
|
|
- the two above made it possible to get rid of most build-time parameter
|
|
|
|
guessing from environment
|
|
|
|
- get rid of internal autoconf (iew)
|
|
|
|
- don't strip binaries, renders -debuginfo useless...
|
|
|
|
- remove prereq's in favour of newly added requires(...)
|
|
|
|
|
2006-02-28 20:20:50 +00:00
|
|
|
* Tue Feb 28 2006 John Dennis <jdennis@redhat.com> - 2.3.1-2
|
|
|
|
- bring up to Simon Matter's 2.3.1-2 release
|
2006-02-28 22:24:03 +00:00
|
|
|
- fix bug #173319, require cyrus-sasl-lib instead of cyrus-sasl
|
2006-02-28 20:20:50 +00:00
|
|
|
- fix bug #176470, hardcoded disttag
|
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
* Wed Jan 25 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-2
|
|
|
|
- add backend_sigsegv patch
|
|
|
|
- add replication_policycheck patch
|
|
|
|
|
|
|
|
* Mon Jan 23 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-1
|
|
|
|
- update to official autocreate and autosievefolder patches
|
|
|
|
|
|
|
|
* Thu Jan 19 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-0.18
|
|
|
|
- update rpm_set_permissions script
|
|
|
|
- add snmp support as build time option, disabled by default
|
|
|
|
because it doesn't build on older distributions
|
|
|
|
|
|
|
|
* Wed Jan 18 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-0.15
|
|
|
|
- add make_md5 patch
|
|
|
|
|
|
|
|
* Mon Jan 16 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-0.13
|
|
|
|
- add autosievefolder patch
|
|
|
|
- add rmquota+deletemailbox patch
|
|
|
|
- change default path for make_md5, add md5 directory
|
|
|
|
|
|
|
|
* Fri Jan 13 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-0.10
|
|
|
|
- spec file cleanup
|
|
|
|
- add more cvt_cyrusdb_all fixes
|
|
|
|
- fix pre/post scripts
|
|
|
|
- fix requirements
|
|
|
|
- add patch to set Invoca RPM config defaults
|
|
|
|
- add sync directory used for replication
|
|
|
|
- add autocreate patch
|
|
|
|
|
|
|
|
* Thu Jan 12 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-0.8
|
|
|
|
- update cvt_cyrusdb_all script
|
|
|
|
- build db.cfg on the fly
|
|
|
|
|
|
|
|
* Thu Jan 05 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-0.5
|
|
|
|
- create ptclient directory if ldap enabled
|
|
|
|
|
|
|
|
* Wed Jan 04 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-0.4
|
|
|
|
- build without ldap support if openldap is linked against SASLv1
|
|
|
|
|
|
|
|
* Tue Jan 03 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-0.3
|
|
|
|
- fix ldap support
|
|
|
|
|
|
|
|
* Mon Jan 02 2006 Simon Matter <simon.matter@invoca.ch> 2.3.1-0.2
|
|
|
|
- add openldap-devel to buildprereq, build with ldap support
|
|
|
|
|
|
|
|
* Wed Dec 21 2005 Simon Matter <simon.matter@invoca.ch> 2.3.1-0.1
|
|
|
|
- update to 2.3.1, officially called BETA-quality release
|
|
|
|
|
|
|
|
* Fri Dec 16 2005 Simon Matter <simon.matter@invoca.ch> 2.3.0-0.4
|
|
|
|
- add skiplist.py to contrib/
|
|
|
|
- port authid_normalize patch
|
|
|
|
|
|
|
|
* Thu Dec 15 2005 Simon Matter <simon.matter@invoca.ch> 2.3.0-0.3
|
|
|
|
- reintroduce subpackage utils, fix requirements
|
|
|
|
- move some utils to %{_bindir}/
|
|
|
|
|
|
|
|
* Wed Dec 14 2005 Simon Matter <simon.matter@invoca.ch> 2.3.0-0.2
|
|
|
|
- integrate subpackages murder, nntp, replication, utils
|
|
|
|
|
|
|
|
* Tue Dec 13 2005 Simon Matter <simon.matter@invoca.ch> 2.3.0-0.1
|
|
|
|
- update to 2.3.0, officially called BETA-quality release
|
|
|
|
- add replication subpackage
|
|
|
|
|
|
|
|
* Fri Dec 09 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-15.1
|
|
|
|
- add missing automake to buildprereq
|
|
|
|
- change package description
|
|
|
|
|
|
|
|
* Tue Dec 06 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-15
|
|
|
|
- update cvt_cyrusdb_all script
|
|
|
|
- update autocreate patches
|
|
|
|
|
|
|
|
* Mon Dec 05 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-14
|
|
|
|
- update cvt_cyrusdb_all script
|
|
|
|
|
|
|
|
* Mon Nov 14 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-13
|
|
|
|
- add 64bit quota support backported from 2.3
|
|
|
|
|
|
|
|
* Fri Nov 11 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-12
|
|
|
|
- add quickstart/stop option to init script to bypass db import/export
|
|
|
|
- add authid_normalize patch
|
|
|
|
- add allow_auth_plain_proxying patch
|
|
|
|
- update gcc4 patch
|
|
|
|
- remove useless fdatasync patch
|
|
|
|
- add private autoconf used for build, remove autoconf dependency
|
|
|
|
- generate correct docs including man pages
|
|
|
|
- remove unneeded files from doc directory
|
|
|
|
|
|
|
|
* Fri Nov 04 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-11
|
|
|
|
- add mupdate thread-safe patch
|
|
|
|
|
|
|
|
* Mon Oct 24 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-9.4
|
|
|
|
- add spool patch, which is already fixed in CVS
|
|
|
|
|
|
|
|
* Tue Aug 30 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-9.2
|
|
|
|
- pull in CPPFLAGS and LDFLAGS from openssl's pkg-config data, if it exists
|
|
|
|
|
|
|
|
* Wed Aug 24 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-9.1
|
|
|
|
- add timsieved_reset_sasl_conn patch
|
|
|
|
|
|
|
|
* Mon Aug 22 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-9
|
|
|
|
- cosmetic changes in pre and post scripts
|
|
|
|
|
|
|
|
* Fri Aug 19 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-8
|
|
|
|
- add more pki dir fixes for inplace upgrades
|
|
|
|
|
|
|
|
* Thu Aug 18 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-7
|
|
|
|
- include requirement for Berkeley DB utils
|
|
|
|
|
|
|
|
* Thu Aug 18 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-6
|
|
|
|
- fix recovery problems with db4, which do not exist with db3
|
|
|
|
- fix logic for handling ssl certs
|
|
|
|
- remove initlog from init script
|
|
|
|
|
|
|
|
* Wed Aug 17 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-5
|
|
|
|
- add notifytest to the distribution
|
|
|
|
- add functionality to convert all berkeley databases to skiplist
|
|
|
|
on shutdown and convert them back as needed on startup. This should
|
|
|
|
solve the upgrade problems with Berkeley databases.
|
|
|
|
|
|
|
|
* Tue Aug 16 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-4.14
|
|
|
|
- add gcc4 patch
|
|
|
|
- determine and handle pki directory for openssl correctly
|
|
|
|
- add skiplist recovery docs
|
|
|
|
- add notify_sms patch
|
|
|
|
|
|
|
|
* Mon Jul 18 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-4.10
|
|
|
|
- update cvt_cyrusdb_all script
|
|
|
|
- update autocreate patches
|
|
|
|
|
|
|
|
* Fri Jul 15 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-4.9
|
|
|
|
- add patch to remove ACLs with invalid identifier
|
|
|
|
- update cvt_cyrusdb_all script
|
|
|
|
|
|
|
|
* Sat Jun 18 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-4.1
|
|
|
|
- update munge8bit patch
|
|
|
|
|
|
|
|
* Wed Jun 08 2005 Simon Matter <simon.matter@invoca.ch> 2.2.12-4
|
|
|
|
- updated seenstate patch
|
|
|
|
|
|
|
|
* Thu Jun 02 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- removed nolinkimapspool patch, added singleinstancestore patch instead
|
|
|
|
|
|
|
|
* Thu Jun 02 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added nolinkimapspool patch
|
|
|
|
- fix debug_package macro, it was still being expanded,
|
|
|
|
comments don't hide macro expansion
|
|
|
|
- change license field to BSD, its not exact BSD, but BSD is the closest
|
|
|
|
|
2005-04-22 20:21:59 +00:00
|
|
|
* Fri Apr 22 2005 John Dennis <jdennis@redhat.com> - 2.2.12-6.fc4
|
|
|
|
- the openssl package moved all its certs, CA, Makefile, etc. to /etc/pki
|
|
|
|
now we are consistent with the openssl directory changes.
|
|
|
|
|
2005-04-21 20:10:08 +00:00
|
|
|
* Thu Apr 21 2005 John Dennis <jdennis@redhat.com> - 2.2.12-5.fc4
|
|
|
|
- we finally have a common directory, /etc/pki for certs, so create
|
|
|
|
/etc/pki/cyrus-imapd and put the ssl pem file there. The /etc/cyrus-imapd
|
|
|
|
location will not be used, this change supercedes that.
|
|
|
|
|
2005-04-18 22:52:24 +00:00
|
|
|
* Mon Apr 18 2005 John Dennis <jdennis@redhat.com> - 2.2.12-4.fc4
|
|
|
|
- fix bug #141479, move ssl pem file from /usr/share/ssl/certs to /etc/cyrus-imapd/cyrus-imapd.pem
|
|
|
|
- change license field to BSD, its not exact BSD, but BSD is the closest.
|
|
|
|
|
2005-04-15 21:09:04 +00:00
|
|
|
* Fri Apr 15 2005 John Dennis <jdennis@redhat.com> - 2.2.12-3.fc4
|
|
|
|
- fix release field to be single digit
|
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
* Fri Apr 15 2005 John Dennis <jdennis@redhat.com> - 2.2.12-1.2.fc4
|
|
|
|
- fix debug_package macro, it was still being expanded,
|
|
|
|
comments don't hide macro expansion
|
|
|
|
- fix changelog chronological order
|
|
|
|
- fix bug 118832, cyrus-imapd is modifying /etc/services
|
|
|
|
|
|
|
|
* Mon Apr 4 2005 John Dennis <jdennis@redhat.com> - 2.2.12-1.1.fc4
|
|
|
|
- bring up to 2.2.12, includes security fix for CAN-2005-0546
|
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
* Mon Mar 07 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated rmquota+deletemailbox patches
|
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
* Fri Mar 4 2005 John Dennis <jdennis@redhat.com> - 2.2.10-11.4.fc4
|
|
|
|
- fix gcc4 build problems
|
|
|
|
|
|
|
|
* Thu Mar 3 2005 John Dennis <jdennis@redhat.com> 2.2.10-11.3.fc4
|
|
|
|
- bump rev for build
|
|
|
|
|
|
|
|
* Mon Feb 14 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 2.2.12
|
|
|
|
- updated autocreate and autosievefolder patches
|
|
|
|
|
|
|
|
* Fri Feb 11 2005 John Dennis <jdennis@redhat.com> - 2.2.10-11.2.fc4
|
|
|
|
- make _contribdir identical to Simon's,
|
|
|
|
I had been getting burned by rpm's bizarre handling of macros in comments
|
|
|
|
|
|
|
|
* Thu Feb 10 2005 John Dennis <jdennis@redhat.com> - 2.2.10-11.1.fc4
|
|
|
|
- bring up to date with Simon Matter's 2.2.10-11 rpm
|
|
|
|
|
|
|
|
* Sat Feb 05 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autosievefolder patch
|
|
|
|
|
|
|
|
* Tue Feb 01 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- remove special ownership and permissions from deliver
|
|
|
|
- enable deliver-wrapper per default
|
|
|
|
- enable OutlookExpress seenstate patch per default
|
|
|
|
|
|
|
|
* Wed Jan 19 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autocreate patch
|
|
|
|
|
|
|
|
* Fri Jan 14 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- spec file cleanup
|
|
|
|
|
|
|
|
* Tue Jan 11 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autocreate patch
|
|
|
|
|
|
|
|
* Fri Jan 07 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- moved contrib dir into doc, made scripts not executable
|
|
|
|
|
|
|
|
* Thu Jan 06 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added more fixes to the autocreate patch
|
|
|
|
- don't use %_libdir for %_cyrexecdir, it's a mess on x86_64
|
|
|
|
- don't use %_libdir for symlinks
|
|
|
|
- remove %_libdir pachtes
|
|
|
|
- change pam configs to work on x86_64
|
|
|
|
- changed default build option for IDLED to on
|
|
|
|
- changed rpm_set_permissions to honor partitions in /etc/imapd.conf
|
|
|
|
|
|
|
|
* Tue Jan 04 2005 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autocreate patch
|
|
|
|
|
|
|
|
* Mon Dec 20 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- remove idled docs when disabled, fixes RedHat's bug #142345
|
|
|
|
|
|
|
|
* Fri Dec 17 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- removed allnumeric patch, not needed anymore
|
|
|
|
- made groupcache a compile time option
|
|
|
|
- rename nntp's pam service, fixes RedHat's bug #142672
|
|
|
|
|
|
|
|
* Thu Dec 16 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated groupcache patch
|
|
|
|
- updated cvt_cyrusdb_all to use runuser instead of su if available
|
|
|
|
- added upd_groupcache tool
|
|
|
|
|
|
|
|
* Wed Dec 15 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added groupfile patch to help those using nss_ldap
|
|
|
|
|
|
|
|
* Thu Dec 02 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- modified config directives and removed verify options
|
|
|
|
|
|
|
|
* Thu Dec 2 2004 John Dennis <jdennis@redhat.com> 2.2.10-3.devel
|
|
|
|
- fix bug #141673, dup of bug #141470
|
|
|
|
Also make cyrus.conf noreplace in addition to imapd.conf
|
|
|
|
Remove the verify overrides on the noreplace config files,
|
|
|
|
we do want config file changes visible when verifying
|
|
|
|
|
|
|
|
* Wed Dec 1 2004 John Dennis <jdennis@redhat.com> 2.2.10-2.devel
|
|
|
|
- fix bug #141470, make imapd.conf a noreplace config file
|
|
|
|
|
|
|
|
* Wed Dec 1 2004 John Dennis <jdennis@redhat.com> 2.2.10-1.devel
|
|
|
|
- update to Simon Matter's 2.2.10 RPM,
|
|
|
|
fixes bug #139382,
|
|
|
|
security advisories: CAN-2004-1011 CAN-2004-1012 CAN-2004-1013 CAN-2004-1015
|
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
* Wed Nov 24 2004 Simon Matter <simon.matter@invoca.ch>
|
2005-04-15 20:24:15 +00:00
|
|
|
- updated to 2.2.10
|
|
|
|
|
|
|
|
* Tue Nov 23 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 2.2.9
|
|
|
|
|
|
|
|
* Fri Nov 19 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- changed scripts to use runuser instead of su if available
|
|
|
|
|
|
|
|
* Thu Nov 18 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- changed requirement for file >= 3.35-1 from BuildPrereq to
|
|
|
|
Requires, fixes RedHat's bug #124991
|
|
|
|
- added acceptinvalidfrom patch to fix RedHat's bug #137705
|
|
|
|
|
|
|
|
* Mon Oct 4 2004 Dan Walsh <dwalsh@redhat.com> 2.2.6-2.FC3.6
|
|
|
|
- Change cyrus init scripts and cron job to use runuser instead of su
|
|
|
|
|
|
|
|
* Fri Aug 6 2004 John Dennis <jdennis@redhat.com> 2.2.6-2.FC3.5
|
|
|
|
- remove obsoletes tag, fixes bugs #127448, #129274
|
|
|
|
|
|
|
|
* Wed Aug 4 2004 John Dennis <jdennis@redhat.com>
|
|
|
|
- replace commas in release field with dots, bump build number
|
|
|
|
|
|
|
|
* Tue Aug 03 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- fixed symlinks for x86_64, now uses the _libdir macro
|
|
|
|
reported by John Dennis, fixes RedHat's bug #128964
|
|
|
|
- removed obsoletes tag, fixes RedHat's bugs #127448, #129274
|
|
|
|
|
|
|
|
* Mon Aug 2 2004 John Dennis <jdennis@redhat.com> 2.2.6-2,FC3,3
|
|
|
|
- fix bug #128964, lib symlinks wrong on x86_64
|
|
|
|
|
|
|
|
* Thu Jul 29 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 2.2.8
|
|
|
|
|
|
|
|
* Thu Jul 29 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autocreate and autosieve patches
|
|
|
|
- made authorization a compile time option
|
|
|
|
- added sieve-bc_eval patch
|
|
|
|
|
|
|
|
* Tue Jul 27 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 2.2.7
|
|
|
|
- modified autocreate patch or 2.2.7
|
|
|
|
- removed snmpargs patch which was needed for RedHat 6.2
|
|
|
|
|
|
|
|
* Tue Jul 13 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added mboxlist / mboxname patches from CVS
|
|
|
|
|
|
|
|
* Tue Jul 06 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated rmquota+deletemailbox patch
|
|
|
|
|
|
|
|
* Sat Jul 3 2004 John Dennis <jdennis@redhat.com> - 2.2.6-2,FC3,1
|
|
|
|
- bring up to date with Simon Matter's latest upstream rpm 2.2.6-2
|
|
|
|
- comment out illegal tags Packager, Vendor, Distribution
|
|
|
|
build for FC3
|
|
|
|
|
|
|
|
* Wed Jun 30 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added quota patches from CVS
|
|
|
|
|
|
|
|
* Fri Jun 25 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autocreate patch
|
|
|
|
|
|
|
|
* Fri Jun 18 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 2.2.6
|
|
|
|
|
|
|
|
* Fri Jun 11 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autocreate and autosieve patches
|
|
|
|
|
|
|
|
* Tue Jun 01 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autocreate, autosieve and rmquota patches
|
|
|
|
- fixed rmquota patch to build on gcc v3.3.x
|
|
|
|
- added lmtp_sieve patch
|
|
|
|
|
|
|
|
* Sat May 29 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 2.2.5
|
|
|
|
|
|
|
|
* Fri May 28 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 2.2.5 pre-release
|
|
|
|
|
|
|
|
* Mon May 24 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added hash patch to fix a sig11 problem
|
|
|
|
- added noncritical typo patch
|
|
|
|
|
|
|
|
* Fri May 21 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- include OutlookExpress seenstate patch
|
|
|
|
- fixed allnumeric patch
|
|
|
|
|
|
|
|
* Thu May 20 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- don't enable cyrus-imapd per default
|
|
|
|
- rename fetchnews to cyrfetchnews to avoid namespace conflicts with leafnode
|
|
|
|
- replace fetchnews with cyrfetchnews in man pages
|
|
|
|
- replace master with cyrus-master in man pages
|
|
|
|
|
|
|
|
* Tue May 18 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 2.2.4
|
|
|
|
|
|
|
|
* Fri Apr 30 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- Don't provides: imap
|
|
|
|
|
|
|
|
* Wed Mar 17 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- fix init script
|
|
|
|
|
|
|
|
* Thu Mar 04 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- strip binaries
|
|
|
|
|
|
|
|
* Tue Mar 02 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- add more SELinux fixes
|
|
|
|
|
|
|
|
* Wed Feb 25 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- add makedepend to path, thank you Andreas Piesk for reporting it
|
|
|
|
|
|
|
|
* Mon Feb 23 2004 Dan Walsh <dwalsh@redhat.com>
|
|
|
|
- change su within init script to get input from /dev/null
|
|
|
|
this prevents hang when running in SELinux
|
|
|
|
- don't use -fpie as default, it breaks different distributions
|
|
|
|
|
|
|
|
* Thu Feb 19 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- merged in most changes from Karsten Hopp's RedHat package
|
|
|
|
- fixed permissions of files in contrib, thank you
|
|
|
|
Edward Rudd for reporting it.
|
|
|
|
- modified snmp patch to make it build on RedHat 6.2 again
|
|
|
|
|
|
|
|
* Tue Feb 03 2004 Karsten Hopp <karsten@redhat.de>
|
|
|
|
- switch to Simon Matter's cyrus-imapd package, which has
|
|
|
|
some major improvements over the old Red Hat package.
|
|
|
|
- configdirectory moved from /var/imap to /var/lib/imap
|
|
|
|
- sasl_pwcheck_method changed to saslauthd
|
|
|
|
- needed to delete package/vendor tags for buildsystem.
|
|
|
|
- added USEPIE variable for linking with -fpie flag
|
|
|
|
- removed rpath from linker arguments
|
|
|
|
- removed email header from README.HOWTO-recover-mailboxes
|
|
|
|
- added lib64 patch
|
|
|
|
- use CFLAGS from specfile in imtest subdir
|
|
|
|
- disable -pie on ppc for now
|
|
|
|
|
|
|
|
* Tue Feb 03 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added tls_ca_file: to imapd.conf
|
|
|
|
- updated autocreate patch which fixes a small sig11 problem
|
|
|
|
|
|
|
|
* Thu Jan 29 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- convert sieve scripts to UTF-8 only if sievec failed before
|
|
|
|
- add note to the readme about limiting loggin on busy servers
|
|
|
|
- added build time option to chose the syslog facility
|
|
|
|
|
|
|
|
* Wed Jan 28 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- sieve scripts are now converted to UTF-8 with cvt_cyrusdb_all
|
|
|
|
|
|
|
|
* Tue Jan 27 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- fixed problems with masssievec
|
|
|
|
- lots of small fixes in the init scripts
|
|
|
|
|
|
|
|
* Fri Jan 23 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated auto db converting functionality
|
|
|
|
- added auto masssievec functionality
|
|
|
|
|
|
|
|
* Thu Jan 22 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autocreate/autosievefolder patches
|
|
|
|
|
|
|
|
* Fri Jan 16 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 2.2.3
|
|
|
|
|
|
|
|
* Wed Jan 14 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- number of mailbox list dumps can now be configured
|
|
|
|
|
|
|
|
* Fri Jan 01 2004 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autosievefolder patch
|
|
|
|
|
|
|
|
* Thu Dec 18 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autocreate/autosievefolder/rmquota patches
|
|
|
|
|
|
|
|
* Tue Oct 28 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated to 2.2.2-BETA
|
|
|
|
|
|
|
|
* Tue Aug 05 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- add sendmail m4 macro, some people were looking for it
|
|
|
|
- just one source for pam default configuration (they were all the same)
|
|
|
|
- added /etc/pam.d/lmtp
|
|
|
|
- added build support for RedHat Beta severn
|
|
|
|
|
|
|
|
* Wed Jul 30 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated autocreate patch to 0.8.1
|
|
|
|
- removed creation of spool/config dirs, not needed anymore
|
|
|
|
- added cyrus_sharedbackup to contrib
|
|
|
|
|
|
|
|
* Fri Jul 18 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- modified for 2.2.1-BETA
|
|
|
|
|
|
|
|
* Wed Jul 09 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- modified rpm_set_permissions script
|
|
|
|
|
|
|
|
* Mon Jul 07 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- changed permissions on config and spool dirs
|
|
|
|
- modified init script
|
|
|
|
|
|
|
|
* Thu Jul 03 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- upgraded to 2.1.14
|
|
|
|
- removed now obsolete forcedowncase patch
|
|
|
|
- use --with-extraident to add extra version information
|
|
|
|
- updated munge8bit patch
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added RedHat 2.1ES support to the perlhack detection
|
|
|
|
|
|
|
|
* Tue May 20 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- upgraded autocreate patch
|
|
|
|
|
|
|
|
* Fri May 09 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- upgraded autocreate patch
|
|
|
|
- modified init script
|
|
|
|
|
|
|
|
* Mon May 05 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- upgraded to 2.1.13
|
|
|
|
- replaced commands with macros, cleaned up spec file
|
|
|
|
|
|
|
|
* Fri May 02 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added murder subpackage
|
|
|
|
- changed exec path to /usr/lib/cyrus-imapd
|
|
|
|
|
|
|
|
* Thu May 01 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- included modified munge8bit patch again
|
|
|
|
|
|
|
|
* Tue Apr 29 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added new 8bit header patch
|
|
|
|
- upgraded IPv6 patch
|
|
|
|
- upgraded autocreate patch to 0.7
|
|
|
|
|
|
|
|
* Mon Apr 28 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added new autocreate patch
|
|
|
|
|
|
|
|
* Mon Mar 31 2003 H-E Sandstrom <hes@mailcore.net>
|
|
|
|
- added munge8bit patch
|
|
|
|
|
|
|
|
* Mon Mar 24 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added createonpost fix patch
|
|
|
|
|
|
|
|
* Thu Mar 20 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added functionality to patch the IPv6 patch on the fly if
|
|
|
|
autoconf > 2.13, we can now use newer autoconf again.
|
|
|
|
|
|
|
|
* Tue Mar 18 2003 Paul Bender <pbender@qualcomm.com>
|
|
|
|
- fixed spec file so that autoconf 2.13 will always be used,
|
|
|
|
since the IPv6 patch requires autoconf <= 2.13
|
|
|
|
|
|
|
|
* Fri Mar 14 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- fixed problems with new file package
|
|
|
|
|
|
|
|
* Thu Mar 13 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added kerberos include for RedHat Beta phoebe 2
|
|
|
|
- added Henrique's forcedowncase patch
|
|
|
|
|
|
|
|
* Mon Mar 03 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- corrected imapd.conf
|
|
|
|
|
|
|
|
* Sat Mar 01 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added note about lmtp socket in sendmail
|
|
|
|
- added flock patches
|
|
|
|
|
|
|
|
* Fri Feb 07 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added build time option for fulldirhash
|
|
|
|
|
|
|
|
* Wed Feb 05 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added IPV6 patch to source rpm
|
|
|
|
- fixed build on RedHat 6.2
|
|
|
|
|
|
|
|
* Tue Feb 04 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- update to 2.1.12
|
|
|
|
- added logrotate entry for /var/log/auth.log
|
|
|
|
- modified init script to use builtin daemon mode
|
|
|
|
|
|
|
|
* Fri Jan 10 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- small change in mboxlist backup script
|
|
|
|
|
|
|
|
* Fri Jan 10 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- fixed a cosmetic bug in cvt_cyrusdb_all
|
|
|
|
- added cron.daily job to backup mailboxes.db
|
|
|
|
|
|
|
|
* Mon Jan 06 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- add more entries to /etc/services
|
|
|
|
|
|
|
|
* Wed Jan 01 2003 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- include snmpargs patch for build on RedHat 6.2
|
|
|
|
- added build support for RedHat 6.2
|
|
|
|
|
|
|
|
* Mon Dec 30 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- removed autoconf hack, not needed anymore
|
|
|
|
- enabled build on RedHat Beta Phoebe
|
|
|
|
- added services entry for lmtp
|
|
|
|
- cleanup spec file
|
|
|
|
|
|
|
|
* Thu Dec 26 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- removed BuildPrereq for e2fsprogs-devel
|
|
|
|
|
|
|
|
* Thu Dec 12 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- modified RedHat release detection
|
|
|
|
- added BuildPrereq for file
|
|
|
|
|
|
|
|
* Thu Dec 05 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.11
|
|
|
|
- upgrade IPV6 patch to 20021205
|
|
|
|
|
|
|
|
* Thu Nov 28 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- Fixed some default attributes
|
|
|
|
|
|
|
|
* Thu Nov 28 2002 Troels Arvin <troels@arvin.dk>
|
|
|
|
- Explicitly changed files-section to
|
|
|
|
- use defattr for simple (root-owned 0644) files
|
|
|
|
- explictly set root as user/group owner where
|
|
|
|
the user/group ownership was previously indicated
|
|
|
|
as "-"; this allows building valid packages without
|
|
|
|
having to being root when building
|
|
|
|
|
|
|
|
* Mon Nov 25 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- changed default build option for IDLED to off
|
|
|
|
- included some useful info in README.*
|
|
|
|
|
|
|
|
* Thu Nov 21 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added build time option for IDLED, thank you Roland Pope
|
|
|
|
|
|
|
|
* Tue Nov 19 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- fixed spec to really use fdatasync patch
|
|
|
|
- added createonpost patch
|
|
|
|
|
|
|
|
* Thu Nov 14 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.10
|
|
|
|
- build without IPv6 support by default
|
|
|
|
|
|
|
|
* Tue Nov 12 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- fixed db detection in .spec
|
|
|
|
|
|
|
|
* Mon Oct 21 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- updated cvt_cyrusdb_all script
|
|
|
|
|
|
|
|
* Fri Oct 18 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- added fdatasync patch
|
|
|
|
|
|
|
|
* Thu Oct 03 2002 Simon Matter <simon.matter@invoca.ch>
|
|
|
|
- add RPM version 4.1 compatibility, which means remove installed
|
|
|
|
but not packaged files
|
|
|
|
|
|
|
|
* Wed Sep 18 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- added auto db converting functionality
|
|
|
|
- changed default for MBOXLIST_DB and SEEN_DB to skiplist
|
|
|
|
|
|
|
|
* Mon Sep 16 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- remove creation of cyrus user at build time
|
|
|
|
- added scripts from ftp://kalamazoolinux.org/pub/projects/awilliam/cyrus/
|
|
|
|
|
|
|
|
* Mon Sep 02 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.9
|
|
|
|
|
|
|
|
* Fri Aug 30 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- included extra ident string
|
|
|
|
|
|
|
|
* Thu Aug 29 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- modified path in deliver-wrapper, thank you Richard L. Phipps
|
|
|
|
- added RedHat 2.1AS support to the perlhack detection
|
|
|
|
- added build time option to force syncronous updates on ext3
|
|
|
|
|
|
|
|
* Wed Aug 28 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- added updated IPv6 patch from Hajimu UMEMOTO
|
|
|
|
|
|
|
|
* Wed Aug 28 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.8
|
|
|
|
|
|
|
|
* Thu Aug 22 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- included IPv6 patch from Hajimu UMEMOTO
|
|
|
|
|
|
|
|
* Wed Aug 21 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.7 because of wrong version info
|
|
|
|
|
|
|
|
* Wed Aug 21 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.6
|
|
|
|
|
|
|
|
* Mon Aug 19 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- change db version detection, thank you Chris for reporting
|
|
|
|
|
|
|
|
* Tue Aug 13 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- fixed autoconf detection
|
|
|
|
|
|
|
|
* Mon Aug 12 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- included support for different autoconf versions
|
|
|
|
- modified the perl build and install process
|
|
|
|
- made some .spec changes to build on RedHat 7.x and limbo
|
|
|
|
|
|
|
|
* Fri Aug 09 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- included sieve matching patch
|
|
|
|
|
|
|
|
* Thu Jun 27 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- fixed %post script where %F was expanded to file.file
|
|
|
|
|
|
|
|
* Wed Jun 26 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- fixed missing man page
|
|
|
|
|
|
|
|
* Tue Jun 25 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.5
|
|
|
|
|
|
|
|
* Mon Jun 24 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- added compile time parameters to configure the package based on
|
|
|
|
the idea from Luca Olivetti <luca@olivetti.cjb.net>
|
|
|
|
- make deliver-wrapper a compile time option
|
|
|
|
|
|
|
|
* Fri May 02 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.4
|
|
|
|
|
|
|
|
* Mon Apr 22 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- small initscript fix
|
|
|
|
|
|
|
|
* Fri Mar 08 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.3
|
|
|
|
- removed some stuff that was cleaned up in the sources
|
|
|
|
- added compile time options for db backends
|
|
|
|
|
|
|
|
* Wed Mar 06 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- removed requires perl-File-Temp for utils package, it's in the RedHat
|
|
|
|
perl RPM now
|
|
|
|
|
|
|
|
* Fri Feb 22 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- removed deliverdb/db
|
|
|
|
|
|
|
|
* Wed Feb 20 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.2
|
|
|
|
|
|
|
|
* Mon Feb 11 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- changed sasl_mech_list: PLAIN in /etc/imapd.conf
|
|
|
|
- added sieve to /etc/pam.d
|
|
|
|
|
|
|
|
* Fri Feb 08 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- added requires perl-File-Temp for utils package
|
|
|
|
|
|
|
|
* Wed Feb 06 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- added some %dir flags
|
|
|
|
- removed /usr/lib/sasl/Cyrus.conf
|
|
|
|
- added conf templates
|
|
|
|
- build time option for usage of saslauth group
|
|
|
|
|
|
|
|
* Tue Feb 05 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- upgraded to cyrus-imapd 2.1.1
|
|
|
|
- dependency of cyrus-sasl >= 2.1.0-1
|
|
|
|
|
|
|
|
* Sun Feb 03 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- saslauth group is only deleted on uninstall if there is no other
|
|
|
|
member in this group
|
|
|
|
|
|
|
|
* Sat Feb 02 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- changed start/stop level in init file
|
|
|
|
|
|
|
|
* Tue Jan 29 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- dependency of cyrus-sasl >= 1.5.24-22
|
|
|
|
- dotstuffing patch for sendmail calls made by sieve for outgoing
|
|
|
|
mails
|
|
|
|
- patch for ability to force ipurge to traverse personal folders
|
|
|
|
|
|
|
|
* Mon Jan 28 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- minor spec file changes
|
|
|
|
|
|
|
|
* Sat Jan 19 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- changed default auth to pam
|
|
|
|
- remove several %dir from %files sections
|
|
|
|
- change from /usr/lib/cyrus -> /usr/libexec/cyrus
|
|
|
|
- rename source files to something like cyrus...
|
|
|
|
- added rehash tool
|
|
|
|
- changed to hashed spool
|
|
|
|
|
|
|
|
* Fri Jan 18 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- fixed init script
|
|
|
|
- fixed %post section in spec
|
|
|
|
|
|
|
|
* Thu Jan 17 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- ready for first build
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Simon Matter <simix@datacomm.ch>
|
|
|
|
- initial package, with help from other packages out there
|