Package Details: cyrus-imapd2 2.5.17-1

Git Clone URL: https://aur.archlinux.org/cyrus-imapd2.git (read-only, click to copy)
Package Base: cyrus-imapd2
Description: Cyrus IMAP mail server - 2.5
Upstream URL: http://www.cyrusimap.org/
Licenses: custom
Conflicts: cyrus-imapd, imap-server, pop3-server
Provides: cyrus-imapd, imap-server, pop3-server
Replaces: cyrus-imapd
Submitter: pa314159
Maintainer: pa314159
Last Packager: pa314159
Votes: 1
Popularity: 0.196253
First Submitted: 2020-01-01 20:01 (UTC)
Last Updated: 2021-09-26 20:23 (UTC)

Latest Comments

andreas_baumann commented on 2024-10-03 13:17 (UTC)

The code has tons of trouble compiling with gcc 14 (https://gcc.gnu.org/gcc-14/porting_to.html), so I resorted to use clang for now (I'm sure, also an older gcc would work).

CFLAGS=-fPIC CC=clang ./configure

is enough for this to work.

andreas_baumann commented on 2024-10-03 12:18 (UTC)

I had to patch it:

cyrus-imapd-2.5.17-perl-5.36-assert.patch
diff -rauN a/lib/assert.h b/lib/assert.h
--- a/lib/assert.h      2022-06-06 11:37:00.878875758 +0200
+++ b/lib/assert.h      2022-06-06 11:53:58.510305462 +0200
@@ -43,11 +43,12 @@
 #ifndef INCLUDED_ASSERT_H
 #define INCLUDED_ASSERT_H

+#ifndef PERL_POLLUTE
 #ifdef __STDC__
 #define assert(ex)     {if (!(ex))assertionfailed(__FILE__, __LINE__, #ex);}
 void assertionfailed(const char *file, int line, const char *expr);
 #else
 #define assert(ex)     {if (!(ex))assertionfailed(__FILE__, __LINE__, (char*)0);}
 #endif
-
+#endif /* PERL_POLLUTE */
 #endif /* INCLUDED_ASSERT_H */

andreas_baumann commented on 2023-08-12 09:34 (UTC) (edited on 2024-08-25 17:59 (UTC) by andreas_baumann)

I got into cyrus version of Berkeley db: compiled against 6.2.32, linked against 5.3.28 with new perl 5.38. My solution was to build db5.3 as optdb5.3 into a separate folder /opt/db5.3 and use that one in PKGBUILD to build cyrus (--with-bdb=/opt/db5.3).

Post-Posting: see https://git.andreasbaumann.cc/cgit/arch/tree/private/optdb5.3

pa314159 commented on 2020-05-07 10:48 (UTC) (edited on 2020-05-07 10:49 (UTC) by pa314159)

@TheGoliath, sure, please create a pull request on https://github.com/pa314159/arch-cyrus-imapd2.git