Cyrus-sasl2 version 2.1.23 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    cyrus-sasl2  most recent diff


    version 2.1.23

      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.23 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


      The cyrus-sasl2 Portfile 59458 2009-10-15 11:37:40Z jmr macports.org $

      PortSystem 1.0

      Name: cyrus-sasl2
      Version: 2.1.23
      Category: security net
      Maintainers: jmpp landonf openmaintainer
      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 2eb0e48106f0e9cd8001e654f267ecbc sha1 5df33a6788d6cd8329b109eff777c6cfae1a21bd rmd160 b2cd9734fa8b4bad82663517f019f9b92d9d3519

      depends_lib port:openssl port:zlib

      Patch Files: patch-utils_Makefile.in.diff

      default_variants +kerberos

      Patch Files: patch-config_ltconfig

      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-macos-framework --enable-srp --enable-srp-setpass --enable-login --enable-ntlm --with-rc4=openssl

      use_parallel_build yes

      universal_variant no

      # This is a start towards universal... lib/Makefile.am and sasldb/Makefile.am need to be updated to not do blind ar-fu
      #post-extract {
      # system "rm ${worksrcpath}/config/libtool.m4"
      #}
      #
      #use_autoreconf yes
      #autoreconf.args -fvi
      #autoreconf.env ACLOCAL="aclocal -I${worksrcpath}/cmulocal -I${worksrcpath}/config"

      destroot.keepdirs ${destroot}${prefix}/var/state/saslauthd ${destroot}${prefix}/var/pwcheck

      post-destroot {
      xinstall -d ${destroot}${prefix}/share/doc ${destroot}${prefix}/var/state/saslauthd ${destroot}${prefix}/var/pwcheck

      file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
      }

      Variant: kerberos description "Enable Kerberos support" {
      configure.args-append --enable-gssapi --enable-keep-db-open

      if {${os.platform} == "darwin"} {
      configure.args-append --with-gss_impl=mit
      }
      if {${os.platform} == "freebsd"} {
      configure.args-append --with-gss_impl=heimdal
      }
      }

      Variant: sql description "Enable SQL support" { configure.args-append --enable-sql }

      Variant: static description "Build static library" { configure.args-append --enable-static }

      livecheck.type regex
      livecheck.url http://ftp.andrew.cmu.edu/pub/cyrus-mail/
      livecheck.regex {cyrus-sasl-(\d+(?:\.\d+)*)\.tar\.gz}

    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



    Lightbox this page.