Package Details: cyrus-imapd 3.0.13-3

Git Clone URL: https://aur.archlinux.org/cyrus-imapd.git (read-only, click to copy)
Package Base: cyrus-imapd
Description: An email, contacts and calendar server
Upstream URL: https://www.cyrusimap.org/
Licenses: BSD
Provides: imap-server, pop3-server
Submitter: ryanc
Maintainer: J5lx
Last Packager: J5lx
Votes: 23
Popularity: 0.33
First Submitted: 2007-10-14 08:22
Last Updated: 2020-04-18 13:00

Dependencies (41)

Required by (2)

Sources (9)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

pronet commented on 2020-06-17 17:25

If you want cyrus-imap-3.2.1 downgrade python-sphinx to 2.4.4.

After the install of 3.2.1 you can re-upgrade python-sphinx.

This also fixes the issue with sieveshell crashing

Replace the PKGBUILD with:

pkgbase=cyrus-imapd
pkgname=(cyrus-imapd cyrus-imapd-docs)
pkgver=3.2.1
pkgrel=0
pkgdesc="An email, contacts and calendar server"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://www.cyrusimap.org/"
license=('BSD')
makedepends=('libsasl' 'icu' 'jansson' 'libical' 'libxml2' 'krb5' 'sqlite'
             'mariadb-libs' 'postgresql-libs' 'libnghttp2' 'brotli' 'shapelib'
             'libldap' 'libcap' 'net-snmp' 'xapian-core' 'perl' 'clamav' 'rsync'
             'python-sphinx<3' 'perl-pod-pom-view-restructured')
source=("https://github.com/cyrusimap/cyrus-imapd/releases/download/${pkgbase}-${pkgver}/${pkgbase}-${pkgver}.tar.gz"{,.sig}
        "vzic-flags.patch"
        "imapd.conf.patch"
        "cyrus-imapd.service"
        "cyrus-imapd.sysusers.conf"
        "cyrus-imapd.tmpfiles.conf"
        "git+https://github.com/cyrusimap/cyrus-timezones.git")
validpgpkeys=('5B55619A9D7040A9DEE2A2CB554F04FEB36378E0')
sha512sums=('8a4c2690fbcd064beb20affee6b074211f05f9d2fa752381eb21cf5597ff09357c781ac92162f1eed7d697a19c804560cc3ae87413d9d7b1a31b57298342a60b'
            'SKIP'
            'ff1adb55abb059f0c022ae3e375c0a099278d69174bef712b85af40b00fa68a6d49604d09f80195a429ff842813e914557d7aff773231776cbbc5037164c180a'
            '0862ffc8c05208efd4d2fb50a6e3719ebc65fc2d72f8e6404235aa32cc44d8227056a17b78f2726e15ff8e38d473795f837c34bfbe89b694b2298c9baab9d5db'
            '738242e80cec2c25ae6a85a889cc8d35d7c2f43b2b4d64d74f99a230b21024f168a885f1e319aec1aab0e0599e41211478b99dc608a4ba036be90f8d7e23fd96'
            '28612e491371515b414ce6d34554f1c2286624f5b80872e6be7037a2cccba1ed5bd2c4bfed27ed978478debdfb5f3d56aaa30d767f50b125f2ad38e76a37702c'
            '70fedcd78f4e505038e2716a0446e7bb7f7a344faf2ab43c51f47380ff56a9c2407cfbe0f24c006618a901e44ff124a7f6ed19203478a6b852d7bda7771210c5'
            'SKIP')

prepare() { cd "${srcdir}/${pkgbase}-${pkgver}" cp -a "${srcdir}/cyrus-timezones/vzic" tools/ mv tools/vzic/Makefile.vzic tools/vzic/Makefile patch -Np1 < "${srcdir}/vzic-flags.patch" autoreconf }

