2017-05-22 16:59:16 +00:00
|
|
|
%define scmt(l:) %(c=%1; echo ${c:0:%{-l:%{-l*}}%{!-l:7}})
|
|
|
|
|
2017-05-30 19:22:54 +00:00
|
|
|
# Cassandane doesn't have releases often, but it receives constant development.
|
2017-06-27 15:31:15 +00:00
|
|
|
# This was fetched on 20170622
|
|
|
|
%global cmt1 6d33978ebb0055be41a5cb8e52958e100401bf26
|
2017-05-26 16:50:15 +00:00
|
|
|
|
2017-05-25 16:19:25 +00:00
|
|
|
# Cassandane run by default. '--without cassandane' disables.
|
|
|
|
%bcond_without cassandane
|
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
Name: cyrus-imapd
|
2017-06-22 15:44:44 +00:00
|
|
|
Version: 3.0.2
|
2017-07-03 23:15:57 +00:00
|
|
|
Release: 5%{?dist}
|
2006-07-27 10:41:04 +00:00
|
|
|
|
2016-11-24 06:00:07 +00:00
|
|
|
%define ssl_pem_file /etc/pki/%name/%name.pem
|
2009-10-29 15:50:04 +00:00
|
|
|
|
2017-05-22 21:14:19 +00:00
|
|
|
# UID/GID 76 have long been reserved for Cyrus
|
2006-02-28 20:04:01 +00:00
|
|
|
%define uid 76
|
|
|
|
%define gid 76
|
2009-10-29 15:50:04 +00:00
|
|
|
|
2016-11-22 23:50:27 +00:00
|
|
|
%define cyrususer cyrus
|
|
|
|
%define cyrusgroup mail
|
2017-05-22 19:22:00 +00:00
|
|
|
%define cyrexecdir %_libexecdir/%name
|
2009-10-29 15:50:04 +00:00
|
|
|
|
2017-05-22 16:59:16 +00:00
|
|
|
Summary: A high-performance email, contacts and calendar server
|
2009-11-26 13:32:56 +00:00
|
|
|
License: BSD
|
2010-10-12 08:38:27 +00:00
|
|
|
URL: http://www.cyrusimap.org/
|
2016-11-24 06:00:07 +00:00
|
|
|
Source0: http://www.cyrusimap.org/releases/%name-%version.tar.gz
|
2017-05-22 16:59:16 +00:00
|
|
|
|
2017-06-15 23:17:48 +00:00
|
|
|
# Adapt a timeout to handle our slower builders
|
2017-06-22 15:44:44 +00:00
|
|
|
Patch0: patch-cyrus-testsuite-timeout
|
2017-06-15 23:17:48 +00:00
|
|
|
|
|
|
|
# Upstream https://github.com/cyrusimap/cyrus-imapd/issues/2026
|
2017-06-22 15:44:44 +00:00
|
|
|
Patch1: patch-cyrus-managesieve-linking
|
|
|
|
|
|
|
|
# Upstream https://github.com/cyrusimap/cyrus-imapd/issues/2039
|
|
|
|
Patch2: patch-cyrus-pkgconfig-file
|
2017-05-26 17:39:43 +00:00
|
|
|
|
2017-06-28 01:20:43 +00:00
|
|
|
# Fedora-specific patch for the default configuration file
|
|
|
|
Patch3: patch-cyrus-default-configs
|
2017-06-21 00:48:35 +00:00
|
|
|
|
2017-07-03 23:15:57 +00:00
|
|
|
# Fix bugs in jmap turned up by Cassandane
|
|
|
|
# https://github.com/cyrusimap/cyrus-imapd/issues/2042
|
|
|
|
Patch4: patch-cyrus-jmapcalendar
|
|
|
|
Patch5: patch-cyrus-jmapcalendar2
|
|
|
|
|
2017-05-22 22:47:36 +00:00
|
|
|
Source10: cyrus-imapd.logrotate
|
2017-05-22 22:48:11 +00:00
|
|
|
Source11: cyrus-imapd.pam-config
|
2017-05-22 22:49:48 +00:00
|
|
|
Source12: cyrus-imapd.sysconfig
|
2017-05-22 22:50:21 +00:00
|
|
|
Source13: cyrus-imapd.cvt_cyrusdb_all
|
2017-05-22 22:50:49 +00:00
|
|
|
Source14: cyrus-imapd.magic
|
2017-05-22 21:14:19 +00:00
|
|
|
# XXX A systemd timer would probably be better
|
2017-05-22 22:51:28 +00:00
|
|
|
Source15: cyrus-imapd.cron-daily
|
2017-05-22 22:52:07 +00:00
|
|
|
Source16: README.rpm
|
2017-05-22 22:52:35 +00:00
|
|
|
Source17: cyrus-imapd.service
|
2017-05-22 22:53:02 +00:00
|
|
|
Source18: cyrus-imapd-init.service
|
2017-06-28 01:20:43 +00:00
|
|
|
Source19: cyrus-imapd.tmpfiles.conf
|
2015-10-01 16:26:48 +00:00
|
|
|
|
2017-05-23 17:18:54 +00:00
|
|
|
# Source files for running the Cassandane test suite at build time.
|
2017-05-25 15:32:04 +00:00
|
|
|
Source80: https://github.com/cyrusimap/cassandane/archive/%cmt1.tar.gz#/cassandane-%{scmt %cmt1}.tar.gz
|
|
|
|
|
2017-05-23 17:18:54 +00:00
|
|
|
# The CPAN version, and hence the Fedora-packaged version, of Net::CalDAVTalk
|
|
|
|
# doesn't include the testdata directory. Cassandane can use it for testing
|
|
|
|
# calendaring, so it's included here.
|
|
|
|
# This archive was generated by running:
|
|
|
|
# svn export https://github.com/brong/Net-CalDAVTalk/trunk/testdata
|
|
|
|
# tar cfz cassandane-testdata-20170523.tar.gz testdata
|
2017-05-25 15:32:04 +00:00
|
|
|
Source81: cassandane-testdata-20170523.tar.gz
|
2017-05-23 17:18:54 +00:00
|
|
|
|
|
|
|
# A template config file for cassandane; we will substitute in varions values.
|
2017-05-25 15:32:04 +00:00
|
|
|
Source82: cassandane.ini
|
|
|
|
|
|
|
|
# Basically everything in the test suite wants to use syslog. That's not so
|
|
|
|
# easy in mock, so here's an LD_PRELOAD to redirect syslog calls to stderr.
|
|
|
|
Source83: cassandane-redirect-syslog.c
|
|
|
|
|
|
|
|
# These are source files and not patches because you can't use autosetup to
|
|
|
|
# apply patches to secondary unpacked source files.
|
2017-06-15 23:17:48 +00:00
|
|
|
|
|
|
|
# Prevent cassandane from trying to syslog things
|
2017-05-25 15:32:04 +00:00
|
|
|
Source91: patch-cassandane-no-syslog
|
2017-06-15 23:17:48 +00:00
|
|
|
|
|
|
|
# Tell the annotator script to run as the current user/group
|
|
|
|
# Upstream ticket https://github.com/cyrusimap/cyrus-imapd/issues/1995
|
2017-05-26 16:50:15 +00:00
|
|
|
Source92: patch-cassandane-fix-annotator
|
2017-05-23 17:18:54 +00:00
|
|
|
|
2017-05-22 20:54:46 +00:00
|
|
|
# Dependency notes:
|
|
|
|
# * clamav-devel and mariadb-devel removed because they both depend on
|
|
|
|
# compat-openssl.
|
|
|
|
# * As of 2017-05-22, libical 2.1 has not actually been released. The
|
|
|
|
# configure script will always produce the following message:
|
|
|
|
# configure: Your version of libical can not support patching iCalendar
|
|
|
|
# objects. Consider upgrading to libical >= 2.1
|
|
|
|
|
2017-05-25 15:32:04 +00:00
|
|
|
BuildRequires: autoconf automake bison flex gcc gcc-c++ git groff libtool
|
2016-11-24 04:18:05 +00:00
|
|
|
BuildRequires: pkgconfig systemd tcp_wrappers transfig
|
2016-11-22 23:59:47 +00:00
|
|
|
|
2017-05-25 15:32:04 +00:00
|
|
|
BuildRequires: perl-devel perl-generators perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Pod::Html)
|
2017-05-22 16:59:16 +00:00
|
|
|
|
2017-06-05 18:33:11 +00:00
|
|
|
BuildRequires: CUnit-devel cyrus-sasl-devel glib2-devel jansson-devel
|
|
|
|
BuildRequires: krb5-devel libical-devel libnghttp2-devel libxml2-devel
|
|
|
|
BuildRequires: net-snmp-devel openldap-devel openssl-devel postgresql-devel
|
|
|
|
BuildRequires: shapelib-devel sqlite-devel xapian-core-devel
|
2017-05-22 16:59:16 +00:00
|
|
|
|
2017-05-25 15:32:04 +00:00
|
|
|
# Miscellaneous modules needed for 'make check' to function:
|
2017-05-22 20:54:46 +00:00
|
|
|
BuildRequires: cyrus-sasl-plain cyrus-sasl-md5
|
2017-05-23 17:18:54 +00:00
|
|
|
|
2017-05-25 16:19:25 +00:00
|
|
|
%if %{with cassandane}
|
2017-05-26 16:50:15 +00:00
|
|
|
# Additional packages required for cassandane to function
|
|
|
|
BuildRequires: imaptest net-tools words
|
2017-05-22 16:59:16 +00:00
|
|
|
BuildRequires: perl(AnyEvent) perl(BSD::Resource) perl(Clone)
|
|
|
|
BuildRequires: perl(File::chdir) perl(IO::Socket::INET6) perl(Mail::IMAPTalk)
|
|
|
|
BuildRequires: perl(Config::IniFiles) perl(Mail::JMAPTalk) perl(Math::Int64)
|
|
|
|
BuildRequires: perl(Net::CalDAVTalk) perl(Net::CardDAVTalk)
|
2017-05-26 16:50:15 +00:00
|
|
|
BuildRequires: perl(Net::Server) perl(News::NNTPClient) perl(Path::Tiny)
|
|
|
|
BuildRequires: perl(String::CRC32) perl(Sys::Syslog)
|
|
|
|
BuildRequires: perl(Test::Unit::TestRunner) perl(Time::HiRes)
|
2017-05-25 15:32:04 +00:00
|
|
|
BuildRequires: perl(Unix::Syslog) perl(XML::DOM) perl(XML::Generator)
|
2017-05-26 16:50:15 +00:00
|
|
|
|
|
|
|
# These were only for JMAP-Tester
|
|
|
|
# perl(Moo), perl(Moose), perl(MooseX::Role::Parameterized) perl(Throwable), perl(Safe::Isa)
|
2017-05-25 16:19:25 +00:00
|
|
|
%endif
|
2009-10-29 15:50:04 +00:00
|
|
|
|
2016-11-24 00:07:21 +00:00
|
|
|
Requires(pre): shadow-utils
|
2016-11-24 06:02:33 +00:00
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
2016-11-24 04:18:05 +00:00
|
|
|
%{?systemd_requires}
|
2009-10-29 15:50:04 +00:00
|
|
|
|
2016-11-24 06:00:07 +00:00
|
|
|
Requires: %name-utils = %version-%release
|
2016-11-24 06:02:33 +00:00
|
|
|
Recommends: %name-vzic = %version-%release
|
2016-12-21 22:01:39 +00:00
|
|
|
Requires: file libdb-utils sscg
|
2008-03-18 15:38:01 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2005-04-15 20:24:15 +00:00
|
|
|
|
2011-08-18 13:51:13 +00:00
|
|
|
%{?perl_default_filter}
|
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
%description
|
2017-05-22 16:59:16 +00:00
|
|
|
The Cyrus IMAP (Internet Message Access Protocol) server provides access to
|
|
|
|
personal mail, system-wide bulletin boards, news-feeds, calendar and contacts
|
|
|
|
through the IMAP, JMAP, NNTP, CalDAV and CardDAV protocols. The Cyrus IMAP
|
|
|
|
server is a scalable enterprise groupware system designed for use from small to
|
|
|
|
large enterprise environments using technologies based on well-established Open
|
|
|
|
Standards.
|
|
|
|
|
|
|
|
A full Cyrus IMAP implementation allows a seamless mail and bulletin board
|
|
|
|
environment to be set up across one or more nodes. It differs from other IMAP
|
|
|
|
server implementations in that it is run on sealed nodes, where users are not
|
|
|
|
normally permitted to log in. The mailbox database is stored in parts of the
|
|
|
|
filesystem that are private to the Cyrus IMAP system. All user access to mail
|
|
|
|
is through software using the IMAP, IMAPS, JMAP, POP3, POP3S, KPOP, CalDAV
|
|
|
|
and/or CardDAV protocols.
|
|
|
|
|
|
|
|
The private mailbox database design gives the Cyrus IMAP 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.
|
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
|
2017-05-22 22:17:04 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Cyrus IMAP server development files
|
2017-05-26 16:50:15 +00:00
|
|
|
Requires: %name%{?_isa} = %version-%release
|
2017-05-22 22:17:04 +00:00
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
2017-05-26 16:50:15 +00:00
|
|
|
The %name-devel package contains header files and libraries
|
2017-05-22 22:17:04 +00:00
|
|
|
necessary for developing applications which use the imclient library.
|
|
|
|
|
|
|
|
|
|
|
|
%package doc-extra
|
|
|
|
Summary: Extra documentation for the Cyrus IMAP server
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc-extra
|
|
|
|
This package contains the HTML documentation for the Cyrus IMAP server, as well
|
|
|
|
as some legacy and internal documentation not useful for normal operation of
|
|
|
|
the server.
|
|
|
|
|
|
|
|
|
|
|
|
%package utils
|
|
|
|
Summary: Cyrus IMAP server administration utilities
|
|
|
|
|
|
|
|
%description utils
|
|
|
|
The cyrus-imapd-utils package contains administrative tools for the
|
|
|
|
Cyrus IMAP server. It can be installed on systems other than the
|
|
|
|
one running the server.
|
|
|
|
|
|
|
|
|
2016-11-24 06:00:07 +00:00
|
|
|
%package vzic
|
|
|
|
Summary: Utilities to convert timezone database files
|
|
|
|
License: GPLv2+
|
|
|
|
Requires: %name = %version-%release
|
|
|
|
# Contains a lightly forked version of vzic. This seems to have been bundled
|
2016-11-24 06:02:33 +00:00
|
|
|
# into various other things and it's old, so I'm not sure where the upstream
|
|
|
|
# is. Here are a couple of possible upstreams:
|
2016-11-24 06:00:07 +00:00
|
|
|
# https://github.com/libical/vzic
|
|
|
|
# https://sourceforge.net/projects/vzic/
|
|
|
|
# It is probably a good idea to split it out and package it separately, but the
|
|
|
|
# code here definitely differs from that at the second link above.
|
|
|
|
Provides: bundled(vzic) = 1.3
|
|
|
|
|
|
|
|
%description vzic
|
|
|
|
vzic is a program to convert the Olson timezone database files into VTIMEZONE
|
|
|
|
files compatible with the iCalendar specification (RFC2445).
|
|
|
|
|
|
|
|
This package contains a forked version of vzic for internal use by the Cyrus
|
|
|
|
IMAP server.
|
|
|
|
|
2017-05-23 17:18:54 +00:00
|
|
|
# Build dir is either $PWD, $(pwd) or %
|
2016-11-24 06:00:07 +00:00
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
%prep
|
2017-05-25 15:32:04 +00:00
|
|
|
%autosetup -p1 -S git
|
2017-05-31 22:06:29 +00:00
|
|
|
echo %version > VERSION
|
2017-05-22 16:59:16 +00:00
|
|
|
|
2017-05-23 17:18:54 +00:00
|
|
|
# Install the Fedora-specific documentation file
|
2017-05-22 22:52:07 +00:00
|
|
|
install -m 644 %SOURCE16 doc/
|
2006-07-27 10:41:04 +00:00
|
|
|
|
2017-05-23 17:18:54 +00:00
|
|
|
# Unpack and prepare cassandane
|
2017-05-25 15:32:04 +00:00
|
|
|
tar xf %SOURCE80
|
2017-05-23 17:18:54 +00:00
|
|
|
ln -s cassandane-%cmt1 cassandane
|
|
|
|
pushd cassandane
|
|
|
|
mkdir work
|
2017-05-25 15:32:04 +00:00
|
|
|
tar xf %SOURCE81
|
2017-05-23 17:18:54 +00:00
|
|
|
|
2017-05-25 15:32:04 +00:00
|
|
|
patch -p1 < %SOURCE91
|
2017-05-26 16:50:15 +00:00
|
|
|
patch -p1 < %SOURCE92
|
2017-05-25 15:32:04 +00:00
|
|
|
cp %SOURCE82 cassandane.ini
|
2017-05-25 16:27:34 +00:00
|
|
|
# RF rpm-buildroot-usage
|
2017-05-23 17:18:54 +00:00
|
|
|
sed -i \
|
2017-05-25 15:32:04 +00:00
|
|
|
-e "s!CASSDIR!$(pwd)!" \
|
2017-05-23 17:18:54 +00:00
|
|
|
-e "s!BUILDROOT!%buildroot!" \
|
|
|
|
cassandane.ini
|
2017-05-25 15:32:04 +00:00
|
|
|
|
|
|
|
cp %SOURCE83 redirect-syslog.c
|
2017-05-23 17:18:54 +00:00
|
|
|
popd
|
2017-05-22 22:17:04 +00:00
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
%build
|
2017-05-22 16:59:16 +00:00
|
|
|
# This is the test suite, which doesn't build much but does verify its dependencies.
|
|
|
|
# If this is done after the configure call, the one thing it does build fails
|
|
|
|
# because the configure macro puts some hardening flags into the environment.
|
2017-05-25 16:19:25 +00:00
|
|
|
%if %{with cassandane}
|
2017-05-22 16:59:16 +00:00
|
|
|
pushd cassandane
|
|
|
|
make
|
|
|
|
popd
|
2017-05-25 16:19:25 +00:00
|
|
|
%endif
|
2017-05-22 16:59:16 +00:00
|
|
|
|
|
|
|
# Options not enabled:
|
|
|
|
# --enable-objectstore
|
|
|
|
# It's experimental, and it doesn't appear that either openio or caringo are
|
|
|
|
# in Fedora.
|
2017-05-23 17:18:54 +00:00
|
|
|
# --with-mysql
|
|
|
|
# libmysqlclient doesn't support openssl 1.1 and you can't two versions of
|
|
|
|
# openssl linked into the same program.
|
2017-05-22 16:59:16 +00:00
|
|
|
|
2017-05-23 17:18:54 +00:00
|
|
|
# --with-cyrus-prefix and --with-service-path went away; use --with-libexecdir=
|
|
|
|
# instead.
|
2017-05-22 16:59:16 +00:00
|
|
|
|
2017-06-22 15:44:44 +00:00
|
|
|
#autoreconf -vi
|
2017-05-26 16:50:15 +00:00
|
|
|
|
2017-05-22 19:22:00 +00:00
|
|
|
%configure \
|
2017-05-22 16:59:16 +00:00
|
|
|
--disable-silent-rules \
|
|
|
|
\
|
2017-05-22 19:22:00 +00:00
|
|
|
--libexecdir=%cyrexecdir \
|
2017-05-25 15:32:04 +00:00
|
|
|
--with-extraident="%release Fedora" \
|
2016-11-22 23:50:27 +00:00
|
|
|
--with-krbimpl=mit \
|
|
|
|
--with-ldap=/usr \
|
2017-05-22 16:59:16 +00:00
|
|
|
--with-pgsql \
|
2016-11-23 01:24:55 +00:00
|
|
|
--with-perl=%__perl \
|
2016-11-22 23:50:27 +00:00
|
|
|
--with-snmp \
|
|
|
|
--with-syslogfacility=MAIL \
|
2017-05-22 16:59:16 +00:00
|
|
|
\
|
2016-11-22 23:50:27 +00:00
|
|
|
--enable-autocreate \
|
2017-05-22 16:59:16 +00:00
|
|
|
--enable-backup \
|
|
|
|
--enable-calalarmd \
|
2016-11-22 23:50:27 +00:00
|
|
|
--enable-http \
|
|
|
|
--enable-idled \
|
2017-05-22 16:59:16 +00:00
|
|
|
--enable-jmap \
|
2016-11-22 23:50:27 +00:00
|
|
|
--enable-murder \
|
|
|
|
--enable-nntp \
|
|
|
|
--enable-replication \
|
|
|
|
--enable-unit-tests \
|
2017-05-22 16:59:16 +00:00
|
|
|
--enable-xapian \
|
|
|
|
#
|
2016-11-22 23:50:27 +00:00
|
|
|
|
2016-11-23 23:59:00 +00:00
|
|
|
# The configure script will set up the Perl makefiles, but not in the way
|
|
|
|
# Fedora needs them. So regenerate them manually.
|
|
|
|
for i in perl/annotator perl/imap perl/sieve/managesieve; do
|
|
|
|
pushd $i
|
2017-06-15 23:17:48 +00:00
|
|
|
rm -f Makefile
|
2016-11-23 23:59:00 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor # NO_PERLOCAL=1 NO_PACKLIST=1
|
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
2016-11-22 23:50:27 +00:00
|
|
|
%make_build
|
|
|
|
|
2016-11-23 01:24:55 +00:00
|
|
|
# This isn't built by default, but this package has always installed it.
|
2016-11-23 07:31:03 +00:00
|
|
|
make notifyd/notifytest
|
|
|
|
|
2016-11-23 23:59:00 +00:00
|
|
|
# Also not built by default, but the tools are needed for serving timezone info
|
2016-11-23 07:31:03 +00:00
|
|
|
make -C tools/vzic
|
2016-11-23 01:24:55 +00:00
|
|
|
|
2017-05-22 16:59:16 +00:00
|
|
|
|
2009-11-26 13:32:56 +00:00
|
|
|
%install
|
2016-11-23 01:24:55 +00:00
|
|
|
make install DESTDIR=%buildroot
|
|
|
|
|
|
|
|
# Create directories
|
|
|
|
install -d \
|
|
|
|
%buildroot/etc/{rc.d/init.d,logrotate.d,pam.d,sysconfig,cron.daily} \
|
|
|
|
%buildroot/%_libdir/sasl \
|
|
|
|
%buildroot/var/spool/imap \
|
|
|
|
%buildroot/var/lib/imap/{user,quota,proc,log,msg,socket,db,sieve,sync,md5,rpm,backup,meta} \
|
|
|
|
%buildroot/var/lib/imap/ptclient \
|
|
|
|
%buildroot/%_datadir/%name/rpm \
|
2017-05-22 16:59:16 +00:00
|
|
|
%buildroot/%cyrexecdir \
|
2016-11-23 01:24:55 +00:00
|
|
|
%buildroot/etc/pki/%name
|
|
|
|
|
2017-06-28 01:20:43 +00:00
|
|
|
install -d -m 0750 \
|
|
|
|
%buildroot/run/cyrus \
|
|
|
|
%buildroot/run/cyrus/socket
|
|
|
|
|
|
|
|
install -d -m 0700 \
|
|
|
|
%buildroot/run/cyrus/db \
|
|
|
|
%buildroot/run/cyrus/lock \
|
|
|
|
%buildroot/run/cyrus/proc
|
|
|
|
|
2017-06-22 15:44:44 +00:00
|
|
|
# Some tools which aren't installed by the makefile which we have always installed
|
2016-11-23 01:24:55 +00:00
|
|
|
install -m 755 notifyd/notifytest %buildroot%_bindir/
|
|
|
|
install -m 755 perl/imap/cyradm %buildroot%_bindir/
|
2017-06-22 15:44:44 +00:00
|
|
|
for i in arbitronsort.pl masssievec mkimap mknewsgroups rehash translatesieve; do
|
2016-11-23 07:31:03 +00:00
|
|
|
install -m 755 tools/$i %buildroot/%cyrexecdir/
|
|
|
|
done
|
2005-04-15 20:24:15 +00:00
|
|
|
|
2016-11-23 07:31:03 +00:00
|
|
|
for i in vzic vzic-test.pl vzic-merge.pl vzic-dump.pl; do
|
|
|
|
install -m 755 tools/vzic/$i %buildroot/%cyrexecdir/
|
2005-04-15 20:24:15 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
# Install additional files
|
2017-05-22 22:49:21 +00:00
|
|
|
install -p -m 644 %SOURCE10 %buildroot/etc/logrotate.d/%name
|
2017-05-22 22:48:11 +00:00
|
|
|
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/pop
|
|
|
|
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/imap
|
|
|
|
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/sieve
|
|
|
|
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/mupdate
|
|
|
|
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/lmtp
|
|
|
|
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/nntp
|
|
|
|
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/csync
|
2017-05-22 22:49:48 +00:00
|
|
|
install -p -m 644 %SOURCE12 %buildroot/etc/sysconfig/%name
|
2017-05-26 16:50:15 +00:00
|
|
|
install -p -m 755 %SOURCE13 %buildroot/%cyrexecdir/cvt_cyrusdb_all
|
|
|
|
install -p -m 644 %SOURCE14 %buildroot/%_datadir/%name/rpm/magic
|
2017-05-22 22:51:28 +00:00
|
|
|
install -p -m 755 %SOURCE15 %buildroot/etc/cron.daily/%name
|
2017-05-22 16:59:16 +00:00
|
|
|
install -p -m 644 doc/examples/cyrus_conf/prefork.conf %buildroot/etc/cyrus.conf
|
|
|
|
install -p -m 644 doc/examples/imapd_conf/normal.conf %buildroot/etc/imapd.conf
|
2017-05-26 16:50:15 +00:00
|
|
|
install -p -D -m 644 %SOURCE17 %buildroot/%_unitdir/cyrus-imapd.service
|
|
|
|
install -p -D -m 644 %SOURCE18 %buildroot/%_unitdir/cyrus-imapd-init.service
|
2017-06-28 01:20:43 +00:00
|
|
|
install -p -D -m 644 %SOURCE19 %buildroot/%_tmpfilesdir/cyrus-imapd.conf
|
2017-05-22 16:59:16 +00:00
|
|
|
|
2009-11-26 13:32:56 +00:00
|
|
|
# Cleanup of doc dir
|
2010-06-08 11:54:59 +00:00
|
|
|
find doc perl -name CVS -type d -prune -exec rm -rf {} \;
|
|
|
|
find doc perl -name .cvsignore -type f -exec rm -f {} \;
|
|
|
|
rm -f doc/Makefile.dist*
|
|
|
|
rm -f doc/text/htmlstrip.c
|
|
|
|
rm -f doc/text/Makefile
|
|
|
|
rm -rf doc/man
|
2009-11-26 13:32:56 +00:00
|
|
|
|
|
|
|
# fix permissions on perl .so files
|
2017-05-22 16:59:16 +00:00
|
|
|
find %buildroot/%_libdir/perl5/ -type f -name "*.so" -exec chmod 755 {} \;
|
2008-03-19 19:13:26 +00:00
|
|
|
|
2006-02-28 20:04:01 +00:00
|
|
|
# Generate db config file
|
2017-05-22 19:22:00 +00:00
|
|
|
# XXX Is this still necessary?
|
2006-02-28 20:04:01 +00:00
|
|
|
( grep '^{' lib/imapoptions | grep _db | cut -d'"' -f 2,4 | \
|
|
|
|
sed -e 's/^ *//' -e 's/-nosync//' -e 's/ *$//' -e 's/"/=/'
|
2017-05-22 17:00:25 +00:00
|
|
|
echo sieve_version=2.2.3 ) | sort > %buildroot/%_datadir/%name/rpm/db.cfg
|
2006-02-28 20:04:01 +00:00
|
|
|
|
2005-04-18 22:52:24 +00:00
|
|
|
# create the ghost pem file
|
2016-11-23 07:31:03 +00:00
|
|
|
touch %buildroot/%ssl_pem_file
|
2005-04-18 22:52:24 +00:00
|
|
|
|
2017-05-26 16:50:15 +00:00
|
|
|
# Cyrus has various files with extremely conflicting names. Some of these are
|
2017-05-22 19:22:00 +00:00
|
|
|
# not unexpected ("imapd" itself) but some like "httpd" are rather surprising.
|
2005-04-15 20:24:15 +00:00
|
|
|
|
2017-05-22 19:22:00 +00:00
|
|
|
# Where there are only conflicting manpages, they have been moved to a "8cyrus"
|
|
|
|
# section. If the binary was renamed, then the manpages are renamed to match
|
|
|
|
# but a internal replacement has not been done. This may lead to more
|
|
|
|
# confusion but involves modifying fewer upstream files.
|
|
|
|
|
|
|
|
# Actual binary conflicts
|
2007-10-15 16:31:43 +00:00
|
|
|
# Rename 'fetchnews' binary and manpage to avoid clash with leafnode
|
2017-06-15 23:17:48 +00:00
|
|
|
mv %buildroot/%_sbindir/fetchnews %buildroot/%_sbindir/cyr_fetchnews
|
2017-05-22 19:22:00 +00:00
|
|
|
mv %buildroot/%_mandir/man8/fetchnews.8 %buildroot/%_mandir/man8/cyr_fetchnews.8
|
|
|
|
|
2017-06-15 23:17:48 +00:00
|
|
|
# Fix conflict with dump
|
|
|
|
mv %buildroot/%_sbindir/restore %buildroot/%_sbindir/cyr_restore
|
|
|
|
mv %buildroot/%_mandir/man8/restore.8 %buildroot/%_mandir/man8/cyr_restore.8
|
|
|
|
|
|
|
|
# Fix conceptual conflict with quota
|
|
|
|
mv %buildroot/%_sbindir/quota %buildroot/%_sbindir/cyr_quota
|
|
|
|
mv %buildroot/%_mandir/man8/quota.8 %buildroot/%_mandir/man8/cyr_quota.8
|
|
|
|
|
2017-05-22 19:22:00 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
# Rename 'master' manpage
|
|
|
|
mv %buildroot/%_mandir/man8/master.8 %buildroot/%_mandir/man8/master.8cyrus
|
2005-04-15 20:24:15 +00:00
|
|
|
|
2017-01-10 01:06:08 +00:00
|
|
|
# Rename 'httpd' manpage to avoid clash with Apache
|
2017-06-28 01:20:43 +00:00
|
|
|
mv %buildroot/%_mandir/man8/httpd.8 %buildroot/%_mandir/man8/httpd.8cyrus
|
2017-01-10 01:06:08 +00:00
|
|
|
|
2017-06-21 00:00:23 +00:00
|
|
|
# Old cyrus packages used to keep some executables in /usr/lib/cyrus-imapd
|
|
|
|
# RF hardcoded-library-path in %%buildroot/usr/lib/cyrus-imapd
|
|
|
|
mkdir %buildroot/usr/lib/cyrus-imapd
|
|
|
|
pushd %buildroot/usr/lib/cyrus-imapd
|
|
|
|
ln -s ../../sbin/deliver
|
|
|
|
popd
|
|
|
|
|
2009-11-24 16:23:25 +00:00
|
|
|
#remove executable bit from docs
|
|
|
|
for ddir in doc perl/imap/examples
|
|
|
|
do
|
2017-05-31 22:06:29 +00:00
|
|
|
find $ddir -type f -exec chmod -x {} \;
|
2009-11-24 16:23:25 +00:00
|
|
|
done
|
|
|
|
|
2016-11-24 00:03:38 +00:00
|
|
|
# Remove pointless libtool archives
|
|
|
|
rm %buildroot/%_libdir/*.la
|
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
# Remove installed but not packaged files
|
2016-11-23 23:59:00 +00:00
|
|
|
rm %buildroot/%cyrexecdir/pop3proxyd
|
|
|
|
find %buildroot -name "perllocal.pod" -exec rm {} \;
|
|
|
|
find %buildroot -name ".packlist" -exec rm {} \;
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
|
2017-05-22 19:22:00 +00:00
|
|
|
%check
|
2017-05-25 15:32:04 +00:00
|
|
|
make %{?_smp_mflags} check || exit 1
|
2017-06-02 21:50:48 +00:00
|
|
|
|
|
|
|
%if %{without cassandane}
|
|
|
|
exit 0
|
2017-06-01 01:25:21 +00:00
|
|
|
%endif
|
2017-05-31 22:06:29 +00:00
|
|
|
|
2017-06-06 21:32:36 +00:00
|
|
|
%ifarch s390x
|
2017-07-03 23:15:57 +00:00
|
|
|
# Uncomment the exit if s390x is being too slow to get a useful build out.
|
|
|
|
#exit 0
|
2017-06-06 21:32:36 +00:00
|
|
|
%endif
|
|
|
|
|
2017-05-26 16:50:15 +00:00
|
|
|
# Run the Cassandane test suite. This will exhaustively test the various
|
|
|
|
# server components, but running it in a mock chroot is rather an exercise.
|
2017-05-23 17:18:54 +00:00
|
|
|
pushd cassandane
|
2017-05-25 15:32:04 +00:00
|
|
|
|
2017-05-26 16:50:15 +00:00
|
|
|
mkdir -p imaptest/src
|
|
|
|
ln -s /usr/bin/imaptest imaptest/src
|
|
|
|
ln -s /usr/share/imaptest/tests imaptest/src
|
|
|
|
|
2017-05-25 15:32:04 +00:00
|
|
|
export LD_LIBRARY_PATH=%buildroot/%_libdir
|
2017-05-26 16:50:15 +00:00
|
|
|
export CYRUS_USER=$USER
|
|
|
|
|
2017-06-06 16:19:27 +00:00
|
|
|
# Construct the set of excluded tests to pass to Cassandane
|
|
|
|
# ---------------------------------------------------------
|
2017-05-26 16:50:15 +00:00
|
|
|
# Note that Cassandane::Test::Core must always be excluded; it can't possibly
|
2017-06-06 16:19:27 +00:00
|
|
|
# work.
|
|
|
|
# Upstream says that the Metronome tests won't be reliable on shared hardware
|
|
|
|
# and are more for testing system performance than for testing Cyrus itself.
|
|
|
|
exclude=('!Cassandane::Test::Core' '!Metronome')
|
2017-06-02 21:50:48 +00:00
|
|
|
|
2017-07-03 23:15:57 +00:00
|
|
|
# The following tests fail on all architectures.
|
2017-06-02 21:50:48 +00:00
|
|
|
tests=(
|
2017-07-03 23:15:57 +00:00
|
|
|
# Fails because our Xapian is too old for proper CJK support. 1.5 will be
|
|
|
|
# OK, but it is not yet released. The alternative is to bundle.
|
2017-06-27 15:31:15 +00:00
|
|
|
SearchFuzzy.cjk_words
|
2017-06-02 21:50:48 +00:00
|
|
|
|
2017-07-03 23:15:57 +00:00
|
|
|
# https://github.com/cyrusimap/cyrus-imapd/issues/2047
|
|
|
|
Admin.imap_admins
|
2017-06-27 19:39:38 +00:00
|
|
|
|
2017-07-03 23:15:57 +00:00
|
|
|
# https://github.com/cyrusimap/cyrus-imapd/issues/2048
|
|
|
|
JMAPCalendars.setcalendarevents_alerts
|
2017-06-02 21:50:48 +00:00
|
|
|
)
|
|
|
|
for i in ${tests[@]}; do exclude+=("!$i"); done
|
2017-06-05 22:28:41 +00:00
|
|
|
|
2017-06-15 23:17:48 +00:00
|
|
|
%if 0%{?fedora} <= 26
|
2017-07-03 23:15:57 +00:00
|
|
|
# Some F26-specific test exclusions
|
2017-06-02 21:50:48 +00:00
|
|
|
tests=(
|
2017-07-03 23:15:57 +00:00
|
|
|
# These fail because F26 libical has not been compiled with
|
|
|
|
# ICAL_ALLOW_EMPTY_PROPERTIES.
|
|
|
|
JMAPCalendars.setcalendarevents_locations
|
|
|
|
JMAPCalendars.setcalendarevents_recurrenceoverrides
|
|
|
|
|
|
|
|
# These all fail because F26 perl doesn't support quad types in unpack.
|
2017-06-02 21:50:48 +00:00
|
|
|
JMAPContacts.setcontacts_importance_later
|
|
|
|
Metadata.expunge_messages
|
|
|
|
Metadata.msg_replication_new_mas_partial_wwd
|
|
|
|
Metadata.msg_replication_new_rep
|
|
|
|
Metadata.msg_replication_new_mas
|
|
|
|
Metadata.msg_replication_exp_bot
|
|
|
|
Metadata.msg_replication_new_mas_partial_wwsw
|
|
|
|
Metadata.msg_replication_exp_mas
|
|
|
|
Metadata.msg_replication_mod_mas
|
|
|
|
Metadata.msg_replication_exp_rep
|
|
|
|
Metadata.msg_replication_mod_bot_msl
|
|
|
|
Metadata.msg_replication_new_bot_mse_gul
|
|
|
|
Metadata.msg_replication_mod_bot_msh
|
|
|
|
Metadata.msg_replication_new_bot_mse_guh
|
|
|
|
Metadata.msg_replication_mod_rep
|
|
|
|
)
|
|
|
|
for i in ${tests[@]}; do exclude+=("!$i"); done
|
2017-05-31 23:42:09 +00:00
|
|
|
%endif
|
2017-05-25 15:32:04 +00:00
|
|
|
|
2017-06-02 21:50:48 +00:00
|
|
|
# Add -vvv for too much output
|
2017-06-05 18:33:11 +00:00
|
|
|
./testrunner.pl %{?_smp_mflags} --cleanup -f pretty ${exclude[@]} 2>&1
|
2017-06-02 21:50:48 +00:00
|
|
|
|
2017-05-22 19:22:00 +00:00
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
%pre
|
2009-11-26 13:32:56 +00:00
|
|
|
# Create 'cyrus' user on target host
|
2016-11-24 04:14:45 +00:00
|
|
|
getent group saslauth >/dev/null || /usr/sbin/groupadd -g %gid -r saslauth
|
|
|
|
getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /var/lib/imap -g %cyrusgroup \
|
|
|
|
-G saslauth -s /sbin/nologin -u %uid -r %cyrususer
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
%post
|
2016-11-24 06:00:07 +00:00
|
|
|
/sbin/ldconfig
|
2012-08-21 17:26:46 +00:00
|
|
|
%systemd_post cyrus-imapd.service
|
|
|
|
|
2007-12-05 23:12:12 +00:00
|
|
|
%preun
|
2012-08-21 17:26:46 +00:00
|
|
|
%systemd_preun cyrus-imapd.service
|
2007-12-05 23:12:12 +00:00
|
|
|
|
|
|
|
%postun
|
2016-11-24 06:00:07 +00:00
|
|
|
/sbin/ldconfig
|
2012-08-21 17:26:46 +00:00
|
|
|
%systemd_postun_with_restart cyrus-imapd.service
|
2011-04-04 15:10:19 +00:00
|
|
|
|
2017-05-22 22:17:04 +00:00
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
%files
|
2016-11-23 07:31:03 +00:00
|
|
|
%license COPYING
|
2017-05-22 22:17:04 +00:00
|
|
|
%doc README.md doc/README.* doc/examples doc/text
|
2016-11-24 00:31:00 +00:00
|
|
|
|
|
|
|
%_datadir/cyrus-imapd
|
|
|
|
%_libdir/libcyrus*.so.*
|
|
|
|
%_mandir/man5/*
|
|
|
|
%_mandir/man8/*
|
|
|
|
|
|
|
|
%dir /etc/pki/cyrus-imapd
|
|
|
|
%attr(0640,root,%cyrusgroup) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %ssl_pem_file
|
|
|
|
|
2017-06-28 01:20:43 +00:00
|
|
|
|
2016-11-22 23:50:27 +00:00
|
|
|
%config(noreplace) /etc/cyrus.conf
|
|
|
|
%config(noreplace) /etc/imapd.conf
|
2016-11-24 00:56:25 +00:00
|
|
|
%config(noreplace) /etc/logrotate.d/cyrus-imapd
|
|
|
|
%config(noreplace) /etc/sysconfig/cyrus-imapd
|
2016-11-24 06:00:07 +00:00
|
|
|
%config(noreplace) /etc/pam.d/*
|
2016-11-24 00:31:00 +00:00
|
|
|
|
|
|
|
/etc/cron.daily/cyrus-imapd
|
|
|
|
%_unitdir/cyrus-imapd.service
|
2016-12-21 22:01:39 +00:00
|
|
|
%_unitdir/cyrus-imapd-init.service
|
2017-06-28 01:20:43 +00:00
|
|
|
%_tmpfilesdir/cyrus-imapd.conf
|
2016-11-24 00:31:00 +00:00
|
|
|
|
2016-11-24 06:00:07 +00:00
|
|
|
%dir %cyrexecdir/
|
|
|
|
%cyrexecdir/[a-uw-z]*
|
2016-11-24 00:31:00 +00:00
|
|
|
|
2017-06-28 01:20:43 +00:00
|
|
|
# This creates some directories which in the default configuration cyrus will
|
|
|
|
# never use because they are placed under /run instead. However, old
|
|
|
|
# configurations or setup advice from the 'net might reference them, and so
|
|
|
|
# it's simpler to just leave them in the package.
|
|
|
|
%attr(0750,%cyrususer,%cyrusgroup) %dir /var/lib/imap/
|
2016-11-24 00:31:00 +00:00
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/backup/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/db/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/log/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/meta/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/md5/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/msg/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/proc/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/ptclient/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/quota/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/rpm/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/sieve/
|
|
|
|
%attr(0750,%cyrususer,%cyrusgroup) /var/lib/imap/socket
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/sync/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/user/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /var/spool/imap/
|
|
|
|
|
2017-06-28 01:20:43 +00:00
|
|
|
# The new locations
|
|
|
|
%attr(0750,%cyrususer,%cyrusgroup) %dir /run/cyrus/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /run/cyrus/db/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /run/cyrus/lock/
|
|
|
|
%attr(0700,%cyrususer,%cyrusgroup) /run/cyrus/proc/
|
|
|
|
%attr(0750,%cyrususer,%cyrusgroup) /run/cyrus/socket/
|
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
|
|
|
|
%files devel
|
2016-11-24 00:31:00 +00:00
|
|
|
%_includedir/cyrus/
|
2016-11-24 00:10:10 +00:00
|
|
|
%_libdir/libcyrus*.so
|
2016-11-24 00:03:38 +00:00
|
|
|
%_libdir/pkgconfig/*.pc
|
|
|
|
%_mandir/man3/imclient.3*
|
2005-04-15 20:24:15 +00:00
|
|
|
|
2017-05-22 22:17:04 +00:00
|
|
|
|
|
|
|
%files doc-extra
|
|
|
|
%doc doc/html doc/internal doc/legacy
|
|
|
|
|
|
|
|
|
2010-06-08 11:01:40 +00:00
|
|
|
%files utils
|
2016-11-23 07:32:30 +00:00
|
|
|
%license COPYING
|
2005-04-15 20:24:15 +00:00
|
|
|
%doc perl/imap/README
|
|
|
|
%doc perl/imap/Changes
|
|
|
|
%doc perl/imap/examples
|
2010-06-08 11:01:40 +00:00
|
|
|
%{_bindir}/*
|
2017-05-22 21:14:19 +00:00
|
|
|
%{_sbindir}/*
|
2016-11-23 23:59:00 +00:00
|
|
|
%{perl_vendorarch}/auto/Cyrus
|
|
|
|
%{perl_vendorarch}/Cyrus
|
|
|
|
%{perl_vendorlib}/Cyrus
|
|
|
|
%{_mandir}/man3/*.3pm*
|
2005-04-15 20:24:15 +00:00
|
|
|
%{_mandir}/man1/*
|
2017-06-21 00:00:23 +00:00
|
|
|
# RF hardcoded-library-path in /usr/lib/cyrus-imapd
|
|
|
|
/usr/lib/cyrus-imapd
|
2005-04-15 20:24:15 +00:00
|
|
|
|
2017-05-22 22:17:04 +00:00
|
|
|
|
|
|
|
%files vzic
|
|
|
|
%cyrexecdir/vzic*
|
|
|
|
|
|
|
|
|
2005-04-15 20:24:15 +00:00
|
|
|
%changelog
|
2017-07-03 23:15:57 +00:00
|
|
|
* Fri Jun 30 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-5
|
|
|
|
- Add two patches from upstream which fix JMAPCalendars issues on 32-bit and
|
|
|
|
big-endian architectures.
|
|
|
|
- Clean up test invocation and exclusion list. More tests pass now.
|
|
|
|
|
2017-06-28 20:56:07 +00:00
|
|
|
* Wed Jun 28 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-4
|
|
|
|
- Explicitly set specialusealways: 1 in the default config.
|
|
|
|
|
2017-06-28 01:20:43 +00:00
|
|
|
* Tue Jun 27 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-3
|
|
|
|
- Patch the provided imapd.conf and cyrus.conf to more closely match previous
|
|
|
|
Fedora defaults and directories included in this package and to enable
|
|
|
|
features which are supported by the Fedora build.
|
|
|
|
- Add tmpfiles.d configuration file for directories in /run.
|
|
|
|
|
2017-06-27 19:39:38 +00:00
|
|
|
* Tue Jun 27 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-2
|
|
|
|
- Exclude one more test from 32-bit arches. Looks like this failure crept in
|
|
|
|
with the Cassandane update.
|
|
|
|
|
2017-06-22 15:44:44 +00:00
|
|
|
* Thu Jun 22 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-1
|
|
|
|
- Update to 3.0.2.
|
2017-06-27 15:31:15 +00:00
|
|
|
- New Cassandane snapshot, with more tests (all of which are passing).
|
2017-06-22 15:44:44 +00:00
|
|
|
|
2017-06-21 00:00:23 +00:00
|
|
|
* Tue Jun 20 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-7
|
|
|
|
- Add old /usr/lib/cyrus-imapd directory to the utils package and add a symlink
|
|
|
|
there to the deliver binary. This should help a bit with migrations.
|
2017-06-21 00:48:35 +00:00
|
|
|
- Add upstream patch to fix reconstruct failures on 32-bit architectures.
|
|
|
|
Re-enable those five Cassandane tests.
|
2017-06-21 00:00:23 +00:00
|
|
|
|
2017-06-15 23:17:48 +00:00
|
|
|
* Thu Jun 15 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-6
|
|
|
|
- Rename two commands: quota -> cyr_quota, restore -> cyr_restore.
|
|
|
|
- Fix Cassandane to handle those renames.
|
|
|
|
- Fix location of cyr_fetchnews.
|
|
|
|
- Fix Perl 5.26-related module linking issue which caused a test failure.
|
|
|
|
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1461669
|
|
|
|
|
2017-06-06 14:40:04 +00:00
|
|
|
* Tue Jun 06 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-5
|
2017-06-06 14:32:18 +00:00
|
|
|
- Use proper path to ctl_mboxlist in cron file.
|
|
|
|
- Add patch to increase individual test timeout. Sometimes armv7hl can't
|
|
|
|
complete a single test in 20 seconds.
|
2017-06-06 16:19:27 +00:00
|
|
|
- Disable the Metronome tests; upstream says that they just won't reliably on
|
|
|
|
shared hardware.
|
2017-06-06 21:32:36 +00:00
|
|
|
- Don't bother running Cassandane on s390x for now. The machines are simply
|
|
|
|
too slow.
|
2017-06-05 18:33:11 +00:00
|
|
|
|
2017-06-06 11:25:41 +00:00
|
|
|
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.0.1-4
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-06-05 18:33:11 +00:00
|
|
|
* Fri Jun 02 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-3
|
|
|
|
- Remove clamav from build requirements.
|
|
|
|
- Add --cleanup to Cassandane call to hopefully reduce build disk usage.
|
2017-06-05 22:28:41 +00:00
|
|
|
- Disable maxforkrate test on s390x; our builders are too slow to run it.
|
2017-06-05 18:33:11 +00:00
|
|
|
|
2017-06-02 21:50:48 +00:00
|
|
|
* Fri Jun 02 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-2
|
|
|
|
- Add patch to fix up some endianness issues.
|
|
|
|
- Enable both test suites on all architectures.
|
|
|
|
- Add arch-specific excludes for a few Cassandane tests.
|
|
|
|
|
2017-05-22 16:59:16 +00:00
|
|
|
* Thu Apr 20 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-1
|
|
|
|
- Initial attempt at importing 3.0. Many new dependencies.
|
|
|
|
- Use a stock sample imapd.conf file instead of a Fedora-provided one.
|
|
|
|
|
2017-02-10 08:07:43 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.10-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-10 01:06:08 +00:00
|
|
|
* Mon Jan 09 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.5.10-2
|
|
|
|
- Rename httpd manpage to "cyrhttpd" to avoid conflict with the httpd package.
|
|
|
|
|
2016-11-23 07:31:03 +00:00
|
|
|
* Wed Nov 23 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.5.10-1
|
|
|
|
- Initial update to the 2.5 series.
|
2016-11-24 01:25:21 +00:00
|
|
|
- Significant spec cleanups.
|
2016-12-21 22:01:39 +00:00
|
|
|
- Add sscg dep and follow
|
|
|
|
https://fedoraproject.org/wiki/Packaging:Initial_Service_Setup for initial
|
|
|
|
cert generation.
|
|
|
|
- Change default conf to use the system crypto policy.
|
2016-11-23 07:31:03 +00:00
|
|
|
|
2016-05-17 01:53:35 +00:00
|
|
|
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.4.18-3
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-03 18:24:28 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.18-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-10-01 16:26:48 +00:00
|
|
|
* Thu Oct 01 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.4.18-1
|
|
|
|
- Update to 2.4.18, rhbz#1267871 and rhbz#1267878
|
|
|
|
- Backport ff4e6c71d932b3e6bbfa67d76f095e27ff21bad0 to fix issues from
|
|
|
|
http://seclists.org/oss-sec/2015/q3/651
|
|
|
|
|
2015-09-09 20:21:48 +00:00
|
|
|
* Wed Sep 09 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.4.17-14
|
|
|
|
- Use %%license tag
|
|
|
|
- Have -devel require the base package
|
|
|
|
- Minor cleanups
|
|
|
|
|
2015-08-09 02:22:09 +00:00
|
|
|
* Sat Aug 08 2015 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.4.17-13
|
|
|
|
- Remove invalid Patch0: URL.
|
|
|
|
- Use HTTP for upstream source.
|
|
|
|
- pod2html was split out of the main perl package, breaking cyrus.
|
|
|
|
Add a build dep for it.
|
|
|
|
|
2015-07-30 02:44:17 +00:00
|
|
|
* Wed Jul 29 2015 Kevin Fenzi <kevin@scrye.com> 2.4.17-12
|
|
|
|
- Rebuild for new librpm
|
|
|
|
|
2015-06-17 03:38:31 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.17-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-05 09:24:55 +00:00
|
|
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.4.17-10
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2014-08-27 10:28:58 +00:00
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.4.17-9
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-08-16 02:04:36 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.17-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 06:39:34 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.17-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 06:33:44 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.17-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-18 01:52:43 +00:00
|
|
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.4.17-5
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-07-12 15:28:40 +00:00
|
|
|
* Fri Jul 12 2013 Michal Hlavinka <mhlavink@redhat.com> - 2.4.17-4
|
|
|
|
- spec clean up
|
|
|
|
|
2013-04-18 13:02:54 +00:00
|
|
|
* Thu Apr 18 2013 Michal Hlavinka <mhlavink@redhat.com> - 2.4.17-3
|
|
|
|
- make sure binaries are hardened
|
|
|
|
|
2013-02-13 19:23:38 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.17-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-01 20:48:53 +00:00
|
|
|
* Sat Dec 1 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.17-1
|
|
|
|
- New upstream version, fixes upstream bugs:
|
2013-07-12 15:28:40 +00:00
|
|
|
- reconstruct doesn't retain internaldate correctly (#3733)
|
|
|
|
- Race condition in maibox rename (#3696)
|
|
|
|
- DBERROR db4: Transaction not specified for a transactional database (#3715)
|
|
|
|
- performance degradation on huge indexes in 2.4 branch (#3717)
|
|
|
|
- typo fix in imapd.conf man page (#3729)
|
|
|
|
- quota does not find all quotaroots if quotalegacy, fulldirhash and prefix are used and virtdomains is off (#3735)
|
|
|
|
- Mail delivered during XFER was lost (#3737)
|
|
|
|
- replication does not work on RENAME (#3742)
|
|
|
|
- Failed asserting during APPEND (#3754)
|
2012-12-01 20:48:53 +00:00
|
|
|
|
2012-11-30 18:22:03 +00:00
|
|
|
* Fri Nov 30 2012 Michal Hlavinka <mhlavink@redhat.com> - 2.4.16-5
|
|
|
|
- do not use strict aliasing
|
|
|
|
|
2012-08-21 17:26:46 +00:00
|
|
|
* Tue Aug 21 2012 Michal Hlavinka <mhlavink@redhat.com> - 2.4.16-4
|
|
|
|
- use new systemd rpm macros (#850079)
|
|
|
|
|
2012-07-18 20:12:58 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.16-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-11 14:42:01 +00:00
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 2.4.16-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-04-19 13:40:34 +00:00
|
|
|
* Thu Apr 19 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.16-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-04-18 13:12:35 +00:00
|
|
|
* Wed Apr 18 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.15-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-04-11 11:19:55 +00:00
|
|
|
* Wed Apr 11 2012 Michal Hlavinka <mhlavink@redhat.com> - 2.4.14-2
|
|
|
|
- rebuilt because of new libdb
|
|
|
|
|
2012-03-14 13:21:00 +00:00
|
|
|
* Wed Mar 14 2012 Michal Hlavinka <mhlavink@redhat.com> - 2.4.14-1
|
|
|
|
- updated to 2.4.14
|
|
|
|
|
2012-02-07 14:57:28 +00:00
|
|
|
* Tue Feb 07 2012 Michal Hlavinka <mhlavink@redhat.com> - 2.4.13-3
|
|
|
|
- use PraveTmp in systemd unit file
|
|
|
|
|
2012-01-13 00:13:53 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.13-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2012-01-02 14:47:00 +00:00
|
|
|
* Mon Jan 02 2012 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.13-1
|
|
|
|
- New upstream release
|
|
|
|
|
2011-12-07 10:47:17 +00:00
|
|
|
* Wed Dec 07 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.12-5
|
2015-09-09 20:21:48 +00:00
|
|
|
- do not use digest-md5 as part of default auth mechanisms,
|
2011-12-07 10:47:17 +00:00
|
|
|
it does not coop with pam
|
|
|
|
|
2011-11-22 13:48:07 +00:00
|
|
|
* Tue Nov 22 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.12-4
|
2015-09-09 20:21:48 +00:00
|
|
|
- reduce noisy logging, add option to turn on LOG_DEBUG syslog
|
2012-03-22 10:37:15 +00:00
|
|
|
messages again (thanks Philip Prindeville) (#754940)
|
2011-11-22 13:48:07 +00:00
|
|
|
|
2011-10-24 09:13:26 +00:00
|
|
|
* Mon Oct 24 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.12-3
|
|
|
|
- add login and digest-md5 as part of default auth mechanisms (#748278)
|
|
|
|
|
2011-10-11 13:11:05 +00:00
|
|
|
* Tue Oct 11 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.12-2
|
|
|
|
- do not hide errors if cyrus user can't be added
|
|
|
|
|
2011-10-05 08:46:05 +00:00
|
|
|
* Wed Oct 05 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.12-1
|
|
|
|
- cyrus-imapd updated to 2.4.12
|
|
|
|
- fixes incomplete authentication checks in nntpd (Secunia SA46093)
|
|
|
|
|
2011-09-09 08:04:42 +00:00
|
|
|
* Fri Sep 9 2011 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.4.11-1
|
|
|
|
- update to 2.4.11
|
|
|
|
- Fix CVE-2011-3208 (#734926, #736838)
|
|
|
|
|
2011-08-16 09:35:23 +00:00
|
|
|
* Tue Aug 16 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.10-4
|
|
|
|
- rebuild with db5
|
|
|
|
|
2011-07-21 16:38:50 +00:00
|
|
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 2.4.10-3
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-07-20 09:58:24 +00:00
|
|
|
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 2.4.10-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-07-06 08:17:13 +00:00
|
|
|
* Wed Jul 6 2011 Jeroen van Meeuwen <kanarip@kanarip.com> - 2.4.10-1
|
|
|
|
- New upstream release
|
|
|
|
|
2011-06-22 03:22:29 +00:00
|
|
|
* Wed Jun 22 2011 Iain Arnell <iarnell@gmail.com> 2.4.8-5
|
|
|
|
- Patch to work with Perl 5.14
|
|
|
|
|
2011-06-20 19:58:05 +00:00
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.4.8-4
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-06-10 13:14:06 +00:00
|
|
|
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.4.8-3
|
|
|
|
- Perl 5.14 mass rebuild
|
|
|
|
|
2011-05-09 11:39:37 +00:00
|
|
|
* Mon May 09 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.8-2
|
|
|
|
- fixed: systemd commands in %%post (thanks Bill Nottingham)
|
|
|
|
|
2011-04-14 10:15:02 +00:00
|
|
|
* Thu Apr 14 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.8-1
|
|
|
|
- cyrus-imapd updated to 2.4.8
|
|
|
|
- fixed: cannot set unlimited quota through proxy
|
2015-09-09 20:21:48 +00:00
|
|
|
- fixed: reconstruct tries to set timestamps again and again
|
2011-04-14 10:15:02 +00:00
|
|
|
- fixed: response for LIST "" user is wrong
|
2015-09-09 20:21:48 +00:00
|
|
|
- fixed: THREAD command doesn't support quoted charset
|
|
|
|
- fixed crashes in mupdatetest and cyr_expire when using -x
|
2011-04-14 10:15:02 +00:00
|
|
|
|
2011-04-04 15:10:19 +00:00
|
|
|
* Mon Apr 04 2011 Michal Hlaivnka <mhlavink@redhat.com> - 2.4.7-2
|
|
|
|
- now using systemd
|
|
|
|
|
2011-03-31 06:44:23 +00:00
|
|
|
* Thu Mar 31 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.7-1
|
|
|
|
- updated to 2.4.7
|
|
|
|
|
2013-07-12 15:28:40 +00:00
|
|
|
* Fri Feb 11 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.4.6-1
|
2011-02-10 13:56:53 +00:00
|
|
|
- updated to 2.4.6
|
|
|
|
- "autocreate" and "autosieve" features were removed
|
|
|
|
|
2011-02-08 12:34:48 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.16-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-21 09:51:57 +00:00
|
|
|
* Fri Jan 21 2011 Michal Hlavinka <mhlavink@redhat.com> - 2.3.16-7
|
|
|
|
- don't force sync io for all filesystems
|
|
|
|
|
2013-07-12 15:28:40 +00:00
|
|
|
* Fri Jul 09 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.3.16-6
|
2010-07-09 11:02:10 +00:00
|
|
|
- follow licensing guideline update
|
|
|
|
- devel sub-package has to have virtual static provides (#609604)
|
|
|
|
|
2010-06-08 11:01:40 +00:00
|
|
|
* Mon Jun 07 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.3.16-5
|
|
|
|
- spec cleanup
|
|
|
|
- simplified packaging (merge -perl in -utils)
|
|
|
|
- remove obsoleted and/or unmaintained additional sources/patches
|
|
|
|
- remove long time not used files from the cvs/srpm
|
|
|
|
- update additional sources/patches from their upstream
|
|
|
|
|
2010-06-01 14:14:01 +00:00
|
|
|
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.3.16-4
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2010-04-20 13:34:14 +00:00
|
|
|
* Tue Apr 20 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.3.16-3
|
|
|
|
- add support for QoS marked traffic (#576652)
|
|
|
|
|
2010-01-14 13:08:38 +00:00
|
|
|
* Thu Jan 14 2010 Michal Hlavinka <mhlavink@redhat.com> - 2.3.16-2
|
|
|
|
- ignore user_denny.db if missing (#553011)
|
|
|
|
- fix location of certificates in default imapd.conf
|