# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup legacysupport 1.0
# license is BSD plus a fourth (almost redundant) acknowledgement clause
description SASL is an authentication library.
long_description SASL is the Simple Authentication and Security Layer, \
a method for adding authentication support to \
connection-based protocols. To use SASL, a protocol \
includes a command for identifying and authenticating \
a user to a server and for optionally negotiating \
protection of subsequent protocol interactions. If \
its use is negotiated, a security layer is inserted \
between the protocol and the connection.
merger_must_run_binaries yes
homepage https://www.cyrusimap.org
master_sites ${homepage}/releases/ \
ftp://ftp.cyrusimap.org/cyrus-sasl/
distname cyrus-sasl-${version}
checksums rmd160 7f5e4bd2ba1974f0b96ba5a659165f4484d550ce \
sha256 26866b1549b00ffd020f188a43c258017fa1c382b3ddadd8201536f72efb05d5 \
depends_lib path:lib/libssl.dylib:openssl \
default_variants +kerberos
configure.env-append CC_FOR_BUILD=${configure.cc}
configure.args --mandir=${prefix}/share/man \
--with-openssl=${prefix} \
--with-dbpath=${prefix}/etc/sasldb2 \
--with-plugindir=${prefix}/lib/sasl2 \
--with-saslauthd=${prefix}/var/state/saslauthd \
--with-pwcheck=${prefix}/var/pwcheck \
--disable-obsolete_cram_attr \
--disable-obsolete_digest_attr \
--disable-macos-framework \
ac_cv_prog_AWK=/usr/bin/awk
destroot.keepdirs ${destroot}${prefix}/var/state/saslauthd \