build() { cd "${srcdir}/${pkgbase}-${pkgver}"

export PERL_MM_OPT="NO_PACKLIST=true" # Work around Cyrus bug #2629 export LDFLAGS="${LDFLAGS/,--as-needed}"

./configure \ --prefix=/usr \ --libexecdir=/usr/lib/cyrus \ --sysconfdir=/etc/cyrus \ --sbindir=/usr/bin \ --enable-xapian \ --enable-autocreate \ --enable-idled \ --enable-nntp \ --enable-murder \ --enable-http \ --enable-calalarmd \ --enable-replication \ --enable-backup \ --with-mysql=yes \ --with-pgsql=yes \ --with-ldap \ --with-pidfile=/run/cyrus-master.pid \ --with-syslogfacility=MAIL

make make -C tools/vzic }

check() { cd "${srcdir}/${pkgbase}-${pkgver}"

make check }

package_cyrus-imapd() { depends=('libsasl' 'icu' 'jansson' 'libical' 'libxml2' 'krb5' 'sqlite' 'mariadb-libs' 'postgresql-libs' 'libnghttp2' 'brotli' 'shapelib' 'libldap' 'libcap' 'net-snmp' 'xapian-core' 'perl') optdepends=('cyrus-imapd-docs: documentation' 'clamav: for cyr_virusscan' 'rsync: for compacting Xapian databases') provides=('imap-server' 'pop3-server') backup=('etc/cyrus/cyrus.conf' 'etc/cyrus/imapd.conf') install="${pkgname}.install"

cd "${srcdir}/${pkgbase}-${pkgver}"

make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"

# perllocal.pod is undesired in packages eval local $(perl -V:installarchlib) rm "${pkgdir}/${installarchlib}/perllocal.pod" rmdir "${pkgdir}/${installarchlib}"

# Rename httpd.8 and master.8 so they don't conflict with the identically # named manpages from postfix and apache mv "${pkgdir}/usr/share/man/man8/httpd.8" \ "${pkgdir}/usr/share/man/man8/httpd.8cyrus" mv "${pkgdir}/usr/share/man/man8/master.8" \ "${pkgdir}/usr/share/man/man8/master.8cyrus"

# Install additional utilities for i in arbitronsort.pl masssievec mkimap mknewsgroups rehash \ translatesieve; do install -Dm755 "tools/${i}" "${pkgdir}/usr/bin/${i}" done # Vzic is needed to convert timezone information for CalDAV. Since Cyrus # includes a variant that has been modified for its own needs, we're # installing it under a different name to avoid conflicts install -Dm755 tools/vzic/vzic \ "${pkgdir}/usr/bin/cyrus-vzic" install -Dm755 tools/vzic/vzic-merge.pl \ "${pkgdir}/usr/bin/cyrus-vzic-merge.pl" # vzic-test.pl and vzic-dump.pl appear to be meant for development/testing

# Install additional manpages for i in arbitronsort.pl synctest dav_reconstruct; do install -Dm644 "man/${i}.1" "${pkgdir}/usr/share/man/man1/${i}.1" done for i in cvt_xlist_specialuse cyradm cyrdump cyr_sequence cyr_userseen \ lmtpproxyd masssievec mkimap mknewsgroups mupdate pop3proxyd proxyd \ ptdump ptexpire ptloader rehash sievec sieved translatesieve; do install -Dm644 "man/${i}.8" "${pkgdir}/usr/share/man/man8/${i}.8" done

# Install configuration files install -Dm644 doc/examples/cyrus_conf/normal.conf \ "${pkgdir}/etc/cyrus/cyrus.conf" install -Dm644 doc/examples/imapd_conf/normal.conf \ "${pkgdir}/etc/cyrus/imapd.conf" patch "${pkgdir}/etc/cyrus/imapd.conf" "${srcdir}/imapd.conf.patch" # Example cyrus.conf and imapd.conf use different socket paths, but they need # to match sed -i 's@/var/imap/socket/@/run/cyrus/socket/@' \ "${pkgdir}/etc/cyrus/cyrus.conf"

# Install default directories install -dm750 -o70 -gmail \ "${pkgdir}/var/lib/cyrus" \ "${pkgdir}/var/spool/cyrus" \ "${pkgdir}/var/spool/sieve"

# Install system files install -Dm644 "${srcdir}/cyrus-imapd.service" \ "${pkgdir}/usr/lib/systemd/system/cyrus-imapd.service" install -Dm644 "${srcdir}/cyrus-imapd.sysusers.conf" \ "${pkgdir}/usr/lib/sysusers.d/cyrus-imapd.conf" install -Dm644 "${srcdir}/cyrus-imapd.tmpfiles.conf" \ "${pkgdir}/usr/lib/tmpfiles.d/cyrus-imapd.conf"

# Install Documentation install -Dm644 -t "${pkgdir}/usr/share/doc/cyrus-imapd/" \ README.md doc/README.* cp -r doc/examples "${pkgdir}/usr/share/doc/cyrus-imapd/examples"

install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }

