Commit Graph

270 Commits

Author SHA1 Message Date
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
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
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
c0a5476798 Trim changelog entries older than 2010. 2016-11-24 00:13:56 -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
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
Jason Tibbitts
c9b618f56b Clean up scriptlets and dependencies.
The %pre scriptlet had some horrible hack to try and turn on synchronous
writes if /var was on ext2.  That hasn't been useful for a long time.

cyrus no longer builds static libraries, so don't bother having the
-devel package provide a -static package.

Scriptlet dependencies were weird across the board; the -utils package
had scriptlet deps but didn't even have any scriptlets.  Clean all of
that up.
2016-11-23 19:38:56 -06:00
Jason Tibbitts
92f542ee81 Update %changelog. 2016-11-23 19:25:21 -06:00
Jason Tibbitts
04c5de2868 Switch some pointless perl calls to sed. 2016-11-23 18:56:25 -06:00
Jason Tibbitts
6233132f55 Clean up file list. First buildable package. 2016-11-23 18:31:00 -06:00
Jason Tibbitts
212beead41 Make -devel own the unversioned .so files. 2016-11-23 18:10:10 -06:00
Jason Tibbitts
b324cd1fc2 Runtime dep on shadow-utils was on the wrong package 2016-11-23 18:07:21 -06:00
Jason Tibbitts
a09d37dcda Depend on pkgconfig for proper dir ownership 2016-11-23 18:06:10 -06:00
Jason Tibbitts
e27ddb3117 Remove .la files; package pkgconfig files in -devel. 2016-11-23 18:03:38 -06:00
Jason Tibbitts
26a5a53fdc Further work.
Properly build the Perl modules
Start cleaning up the file lists.
2016-11-23 17:59:00 -06:00
Jason Tibbitts
95c4f40167 Remove some commented cruft that's no longer useful 2016-11-23 11:16:12 -06:00
Jason Tibbitts
83cd0005a8 Remove unrecognized --disable-listext config option 2016-11-23 10:16:47 -06:00
Jason Tibbitts
b46d117410 Don't assume .gz extension on manpages. 2016-11-23 01:32:30 -06:00
Jason Tibbitts
f3be05b9b0 Further cleanips, closer to a clean build 2016-11-23 01:31:03 -06:00
Jason Tibbitts
1df29a310b Further fork on getting things installed.
Also more cleanups.
2016-11-22 19:24:55 -06:00
Jason Tibbitts
779e0eeecc More cleanups.
Additional four-space indentation.
Missed an instance of %{__perl}.
2016-11-22 17:59:47 -06:00
Jason Tibbitts
1e1862cca0 Big cleanups
/etc is way shorter and less obscuring than %{_sysconfdir}.
Reorder %configure options.
Add %configure options for new features.
Add build dependencies for those features.
Just build with %make_build.  No need to get fancy.
When calling perl, we can just use "perl".  Still use the macro for
    actually embedding the path to perl into compiled code.
Just use the default compilation flags.  The hardened flags are default
    now.
Start using four space indentation.
2016-11-22 17:50:27 -06:00
Jason Tibbitts
58e16e03d3 Merge branch 'master' of ssh://pkgs.fedoraproject.org/cyrus-imapd 2016-11-22 15:33:23 -06:00
Jason Tibbitts
9d73bed94f Begin update to 2.5.10.
Remove all patches.
Calling autoconf in %prep is horrible.
2016-11-22 15:31:53 -06:00
Petr Písař
dbbea06f03 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:20:11 +02:00
Jitka Plesnikova
e17985f8e2 Perl 5.24 rebuild 2016-05-17 03:53:35 +02:00
Dennis Gilmore
b3e5249a28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 18:24:28 +00:00
Jason Tibbitts
a55fa566f7 Update to 2.4.18 and backport security patch. 2015-10-01 11:26:48 -05:00
Jason Tibbitts
399f01ad19 Clean up a bit. 2015-09-09 15:21:48 -05:00
Jason Tibbitts
10e891f3e8 Fix build failure. 2015-08-08 21:22:09 -05:00
Kevin Fenzi
5a9e83409c Rebuild for new librpm 2015-07-29 20:44:17 -06:00
Dennis Gilmore
632c60c46f - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 03:38:31 +00:00
Jitka Plesnikova
05e098019d Perl 5.22 rebuild 2015-06-05 11:24:55 +02:00
Jitka Plesnikova
714522492f Perl 5.20 rebuild 2014-08-27 12:28:58 +02:00
Peter Robinson
ccf804f285 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 02:04:36 +00:00
Dennis Gilmore
f2d9bd53f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 01:39:34 -05:00
Dennis Gilmore
825f10f389 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 01:33:44 -05:00