aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2018-11-13 18:59:19 +0800
committergahr <gahr@FreeBSD.org>2018-11-13 18:59:19 +0800
commit9d96632a58490940a4a2ea1d3d0ad00bf09458fd (patch)
tree3598732a4645cad417d072343c05f1a4c65de7ca /mail
parent3502668521332ed7b541830d7001f3f8662e2fb2 (diff)
downloadfreebsd-ports-gnome-9d96632a58490940a4a2ea1d3d0ad00bf09458fd.tar.gz
freebsd-ports-gnome-9d96632a58490940a4a2ea1d3d0ad00bf09458fd.tar.zst
freebsd-ports-gnome-9d96632a58490940a4a2ea1d3d0ad00bf09458fd.zip
mail/neomutt: add support for GSSAPI, by default using krb from base
Approved by: bapt
Diffstat (limited to 'mail')
-rw-r--r--mail/neomutt/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/mail/neomutt/Makefile b/mail/neomutt/Makefile
index 99dc0aded6c8..7a48719e2d09 100644
--- a/mail/neomutt/Makefile
+++ b/mail/neomutt/Makefile
@@ -2,7 +2,7 @@
PORTNAME= neomutt
PORTVERSION= 20180716
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= mail
@@ -26,11 +26,12 @@ OPTIONS_SUB= yes
SHEBANG_FILES= contrib/smime_keys
OPTIONS_DEFINE= NLS DOCS SASL IDN FLOCK GPGME NOTMUCH
-OPTIONS_DEFAULT=SASL TOKYOCABINET NOTMUCH GPGME LMDB NCURSES
+OPTIONS_DEFAULT=SASL TOKYOCABINET NOTMUCH GPGME LMDB NCURSES GSSAPI_BASE
OPTIONS_MULTI= HCACHE
OPTIONS_MULTI_HCACHE= BDB GDBM KYOTOCABINET LMDB QDBM TOKYOCABINET
-OPTIONS_SINGLE= SCREEN
+OPTIONS_SINGLE= SCREEN GSSAPI
OPTIONS_SINGLE_SCREEN= NCURSES SLANG
+OPTIONS_SINGLE_GSSAPI= GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
FLOCK_DESC= Use flock() to lock files
GPGME_DESC= Use gpgme to handle pgp
@@ -86,6 +87,14 @@ SLANG_CONFIGURE_OFF= --with-ui=ncurses
SLANG_LIB_DEPENDS= libslang.so:devel/libslang2
SLANG_VARS= PKGMESSAGE=${FILESDIR}/pkg-message.slang
+# GSSAPI
+GSSAPI_BASE_USES= gssapi
+GSSAPI_BASE_CONFIGURE_ON= --gss
+GSSAPI_HEIMDAL_USES= gssapi:heimdal
+GSSAPI_HEIMDAL_CONFIGURE_ON= --with-gss=${LOCALBASE}
+GSSAPI_MIT_USES= gssapi:mit
+GSSAPI_MIT_CONFIGURE_ON= --with-gss=${LOCALBASE}
+
NCURSES_USES= ncurses
DOCS_BUILD_DEPENDS= xsltproc:textproc/libxslt \