package_cyrus-imapd-docs() { pkgdesc="Documentation for the Cyrus IMAP server" arch=('any')

cd "${srcdir}/${pkgbase}-${pkgver}"

install -dm755 "${pkgdir}/usr/share/doc/cyrus-imapd" cp -r doc/html doc/internal doc/legacy doc/text \ "${pkgdir}/usr/share/doc/cyrus-imapd"

install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" }

TheGoliath commented on 2020-05-24 15:20

@J5lx can you please increment the pkgrel as a rebuild is needed in order to fetch the latest libicui18n.so within the package. Otherwise I have to manually clean the pacman cache and download the old package with the new libs from my repository again. Would be way easier to just bump the pkgrel

TheGoliath commented on 2020-05-24 14:46

I'd go to 3.0.13 first as there have been some breaking changes (as pointed out by J5lx) and then go up again to 3.2 as it get's ready ;)

starfry commented on 2020-05-17 11:30

Hello, previous maintainer here ;) Finally I get around to upgrading my mail server, currently on 2.5.3. Good to see active maintenance on the package... just debating whether to go 3.0.13 or wait for 3.2. Do you have an ETA for 3.2 package?

TheGoliath commented on 2020-05-09 19:38

Allright, realized that you are already working on a update :D

J5lx commented on 2020-05-04 20:38

For personal reasons, I have decided to decline TheGoliath’s request for now and reconsider it later. We have talked about it privately.

On another note, I’m already working on the update to 3.2.0. On the technical side it’s going very smoothly so far, but there are a bunch of new dependencies and since the documentation is somewhat sparse I need a bit more time to decide which of those can and should reasonably be included in the package. One thing I’m already quite certain about, however, is that I would like to disable SNMP support (which has been deprecated in 3.2.0) in favour of Prometheus. That’s because I’m under the impression that very few people actually use it and one person who contacted me didn’t even know what it was and was concerned about the additional dependency. If any of you do need SNMP support, please let me know.

TheGoliath commented on 2020-05-02 09:22

I'd like to participate in the package maintenance. May I be added as a co-maintainer please?

EDIT.: As J5lx and I have already talked about that topic, I'd just like to let the note sit here as I'm willing to maintain the package if needed :)

TheGoliath commented on 2020-04-18 21:08

Yes, thought about that, too. I've got an unofficial repository with the python-sphinx-2 package precompiled (https://wiki.archlinux.org/index.php/Unofficial_user_repositories#disastrousaur) (if needed)

J5lx commented on 2020-04-18 13:01

Oh great, Sphinx breaking the build again. It’s actually the fault of the 3.x series in general as it seems. For a mercy, Sphinx version 1 has been added to the community repo in the meantime, so we can simply use that for the time being while I figure out a patch. I’ve updated the package accordingly, thanks for reporting!

TheGoliath commented on 2020-04-18 07:33

Extension error: Could not import extension sphinxlocal.builders.manpage (exception: cannot import name 'NoUri' from 'sphinx.environment' (/usr/lib/python3.8/site-packages/sphinx/environment/init.py)) Might be a problem when using python-sphinx 3.0.1?