Cclient version 2007d - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    cclient  most recent diff


    version 2007d

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


      The cclient Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: cclient
      Version: 2007d
      Category: mail
      Maintainers: kallisys.net:pguyot openmaintainer
      Description: UW IMAP c-client library
      Long Description: C-client is a common API for accessing mailboxes. It is used internally by the popular PINE mail reader as well as the University of Washington's IMAP server.
      Homepage: http://www.washington.edu/imap/
      Platform: darwin
      Master Sites: ftp://ftp.cac.washington.edu/imap/ ftp://ftp.cac.washington.edu/imap/old/ macports:pguyot
      distname imap-${version}
      dist_subdir imap-uw
      worksrcdir imap-${version}
      Checksums: md5 ec27cd4c5972b981bb96e9da0430af53 sha1 c77a3feaa68fa8a73eea85718e66eba9ae3e222c rmd160 d403678f83e761237cbdf62b4bcde466cdf85123

      depends_lib port:openssl lib:libz:zlib lib:libgssapi_krb5:kerberos5

      use_configure no

      post-patch {
      reinplace "s|/System/Library/OpenSSL SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib|${prefix}/etc/openssl SSLINCLUDE=${prefix}/include SSLLIB=${prefix}/lib|g" ${worksrcpath}/Makefile
      reinplace "s| -Wno-pointer-sign||g" ${worksrcpath}/src/osdep/unix/Makefile
      }

      build.target oxp
      build.args EXTRACFLAGS=-fno-common CC=${configure.cc}

      Variant: ssl_plaintext description {Allow plaintext passwords over SSL} {
      patchfiles patch-Makefile
      build.args-append SSLTYPE=unix
      }

      Variant: universal {
      build.args-delete EXTRACFLAGS="-fno-common"
      build.args-append EXTRACFLAGS="${configure.universal_cflags}" EXTRALDFLAGS="${configure.universal_ldflags}"
      }

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/include/c-client
      xinstall -m 644 -W ${worksrcpath}/c-client c-client.h dummy.h env.h env_unix.h fdstring.h flockcyg.h flocksim.h flstring.h fs.h ftl.h imap4r1.h linkage.c linkage.h mail.h misc.h netmsg.h newsrc.h nl.h nntp.h osdep.h pseudo.h rfc822.h smtp.h sslio.h tcp.h tcp_unix.h unix.h utf8.h utf8aux.h ${destroot}${prefix}/include/c-client
      xinstall -m 644 ${worksrcpath}/c-client/c-client.a ${destroot}${prefix}/lib/libc-client4.a
      system "cd ${destroot}${prefix}/lib/ && ranlib libc-client4.a"
      }

      livecheck.type regex
      livecheck.url http://ftp.ntua.gr/pub/net/mail/imap/?C=M&O=D
      livecheck.regex {imap-(\d+(?:[a-z]\d*)?)\.tar}

      use_parallel_build no

      platform darwin 10 {
      patchfiles-append patch-Makefile-fixpam
      }

    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/cclient
      % sudo port install cclient
      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 cclient
      ---> Verifying checksum for cclient
      ---> Extracting cclient
      ---> Configuring cclient
      ---> Building cclient with target all
      ---> Staging cclient into destroot
      ---> Installing cclient
    - 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 cclient with these commands:
      %  man cclient
      % apropos cclient
      % which cclient
      % locate cclient

     Where to find more information:

    Darwin Ports



    Lightbox this page.