Adding sasl support to mutt, so ssmtp sending works
svn path=/nixpkgs/trunk/; revision=21038
This commit is contained in:
parent
165bc84831
commit
ec8f2bdc1b
@ -2,12 +2,15 @@
|
|||||||
, sslSupport ? true
|
, sslSupport ? true
|
||||||
, imapSupport ? true
|
, imapSupport ? true
|
||||||
, headerCache ? true
|
, headerCache ? true
|
||||||
|
, saslSupport ? true
|
||||||
, gdbm ? null
|
, gdbm ? null
|
||||||
, openssl ? null
|
, openssl ? null
|
||||||
|
, cyrus_sasl ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert headerCache -> gdbm != null;
|
assert headerCache -> gdbm != null;
|
||||||
assert sslSupport -> openssl != null;
|
assert sslSupport -> openssl != null;
|
||||||
|
assert saslSupport -> cyrus_sasl != null;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "mutt-1.5.20";
|
name = "mutt-1.5.20";
|
||||||
@ -19,6 +22,7 @@ stdenv.mkDerivation {
|
|||||||
ncurses which perl
|
ncurses which perl
|
||||||
(if headerCache then gdbm else null)
|
(if headerCache then gdbm else null)
|
||||||
(if sslSupport then openssl else null)
|
(if sslSupport then openssl else null)
|
||||||
|
(if saslSupport then cyrus_sasl else null)
|
||||||
];
|
];
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-mailpath=" "--enable-smtp"
|
"--with-mailpath=" "--enable-smtp"
|
||||||
@ -29,6 +33,7 @@ stdenv.mkDerivation {
|
|||||||
(if headerCache then "--enable-hcache" else "--disable-hcache")
|
(if headerCache then "--enable-hcache" else "--disable-hcache")
|
||||||
(if sslSupport then "--with-ssl" else "--without-ssl")
|
(if sslSupport then "--with-ssl" else "--without-ssl")
|
||||||
(if imapSupport then "--enable-imap" else "--disable-imap")
|
(if imapSupport then "--enable-imap" else "--disable-imap")
|
||||||
|
(if saslSupport then "--with-sasl" else "--without-imap")
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -7798,7 +7798,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
mutt = import ../applications/networking/mailreaders/mutt {
|
mutt = import ../applications/networking/mailreaders/mutt {
|
||||||
inherit fetchurl stdenv ncurses which openssl gdbm perl;
|
inherit fetchurl stdenv ncurses which openssl gdbm perl cyrus_sasl;
|
||||||
};
|
};
|
||||||
|
|
||||||
msmtp = import ../applications/networking/msmtp {
|
msmtp = import ../applications/networking/msmtp {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user