Commit Graph

232 Commits

Author SHA1 Message Date
Jason Tibbitts
9937287217 Add upstream patch for reconstruct bug.
Add a patch from https://github.com/cyrusimap/cassandane/issues/21 which
fixes a bug in reconstruct that appears on 32-bit architectures.  This
lets us re-enable five Cassandane tests on 32-bit.
2017-06-20 19:48:35 -05:00
Jason Tibbitts
373f513e1d Add the old /usr/lib/cyrus-imapd directory
To help with the transition to the new version, add back in the old
/usrlib/cyrus-imapd directory and symlink the deliver program there.
2017-06-20 19:00:23 -05:00
Jason Tibbitts
77cd74be01 Rename quota and restore; fix perl-related FTBFS
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.
2017-06-15 18:17:48 -05:00
Jason Tibbitts
20773f689a Just stop trying to make Cassandane work on s390x. 2017-06-06 16:32:36 -05:00
Jason Tibbitts
ab4aa66f01 Disable one more test and clean up a bit.
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.
2017-06-06 11:19:27 -05:00
Jason Tibbitts
07a932cada Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/cyrus-imapd 2017-06-06 09:40:04 -05:00
Jason Tibbitts
af6aa5128d Add patch to increate test suite timeout.
Sometimes armv7hl is just too slow to complete some of the tests within
20 seconds.  Sigh.
2017-06-06 09:32:18 -05:00
Jason Tibbitts
a3b9d95bb6 Use proper ctl_mboxlist path in cron file. 2017-06-06 09:30:38 -05:00
Jitka Plesnikova
369cf89b1b Perl 5.26 rebuild 2017-06-06 13:25:41 +02:00
Jason Tibbitts
70470145b2 Exclude maxforks test on s390x; it's too slow to run it. 2017-06-05 17:28:41 -05:00
Jason Tibbitts
b177185281 Remove clamav support and reduce build disk use.
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.
2017-06-05 13:33:11 -05:00
Jason Tibbitts
c6a7c0199c Fix enianness issues, enable more tests.
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.
2017-06-02 16:50:48 -05:00
Jason Tibbitts
0a476b2b84 OK, just avoid __isa_bits. 2017-05-31 20:25:21 -05:00
Jason Tibbitts
5a9407dc6c Try a different conditional expression.
What's there works fine for me but mock doesn't like it for some reason.
2017-05-31 20:14:10 -05:00
Jason Tibbitts
f28eca0f9a Exclude Cassandane on BE machines as well. 2017-05-31 18:42:09 -05:00
Jason Tibbitts
9d10c9d73e More test suite work; run only on selected arches
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.
2017-05-31 17:06:29 -05:00
Jason Tibbitts
1c7b0e8083 Still more work on tests.
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.
2017-05-30 14:22:54 -05:00
Jason Tibbitts
c43a3db86d Add patch to fix some test issues on big-endian machines. 2017-05-26 12:39:43 -05:00
Jason Tibbitts
5d37ee86be Use the proper location of master in the service file. 2017-05-26 12:38:57 -05:00
Jason Tibbitts
c92dbf22d8 Upload new cassandane version. 2017-05-26 11:57:48 -05:00
Jason Tibbitts
7c484621fe Clean up some comments. 2017-05-26 11:54:05 -05:00
Jason Tibbitts
9a65b5c93e Fully functional cassandane with fewer patches.
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.
2017-05-26 11:50:15 -05:00
Jason Tibbitts
e63a593c45 Upload new sources. 2017-05-25 12:11:50 -05:00
Jason Tibbitts
8965061af7 Add rpmlint filter for "rpm-buildroot-usage". 2017-05-25 11:27:34 -05:00
Jason Tibbitts
5ebd7deb39 Conditionalize the cassandane stuff.
To facilitate building for EL7 and maybe F25 and older, conditionalize
the build dependencies and calls to Cassandane.
2017-05-25 11:19:25 -05:00
Jason Tibbitts
f33aeb9844 Remove cyr_systemd_helper completely.
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.
2017-05-25 11:01:50 -05:00
Jason Tibbitts
b9bfd810a7 Add source files/patches. 2017-05-25 10:33:34 -05:00
Jason Tibbitts
c70cf04055 More work on test suite. 2017-05-25 10:32:04 -05:00
Jason Tibbitts
5a7ae23159 More work on getting cassandane running. 2017-05-23 12:18:54 -05:00
Jason Tibbitts
ab96e24f94 Renumber source24->19. 2017-05-22 17:53:26 -05:00
Jason Tibbitts
1c99445a36 Renumber source 23->18. 2017-05-22 17:53:02 -05:00
Jason Tibbitts
98bfc7d664 Renumber source22->17. 2017-05-22 17:52:35 -05:00
Jason Tibbitts
4339e190d1 Renumber source21->16. 2017-05-22 17:52:07 -05:00
Jason Tibbitts
684974ccd8 Renumber source20->15. 2017-05-22 17:51:28 -05:00
Jason Tibbitts
224d9399ec Renumber source19->14. 2017-05-22 17:50:49 -05:00
Jason Tibbitts
4a7375e2c4 Renumber source18->13. 2017-05-22 17:50:21 -05:00
Jason Tibbitts
6e07affa64 Renumber source17->12. 2017-05-22 17:49:48 -05:00
Jason Tibbitts
e3b1f185d1 Reorder sources 2017-05-22 17:49:21 -05:00
Jason Tibbitts
a19e54f75b Renumber source13->11. 2017-05-22 17:48:11 -05:00
Jason Tibbitts
a01e045039 Renumber source11 -> 10. 2017-05-22 17:47:36 -05:00
Jason Tibbitts
d4035a6d3f Add doc-extra subpackage; reorganize subpackage ordering. 2017-05-22 17:17:04 -05:00
Jason Tibbitts
1f8c1109f3 Now have a buildable package. 2017-05-22 16:14:19 -05:00
Jason Tibbitts
176b9d0495 Now passes %check. 2017-05-22 15:54:46 -05:00
Jason Tibbitts
213ef748ce Some further work. Try to run the test suite. 2017-05-22 14:22:00 -05:00
Jason Tibbitts
583c7ed00b Missed two {} cleanups. 2017-05-22 12:00:25 -05:00
Jason Tibbitts
f98fbbdac0 Initial work to update to 3.0.1. 2017-05-22 11:59:16 -05:00
Fedora Release Engineering
597d10c50b - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 08:07:43 +00:00
Jason Tibbitts
1a5c4ef8af Rename httpd(8) manpage to avoid conflict. 2017-01-09 19:06:08 -06:00
Jason Tibbitts
d6b93776b7 Forgot to git add one source file.... 2016-12-22 08:12:57 -06:00
Jason Tibbitts
be39b05c56 Follow initial system setup guidelines.
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.
2016-12-21 16:01:39 -06:00