pkgsrc/mail/cyrus-imapd24/options.mk
obache a63c414055 Update cyrus-imapd24 to 2.4.3.
Changes to the Cyrus IMAP Server since 2.4.2

      * Many fixes to replication edge case handling
      * Added missing flags to reconstruct
      * Replicate DELETED.user folders in sync_client -u (matches XFER
        behaviour now)
      * Make sync_client only connect after forking in rolling mode. Fixes
        two things - ssl crashes due to shared resource conflicts, and also
        means master will start up even if the replica is not contactable
      * Fixed crash on cyr_expire and ipurge annotation based expiry
      * Many XFER fixes for compatibility across versions:

          * allowing XFER in from delayed_expunge mailboxes
          * allowing XFER back all the way to Cyrus 2.2.12. This was
            accomplished by adding logic that can generate
            backwards-compatible older version indexes, and version
            detection from the imapd banner.
          * correctly fixing seen information for sub-mailboxes on XFER in

      * Multi-target replication. Strictly this is a new feature - there
        was a broken implementation in 2.4.0, which is how this snuck in to
        the bugfix release. It's not super-well documented yet, but it
        works by creating a separate log file for each destination
        "channel", and then running one sync_client process per channel, so
        replication can fall behind on one without affecting replication to
        the other.
      * Fixed some crashes and errors which occured when upgrading and
        opening corrupted mailboxes
      * Modified AFS ptloader configure options to allow building on more
        modern systems
2010-11-09 08:18:56 +00:00

89 lines
2.3 KiB
Makefile

# $NetBSD: options.mk,v 1.2 2010/11/09 08:18:56 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.cyrus-imapd
PKG_SUPPORTED_OPTIONS= gssapi kerberos kerberos4 ldap snmp
PKG_SUPPORTED_OPTIONS+= bdb mysql pgsql sqlite
PKG_SUGGESTED_OPTIONS= bdb
.include "../../mk/bsd.options.mk"
PLIST_VARS+= ldap
.if !empty(PKG_OPTIONS:Mkerberos)
. if empty(PKG_OPTIONS:Mgssapi)
PKG_OPTIONS+= gssapi
. endif
.endif
.if !empty(PKG_OPTIONS:Mkerberos4)
. if exists(/usr/include/kerberosIV/krb.h)
PKG_USE_KERBEROS= yes
CONFIGURE_ARGS+= --with-krb=/usr
. endif
.elif !empty(PKG_OPTIONS:Mgssapi)
. include "../../mk/krb5.buildlink3.mk"
CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE}
CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}}
GSSIMPL.heimdal= heimdal
GSSIMPL.mit-krb5= mit
CONFIGURE_ENV+= COMPILE_ET=${KRB5BASE}/bin/compile_et
COMERRBASE= ${KRB5BASE}
.else
CONFIGURE_ARGS+= --without-krb
CONFIGURE_ARGS+= --disable-gssapi
.endif
.if !empty(PKG_OPTIONS:Mldap)
. include "../../databases/openldap-client/buildlink3.mk"
CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap-client}
PLIST.ldap= yes
.else
CONFIGURE_ARGS+= --without-ldap
.endif
.if !empty(PKG_OPTIONS:Msnmp)
. include "../../net/net-snmp/buildlink3.mk"
CONFIGURE_ARGS+= --with-snmp=${BUILDLINK_PREFIX.net-snmp}
USE_TOOLS+= perl:run
.else
CONFIGURE_ARGS+= --without-snmp
.endif
.if !empty(PKG_OPTIONS:Mzephyr)
. include "../../chat/zephyr/buildlink3.mk"
CONFIGURE_ARGS+= --with-zephyr=${BUILDLINK_PREFIX.zephyr}
.else
CONFIGURE_ARGS+= --without-zephyr
.endif
.if !empty(PKG_OPTIONS:Mbdb)
BDB_ACCEPTED= db3 db4 db5
. include "../../mk/bdb.buildlink3.mk"
CONFIGURE_ARGS+= --with-bdb=${BDB_TYPE}
CONFIGURE_ARGS+= --with-bdb-incdir=${BDBBASE}/include/${BDB_TYPE}
CONFIGURE_ARGS+= --with-bdb-libdir=${BDBBASE}/lib
.else
CONFIGURE_ARGS+= --without-bdb
.endif
.if !empty(PKG_OPTIONS:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
CONFIGURE_ARGS+= --with-mysql=${BUILDLINK_PREFIX.mysql-client}
.else
CONFIGURE_ARGS+= --without-mysql
.endif
.if !empty(PKG_OPTIONS:Mpgsql)
. include "../../mk/pgsql.buildlink3.mk"
CONFIGURE_ARGS+= --with-pgsql=${PGSQL_PREFIX}
.else
CONFIGURE_ARGS+= --without-pgsql
.endif
.if !empty(PKG_OPTIONS:Msqlite)
. include "../../databases/sqlite3/buildlink3.mk"
CONFIGURE_ARGS+= --with-sqlite=${BUILDLINK_PREFIX.sqlite3}
.else
CONFIGURE_ARGS+= --without-sqlite
.endif