imap-uw version 2007 for Mac OS X 10.5 Leopard
Saturday the 17th of May, 2008

    imap-uw  most recent diff


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



      # $Id: Portfile 32726 2008-01-12 18:26:27Z pguyot kallisys.net $
      PortSystem 1.0

      Name: imap-uw
      Version: 2007
      Category: mail
      Maintainers: nomaintainer
      Description: University of Washington IMAP daemon
      Long Description: IMAP (Internet Message Access Protocol) is a method of accessing electronic messages kept on a (possibly shared) mail server. This port provides the University of Washington IMAP toolkit (IMAP supporting software developed by the UW).
      Homepage: http://www.washington.edu/imap/
      master_sites ftp://ftp.cac.washington.edu/imap/ ftp://ftp.cac.washington.edu/imap/old/ opendarwin
      Platform: darwin

      distname imap-${version}
      extract.suffix .tar.Z
      checksums md5 8162c341dd3a08d18b369a745cf83838 sha1 638fa748bd3eb32191799bc20db0cc383f9fedbe rmd160 7fe7f72c192e1d150b3c533261142459db600c3e

      use_configure no

      build.target oxp

      # Patches for Darwin 7.x/Mac OS X 10.3.x support
      platform darwin 7 {
      patchfiles patch-src-osdep-unix-Makefile patch-src-osdep-unix-ckp_osx.c
      build.target osx
      }

      # Default is to enable SSL support and plaintext authentication
      # permitted only in SSL/TLS sessions.

      # Variant to enable SSL support and plaintext authentication
      Variant: ssl_plain {
      patchfiles patch-Makefile
      build.args SSLTYPE=unix
      }

      # Variant to enable SSL with PAM support for Mac OS X
      Variant: ssl_pam {
      depends_lib lib:libssl.0.9:openssl

      patchfiles patch-Makefile
      build.target oxp
      build.args SSLTYPE=unix

      post-destroot { xinstall -m 0644 ${filespath}/README-MACOSX ${filespath}/etc-pam.d-imap ${filespath}/etc-xinetd.d-imap ${filespath}/etc-xinetd.d-imaps ${destroot}${prefix}/share/doc/${name}/
      reinplace "s|__PREFIX|${prefix}|" ${filespath}/README-MACOSX ${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imap ${destroot}${prefix}/share/doc/${name}/etc-xinetd.d-imaps
      ui_msg "-----------------------------------------------------------"
      ui_msg "For use of IMAP-UW using SSL and PAM on Mac OS X 10.3,"
      ui_msg "please see the following:"
      ui_msg "\t${prefix}/share/doc/${name}/README-MACOSX"
      ui_msg "for further installation and setup details."
      ui_msg "-----------------------------------------------------------"
      }
      }

      # Variant to enable IPv6 support (default is IPv4)
      Variant: ipv6 {
      build.args-append IP=6
      }

      # Variant to disable plaintext authentication outside of SSL/TSL
      # i.e. prohibit unencrypted plaintext passwords
      Variant: nopwd {
      build.args-delete SSLTYPE=unix
      build.args-append SSLTYPE=unix.nopwd
      }

      # Variant to set the default for creating new mailboxes to "mbx" format
      Variant: mbx {
      build.args-append CREATEPROTO=mbxproto
      }

      # Variant to set the default mail subdirectory name to "Mail"
      Variant: subdir {
      patchfiles-append patch-env_unix.c
      }

      destroot {
      # Warn user if not running as root
      if {$env(USER) != "root"} {
      ui_msg "-----------------------------------------------------------"
      ui_msg "Note that you are not running as root, so files installed"
      ui_msg "by this port will not end up with proper ownership and"
      ui_msg "will likely not work correctly."
      ui_msg "-----------------------------------------------------------"
      }
      xinstall -m 0755 -d ${destroot}${prefix}/libexec
      xinstall -m 0755 -d ${destroot}${prefix}/bin
      xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 0755 -d ${destroot}${prefix}/share/man/man8
      xinstall -m 0755 -d ${destroot}${prefix}/share/man/man1
      xinstall -m 0755 ${worksrcpath}/imapd/imapd ${destroot}${prefix}/libexec
      xinstall -m 0755 ${worksrcpath}/ipopd/ipop2d ${destroot}${prefix}/libexec
      xinstall -m 0755 ${worksrcpath}/ipopd/ipop3d ${destroot}${prefix}/libexec
      xinstall -m 0755 ${worksrcpath}/mailutil/mailutil ${destroot}${prefix}/bin
      xinstall -m 0755 ${worksrcpath}/tmail/tmail ${destroot}${prefix}/bin
      xinstall -m 0755 ${worksrcpath}/dmail/dmail ${destroot}${prefix}/bin
      xinstall -m 0755 ${worksrcpath}/mtest/mtest ${destroot}${prefix}/bin/mboxtest
      if {$env(USER) == "root"} {
      xinstall -g mail -m 2711 ${worksrcpath}/mlock/mlock ${destroot}${prefix}/libexec
      } else {
      xinstall -m 0711 ${worksrcpath}/mlock/mlock ${destroot}${prefix}/libexec
      }
      xinstall -m 0755 ${worksrcpath}/src/imapd/imapd.8 ${destroot}${prefix}/share/man/man8
      xinstall -m 0755 ${worksrcpath}/src/ipopd/ipopd.8 ${destroot}${prefix}/share/man/man8
      xinstall -m 0755 ${worksrcpath}/src/mailutil/mailutil.1 ${destroot}${prefix}/share/man/man1
      xinstall -m 0755 ${worksrcpath}/src/tmail/tmail.1 ${destroot}${prefix}/share/man/man1
      xinstall -m 0755 ${worksrcpath}/src/dmail/dmail.1 ${destroot}${prefix}/share/man/man1
      xinstall -m 0644 ${worksrcpath}/docs/RELNOTES ${destroot}${prefix}/share/doc/${name}
      xinstall -m 0644 ${worksrcpath}/docs/FAQ.html ${destroot}${prefix}/share/doc/${name}
      foreach file [glob ${worksrcpath}/docs/*.txt] {
      xinstall -m 0644 ${file} ${destroot}${prefix}/share/doc/${name}
      }
      }


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

     Where to find more information:

    Darwin Ports



    image test