Commit Graph

353 Commits

Author SHA1 Message Date
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
dd44fee7a1 Actually upload the new sources. 2017-08-11 11:22:29 -05: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
038f33c35f Forgot to add two new patches. 2017-07-05 13:56:08 -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
cbf887e229 Remove old cassandane release from sources. 2017-06-29 17:18:13 -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
31ed5b9607 Actually commit the tempfiles.conf file. 2017-06-27 20:24:56 -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
eef1e2a1c5 Add new patch file. 2017-06-22 10:46:13 -05:00
Jason Tibbitts
8662054558 Initial update to 3.0.2. 2017-06-22 10:44:44 -05:00
Jason Tibbitts
2353fd391f Add the necessary patch. 2017-06-21 08:24:37 -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
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