mutt: add Kerberos support

This commit is contained in:
catern 2017-09-04 16:00:30 -04:00 committed by GitHub
parent f01f86c5ca
commit bf33bf525d

View File

@ -3,12 +3,14 @@
, openssl ? null , openssl ? null
, cyrus_sasl ? null , cyrus_sasl ? null
, gpgme ? null , gpgme ? null
, kerberos ? null
, headerCache ? true , headerCache ? true
, sslSupport ? true , sslSupport ? true
, saslSupport ? true , saslSupport ? true
, gpgmeSupport ? true , gpgmeSupport ? true
, imapSupport ? true , imapSupport ? true
, withSidebar ? true , withSidebar ? true
, gssSupport ? true
}: }:
assert headerCache -> gdbm != null; assert headerCache -> gdbm != null;
@ -35,6 +37,7 @@ stdenv.mkDerivation rec {
[ ncurses which perl ] [ ncurses which perl ]
++ optional headerCache gdbm ++ optional headerCache gdbm
++ optional sslSupport openssl ++ optional sslSupport openssl
++ optional gssSupport kerberos
++ optional saslSupport cyrus_sasl ++ optional saslSupport cyrus_sasl
++ optional gpgmeSupport gpgme; ++ optional gpgmeSupport gpgme;
@ -58,6 +61,7 @@ stdenv.mkDerivation rec {
# I set the value 'mailbox' because it is a default in the configure script # I set the value 'mailbox' because it is a default in the configure script
"--with-homespool=mailbox" "--with-homespool=mailbox"
] ++ optional sslSupport "--with-ssl" ] ++ optional sslSupport "--with-ssl"
++ optional gssSupport "--with-gss"
++ optional saslSupport "--with-sasl"; ++ optional saslSupport "--with-sasl";
meta = { meta = {