|
|
020be8 |
%define scmt(l:) %(c=%1; echo ${c:0:%{-l:%{-l*}}%{!-l:7}})
|
|
|
020be8 |
|
|
|
020be8 |
# Cassandane commit hash. Cassandane doesn't have releases often, but it
|
|
|
020be8 |
# receives constant development. This was fetched on 20180518.
|
|
|
020be8 |
%global cocas 00bfe0109f80437ed09154aca9fbd53eef8f1b09
|
|
|
020be8 |
|
|
|
020be8 |
# Cassandane run by default. '--without cassandane' disables.
|
|
|
020be8 |
%bcond_without cassandane
|
|
|
020be8 |
|
|
|
020be8 |
Name: cyrus-imapd
|
|
|
020be8 |
Version: 3.0.7
|
|
|
7adc30 |
Release: 20%{?dist}
|
|
|
020be8 |
|
|
|
3a8412 |
%define ssl_pem_file_prefix /etc/pki/%name/%name
|
|
|
020be8 |
|
|
|
020be8 |
# UID/GID 76 have long been reserved for Cyrus
|
|
|
020be8 |
%define uid 76
|
|
|
020be8 |
%define gid 76
|
|
|
020be8 |
|
|
|
020be8 |
%define cyrususer cyrus
|
|
|
020be8 |
%define cyrusgroup mail
|
|
|
020be8 |
%define cyrexecdir %_libexecdir/%name
|
|
|
020be8 |
|
|
|
020be8 |
Summary: A high-performance email, contacts and calendar server
|
|
|
020be8 |
License: BSD
|
|
|
020be8 |
URL: http://www.cyrusimap.org/
|
|
|
020be8 |
Source0: http://www.cyrusimap.org/releases/%name-%version.tar.gz
|
|
|
3a8412 |
Source1: CHANGES.rpm
|
|
|
020be8 |
|
|
|
020be8 |
# Adapt a timeout to handle our slower builders
|
|
|
020be8 |
Patch0: patch-cyrus-testsuite-timeout
|
|
|
020be8 |
|
|
|
020be8 |
# Upstream https://github.com/cyrusimap/cyrus-imapd/issues/2026
|
|
|
020be8 |
Patch1: patch-cyrus-managesieve-linking
|
|
|
020be8 |
|
|
|
020be8 |
# Fedora-specific patch for the default configuration file
|
|
|
020be8 |
Patch2: patch-cyrus-default-configs
|
|
|
020be8 |
|
|
|
020be8 |
# vzic uses an old makefile that needs hacks to use the proper flags
|
|
|
020be8 |
Patch3: patch-vzic-proper-cflags
|
|
|
020be8 |
|
|
|
020be8 |
Patch4: cyrus-imapd-close_backup_on_failure.patch
|
|
|
020be8 |
Patch5: cyrus-imapd-memory_leak_on_cleanup.patch
|
|
|
020be8 |
Patch6: cyrus-imapd-memory_leak_on_cleanup_2.patch
|
|
|
020be8 |
Patch7: cyrus-imapd-close_backup_fd_on_error.patch
|
|
|
020be8 |
Patch8: cyrus-imapd-cve_2019_11356.patch
|
|
|
3a8412 |
Patch9: cyrus-imapd-CVE-2019-19783.patch
|
|
|
3a8412 |
Patch10: cyrus-imapd-CVE-2019-18928.patch
|
|
|
7adc30 |
Patch11: cyrus-imapd-use_system_ciphers.patch
|
|
|
020be8 |
|
|
|
020be8 |
Source10: cyrus-imapd.logrotate
|
|
|
020be8 |
Source11: cyrus-imapd.pam-config
|
|
|
020be8 |
Source12: cyrus-imapd.sysconfig
|
|
|
020be8 |
Source13: cyrus-imapd.cvt_cyrusdb_all
|
|
|
020be8 |
Source14: cyrus-imapd.magic
|
|
|
020be8 |
# XXX A systemd timer would probably be better
|
|
|
020be8 |
Source15: cyrus-imapd.cron-daily
|
|
|
020be8 |
Source16: README.rpm
|
|
|
020be8 |
Source17: cyrus-imapd.service
|
|
|
020be8 |
Source18: cyrus-imapd-init.service
|
|
|
020be8 |
Source19: cyrus-imapd.tmpfiles.conf
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
# Source files for running the Cassandane test suite at build time.
|
|
|
020be8 |
Source80: https://github.com/cyrusimap/cassandane/archive/%cocas.tar.gz#/cassandane-%{scmt %cocas}.tar.gz
|
|
|
020be8 |
|
|
|
020be8 |
# The CPAN version, and hence the Fedora-packaged version, of Net::CalDAVTalk
|
|
|
020be8 |
# doesn't include the testdata directory. Cassandane can use it for testing
|
|
|
020be8 |
# calendaring, so it's included here.
|
|
|
020be8 |
# This archive was generated by running:
|
|
|
020be8 |
# svn export https://github.com/brong/Net-CalDAVTalk/trunk/testdata
|
|
|
020be8 |
# tar cfz cassandane-testdata-20170523.tar.gz testdata
|
|
|
020be8 |
# Note that this changes very rarely. See
|
|
|
020be8 |
# https://github.com/brong/Net-CalDAVTalk/tree/master/testdata
|
|
|
020be8 |
Source81: cassandane-testdata-20170523.tar.gz
|
|
|
020be8 |
|
|
|
020be8 |
# A template config file for cassandane; we will substitute in varions values.
|
|
|
020be8 |
Source82: cassandane.ini
|
|
|
020be8 |
|
|
|
020be8 |
# These are source files and not patches because you can't use autosetup to
|
|
|
020be8 |
# apply patches to secondary unpacked source files.
|
|
|
020be8 |
|
|
|
020be8 |
# Prevent cassandane from trying to syslog things
|
|
|
020be8 |
Source91: patch-cassandane-no-syslog
|
|
|
020be8 |
|
|
|
020be8 |
# Tell the annotator script to run as the current user/group
|
|
|
020be8 |
# Upstream ticket https://github.com/cyrusimap/cyrus-imapd/issues/1995
|
|
|
020be8 |
Source92: patch-cassandane-fix-annotator
|
|
|
020be8 |
|
|
|
020be8 |
Source93: cyrus-imapd-master_rename.patch
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
BuildRequires: autoconf automake bison flex gcc gcc-c++ git groff libtool
|
|
|
020be8 |
BuildRequires: pkgconfig systemd transfig
|
|
|
020be8 |
|
|
|
020be8 |
BuildRequires: perl-devel perl-generators perl(ExtUtils::MakeMaker)
|
|
|
020be8 |
BuildRequires: perl(Pod::Html)
|
|
|
020be8 |
|
|
|
020be8 |
%if 0%{?fedora} && 0%{?fedora} >= 0
|
|
|
020be8 |
BuildRequires: clamav-devel xapian-core-devel shapelib-devel
|
|
|
020be8 |
%endif
|
|
|
020be8 |
BuildRequires: CUnit-devel cyrus-sasl-devel glib2-devel
|
|
|
020be8 |
BuildRequires: jansson-devel krb5-devel libical-devel libicu-devel
|
|
|
020be8 |
BuildRequires: libnghttp2-devel libxml2-devel mariadb-devel net-snmp-devel
|
|
|
020be8 |
BuildRequires: openldap-devel openssl-devel postgresql-devel
|
|
|
020be8 |
BuildRequires: sqlite-devel
|
|
|
020be8 |
|
|
|
020be8 |
# Miscellaneous modules needed for 'make check' to function:
|
|
|
020be8 |
BuildRequires: cyrus-sasl-plain cyrus-sasl-md5
|
|
|
020be8 |
|
|
|
020be8 |
%if %{with cassandane}
|
|
|
020be8 |
# Additional packages required for cassandane to function
|
|
|
020be8 |
BuildRequires: imaptest net-tools words
|
|
|
020be8 |
BuildRequires: perl(AnyEvent) perl(BSD::Resource) perl(Clone)
|
|
|
020be8 |
BuildRequires: perl(experimental) perl(File::chdir) perl(File::Slurp)
|
|
|
020be8 |
BuildRequires: perl(IO::Socket::INET6) perl(Mail::IMAPTalk)
|
|
|
020be8 |
BuildRequires: perl(Config::IniFiles) perl(Mail::JMAPTalk) perl(Math::Int64)
|
|
|
020be8 |
BuildRequires: perl(Net::CalDAVTalk) perl(Net::CardDAVTalk)
|
|
|
020be8 |
BuildRequires: perl(Net::Server) perl(News::NNTPClient) perl(Path::Tiny)
|
|
|
020be8 |
BuildRequires: perl(String::CRC32) perl(Sys::Syslog)
|
|
|
020be8 |
BuildRequires: perl(Test::Unit::TestRunner) perl(Time::HiRes)
|
|
|
020be8 |
BuildRequires: perl(Unix::Syslog) perl(XML::DOM) perl(XML::Generator)
|
|
|
020be8 |
|
|
|
020be8 |
# For tls tests
|
|
|
020be8 |
BuildRequires: sscg
|
|
|
020be8 |
|
|
|
020be8 |
# These were only for JMAP-Tester
|
|
|
020be8 |
# perl(Moo), perl(Moose), perl(MooseX::Role::Parameterized) perl(Throwable), perl(Safe::Isa)
|
|
|
020be8 |
%endif
|
|
|
020be8 |
|
|
|
020be8 |
Requires(pre): shadow-utils
|
|
|
020be8 |
Requires(post): /sbin/ldconfig
|
|
|
020be8 |
Requires(postun): /sbin/ldconfig
|
|
|
020be8 |
%{?systemd_requires}
|
|
|
020be8 |
|
|
|
020be8 |
Requires: %name-utils = %version-%release
|
|
|
020be8 |
Recommends: %name-vzic = %version-%release
|
|
|
020be8 |
Requires: file libdb-utils sscg
|
|
|
020be8 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
020be8 |
Requires: cyrus-imapd = %{version}-%{release}
|
|
|
020be8 |
|
|
|
020be8 |
%{?perl_default_filter}
|
|
|
020be8 |
|
|
|
020be8 |
%description
|
|
|
020be8 |
The Cyrus IMAP (Internet Message Access Protocol) server provides access to
|
|
|
020be8 |
personal mail, system-wide bulletin boards, news-feeds, calendar and contacts
|
|
|
020be8 |
through the IMAP, JMAP, NNTP, CalDAV and CardDAV protocols. The Cyrus IMAP
|
|
|
020be8 |
server is a scalable enterprise groupware system designed for use from small to
|
|
|
020be8 |
large enterprise environments using technologies based on well-established Open
|
|
|
020be8 |
Standards.
|
|
|
020be8 |
|
|
|
020be8 |
A full Cyrus IMAP implementation allows a seamless mail and bulletin board
|
|
|
020be8 |
environment to be set up across one or more nodes. It differs from other IMAP
|
|
|
020be8 |
server implementations in that it is run on sealed nodes, where users are not
|
|
|
020be8 |
normally permitted to log in. The mailbox database is stored in parts of the
|
|
|
020be8 |
filesystem that are private to the Cyrus IMAP system. All user access to mail
|
|
|
020be8 |
is through software using the IMAP, IMAPS, JMAP, POP3, POP3S, KPOP, CalDAV
|
|
|
020be8 |
and/or CardDAV protocols.
|
|
|
020be8 |
|
|
|
020be8 |
The private mailbox database design gives the Cyrus IMAP server large
|
|
|
020be8 |
advantages in efficiency, scalability, and administratability. Multiple
|
|
|
020be8 |
concurrent read/write connections to the same mailbox are permitted. The server
|
|
|
020be8 |
supports access control lists on mailboxes and storage quotas on mailbox
|
|
|
020be8 |
hierarchies.
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%package devel
|
|
|
020be8 |
Summary: Cyrus IMAP server development files
|
|
|
020be8 |
Requires: %name%{?_isa} = %version-%release
|
|
|
020be8 |
Requires: pkgconfig
|
|
|
020be8 |
|
|
|
020be8 |
%description devel
|
|
|
020be8 |
The %name-devel package contains header files and libraries
|
|
|
020be8 |
necessary for developing applications which use the imclient library.
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%package doc-extra
|
|
|
020be8 |
Summary: Extra documentation for the Cyrus IMAP server
|
|
|
020be8 |
BuildArch: noarch
|
|
|
020be8 |
|
|
|
020be8 |
%description doc-extra
|
|
|
020be8 |
This package contains the HTML documentation for the Cyrus IMAP server, as well
|
|
|
020be8 |
as some legacy and internal documentation not useful for normal operation of
|
|
|
020be8 |
the server.
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%package utils
|
|
|
020be8 |
Summary: Cyrus IMAP server administration utilities
|
|
|
020be8 |
|
|
|
020be8 |
%description utils
|
|
|
020be8 |
The cyrus-imapd-utils package contains administrative tools for the
|
|
|
020be8 |
Cyrus IMAP server. It can be installed on systems other than the
|
|
|
020be8 |
one running the server.
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%package vzic
|
|
|
020be8 |
Summary: Utilities to convert timezone database files
|
|
|
020be8 |
License: GPLv2+
|
|
|
020be8 |
Requires: %name = %version-%release
|
|
|
020be8 |
# Contains a lightly forked version of vzic. This seems to have been bundled
|
|
|
020be8 |
# into various other things and it's old, so I'm not sure where the upstream
|
|
|
020be8 |
# is. Here are a couple of possible upstreams:
|
|
|
020be8 |
# https://github.com/libical/vzic
|
|
|
020be8 |
# https://sourceforge.net/projects/vzic/
|
|
|
020be8 |
# It is probably a good idea to split it out and package it separately, but the
|
|
|
020be8 |
# code here definitely differs from that at the second link above.
|
|
|
020be8 |
Provides: bundled(vzic) = 1.3
|
|
|
020be8 |
|
|
|
020be8 |
%description vzic
|
|
|
020be8 |
vzic is a program to convert the Olson timezone database files into VTIMEZONE
|
|
|
020be8 |
files compatible with the iCalendar specification (RFC2445).
|
|
|
020be8 |
|
|
|
020be8 |
This package contains a forked version of vzic for internal use by the Cyrus
|
|
|
020be8 |
IMAP server.
|
|
|
020be8 |
|
|
|
020be8 |
# Build dir is either $PWD, $(pwd) or %
|
|
|
020be8 |
|
|
|
020be8 |
%prep
|
|
|
020be8 |
%autosetup -p1 -S git
|
|
|
020be8 |
echo %version > VERSION
|
|
|
020be8 |
|
|
|
020be8 |
# Install the Fedora-specific documentation file
|
|
|
3a8412 |
install -m 644 %SOURCE1 doc/
|
|
|
020be8 |
install -m 644 %SOURCE16 doc/
|
|
|
020be8 |
|
|
|
020be8 |
# Unpack and prepare cassandane
|
|
|
020be8 |
tar xf %SOURCE80
|
|
|
020be8 |
ln -s cassandane-%cocas cassandane
|
|
|
020be8 |
pushd cassandane
|
|
|
020be8 |
mkdir work
|
|
|
020be8 |
tar xf %SOURCE81
|
|
|
020be8 |
|
|
|
020be8 |
patch -p1 < %SOURCE91
|
|
|
020be8 |
patch -p1 < %SOURCE92
|
|
|
020be8 |
patch -p1 < %SOURCE93
|
|
|
020be8 |
|
|
|
020be8 |
cp %SOURCE82 cassandane.ini
|
|
|
020be8 |
# RF rpm-buildroot-usage
|
|
|
020be8 |
sed -i \
|
|
|
020be8 |
-e "s!CASSDIR!$(pwd)!" \
|
|
|
020be8 |
-e "s!BUILDROOT!%buildroot!" \
|
|
|
020be8 |
cassandane.ini
|
|
|
020be8 |
|
|
|
020be8 |
popd
|
|
|
020be8 |
|
|
|
020be8 |
# Drop expired certificates and generate new ones
|
|
|
020be8 |
pushd cunit
|
|
|
020be8 |
rm -rf *pem
|
|
|
7adc30 |
%{_bindir}/sscg --package %{name} --cert-file cert.pem --cert-key-file key.pem --ca-file cacert.pem
|
|
|
020be8 |
popd
|
|
|
020be8 |
|
|
|
020be8 |
## Modify docs master --> cyrus-master
|
|
|
020be8 |
#%{__perl} -pi -e "s@master\(8\)@cyrus-master(8)@" man/*5 man/*8 lib/imapoptions
|
|
|
020be8 |
#sed -i -e 's|\([^-]\)master|\1cyrus-master|g;s|^master|cyrus-master|g;s|Master|Cyrus-master|g;s|MASTER|CYRUS-MASTER|g' \
|
|
|
020be8 |
# man/master.8 doc/man.html
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%build
|
|
|
020be8 |
# This is the test suite, which doesn't build much but does verify its dependencies.
|
|
|
020be8 |
# If this is done after the configure call, the one thing it does build fails
|
|
|
020be8 |
# because the configure macro puts some hardening flags into the environment.
|
|
|
020be8 |
%if %{with cassandane}
|
|
|
020be8 |
pushd cassandane
|
|
|
020be8 |
make
|
|
|
020be8 |
popd
|
|
|
020be8 |
%endif
|
|
|
020be8 |
|
|
|
020be8 |
# Notes about configure options:
|
|
|
020be8 |
# --enable-objectstore
|
|
|
020be8 |
# It's experimental, and it doesn't appear that either openio or caringo are
|
|
|
020be8 |
# in Fedora.
|
|
|
020be8 |
# --with-cyrus-prefix and --with-service-path went away; use --with-libexecdir=
|
|
|
020be8 |
# instead.
|
|
|
020be8 |
|
|
|
020be8 |
# Needed because of Patch4.
|
|
|
020be8 |
autoreconf -vi
|
|
|
020be8 |
|
|
|
020be8 |
%configure \
|
|
|
020be8 |
--disable-silent-rules \
|
|
|
020be8 |
\
|
|
|
020be8 |
--libexecdir=%cyrexecdir \
|
|
|
020be8 |
--with-extraident="%release Fedora" \
|
|
|
020be8 |
--with-krbimpl=mit \
|
|
|
020be8 |
--with-ldap=/usr \
|
|
|
020be8 |
--with-libwrap=no \
|
|
|
020be8 |
--with-mysql \
|
|
|
020be8 |
--with-pgsql \
|
|
|
020be8 |
--with-perl=%__perl \
|
|
|
020be8 |
--with-snmp \
|
|
|
020be8 |
--with-syslogfacility=MAIL \
|
|
|
020be8 |
\
|
|
|
020be8 |
--enable-autocreate \
|
|
|
020be8 |
--enable-backup \
|
|
|
020be8 |
--enable-calalarmd \
|
|
|
020be8 |
--enable-http \
|
|
|
020be8 |
--enable-idled \
|
|
|
020be8 |
--enable-jmap \
|
|
|
020be8 |
--enable-murder \
|
|
|
020be8 |
--enable-nntp \
|
|
|
020be8 |
--enable-replication \
|
|
|
020be8 |
--enable-unit-tests \
|
|
|
020be8 |
%if 0%{?fedora} && 0%{?fedora} >= 0
|
|
|
020be8 |
--enable-xapian \
|
|
|
020be8 |
--with-clamav \
|
|
|
020be8 |
%endif
|
|
|
020be8 |
#
|
|
|
020be8 |
|
|
|
020be8 |
# The configure script will set up the Perl makefiles, but not in the way
|
|
|
020be8 |
# Fedora needs them. So regenerate them manually.
|
|
|
020be8 |
for i in perl/annotator perl/imap perl/sieve/managesieve; do
|
|
|
020be8 |
pushd $i
|
|
|
020be8 |
rm -f Makefile
|
|
|
020be8 |
perl Makefile.PL INSTALLDIRS=vendor # NO_PERLOCAL=1 NO_PACKLIST=1
|
|
|
020be8 |
popd
|
|
|
020be8 |
done
|
|
|
020be8 |
|
|
|
020be8 |
%make_build
|
|
|
020be8 |
|
|
|
020be8 |
# This isn't built by default, but this package has always installed it.
|
|
|
020be8 |
make notifyd/notifytest
|
|
|
020be8 |
|
|
|
020be8 |
# Also not built by default, but the tools are needed for serving timezone info
|
|
|
020be8 |
make -C tools/vzic
|
|
|
020be8 |
|
|
|
020be8 |
# Modify docs master --> cyrus-master
|
|
|
020be8 |
%{__perl} -pi -e "s@master\(8\)@cyrus-master(8)@" man/*5 man/*8 lib/imapoptions
|
|
|
020be8 |
sed -i -e 's|\([^-]\)master|\1cyrus-master|g;s|^master|cyrus-master|g;s|Master|Cyrus-master|g;s|MASTER|CYRUS-MASTER|g' \
|
|
|
7adc30 |
man/master.8 doc/legacy/man.html
|
|
|
020be8 |
|
|
|
020be8 |
%install
|
|
|
020be8 |
make install DESTDIR=%buildroot
|
|
|
020be8 |
|
|
|
020be8 |
# Create directories
|
|
|
020be8 |
install -d \
|
|
|
020be8 |
%buildroot/etc/{rc.d/init.d,logrotate.d,pam.d,sysconfig,cron.daily} \
|
|
|
020be8 |
%buildroot/%_libdir/sasl \
|
|
|
020be8 |
%buildroot/var/spool/imap \
|
|
|
020be8 |
%buildroot/var/lib/imap/{user,quota,proc,log,msg,socket,db,sieve,sync,md5,rpm,backup,meta} \
|
|
|
020be8 |
%buildroot/var/lib/imap/ptclient \
|
|
|
020be8 |
%buildroot/%_datadir/%name/rpm \
|
|
|
020be8 |
%buildroot/%cyrexecdir \
|
|
|
020be8 |
%buildroot/etc/pki/%name
|
|
|
020be8 |
|
|
|
020be8 |
install -d -m 0750 \
|
|
|
020be8 |
%buildroot/run/cyrus \
|
|
|
020be8 |
%buildroot/run/cyrus/socket
|
|
|
020be8 |
|
|
|
020be8 |
install -d -m 0700 \
|
|
|
020be8 |
%buildroot/run/cyrus/db \
|
|
|
020be8 |
%buildroot/run/cyrus/lock \
|
|
|
020be8 |
%buildroot/run/cyrus/proc
|
|
|
020be8 |
|
|
|
020be8 |
# Some tools which aren't installed by the makefile which we have always installed
|
|
|
020be8 |
install -m 755 notifyd/notifytest %buildroot%_bindir/
|
|
|
020be8 |
install -m 755 perl/imap/cyradm %buildroot%_bindir/
|
|
|
020be8 |
for i in arbitronsort.pl masssievec mkimap mknewsgroups rehash translatesieve; do
|
|
|
020be8 |
install -m 755 tools/$i %buildroot/%cyrexecdir/
|
|
|
020be8 |
done
|
|
|
020be8 |
|
|
|
020be8 |
for i in vzic vzic-test.pl vzic-merge.pl vzic-dump.pl; do
|
|
|
020be8 |
install -m 755 tools/vzic/$i %buildroot/%cyrexecdir/
|
|
|
020be8 |
done
|
|
|
020be8 |
|
|
|
020be8 |
# Install additional files
|
|
|
020be8 |
install -p -m 644 %SOURCE10 %buildroot/etc/logrotate.d/%name
|
|
|
020be8 |
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/pop
|
|
|
020be8 |
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/imap
|
|
|
020be8 |
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/sieve
|
|
|
020be8 |
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/mupdate
|
|
|
020be8 |
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/lmtp
|
|
|
020be8 |
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/nntp
|
|
|
020be8 |
install -p -m 644 %SOURCE11 %buildroot/etc/pam.d/csync
|
|
|
020be8 |
install -p -m 644 %SOURCE12 %buildroot/etc/sysconfig/%name
|
|
|
020be8 |
install -p -m 755 %SOURCE13 %buildroot/%cyrexecdir/cvt_cyrusdb_all
|
|
|
020be8 |
install -p -m 644 %SOURCE14 %buildroot/%_datadir/%name/rpm/magic
|
|
|
020be8 |
install -p -m 755 %SOURCE15 %buildroot/etc/cron.daily/%name
|
|
|
020be8 |
install -p -m 644 doc/examples/cyrus_conf/prefork.conf %buildroot/etc/cyrus.conf
|
|
|
020be8 |
install -p -m 644 doc/examples/imapd_conf/normal.conf %buildroot/etc/imapd.conf
|
|
|
020be8 |
install -p -D -m 644 %SOURCE17 %buildroot/%_unitdir/cyrus-imapd.service
|
|
|
020be8 |
install -p -D -m 644 %SOURCE18 %buildroot/%_unitdir/cyrus-imapd-init.service
|
|
|
020be8 |
install -p -D -m 644 %SOURCE19 %buildroot/%_tmpfilesdir/cyrus-imapd.conf
|
|
|
020be8 |
|
|
|
020be8 |
# Rename 'master' binary and manpage to avoid clash with postfix
|
|
|
020be8 |
mv -f %{buildroot}%{cyrexecdir}/master %{buildroot}%{cyrexecdir}/cyrus-master
|
|
|
020be8 |
|
|
|
020be8 |
# mv -f %{buildroot}%{_mandir}/man8/master.8 %{buildroot}%{_mandir}/man8/cyrus-master.8
|
|
|
020be8 |
|
|
|
020be8 |
# Rename 'fetchnews' binary and manpage to avoid clash with leafnode
|
|
|
020be8 |
#mv -f %{buildroot}%{cyrexecdir}/fetchnews %{buildroot}%{cyrexecdir}/cyrfetchnews
|
|
|
020be8 |
#mv -f %{buildroot}%{_mandir}/man8/fetchnews.8 %{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
|
|
020be8 |
#%{__perl} -pi -e 's|fetchnews|cyrfetchnews|g;s|Fetchnews|Cyrfetchnews|g;s/FETCHNEWS/CYRFETCHNEWS/g' \
|
|
|
020be8 |
# %{buildroot}%{_mandir}/man8/cyrfetchnews.8
|
|
|
020be8 |
|
|
|
020be8 |
#remove executable bit from docs
|
|
|
020be8 |
for ddir in doc perl/imap/examples
|
|
|
020be8 |
do
|
|
|
020be8 |
find $ddir -type f -exec chmod -x {} \;
|
|
|
020be8 |
done
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
# Cleanup of doc dir
|
|
|
020be8 |
find doc perl -name CVS -type d -prune -exec rm -rf {} \;
|
|
|
020be8 |
find doc perl -name .cvsignore -type f -exec rm -f {} \;
|
|
|
020be8 |
rm -f doc/Makefile.dist*
|
|
|
020be8 |
rm -f doc/text/htmlstrip.c
|
|
|
020be8 |
rm -f doc/text/Makefile
|
|
|
020be8 |
rm -rf doc/man
|
|
|
020be8 |
|
|
|
020be8 |
# fix permissions on perl .so files
|
|
|
020be8 |
find %buildroot/%_libdir/perl5/ -type f -name "*.so" -exec chmod 755 {} \;
|
|
|
020be8 |
|
|
|
020be8 |
# Generate db config file
|
|
|
020be8 |
# XXX Is this still necessary?
|
|
|
020be8 |
( grep '^{' lib/imapoptions | grep _db | cut -d'"' -f 2,4 | \
|
|
|
020be8 |
sed -e 's/^ *//' -e 's/-nosync//' -e 's/ *$//' -e 's/"/=/'
|
|
|
020be8 |
echo sieve_version=2.2.3 ) | sort > %buildroot/%_datadir/%name/rpm/db.cfg
|
|
|
020be8 |
|
|
|
020be8 |
# Cyrus has various files with extremely conflicting names. Some of these are
|
|
|
020be8 |
# not unexpected ("imapd" itself) but some like "httpd" are rather surprising.
|
|
|
020be8 |
|
|
|
020be8 |
# Where there are only conflicting manpages, they have been moved to a "8cyrus"
|
|
|
020be8 |
# section. If the binary was renamed, then the manpages are renamed to match
|
|
|
020be8 |
# but a internal replacement has not been done. This may lead to more
|
|
|
020be8 |
# confusion but involves modifying fewer upstream files.
|
|
|
020be8 |
|
|
|
020be8 |
# Actual binary conflicts
|
|
|
020be8 |
# Rename 'fetchnews' binary and manpage to avoid clash with leafnode
|
|
|
020be8 |
mv %buildroot/%_sbindir/fetchnews %buildroot/%_sbindir/cyr_fetchnews
|
|
|
020be8 |
mv %buildroot/%_mandir/man8/fetchnews.8 %buildroot/%_mandir/man8/cyr_fetchnews.8
|
|
|
020be8 |
|
|
|
020be8 |
# Fix conflict with dump
|
|
|
020be8 |
mv %buildroot/%_sbindir/restore %buildroot/%_sbindir/cyr_restore
|
|
|
020be8 |
mv %buildroot/%_mandir/man8/restore.8 %buildroot/%_mandir/man8/cyr_restore.8
|
|
|
020be8 |
|
|
|
020be8 |
# Fix conceptual conflict with quota
|
|
|
020be8 |
mv %buildroot/%_sbindir/quota %buildroot/%_sbindir/cyr_quota
|
|
|
020be8 |
mv %buildroot/%_mandir/man8/quota.8 %buildroot/%_mandir/man8/cyr_quota.8
|
|
|
020be8 |
|
|
|
020be8 |
# fix conflicts with uw-imap
|
|
|
020be8 |
mv %buildroot/%_mandir/man8/imapd.8 %buildroot/%_mandir/man8/imapd.8cyrus
|
|
|
020be8 |
mv %buildroot/%_mandir/man8/pop3d.8 %buildroot/%_mandir/man8/pop3d.8cyrus
|
|
|
020be8 |
|
|
|
020be8 |
# Rename 'master' manpage
|
|
|
020be8 |
mv %buildroot/%_mandir/man8/master.8 %buildroot/%_mandir/man8/master.8cyrus
|
|
|
020be8 |
|
|
|
020be8 |
# Rename 'httpd' manpage to avoid clash with Apache
|
|
|
020be8 |
mv %buildroot/%_mandir/man8/httpd.8 %buildroot/%_mandir/man8/httpd.8cyrus
|
|
|
020be8 |
|
|
|
020be8 |
# Old cyrus packages used to keep some executables in /usr/lib/cyrus-imapd
|
|
|
020be8 |
# RF hardcoded-library-path in %%buildroot/usr/lib/cyrus-imapd
|
|
|
020be8 |
mkdir %buildroot/usr/lib/cyrus-imapd
|
|
|
020be8 |
pushd %buildroot/usr/lib/cyrus-imapd
|
|
|
020be8 |
ln -s ../../sbin/deliver
|
|
|
020be8 |
popd
|
|
|
020be8 |
|
|
|
020be8 |
#remove executable bit from docs
|
|
|
020be8 |
for ddir in doc perl/imap/examples
|
|
|
020be8 |
do
|
|
|
020be8 |
find $ddir -type f -exec chmod -x {} \;
|
|
|
020be8 |
done
|
|
|
020be8 |
|
|
|
020be8 |
# Remove pointless libtool archives
|
|
|
020be8 |
rm %buildroot/%_libdir/*.la
|
|
|
020be8 |
|
|
|
020be8 |
# Remove installed but not packaged files
|
|
|
020be8 |
rm %buildroot/%cyrexecdir/pop3proxyd
|
|
|
020be8 |
find %buildroot -name "perllocal.pod" -exec rm {} \;
|
|
|
020be8 |
find %buildroot -name ".packlist" -exec rm {} \;
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%check
|
|
|
7adc30 |
## First of all check if imaptest is functional at all
|
|
|
7adc30 |
imaptest -h 2>&1 > /dev/null || (echo "Imaptest is not functional" && exit 1)
|
|
|
020be8 |
make %{?_smp_mflags} check || exit 1
|
|
|
020be8 |
|
|
|
020be8 |
%if %{without cassandane}
|
|
|
020be8 |
exit 0
|
|
|
020be8 |
%endif
|
|
|
020be8 |
|
|
|
020be8 |
# Run the Cassandane test suite. This will exhaustively test the various
|
|
|
020be8 |
# server components, but running it in a mock chroot is rather an exercise.
|
|
|
020be8 |
pushd cassandane
|
|
|
020be8 |
|
|
|
020be8 |
mkdir -p imaptest/src
|
|
|
020be8 |
ln -s /usr/bin/imaptest imaptest/src
|
|
|
020be8 |
ln -s /usr/share/imaptest/tests imaptest/src
|
|
|
020be8 |
|
|
|
020be8 |
export LD_LIBRARY_PATH=%buildroot/%_libdir
|
|
|
020be8 |
export CYRUS_USER=$USER
|
|
|
020be8 |
|
|
|
020be8 |
# Construct the set of excluded tests to pass to Cassandane
|
|
|
020be8 |
# ---------------------------------------------------------
|
|
|
020be8 |
exclude+=("!Master.maxforkrate") # Some builders are too slow to complete this test properly
|
|
|
020be8 |
tests=(
|
|
|
020be8 |
# This is more a test of system performance and according to upstream won't
|
|
|
020be8 |
# be reliable on shared hardware like our builders.
|
|
|
020be8 |
Metronome
|
|
|
020be8 |
|
|
|
020be8 |
# This tests coredumping and won't work on a machine where systemd
|
|
|
020be8 |
# intercepts coredumps, which includes our builders.
|
|
|
020be8 |
Cassandane::Test::Core
|
|
|
020be8 |
|
|
|
020be8 |
# Upstream recommends disabling this because it has an internal race and
|
|
|
020be8 |
# will fail randomly. https://github.com/cyrusimap/cassandane/issues/17
|
|
|
020be8 |
Master.sighup_recycling
|
|
|
020be8 |
|
|
|
020be8 |
# Fails because our Xapian is too old for proper CJK support. 1.5 will be
|
|
|
020be8 |
# OK, but it is not yet released. The alternative is to bundle.
|
|
|
020be8 |
SearchFuzzy.cjk_words
|
|
|
020be8 |
|
|
|
020be8 |
# These additionaly fail because Cyrus 3.0.7 no longer enables
|
|
|
020be8 |
# SNIPPET_EMPTY_WITHOUT_MATCH when the Cyrus-patched Xapian is not in use.
|
|
|
020be8 |
# https://github.com/cyrusimap/cyrus-imapd/commit/f008060cb53b3286fcedf7b8b4dd12c1980d665f
|
|
|
020be8 |
SearchFuzzy.normalize_snippets
|
|
|
020be8 |
SearchFuzzy.snippet_wildcard
|
|
|
020be8 |
SearchFuzzy.snippets_termcover
|
|
|
020be8 |
SearchFuzzy.snippets_escapehtml
|
|
|
020be8 |
SearchFuzzy.stem_verbs
|
|
|
020be8 |
|
|
|
020be8 |
# As of yet unexplained
|
|
|
020be8 |
# https://github.com/cyrusimap/cyrus-imapd/issues/2047
|
|
|
020be8 |
Admin.imap_admins
|
|
|
020be8 |
|
|
|
020be8 |
# Upstream on IRC indicates that these two are expected to fail on 3.0.
|
|
|
020be8 |
Carddav.sharing_contactpaths
|
|
|
020be8 |
Metadata.set_specialuse_twice
|
|
|
020be8 |
|
|
|
020be8 |
# This one needs a patch to xapian.
|
|
|
020be8 |
# https://github.com/cyrusimap/cyrus-imapd/issues/2348
|
|
|
020be8 |
SearchFuzzy.search_subjectsnippet
|
|
|
020be8 |
)
|
|
|
020be8 |
for i in ${tests[@]}; do exclude+=("!$i"); done
|
|
|
020be8 |
|
|
|
020be8 |
%if 0%{?fedora} <= 28
|
|
|
020be8 |
# imaptest on F28 has bugs which make some additional tests fail
|
|
|
020be8 |
tests=(
|
|
|
020be8 |
# Three new failures with imaptest 20170719
|
|
|
020be8 |
# https://github.com/cyrusimap/cyrus-imapd/issues/2087
|
|
|
020be8 |
ImapTest.append-binary
|
|
|
020be8 |
ImapTest.fetch-binary-mime
|
|
|
020be8 |
ImapTest.urlauth-binary
|
|
|
020be8 |
|
|
|
020be8 |
# This one seems to fail randomly.
|
|
|
020be8 |
ImapTest.urlauth2
|
|
|
020be8 |
)
|
|
|
020be8 |
for i in ${tests[@]}; do exclude+=("!$i"); done
|
|
|
020be8 |
%endif
|
|
|
020be8 |
|
|
|
020be8 |
%if 0%{?fedora} <= 26
|
|
|
020be8 |
# Some F26-specific test exclusions
|
|
|
020be8 |
tests=(
|
|
|
020be8 |
# These all fail because F26 perl doesn't support quad types in unpack.
|
|
|
020be8 |
Metadata.expunge_messages
|
|
|
020be8 |
Metadata.msg_replication_new_mas_partial_wwd
|
|
|
020be8 |
Metadata.msg_replication_new_rep
|
|
|
020be8 |
Metadata.msg_replication_new_mas
|
|
|
020be8 |
Metadata.msg_replication_exp_bot
|
|
|
020be8 |
Metadata.msg_replication_new_mas_partial_wwsw
|
|
|
020be8 |
Metadata.msg_replication_exp_mas
|
|
|
020be8 |
Metadata.msg_replication_mod_mas
|
|
|
020be8 |
Metadata.msg_replication_exp_rep
|
|
|
020be8 |
Metadata.msg_replication_mod_bot_msl
|
|
|
020be8 |
Metadata.msg_replication_new_bot_mse_gul
|
|
|
020be8 |
Metadata.msg_replication_mod_bot_msh
|
|
|
020be8 |
Metadata.msg_replication_new_bot_mse_guh
|
|
|
020be8 |
Metadata.msg_replication_mod_rep
|
|
|
020be8 |
)
|
|
|
020be8 |
for i in ${tests[@]}; do exclude+=("!$i"); done
|
|
|
020be8 |
%endif
|
|
|
020be8 |
|
|
|
020be8 |
# Add -vvv for too much output
|
|
|
020be8 |
./testrunner.pl %{?_smp_mflags} -v -f pretty ${exclude[@]} 2>&1
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%pre
|
|
|
020be8 |
# Create 'cyrus' user on target host
|
|
|
020be8 |
getent group saslauth >/dev/null || /usr/sbin/groupadd -g %gid -r saslauth
|
|
|
020be8 |
getent passwd cyrus >/dev/null || /usr/sbin/useradd -c "Cyrus IMAP Server" -d /var/lib/imap -g %cyrusgroup \
|
|
|
020be8 |
-G saslauth -s /sbin/nologin -u %uid -r %cyrususer
|
|
|
020be8 |
|
|
|
020be8 |
%post
|
|
|
020be8 |
/sbin/ldconfig
|
|
|
020be8 |
%systemd_post cyrus-imapd.service
|
|
|
020be8 |
|
|
|
020be8 |
%preun
|
|
|
020be8 |
%systemd_preun cyrus-imapd.service
|
|
|
020be8 |
|
|
|
020be8 |
%postun
|
|
|
020be8 |
/sbin/ldconfig
|
|
|
020be8 |
%systemd_postun_with_restart cyrus-imapd.service
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%files
|
|
|
020be8 |
%license COPYING
|
|
|
3a8412 |
%doc README.md doc/README.* doc/examples doc/text doc/CHANGES.rpm
|
|
|
020be8 |
|
|
|
020be8 |
%_datadir/cyrus-imapd
|
|
|
020be8 |
%_libdir/libcyrus*.so.*
|
|
|
020be8 |
%_mandir/man5/*
|
|
|
020be8 |
%_mandir/man8/*
|
|
|
020be8 |
|
|
|
020be8 |
%dir /etc/pki/cyrus-imapd
|
|
|
3a8412 |
%attr(0644,root,%cyrusgroup) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %ssl_pem_file_prefix-ca.pem
|
|
|
3a8412 |
%attr(0644,root,%cyrusgroup) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %ssl_pem_file_prefix.pem
|
|
|
3a8412 |
%attr(0640,root,%cyrusgroup) %ghost %config(missingok,noreplace) %verify(not md5 size mtime) %ssl_pem_file_prefix-key.pem
|
|
|
020be8 |
|
|
|
020be8 |
%config(noreplace) /etc/cyrus.conf
|
|
|
020be8 |
%config(noreplace) /etc/imapd.conf
|
|
|
020be8 |
%config(noreplace) /etc/logrotate.d/cyrus-imapd
|
|
|
020be8 |
%config(noreplace) /etc/sysconfig/cyrus-imapd
|
|
|
020be8 |
%config(noreplace) /etc/pam.d/*
|
|
|
020be8 |
|
|
|
020be8 |
/etc/cron.daily/cyrus-imapd
|
|
|
020be8 |
%_unitdir/cyrus-imapd.service
|
|
|
020be8 |
%_unitdir/cyrus-imapd-init.service
|
|
|
020be8 |
%_tmpfilesdir/cyrus-imapd.conf
|
|
|
020be8 |
|
|
|
020be8 |
%dir %cyrexecdir/
|
|
|
020be8 |
%cyrexecdir/[a-uw-z]*
|
|
|
020be8 |
|
|
|
020be8 |
# This creates some directories which in the default configuration cyrus will
|
|
|
020be8 |
# never use because they are placed under /run instead. However, old
|
|
|
020be8 |
# configurations or setup advice from the 'net might reference them, and so
|
|
|
020be8 |
# it's simpler to just leave them in the package.
|
|
|
020be8 |
%attr(0750,%cyrususer,%cyrusgroup) %dir /var/lib/imap/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/backup/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/db/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/log/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/meta/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/md5/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/msg/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/proc/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/ptclient/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/quota/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/rpm/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/sieve/
|
|
|
020be8 |
%attr(0750,%cyrususer,%cyrusgroup) /var/lib/imap/socket
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/sync/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/lib/imap/user/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /var/spool/imap/
|
|
|
020be8 |
|
|
|
020be8 |
# The new locations
|
|
|
020be8 |
%attr(0750,%cyrususer,%cyrusgroup) %dir /run/cyrus/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /run/cyrus/db/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /run/cyrus/lock/
|
|
|
020be8 |
%attr(0700,%cyrususer,%cyrusgroup) /run/cyrus/proc/
|
|
|
020be8 |
%attr(0750,%cyrususer,%cyrusgroup) /run/cyrus/socket/
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%files devel
|
|
|
020be8 |
%_includedir/cyrus/
|
|
|
020be8 |
%_libdir/libcyrus*.so
|
|
|
020be8 |
%_libdir/pkgconfig/*.pc
|
|
|
020be8 |
%_mandir/man3/imclient.3*
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%files doc-extra
|
|
|
020be8 |
%doc doc/html doc/internal doc/legacy
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%files utils
|
|
|
020be8 |
%license COPYING
|
|
|
020be8 |
%doc perl/imap/README
|
|
|
020be8 |
%doc perl/imap/Changes
|
|
|
020be8 |
%doc perl/imap/examples
|
|
|
020be8 |
%{_bindir}/*
|
|
|
020be8 |
%{_sbindir}/*
|
|
|
020be8 |
%{perl_vendorarch}/auto/Cyrus
|
|
|
020be8 |
%{perl_vendorarch}/Cyrus
|
|
|
020be8 |
%{perl_vendorlib}/Cyrus
|
|
|
020be8 |
%{_mandir}/man3/*.3pm*
|
|
|
020be8 |
%{_mandir}/man1/*
|
|
|
020be8 |
# RF hardcoded-library-path in /usr/lib/cyrus-imapd
|
|
|
020be8 |
/usr/lib/cyrus-imapd
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%files vzic
|
|
|
020be8 |
%cyrexecdir/vzic*
|
|
|
020be8 |
|
|
|
020be8 |
|
|
|
020be8 |
%changelog
|
|
|
7adc30 |
* Fri Nov 6 2020 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-20
|
|
|
7adc30 |
- Use PROFILE=SYSTEM as default configuration for tls_ciphers
|
|
|
7adc30 |
|
|
|
3a8412 |
* Thu Apr 23 2020 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-19
|
|
|
3a8412 |
- change ownership of pki files (#1710722)
|
|
|
3a8412 |
|
|
|
3a8412 |
* Thu Apr 23 2020 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-18
|
|
|
3a8412 |
- Move old changelog into separate file (#1671239)
|
|
|
3a8412 |
|
|
|
3a8412 |
* Tue Apr 21 2020 Pavel Zhukov <pavel@desktop.zhukoff.net> - 3.0.7-17
|
|
|
3a8412 |
- Add fix for CVE-2019-19783
|
|
|
3a8412 |
- Add fix for CVE-2019-18928
|
|
|
3a8412 |
|
|
|
020be8 |
* Fri Jun 7 2019 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-16
|
|
|
020be8 |
- Resolves: #1718195 - don't overrun buffer when parsing strings with sscanf()
|
|
|
020be8 |
|
|
|
020be8 |
* Mon Oct 8 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-15
|
|
|
020be8 |
- Related: #1602472 - Fix rpmdiff warnings
|
|
|
020be8 |
|
|
|
020be8 |
* Mon Oct 8 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-14
|
|
|
020be8 |
- Related: #1602472 - Fix misused syntax warning
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Oct 2 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-13
|
|
|
020be8 |
- Related: #1602472 - Fix few covscan warnings
|
|
|
020be8 |
|
|
|
020be8 |
* Sun Aug 12 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-12
|
|
|
020be8 |
- Rename master -> cyrus-master in documentation
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Aug 9 2018 Josef Ridky <jridky@redhat.com> - 3.0.7-11
|
|
|
020be8 |
- Rebuild for Net-SNMP
|
|
|
020be8 |
|
|
|
020be8 |
* Wed Aug 8 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-10
|
|
|
020be8 |
- Rename master -> cyrus-master
|
|
|
020be8 |
|
|
|
020be8 |
* Wed Aug 8 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-9
|
|
|
020be8 |
- Load supported modules only
|
|
|
020be8 |
|
|
|
020be8 |
* Mon Aug 6 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-7
|
|
|
020be8 |
- Resolves: №1611713 - Generate SSl cerificates for starttls test
|
|
|
020be8 |
|
|
|
020be8 |
* Mon Jun 25 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-6
|
|
|
020be8 |
- Drop shapelib in RHEL
|
|
|
020be8 |
|
|
|
020be8 |
* Fri Jun 22 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-5
|
|
|
020be8 |
- Drop xapian support
|
|
|
020be8 |
|
|
|
020be8 |
* Tue May 22 2018 Pavel Zhukov <pzhukov@redhat.com> - 3.0.7-4
|
|
|
020be8 |
- Disable clamav support for non Fedora's
|
|
|
020be8 |
- Disable forktest due to builders slowness
|
|
|
020be8 |
|
|
|
020be8 |
* Fri May 18 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.7-2
|
|
|
020be8 |
- Really enable mysql and clamav support.
|
|
|
020be8 |
|
|
|
020be8 |
* Fri May 18 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.7-1
|
|
|
020be8 |
- Update to 3.0.7.
|
|
|
020be8 |
- Update Cassandane checkout.
|
|
|
020be8 |
- Update excluded Cassandane test list.
|
|
|
020be8 |
|
|
|
020be8 |
* Tue May 01 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.6-1
|
|
|
020be8 |
- Update to 3.0.6.
|
|
|
020be8 |
- Remove upstreamed patches and renumber the rest.
|
|
|
020be8 |
- Disable one new failing test:
|
|
|
020be8 |
https://github.com/cyrusimap/cyrus-imapd/issues/2332
|
|
|
020be8 |
|
|
|
020be8 |
* Mon Apr 30 2018 Pete Walter <pwalter@fedoraproject.org> - 3.0.5-15
|
|
|
020be8 |
- Rebuild for ICU 61.1
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Apr 17 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-14
|
|
|
020be8 |
- Update Cassandane again, fixing a broken test.
|
|
|
020be8 |
|
|
|
020be8 |
* Fri Apr 13 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-13
|
|
|
020be8 |
- Update Cassandane, fixing a few tests and a class of weird random build
|
|
|
020be8 |
failures.
|
|
|
020be8 |
|
|
|
020be8 |
* Fri Apr 06 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-12
|
|
|
020be8 |
- Update list of excluded tests.
|
|
|
020be8 |
- Update Cassandane snapshot; use new base_port config setting. No need to
|
|
|
020be8 |
patch that in now.
|
|
|
020be8 |
- Add four new expected-to-fail tests from new Cassandane snapshot.
|
|
|
020be8 |
- Add patch to collect extra Cassandane logging in case we hit some of those
|
|
|
020be8 |
sporadic failures again.
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Apr 03 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-11
|
|
|
020be8 |
- Re-enable imaptest on >= F29.
|
|
|
020be8 |
- F29's imaptest fixes several bugs, allowing all tests to be run there.
|
|
|
020be8 |
- Relocate cassandane base port to hopefully work better in koji.
|
|
|
020be8 |
|
|
|
020be8 |
* Mon Apr 02 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-10
|
|
|
020be8 |
- Update cassandane checkout to fix a test that was broken by DST.
|
|
|
020be8 |
- Add patch to fix sieve scripts for usernames containing a dot.
|
|
|
020be8 |
- Disable imaptest in cassandane until
|
|
|
020be8 |
https://bugzilla.redhat.com/show_bug.cgi?id=1562970 is fixed.
|
|
|
020be8 |
- Re-enable tests on s390; it seems to be better now.
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Mar 15 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-9
|
|
|
020be8 |
- Re-enable clamav on ppc64.
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Mar 01 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-8
|
|
|
020be8 |
- Bump client_timeout value in test suite.
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Mar 01 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-7
|
|
|
020be8 |
- Add patch to fix imtest (rhbz#1543481).
|
|
|
020be8 |
- Fix vzic makefile to use proper cflags (rhbz#1550543).
|
|
|
020be8 |
|
|
|
020be8 |
* Mon Feb 26 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-6
|
|
|
020be8 |
- Update cassandane checkout.
|
|
|
020be8 |
- Add two new build dependencies.
|
|
|
020be8 |
- Remove all JMAP-related tests from the exclusion lists, since cassandane no
|
|
|
020be8 |
longer runs any JMAP tests on cyrus 3.0.
|
|
|
020be8 |
- Collapse unused test skip lists.
|
|
|
020be8 |
- Add ten additional skipped tests, after consultation with upstream.
|
|
|
020be8 |
|
|
|
020be8 |
* Mon Feb 26 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-5
|
|
|
020be8 |
- Add patch to fix segfaults in squatter.
|
|
|
020be8 |
- Exclude one test on all releases instead of just F28+.
|
|
|
020be8 |
- Remove --cleanup from cassandane invocation.
|
|
|
020be8 |
|
|
|
020be8 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-4
|
|
|
020be8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Jan 09 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-3
|
|
|
020be8 |
- Re-enable clamav and mariadb support as those are now built with openssl 1.1.
|
|
|
020be8 |
- But no clamav on ppc64 because of
|
|
|
020be8 |
https://bugzilla.redhat.com/show_bug.cgi?id=1534071
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Jan 04 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-2
|
|
|
020be8 |
- Reorganize some test exclusions so things build on all releases.
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Jan 04 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.5-1
|
|
|
020be8 |
- Update to 3.0.5.
|
|
|
020be8 |
- Add one new failing test.
|
|
|
020be8 |
- Remove one now-passing test on rawhide.
|
|
|
020be8 |
|
|
|
020be8 |
* Mon Dec 18 2017 Pavel Zhukov <pzhukov@redhat.com> - 3.0.4-6
|
|
|
020be8 |
- Rebuild with new net-snmp
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Nov 30 2017 Pete Walter <pwalter@fedoraproject.org> - 3.0.4-5
|
|
|
020be8 |
- Rebuild for ICU 60.1
|
|
|
020be8 |
|
|
|
020be8 |
* Wed Nov 29 2017 Pavel Zhukov <pzhukov@redhat.com> - 3.0.4-4
|
|
|
020be8 |
- Do not require tcp_wrappers (#1518759)
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Nov 14 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.4-3
|
|
|
020be8 |
- Rebuild for new libical.
|
|
|
020be8 |
- Add patch to fix compilation error with new libical.
|
|
|
020be8 |
- Disable two tests which fail due to the new libical.
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Oct 24 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.4-2
|
|
|
020be8 |
- Fix typo in default config;
|
|
|
020be8 |
https://bugzilla.redhat.com/show_bug.cgi?id=1506000
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Sep 05 2017 Pavel Zhukov <landgraf@fedoraproject.org> - 3.0.4-1
|
|
|
020be8 |
- Update to 3.0.4
|
|
|
020be8 |
- Patched cassandane for new behaviour. It should be updated idealy.
|
|
|
020be8 |
- Disable ImapTest.urlauth2 test; it seems to fail randomly regardless of
|
|
|
020be8 |
architecture.
|
|
|
020be8 |
|
|
|
020be8 |
* Fri Aug 11 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.3-1
|
|
|
020be8 |
- Update to 3.0.3, which contains an important security fix. The fix is not
|
|
|
020be8 |
embargoed but no CVE has been assigned yet.
|
|
|
020be8 |
- Drop patches merged upstream.
|
|
|
020be8 |
- An update of imaptest has resulted in three additional cassandane failures,
|
|
|
020be8 |
reported upstream as https://github.com/cyrusimap/cyrus-imapd/issues/2087.
|
|
|
020be8 |
In order to get the security fix out without delay, those three tests have been
|
|
|
020be8 |
disabled.
|
|
|
020be8 |
|
|
|
020be8 |
* Fri Aug 11 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.0.2-9
|
|
|
020be8 |
- Rebuilt after RPM update (№ 3)
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Aug 10 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.0.2-8
|
|
|
020be8 |
- Rebuilt for RPM soname bump
|
|
|
020be8 |
|
|
|
020be8 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-7
|
|
|
020be8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
020be8 |
|
|
|
020be8 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-6
|
|
|
020be8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
020be8 |
|
|
|
020be8 |
* Fri Jun 30 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-5
|
|
|
020be8 |
- Add two patches from upstream which fix JMAPCalendars issues on 32-bit and
|
|
|
020be8 |
big-endian architectures.
|
|
|
020be8 |
- Clean up test invocation and exclusion list. More tests pass now.
|
|
|
020be8 |
|
|
|
020be8 |
* Wed Jun 28 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-4
|
|
|
020be8 |
- Explicitly set specialusealways: 1 in the default config.
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Jun 27 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-3
|
|
|
020be8 |
- Patch the provided imapd.conf and cyrus.conf to more closely match previous
|
|
|
020be8 |
Fedora defaults and directories included in this package and to enable
|
|
|
020be8 |
features which are supported by the Fedora build.
|
|
|
020be8 |
- Add tmpfiles.d configuration file for directories in /run.
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Jun 27 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-2
|
|
|
020be8 |
- Exclude one more test from 32-bit arches. Looks like this failure crept in
|
|
|
020be8 |
with the Cassandane update.
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Jun 22 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.2-1
|
|
|
020be8 |
- Update to 3.0.2.
|
|
|
020be8 |
- New Cassandane snapshot, with more tests (all of which are passing).
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Jun 20 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-7
|
|
|
020be8 |
- Add old /usr/lib/cyrus-imapd directory to the utils package and add a symlink
|
|
|
020be8 |
there to the deliver binary. This should help a bit with migrations.
|
|
|
020be8 |
- Add upstream patch to fix reconstruct failures on 32-bit architectures.
|
|
|
020be8 |
Re-enable those five Cassandane tests.
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Jun 15 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-6
|
|
|
020be8 |
- Rename two commands: quota -> cyr_quota, restore -> cyr_restore.
|
|
|
020be8 |
- Fix Cassandane to handle those renames.
|
|
|
020be8 |
- Fix location of cyr_fetchnews.
|
|
|
020be8 |
- Fix Perl 5.26-related module linking issue which caused a test failure.
|
|
|
020be8 |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1461669
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Jun 06 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-5
|
|
|
020be8 |
- Use proper path to ctl_mboxlist in cron file.
|
|
|
020be8 |
- Add patch to increase individual test timeout. Sometimes armv7hl can't
|
|
|
020be8 |
complete a single test in 20 seconds.
|
|
|
020be8 |
- Disable the Metronome tests; upstream says that they just won't reliably on
|
|
|
020be8 |
shared hardware.
|
|
|
020be8 |
- Don't bother running Cassandane on s390x for now. The machines are simply
|
|
|
020be8 |
too slow.
|
|
|
020be8 |
|
|
|
020be8 |
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 3.0.1-4
|
|
|
020be8 |
- Perl 5.26 rebuild
|
|
|
020be8 |
|
|
|
020be8 |
* Fri Jun 02 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-3
|
|
|
020be8 |
- Remove clamav from build requirements.
|
|
|
020be8 |
- Add --cleanup to Cassandane call to hopefully reduce build disk usage.
|
|
|
020be8 |
- Disable maxforkrate test on s390x; our builders are too slow to run it.
|
|
|
020be8 |
|
|
|
020be8 |
* Fri Jun 02 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-2
|
|
|
020be8 |
- Add patch to fix up some endianness issues.
|
|
|
020be8 |
- Enable both test suites on all architectures.
|
|
|
020be8 |
- Add arch-specific excludes for a few Cassandane tests.
|
|
|
020be8 |
|
|
|
020be8 |
* Thu Apr 20 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.0.1-1
|
|
|
020be8 |
- Initial attempt at importing 3.0. Many new dependencies.
|
|
|
020be8 |
- Use a stock sample imapd.conf file instead of a Fedora-provided one.
|
|
|
020be8 |
|
|
|
020be8 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.10-3
|
|
|
020be8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
020be8 |
|
|
|
020be8 |
* Mon Jan 09 2017 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.5.10-2
|
|
|
020be8 |
- Rename httpd manpage to "cyrhttpd" to avoid conflict with the httpd package.
|
|
|
020be8 |
|
|
|
020be8 |
* Wed Nov 23 2016 Jason L Tibbitts III <tibbs@math.uh.edu> - 2.5.10-1
|
|
|
020be8 |
- Initial update to the 2.5 series.
|
|
|
020be8 |
- Significant spec cleanups.
|
|
|
020be8 |
- Add sscg dep and follow
|
|
|
020be8 |
https://fedoraproject.org/wiki/Packaging:Initial_Service_Setup for initial
|
|
|
020be8 |
cert generation.
|
|
|
020be8 |
- Change default conf to use the system crypto policy.
|
|
|
020be8 |
|
|
|
3a8412 |
* Sat Jan 01 2000 Pavel Zhukov <pzhukov@redhat.com> - 0.0.1-1
|
|
|
3a8412 |
- See /usr/share/doc/cyrus-imapd/CHANGELOG.rpm for more history
|