Commit a9b5e6ef authored by Jesse Spielman's avatar Jesse Spielman

Add sasl support for smtp auth

parent 53a9803f
require 'package'
class Libcyrussasl < Package
description 'Simple Authentication and Security Layer (SASL) is a specification that describes how authentication mechanisms can be plugged into an application protocol on the wire. Cyrus SASL is an implementation of SASL that makes it easy for application developers to integrate authentication mechanisms into their application in a generic way.'
homepage 'https://www.cyrusimap.org/sasl'
version '2.1.26'
source_url 'ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-2.1.26.tar.gz'
source_sha256 '8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3'
def self.build
system './configure',
'--prefix=/usr/local',
"--libdir=#{CREW_LIB_PREFIX}",
'--with-shared',
'--with-cxx-shared'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -23,9 +23,10 @@ class Mutt < Package
depends_on 'perl'
depends_on 'libxslt'
depends_on 'openssl'
depends_on 'libcyrussasl' => :build
def self.build
system './configure --with-mailpath=/usr/local/mail --prefix=/usr/local --enable-imap --with-ssl --enable-smtp'
system './configure --with-mailpath=/usr/local/mail --prefix=/usr/local --enable-imap --with-ssl --enable-smtp --with-sasl=/usr/local/lib/sasl2'
system 'make'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment