Commit Graph

221 Commits

Author SHA1 Message Date
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
Jason Tibbitts
ec667d8484 Increase default systemd-imposed limits. 2016-12-16 10:23:59 -06:00
Jason Tibbitts
f7c566fb48 Use system-crypto-policies by default.
Cyrus places the cipher list under control of the administrator.  Make
the default configuration use the system crypto policies.  Resolves
https://bugzilla.redhat.com/show_bug.cgi?id=1179212
2016-12-13 15:26:03 -06:00
Jason Tibbitts
c0a5476798 Trim changelog entries older than 2010. 2016-11-24 00:13:56 -06:00
Jason Tibbitts
7c80fddaa5 Actually upload the new tarball. 2016-11-24 00:12:35 -06:00
Jason Tibbitts
c2545138c9 Make main package only recommend the vzic package.
Also add the necessary deps on ldconfig.
2016-11-24 00:02:33 -06:00
Jason Tibbitts
32ed4ae7af Split out vzic and clean up
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
2016-11-24 00:00:07 -06:00
Jason Tibbitts
2805ac4ee2 Tweak my rpmlint filter. 2016-11-23 23:06:00 -06:00
Jason Tibbitts
0608950fc4 Remove some comments and a line of debugging cruft. 2016-11-23 22:20:54 -06:00
Jason Tibbitts
d889d66cee More dependency cleanup. 2016-11-23 22:18:05 -06:00
Jason Tibbitts
1b2d6bd211 Don't generate ssl cert in %post 2016-11-23 22:15:22 -06:00
Jason Tibbitts
6d20ca4084 Clean up %pre. 2016-11-23 22:14:45 -06:00