pkgsrc/mail/dovecot2/options.mk
adam 9dd8cd4994 dovecot2: updated to 2.3.4
2.3.4:
 * The default postmaster_address is now "postmaster@<user domain or
   server hostname>". If username contains the @domain part, that's
   used. If not, then the server's hostname is used.
 * "doveadm stats dump" now returns two decimals for the "avg" field.

 + Added push notification driver that uses a Lua script
 + Added new SQL, DNS and connection events.
   See https://wiki2.dovecot.org/Events
 + Added "doveadm mailbox cache purge" command.
 + Added events API support for Lua scripts
 + doveadm force-resync -f parameter performs "index fsck" while opening
   the index. This may be useful to fix some types of broken index files.
   This may become the default behavior in a later version.
 - director: Kicking a user crashes if login process is very slow
 - pop3_no_flag_updates=no: Don't expunge DELEted and RETRed messages
   unless QUIT is sent.
 - auth: Fix crypt() segfault with glibc-2.28+
 - imap: Running UID FILTER script with errors assert-crashes
 - dsync, pop3-migration: POP3 UIDLs weren't added to
   dovecot.index.cache while mails were saved.
 - dict clients may have been using 100% CPU while waiting for dict
   server to finish commands.
 - doveadm user: Fixed user listing via HTTP API
 - All levels of Cassandra log messages were logged as Dovecot errors.
 - http/smtp client may have crashed after SSL handshake
 - Lua auth converted strings that looked like numbers into numbers.
2018-11-30 18:43:09 +00:00

60 lines
1.4 KiB
Makefile

# $NetBSD: options.mk,v 1.11 2018/11/30 18:43:09 adam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.dovecot
PKG_SUPPORTED_OPTIONS= kqueue pam tcpwrappers
PKG_OPTIONS_OPTIONAL_GROUPS=ssl
PKG_OPTIONS_GROUP.ssl= gnutls ssl
PKG_SUGGESTED_OPTIONS= pam ssl tcpwrappers
.if defined(PKG_HAVE_KQUEUE)
PKG_SUGGESTED_OPTIONS+= kqueue
.endif
PLIST_VARS+= ssl tcpwrappers
.include "../../mk/bsd.options.mk"
###
### Build with OpenSSL or GNU TLS as the underlying crypto library
###
.if !empty(PKG_OPTIONS:Mssl)
CONFIGURE_ARGS+= --with-ssl=openssl
CONFIGURE_ENV+= SSL_CFLAGS="-I${BUILDLINK_PREFIX.openssl}/include"
CONFIGURE_ENV+= SSL_LIBS="-lssl -lcrypto"
BUILDLINK_API_DEPENDS.openssl+=openssl>=0.9.8a
. include "../../security/openssl/buildlink3.mk"
PLIST.ssl= yes
.elif !empty(PKG_OPTIONS:Mgnutls)
CONFIGURE_ARGS+= --with-ssl=gnutls
. include "../../security/gnutls/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-ssl
.endif
###
### PAM support
###
.if !empty(PKG_OPTIONS:Mpam)
CONFIGURE_ARGS+= --with-pam
. include "../../mk/pam.buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-pam
.endif
###
### kqueue support
###
.if !empty(PKG_OPTIONS:Mkqueue)
CONFIGURE_ARGS+= --with-ioloop=kqueue
CONFIGURE_ARGS+= --with-notify=kqueue
.else
# use the defaults
.endif
###
### tcpwrappers support
###
.if !empty(PKG_OPTIONS:Mtcpwrappers)
CONFIGURE_ARGS+= --with-libwrap
. include "../../security/tcp_wrappers/buildlink3.mk"
PLIST.tcpwrappers= yes
.endif