# $Id: Portfile,v 1.1 2005/02/03 22:55:09 landonf Exp $ PortSystem 1.0 name cyrus-sasl2 version 2.1.20 categories security net maintainers landonf@opendarwin.org 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. platforms darwin homepage http://asg.web.cmu.edu/sasl/ master_sites http://ftp.andrew.cmu.edu/pub/cyrus-mail/ distname cyrus-sasl-${version} checksums md5 268ead27f4ac39bcfe17d9e38e0f2977 depends_lib lib:XXXssl:openssl patchfiles patch-Makefile.in \ patch-configure \ patch-configure.in \ patch-include_Makefile.in \ patch-lib_Makefile.in \ patch-saslauthd_auth_pam.c \ patch-utils_Makefile.in default_variants +kerberos configure.args --sysconfdir=${prefix}/etc \ --with-plugindir=${prefix}/lib/sasl2 \ --with-dbpath=${prefix}/etc/sasldb2 \ --includedir=${prefix}/include \ --mandir=${prefix}/share/man \ --libexecdir=${prefix}/lib \ --enable-static \ --enable-auth-sasldb \ --with-rc4=openssl \ --enable-login \ --enable-ntlm \ --with-saslauthd=${prefix}/var/state/saslauthd \ --with-openssl=${prefix} post-configure { # On darwin, -L/usr/lib pulls in Apple's own non-suitable sasl libraries reinplace s|-L/usr/lib||g ${worksrcpath}/utils/Makefile } variant kerberos darwin { configure.args-append --enable-gssapi --with-gss_impl=mit } variant kerberos freebsd { configure.args-append --enable-gssapi --with-gss_impl=heimdal }