Commit Graph

249 Commits

Author SHA1 Message Date
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
Petr Písař
5929b08f0e Perl 5.18 rebuild 2013-07-18 03:52:43 +02:00
Michal Hlavinka
3168cddf4c spec clean up 2013-07-12 17:28:40 +02:00
Michal Hlavinka
58abf451d0 make sure binaries are hardened 2013-04-18 15:02:54 +02:00
Dennis Gilmore
6c210cfc01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 13:23:38 -06:00
Michal Hlavinka
d42841aef5 reenable snmp 2013-01-29 17:47:43 +01:00
Michal Hlavinka
f5ea7cd41c remove obsolete files 2013-01-07 16:08:42 +01:00
Jeroen van Meeuwen (Ergo Project)
d97866d784 Check in new upstream version 2.4.17 2012-12-01 20:48:53 +00:00
Michal Hlavinka
c7c43b21a2 do not use strict aliasing 2012-11-30 19:22:03 +01:00
Michal Hlavinka
0cb4bd9eb8 use new systemd rpm macros (#850079) 2012-08-21 19:26:46 +02:00
Dennis Gilmore
15fff38376 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 15:12:58 -05:00
Petr Písař
00e318510e Perl 5.16 rebuild 2012-06-11 16:42:01 +02:00
Jeroen van Meeuwen (Ergo Project)
71ce1d642d Check in new upstream version cyrus-imapd-2.4.16 2012-04-19 14:40:34 +01:00
Jeroen van Meeuwen (Ergo Project)
e8cbb218d5 New upstream version 2.4.15 2012-04-18 14:12:35 +01:00
Michal Hlavinka
0945993560 rebuilt because of new libdb 2012-04-11 13:19:55 +02:00
Michal Hlavinka
3924e4ecb2 spec cleanup 2012-03-22 11:37:15 +01:00
Michal Hlavinka
6258b3d10c updated to 2.4.14 2012-03-14 14:21:00 +01:00
Michal Hlavinka
490dc9e17e use PraveTmp in systemd unit file 2012-02-07 15:57:28 +01:00
Dennis Gilmore
172ef52cca - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 18:13:53 -06:00
Jeroen van Meeuwen (Ergo Project)
60873b97c3 Check in new upstream version 2012-01-02 15:47:00 +01:00
Michal Hlavinka
58147a2761 do not use digest-md5 as part of default auth mechanisms,
it does not coop with pam
2011-12-07 11:47:17 +01:00
Michal Hlavinka
e0b805b4c7 reduce noisy logging, add option to turn on LOG_DEBUG syslog
messages again (thanks Philip	Prindeville) (#754940)
2011-11-22 14:48:07 +01:00