Commit Graph

316 Commits

Author SHA1 Message Date
Jason Tibbitts
0cfd68e75c Move utilities in sbin from -utils to the main package. 2018-06-13 17:21:21 -05:00
Jason Tibbitts
3b86d63b87 Fix perl module perms and shebangs. 2018-06-13 16:33:39 -05:00
Jason Tibbitts
2eb8f8799b Document why the deliver symlink is there. 2018-06-13 15:13:16 -05:00
Jason Tibbitts
00a0f27af4 License file just where it's needed.
All packages besides the perl module depend on -libs, so two copies of
COPYING is enough.

Also explain why vzic doesn't have a license file.
2018-06-13 15:02:36 -05:00
Jason Tibbitts
e80f59d1b0 Split Perl modules into a perl-Cyrus package. 2018-06-13 14:45:57 -05:00
Jason Tibbitts
4d3a4b0327 Remove extraneous comment. 2018-06-13 14:06:01 -05:00
Jason Tibbitts
3bbc540abe Fix rpath issues with libraries (finally). 2018-06-13 13:47:03 -05:00
Jason Tibbitts
6adb29b50d Split libraries to a -libs subpackage. 2018-06-13 13:46:35 -05:00
Jason Tibbitts
9fd180100a Split cyr_virusscan to a subpackage. 2018-06-13 13:10:15 -05:00
Jason Tibbitts
f27231a2dc Re-exclude maxforkrate test on s390x. 2018-06-07 11:01:52 -05:00
Jason Tibbitts
7a1e91361b Bump release, add changelog entry for recent commits. 2018-06-01 18:07:50 -05:00
Jason Tibbitts
38d2902ed6 Better explanation for why Admin.imap_admins fails. 2018-06-01 17:38:39 -05:00
Jason Tibbitts
3209176e05 Add patch to call cyr_quota.
quota was renamed to cyr_quota ages ago.  One place in the imap code, in
the implementation of the RECONSTRUCT command, will actually exec that
binary and so it must be patched to match.
2018-06-01 17:37:02 -05:00
Jason Tibbitts
40d958330c Update Cassandane checkout; drop merged patch. 2018-06-01 17:34:47 -05:00
Jason Tibbitts
3fca7a6b6f Update Cassandane and re-check tests. 2018-05-30 14:30:15 -05:00
Jason Tibbitts
90c5977457 Remove ldconfig and F26-specific bits.
Remove the ldconfig scriptlets; they're not needed in F28+.
Remove <= F26 conditional block of test exclusions; obviously that's not
needed.
If F27 is to be updated, it must be done by cherry picking or separate
commits, as F27 still needs the ldconfig calls.
2018-05-30 13:23:34 -05:00
Jason Tibbitts
aa34e471a1 Enable clamav and mysql/mariadb support properly.
For real, this time.
2018-05-18 15:17:09 -05:00
Jason Tibbitts
38ecc22e22 Update to 3.0.7 and update Cassandane.
Move to the new Cyrus version.  Update Cassandane as well.
Update the expected test failure list; two removed, five added.
2018-05-18 14:31:42 -05:00
Jason Tibbitts
af67f18a25 Better explain one skipped test. 2018-05-09 14:48:26 -05:00
Jason Tibbitts
26d74520f8 Add explicit libicu-devel dependency. 2018-05-01 18:11:06 -05:00
Jason Tibbitts
9d850e3556 Disable the new failing test.
According to https://github.com/cyrusimap/cyrus-imapd/issues/2332, this
isn't a bug in cyrus and so that test is expected to fail at the moment.
A fix may require an update to perl-Net-CalDAVTalk.
2018-05-01 13:40:06 -05:00
Jason Tibbitts
2bab9a965e Initial work for 3.0.6.
I'm committing the initial work to get 3.0.6 built.  Note that this will
build, but one cassandane test will fail.  I'm tracking that down now
but I may have to disable that test until the issue is understood.
O# Please enter the commit message for your changes. Lines starting
2018-04-30 12:37:09 -05:00
Pete Walter
73b053a0a2 Rebuild for ICU 61.1 2018-04-30 16:12:53 +01:00
Jason Tibbitts
78c60e07a3 Update Cassandane again, to fix a broken test.
This should be the last Cassandane update for a while, as later versions
need an unreleased version of Mail::JMAPTalk.
2018-04-17 13:40:37 -05:00
Jason Tibbitts
665fc283a5 Update Cassandane again, fixing some random failures. 2018-04-13 18:33:17 -05:00
Jason Tibbitts
90e7b380c1 Update and adjust to the new Cassandane snapshot. 2018-04-11 13:18:05 -05:00
Jason Tibbitts
9c93c0a2f5 Relocate cassandane base port. 2018-04-03 14:09:18 -05:00
Jason Tibbitts
2129da103c Fix typo. 2018-04-03 12:29:33 -05:00
Jason Tibbitts
12149cdc4a Re-enable imaptest on rawhide.
This still won't consistently build in koji; the test suite is just so
sensitive to timing for some reason.
2018-04-03 12:20:06 -05:00
Jason Tibbitts
5d7cd21807 Try running tests serially. 2018-04-02 19:09:06 -05:00
Jason Tibbitts
0c031730b9 Get things building again.
This updates Cassandane, adds an upstream patch to fix a bug which the
new Cassandane tests, and then disable the ImapTest tests because
imaptest itself is broken on rawhide.
2018-04-02 15:54:06 -05:00
Jason Tibbitts
bec979e8a0 Re-enable clamav on ppc64. 2018-03-27 14:43:09 -05:00
Jason Tibbitts
a84e493193 Bump release. 2018-03-01 16:22:53 -06:00
Jason Tibbitts
0387a93271 Fix a couple of open tickets.
Add patch to fix imtest (rhbz#1543481).
Fix vzic makefile to use proper cflags (rhbz#1550543).
2018-03-01 12:55:25 -06:00
Jason Tibbitts
7a0b31dd49 Update cassandane.
Use current git head.
Add a couple of new build deps.
Remove all JMAP test exclusions, since cassandane no longer runs JMAP
  tests on the 3.0 branch.
Clean up exclusion lists.
Add ten additional skipped tests, after consultation with upstream.
2018-02-26 21:36:59 -06:00
Jason Tibbitts
86f7adef68 Fix squatter segfaults seen in rawhide.
Add patch to fix segfaults in squatter.
Exclude one test on all releases instead of just F28+.
Remove --cleanup from cassandane invocation.
2018-02-26 16:14:52 -06:00
Jason Tibbitts
03a9f45cb4 Start working on patches to some new failures. 2018-02-19 22:52:47 -06:00
Fedora Release Engineering
e94c31c552 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 06:15:04 +00:00
Jason Tibbitts
77e8c64a80 Disable clamav on ppc64.
Clamav support doesn't work on ppc64 due to
https://bugzilla.redhat.com/show_bug.cgi?id=1534071 so disable it there.
2018-01-12 19:22:35 -06:00
Jason Tibbitts
34e1a93ccb Re-enable clamav and mysql support.
Since both clamav and mysql are built with openssl 1.1 now, they can be
re-enabled here.
2018-01-09 20:46:26 -06:00
Jason Tibbitts
397b5b4b0a Move some test exclusions around. 2018-01-04 14:12:35 -06:00
Jason Tibbitts
79b2fd58ff Update to 3.0.5. 2018-01-04 09:38:19 -06:00
Pavel Zhukov
1c28b2c2b3 Rebuild with new net-snmp 2017-12-18 17:54:33 +01:00
Pete Walter
f710ed711d Rebuild for ICU 60.1 2017-11-30 20:22:08 +00:00
Pavel Zhukov
b11ea4fcef Do not require tcp_wrappers (#1518759) 2017-11-29 22:35:31 +01:00
Jason Tibbitts
8fddca24c0 Libical3 support
- Rebuild for new libical.
- Add patch to fix compilation error with new libical.
- Disable two tests which fail due to the new libical.
2017-11-14 12:14:03 -06:00
Jason Tibbitts
93576aa025 Fix typo in default configuration. 2017-10-24 14:20:33 -05:00
Jason Tibbitts
17125986d3 Disable a test which fails randomly. 2017-09-05 13:53:15 -05:00
Pavel Zhukov
9fac65a540 Add patch justification 2017-09-05 16:38:19 +02:00
Pavel Zhukov
75681df8eb New version 3.0.4 2017-09-05 16:36:27 +02:00
Jason Tibbitts
a3910120e8 Update to 3.0.3.
- Update to 3.0.3, which contains an important security fix.  The fix is not
  embargoed but no CVE has been assigned yet.
- Drop patches merged upstream.
- An update of imaptest has resulted in three additional cassandane failures,
  reported upstream as https://github.com/cyrusimap/cyrus-imapd/issues/2087.
  In order to get the security fix out without delay, those three tests have been
  disabled.
2017-08-11 11:20:12 -05:00
Igor Gnatenko
514ad06e8e Rebuilt after RPM update (№ 3)
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-08-11 11:05:16 +02:00
Igor Gnatenko
08574469d7 Rebuilt for RPM soname bump
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-08-10 20:22:48 +02:00
Fedora Release Engineering
ef8e56e9fc - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 19:24:38 +00:00
Fedora Release Engineering
8809cf8499 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 05:53:12 +00:00
Jason Tibbitts
f635c6f8bb s390x builders are too slow again; don't run tests there. 2017-07-05 15:01:51 -05:00
Jason Tibbitts
499b7bb11b Spec cleanup.
* Remove unneeded source file.
* Fix comment on excluded test suite to indicate that our libical is too
  old.
* Handle all excluded tests through the same mechanism, and comment them
  all.
2017-07-05 12:55:26 -05:00
Jason Tibbitts
00209423a5 Fix various JMAP tests.
Pull a couple of small patches from upstream which fix several
JMAP-related tests.

Rework the test exclusion list; there are now only a few which need to
be excluded.

Also drop a patch to cassandane to handle the quota->cyr_quota rename;
we can achieve the same thing now without patching.
2017-07-03 18:15:57 -05:00
Jason Tibbitts
a52db49073 Set specialusealways: 1 in the default config.
Upstream will be changing the default for this soon.  Making this
explicit in our configuration may save confusion down the line.
2017-06-28 15:56:07 -05:00
Jason Tibbitts
3a72524044 Patch default configs; add tmpfiles.d config.
Patch the default configuration file to enable the full supported
functionality of the build, and to more closely match the defaults from
older Fedora packages.

Add a tmpfiles.d configuration file to properly create the directories
under /run which upstream is now using.  Also create and own those
directories properly.
2017-06-27 20:20:43 -05:00
Jason Tibbitts
cdeac93ae7 Disable one test on 32-bit machines.
I failed to notice that the Cassandane update had caused an additional
failure on 32-bit, reported upstream as
https://github.com/cyrusimap/cyrus-imapd/issues/2042
2017-06-27 14:39:38 -05:00
Jason Tibbitts
a1d17f04c3 Update Cassandane and test lists
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.
2017-06-27 10:31:15 -05:00
Jason Tibbitts
8662054558 Initial update to 3.0.2. 2017-06-22 10:44:44 -05:00
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
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
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
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