# $Id: Portfile 53147 2009-06-30 10:38:57Z ryandesign@macports.org $

PortSystem              1.0

name                    libgsasl
version                 1.2
revision                1
maintainers             ryandesign
categories              security net
platforms               darwin
homepage                http://josefsson.org/libgsasl/
master_sites            gnu:gsasl

description             GNU SASL: an authentication library.

long_description        GNU SASL is an implementation of the Simple \
                        Authentication and Security Layer framework and \
                        a few common SASL mechanisms. SASL is used by \
                        network servers (e.g., IMAP, SMTP) to request \
                        authentication from clients, and in clients to \
                        authenticate against servers.

checksums               md5     99b597e50f2374b463fac1f360a7b465 \
                        sha1    a3e2d84a94c188aa84e2ce42fee2179b16792fd0 \
                        rmd160  035c7948b56a961a270c4f6167196d031abb95d5

depends_lib             port:libiconv \
                        port:gettext \
                        port:gss \
                        port:libidn

use_parallel_build      yes

livecheck.check         regex
livecheck.url           ftp://ftp.gnu.org/pub/gnu/gsasl/
livecheck.regex         "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
