56dcf6b35a
1.8.0 (2017-02-24): - $locale has been removed. Mutt now respects the LC_TIME setting instead. See also $attribution_locale. + $attribution_locale can be used to override the date formatting in attribution strings. When unset, Mutt will use the locale environment, but note the default value of $date_format has a leading '!' which says to use the C-locale. ! Message-id and mail-followup-to headers are now preserved for recalled messages. + <unsidebar_whitelist> added to complement <sidebar_whitelist>. ! The pager position is reset to the top when toggling header-weed. ! IMAP messages moved to $trash via server-side copy are marked as read. + <root-message> jumps to the root message of a thread. ! Piped text attachments are charset converted. + Added %F to $attach_format, to show the content-disposition filename. %d will fall back to %F which will fall back to %f. + <rename-attachment> allows an attachment name to be changed, without modifying the underlying file's name. ! Mutt will look for the user's muttrc additionally in $XDG_CONFIG_HOME/mutt/. + Compressed mbox and mmdf files are now supported via open-hook, close-hook, and append-hook. See contrib/sample.muttrc-compress for suggested settings. Note this is a compile-time option: --enable-compressed. + When $flag_safe is set, flagged messages cannot be deleted. + The '@' pattern modifier can be used to limit matches to known aliases. + <mark-message> creates a hotkey binding to a specific message. The hotkey prefix is specified via $mark_macro_prefix. + <setenv> and <unsetenv> can be used to add/remove environment variables passed to children. ! Mutt will now use the built-in OpenSSL SSL_set_verify() callback to verify certificates. This allows better support for verifying chains, including alternative chain support. + $uncollapse_new controls whether a thread will be uncollapsed when a new message arrives. ! $to_chars and $status_chars now accept multibyte characters. + <subjectrx> allows replacing matching subjects with something else. This can be used to declutter subject lines in the index. + <edit-label> can be used to add, change, or delete a message's X-Label. ! Pattern expressions with ~y support label tab completion. + The header cache now also supports Kyoto Cabinet and LMDB as backend databases. [not yet supported in pkgsrc]
132 lines
3.3 KiB
Makefile
132 lines
3.3 KiB
Makefile
# $NetBSD: options.mk,v 1.27 2017/02/24 23:31:24 wiz Exp $
|
|
|
|
# Global and legacy options
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mutt
|
|
PKG_OPTIONS_REQUIRED_GROUPS= display
|
|
PKG_OPTIONS_GROUP.display= curses wide-curses slang
|
|
PKG_SUPPORTED_OPTIONS= debug gpgme idn ssl smime sasl
|
|
# TODO: add kyoto cabinet and lmdb backend options for header cache
|
|
PKG_SUPPORTED_OPTIONS+= mutt-hcache tokyocabinet mutt-smtp
|
|
PKG_SUGGESTED_OPTIONS= curses gpgme mutt-hcache mutt-smtp smime ssl
|
|
PKG_OPTIONS_LEGACY_OPTS+= ncurses:curses ncursesw:wide-curses
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
### curses
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mcurses) || !empty(PKG_OPTIONS:Mwide-curses)
|
|
. include "../../mk/curses.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-curses=${BUILDLINK_PREFIX.curses}
|
|
. if !empty(CURSES_TYPE:Mcurses)
|
|
OPSYSVARS+= BUILDLINK_PASSTHRU_DIRS
|
|
BUILDLINK_PASSTHRU_DIRS.SunOS+= /usr/xpg4
|
|
CONFIGURE_ARGS.SunOS+= --with-curses=/usr/xpg4
|
|
LDFLAGS.SunOS+= -L/usr/xpg4/lib${LIBABISUFFIX}
|
|
LDFLAGS.SunOS+= ${COMPILER_RPATH_FLAG}/usr/xpg4/lib${LIBABISUFFIX}
|
|
. endif
|
|
.endif
|
|
|
|
###
|
|
### Slang
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mslang)
|
|
. include "../../devel/libslang2/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-slang=${BUILDLINK_PREFIX.libslang2}
|
|
.endif
|
|
|
|
###
|
|
### SASLv2
|
|
###
|
|
.if !empty(PKG_OPTIONS:Msasl)
|
|
. include "../../security/cyrus-sasl/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-sasl=${BUILDLINK_PREFIX.cyrus-sasl}
|
|
.endif
|
|
|
|
###
|
|
### SSL
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mssl)
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-ssl=${SSLBASE:Q}
|
|
.else
|
|
CONFIGURE_ARGS+= --without-ssl
|
|
.endif
|
|
|
|
###
|
|
### S/MIME
|
|
###
|
|
PLIST_VARS+= smime
|
|
.if !empty(PKG_OPTIONS:Msmime)
|
|
USE_TOOLS+= perl:run
|
|
REPLACE_PERL+= *.pl */*.pl
|
|
. include "../../security/openssl/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-smime
|
|
PLIST.smime= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-smime
|
|
.endif
|
|
|
|
###
|
|
### Header cache
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mmutt-hcache)
|
|
. if !empty(PKG_OPTIONS:Mtokyocabinet)
|
|
. include "../../databases/tokyocabinet/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-hcache
|
|
CONFIGURE_ARGS+= --enable-tokyocabinet
|
|
CONFIGURE_ARGS+= --without-gdbm
|
|
CONFIGURE_ARGS+= --without-bdb
|
|
. else
|
|
BDB_ACCEPTED= db4 db5
|
|
BUILDLINK_TRANSFORM+= l:db:${BDB_TYPE}
|
|
. include "../../mk/bdb.buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-hcache
|
|
CONFIGURE_ARGS+= --without-gdbm
|
|
# BDB_INCLUDE_DIR_ and BDB_LIB_DIR don't have to be particularly accurate
|
|
# since the real -I and -L flags are added by buildlink already.
|
|
CONFIGURE_ENV+= BDB_INCLUDE_DIR=${BDBBASE}/include
|
|
CONFIGURE_ENV+= BDB_LIB_DIR=${BDBBASE}/lib
|
|
CONFIGURE_ENV+= BDB_LIB=${BDB_LIBS:S/^-l//:M*:Q}
|
|
. endif
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-hcache
|
|
.endif
|
|
|
|
###
|
|
### Internal SMTP relay support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mmutt-smtp)
|
|
CONFIGURE_ARGS+= --enable-smtp
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-smtp
|
|
.endif
|
|
|
|
###
|
|
### Internationalized Domain Names
|
|
###
|
|
.if !empty(PKG_OPTIONS:Midn)
|
|
. include "../../devel/libidn/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-idn=${BUILDLINK_PREFIX.libidn}
|
|
.else
|
|
CONFIGURE_ARGS+= --with-idn=no
|
|
.endif
|
|
|
|
###
|
|
### Enable debugging support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
CFLAGS+= -g
|
|
.endif
|
|
|
|
###
|
|
### gpgme support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mgpgme)
|
|
. include "../../security/gpgme/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-gpgme
|
|
CONFIGURE_ARGS+= --with-gpgme-prefix=${BUILDLINK_PREFIX.gpgme}
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-gpgme
|
|
.endif
|