Download and Install cyrus-sasl2 version 2.1.21 on Mac OS X
Wednesday the 23rd of July, 2008

    cyrus-sasl2  most recent diff


      View the most recent changes for the cyrus-sasl2 port at: cyrus-sasl2.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for cyrus-sasl2.
      The raw portfile for cyrus-sasl2 2.1.21 is located here:
      http://cyrus-sasl2.darwinports.com/dports/security/cyrus-sasl2/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/cyrus-sasl2
      Google
      Web Darwinports.com



      # $Id: Portfile 30180 2007-10-22 18:19:51Z jmpp macports.org $

      PortSystem 1.0

      Name: cyrus-sasl2
      Version: 2.1.21
      Category: security net
      Maintainers: jmpp landonf macports.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.
      Platform: darwin
      Homepage: http://asg.web.cmu.edu/sasl/
      master_sites ftp://ftp.andrew.cmu.edu/pub/cyrus-mail
      distname cyrus-sasl-${version}
      checksums md5 dde02db234dea892bee298390890502e sha1 6449f730c963d29d43600a95373a6e2db52d6d66 rmd160 93e0e1868453c5781602b5cce23e746b8823a26b

      depends_lib port:openssl lib:libz:zlib

      patchfiles patch-Makefile.in patch-include_Makefile.in patch-lib_client.c patch-lib_Makefile.in patch-plugins-ntlm.c patch-plugins-srp.c

      default_variants +kerberos

      configure.args --sysconfdir=${prefix}/etc --mandir=${prefix}/share/man --libexecdir=${prefix}/lib --includedir=${prefix}/include --with-openssl=${prefix} --with-dbpath=${prefix}/etc/sasldb2 --with-plugindir=${prefix}/lib/sasl2 --with-saslauthd=${prefix}/var/state/saslauthd --with-pwcheck=${prefix}/var/pwcheck --enable-checkapop --enable-cram --enable-digest --enable-otp --enable-srp --enable-srp-setpass --enable-plain --enable-anon --enable-login --enable-auth-sasldb --enable-ntlm --with-rc4=openssl

      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
      }

      post-destroot {
      xinstall -d -m 755 ${destroot}${prefix}/share/doc
      file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
      xinstall -d -m 755 ${destroot}${prefix}/var/state/saslauthd
      xinstall -d -m 755 ${destroot}${prefix}/var/pwcheck
      destroot.keepdirs ${destroot}${prefix}/var/state/saslauthd ${destroot}${prefix}/var/pwcheck
      }

      platform darwin {}
      platform freebsd {}
      Variant: kerberos {
      if {[variant_isset darwin]} {
      configure.args-append --enable-gssapi --with-gss_impl=mit
      }
      if {[variant_isset freebsd]} {
      configure.args-append --enable-gssapi --with-gss_impl=heimdal
      }
      }

      Variant: sql { configure.args-append --enable-sql }

      Variant: static { configure.args-append --enable-static }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/cyrus-sasl2
      % sudo port install cyrus-sasl2
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching cyrus-sasl2
      ---> Verifying checksum for cyrus-sasl2
      ---> Extracting cyrus-sasl2
      ---> Configuring cyrus-sasl2
      ---> Building cyrus-sasl2 with target all
      ---> Staging cyrus-sasl2 into destroot
      ---> Installing cyrus-sasl2
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using cyrus-sasl2 with these commands:
      %  man cyrus-sasl2
      % apropos cyrus-sasl2
      % which cyrus-sasl2
      % locate cyrus-sasl2

     Where to find more information:

    Darwin Ports



    image test