Pull in a newer Cassandane snapshot and clean up the test lists. Down
to just five tests to figure out, plus nine that only fail on big-endian
machines which I've asked upstream to look into.
Rename quota and restore to have a "cyr_" prefix, and fix testsuite
hardcoding of those names.
Fix FTBFS related to a change in the way perl compiles XS modules.
Re-enable some tests on 32-bit rawhide because perl there now supports
quad types. But leave them disabled for F26.
Fix the location of cyr_fetchnews
More cleanup and commenting of the spec.
Bump to release 6.
I'm still trying to get a build through without failures related to
timeouts in the test code on the slowest build hosts. The failures are
not consistent, which is what makes this so difficult.
Remove the build dependency on clamav-devel so that cyr_virusscan and
such aren't built. Clamav still uses the old openssl libraries, and so
cyr_virusscan would occasionally segfault. This caused a Cassandane
failure on ppc64. (I have no idea why it only failed there.)
Add --cleanup to the testrunner.pl command line to keep disk usage
lower, This may help to fix an intermittent test failure which was
potentially related to disk space.
Bump to 3.0.1-3.
Both test suites are now run on all architectures. A few Cassandane
tests need to be excluded on 32-bit and big-endian architectures, but
the built-in test suite passes in its entirety and the vast majority of
Cassandane runs just fine.
I've decided to skip running the internal test suite on big-endian
machines, and to not run Cassandane on 32-bit machines. Upstream is
working on it but it's going to take a while.
Basically Cyrus is completely fine on 64-bit little-endian machines.
"make check" fails on big-endian machines. The Cassandane tests fail on
32-bit machines.
Some of the Cassandane tests are known to be due to bugs in the tests
suite; Fedora's 32-bit Perl does not support 64-bit types ("Q" and "q")
in pack and unpack. This is being fixed in rawhide on our side, but it
won't be a complete solution because there are some failures elsewhere
in the test suite.
Fedora is the first to fully integrate Cassandane into the build
process, and we appear to be the only ones to do testing on big-endian
and 32-bit machines. So there's a bit of teething still to get through.
I still do intend to try and push this to F26 as upstream has requested.
Working with upstream I got some fixes pushed and found out about a
couple of other tricks.
Was able to drop some patches and now cassandane runs 603 tests
successfully. The only tests excluded now are those which are expected
to fail with 3.0.1, and five coredump tests which would require removal
of systemd coredump redirection in order to be useful.
It turns that, at least in cyrus 3, the cyr_systemd_helper script will
end up wiping out your databases every time the daemon starts. It was
something that was needed to handle the horror that was Berkeley
DB/Sleepycat DB/whatever it's called today, but Cyrus no longer supports
BDB and so there's no point.
An extra systemd service file will call sscg to setup a secure initial
certificate if it does not exist. The new default imapd.conf file will
reference that cert.
vzic is bundled and has a different license than the rest of the code.
Split it out for simplicity. It and the main package depend on each
other.
Add Provides: bundled(vzic).
Slihtly clean up the files list