Commit Graph

339 Commits

Author SHA1 Message Date
Jason Tibbitts
fc862dfc6b Add a pam.d file for httpd auth
This finishes the work from the previous commit.

I also sorted the installation of the various pam.d files.
mmitted:
2019-02-19 10:42:39 -06:00
Jeroen van Meeuwen (Kolab Systems)
efdcd6040e Install PAM configuration file for http service as well (thanks felixphew on #cyrus at FreeNode) 2019-02-09 22:19:49 +01:00
Fedora Release Engineering
3b5097f83d - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 16:42:44 +00:00
Pavel Zhukov
4672136ce3 Revert "Trim changelog entries older than 2010."
Requested by Simon Matter
This reverts commit c0a5476798.
2019-01-30 18:29:07 +01:00
Jason Tibbitts
a977a86703 Update Perl linking patch. 2019-01-24 12:22:04 -06:00
Pete Walter
31f345edd4 Rebuild for ICU 63 2019-01-23 22:03:12 +00:00
Jason Tibbitts
b2c08d2974 Re-enable --as-needed; workaround Perl breakage.
- Re-enable --as-needed, now that PCRE has been patched.
- Add workaround for improper linking of some Perl modules.
2019-01-23 13:25:02 -06:00
Jason Tibbitts
e198817bac Remove outdated comment 2019-01-18 13:03:39 -06:00
Jason Tibbitts
6015843ef1 Add link to upstream ticket for --as-needed breakage. 2019-01-15 14:28:39 -06:00
Jason Tibbitts
0d8ebcb9f3 Disable --as-needed as it breaks most of Cyrus. 2019-01-15 13:45:03 -06:00
Jason Tibbitts
1797aa5238 Fix build with new clamav and langpacks removal. 2019-01-15 13:22:45 -06:00
Pavel Zhukov
8f5d80bdf9 Temporary disable cassandane for master.
It should be enabled back once rhbz#1643801 is closed
2018-12-13 10:22:38 +01:00
Nils Philippsen
89252d0e28 remove jmap from list of httpmodules
Experimental JMAP support was removed in version 3.0.6.
2018-10-28 22:46:51 +01:00
Pavel Raiskup
5f7be5f18d BuildRequires: s/postgresql-devel/libpq-devel/
That's because we moved libpq.so.5 into libpq package.

Related: rhbz#1618698, rhbz#1623764
2018-09-05 15:05:55 +02:00
Jason Tibbitts
a5d811bbfa Update to 3.0.8. 2018-08-11 08:54:31 -05:00
Jason Tibbitts
da06944d84 Rebuild for unannounced net-snmp soname bump. 2018-07-24 16:26:59 -05:00
Fedora Release Engineering
b364e040c5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 22:31:42 +00:00
Pete Walter
ead62dd349 Rebuild for ICU 62 2018-07-10 21:47:57 +01:00
Jitka Plesnikova
5da5408092 Perl 5.28 rebuild 2018-06-30 08:03:29 +02:00
Jason Tibbitts
866cec24f4 Renumber source files. 2018-06-13 20:08:40 -05:00
Jason Tibbitts
7257e22804 Remove cvt_cyrusdb_all and libdb-utils requirement.
Cyrus3 does not use BerkeleyDB at all and the cvt_cyrusdb_all tool
wouldn't even run.  Plus it forced an unneeded dependency on
libdb-tools.  It could conceivably come back if the BerkeleyDB stuff
were excised.
2018-06-13 19:53:59 -05:00
Jason Tibbitts
4389c581d2 Fix more weird perl shebang magic. 2018-06-13 19:32:29 -05:00
Jason Tibbitts
f0a88eb11a Fix perl shebangs and an extra provided symbol.
For some reason, perl(AnnotateInlinedCIDs) was provided, so filter it
out.
Also move the legacy deliver symlink to the base package to follow the
deliver binary.
2018-06-13 18:14:26 -05:00
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