source: trunk/dports/security/cyrus-sasl2/Portfile @ 10820

Last change on this file since 10820 was 10820, checked in by landonf (Landon Fuller), 15 years ago

Add cyris-sasl2 authentication library

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1# $Id: Portfile,v 1.1 2005/02/03 22:55:09 landonf Exp $
2PortSystem      1.0
3
4name                    cyrus-sasl2
5version                 2.1.20
6categories              security net
7maintainers             landonf@opendarwin.org
8description             SASL is an authentication library.
9long_description        SASL is the Simple Authentication and Security Layer, \
10                        a method for adding authentication support to \
11                        connection-based protocols. To use SASL, a protocol \
12                        includes a command for identifying and authenticating \
13                        a user to a server and for optionally negotiating \
14                        protection of subsequent protocol interactions. If \
15                        its use is negotiated, a security layer is inserted \
16                        between the protocol and the connection.
17platforms               darwin
18homepage                http://asg.web.cmu.edu/sasl/
19master_sites            http://ftp.andrew.cmu.edu/pub/cyrus-mail/
20distname                cyrus-sasl-${version}
21checksums               md5 268ead27f4ac39bcfe17d9e38e0f2977
22
23depends_lib             lib:XXXssl:openssl
24
25patchfiles              patch-Makefile.in \
26                        patch-configure \
27                        patch-configure.in \
28                        patch-include_Makefile.in \
29                        patch-lib_Makefile.in \
30                        patch-saslauthd_auth_pam.c \
31                        patch-utils_Makefile.in
32
33default_variants        +kerberos
34
35configure.args  --sysconfdir=${prefix}/etc \
36                --with-plugindir=${prefix}/lib/sasl2 \
37                --with-dbpath=${prefix}/etc/sasldb2 \
38                --includedir=${prefix}/include \
39                --mandir=${prefix}/share/man \
40                --libexecdir=${prefix}/lib \
41                --enable-static \
42                --enable-auth-sasldb \
43                --with-rc4=openssl \
44                --enable-login \
45                --enable-ntlm \
46                --with-saslauthd=${prefix}/var/state/saslauthd \
47                --with-openssl=${prefix}
48
49post-configure {
50        # On darwin, -L/usr/lib pulls in Apple's own non-suitable sasl libraries
51        reinplace s|-L/usr/lib||g ${worksrcpath}/utils/Makefile
52}
53
54variant kerberos darwin {
55        configure.args-append --enable-gssapi --with-gss_impl=mit
56}
57
58variant kerberos freebsd {
59        configure.args-append --enable-gssapi --with-gss_impl=heimdal
60}
Note: See TracBrowser for help on using the repository browser.