cyrus-imapd version 2.3.8 for Mac OS X 10.5 Leopard
Friday the 16th of May, 2008

    cyrus-imapd  most recent diff


      View the most recent changes for the cyrus-imapd port at: cyrus-imapd.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for cyrus-imapd.
      The raw portfile for cyrus-imapd 2.3.8 is located here:
      http://cyrus-imapd.darwinports.com/dports/mail/cyrus-imapd/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-imapd
      Google
      Web Darwinports.com



      # $Id: Portfile 30201 2007-10-22 21:02:14Z jmpp macports.org $

      PortSystem 1.0

      Name: cyrus-imapd
      Version: 2.3.8
      revision 1
      Category: mail
      Platform: darwin
      Maintainers: jmpp openmaintainer

      Description: The Cyrus IMAP Server
      Long Description: Popular, scalable, open standars based IMAP & POP3 mail server developed by The Carnegie Mellon University.

      Homepage: http://asg.web.cmu.edu/cyrus/
      master_sites http://ftp.andrew.cmu.edu/pub/cyrus-mail/ ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/
      checksums md5 ac03b02c1ae08d52f807b58c488b204f

      depends_lib port:perl5.8 port:cyrus-sasl2 port:db44 port:openssl

      patchfiles patch-depot-Makefile.in.diff

      configure.args --mandir=${prefix}/share/man --sysconfdir=${prefix}/etc/cyrus --with-cyrus-prefix=${prefix} --with-pidfile=${prefix}/var/run/cyrus-master.pid --with-bdb-incdir=${prefix}/include/db44 --with-bdb-libdir=${prefix}/lib/db44 --with-perl=${prefix}/bin/perl --with-sasl=${prefix} --with-openssl=${prefix} --with-cyrus-user=cyrus --with-cyrus-group=mail --with-auth=unix --enable-listext --enable-cmulocal --enable-netscapehack --with-snmp=no --disable-sieve --disable-gssapi --with-com_err

      startupitem.create yes
      startupitem.name cyrus
      startupitem.requires Disks Network "System Log"
      startupitem.start "${prefix}/bin/master -d"
      startupitem.stop "pidfile=${prefix}/var/run/cyrus-master.pid
      if \[ -f \${pidfile} \]; then
      kill -TERM \$(cat \${pidfile})
      fi"
      post-destroot {
      set uid [nextuid]
      set gid [nextgid]
      adduser cyrus realname=Cyrus\ User uid=${uid} gid=${gid} home=${prefix}/var/imap shell=/usr/bin/false passwd="\*"
      addgroup mail gid=${gid} users=cyrus
      xinstall -m 755 -v ${worksrcpath}/tools/mkimap ${destroot}${prefix}/bin
      reinplace "s|/etc/imapd.conf|${prefix}/etc/cyrus/imapd.conf|" ${destroot}${prefix}/bin/mkimap
      xinstall -m 755 -v ${worksrcpath}/tools/mknewsgroups ${destroot}${prefix}/bin
      xinstall -m 755 -v ${worksrcpath}/tools/dohash ${destroot}${prefix}/bin
      xinstall -m 755 -v ${worksrcpath}/tools/rehash ${destroot}${prefix}/bin
      xinstall -m 755 -v ${worksrcpath}/tools/upgradesieve ${destroot}${prefix}/bin
      xinstall -d -m 755 ${destroot}${prefix}/share/doc/
      file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
      cd ${destroot}${prefix}/share/doc/${name}
      foreach d [glob -type d *] { file delete -force html CVS $d/CVS }
      xinstall -d -m 755 ${destroot}${prefix}/etc/cyrus/samples
      cd ${worksrcpath}/master/conf
      foreach f [glob -type f *.conf] {
      xinstall -m 644 -v $f ${destroot}${prefix}/etc/cyrus/samples/$f.sample
      }
      xinstall -d -m 750 -o cyrus -g mail ${destroot}${prefix}/var/imap
      xinstall -d -m 750 -o cyrus -g mail ${destroot}${prefix}/var/spool/imap
      destroot.keepdirs ${destroot}${prefix}/var/run ${destroot}${prefix}/var/imap ${destroot}${prefix}/var/spool/imap ${destroot}${prefix}/var/log
      }

      platform darwin 7 { patchfiles-append patch-no_msg_h.diff }

      platform powerpc { configure.args-append --build=powerpc }

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

      platform i386 { configure.args-append --build=i386 }

      Variant: snmp {
      # snmp support is currently broken
      depends_lib-append port:net-snmp
      configure.args-delete --with-snmp=no
      configure.args-append --with-snmp=yes
      }

      ##
      # Miscellaneous notes:
      # -) Port is itself bare bones, suport for many other things could be added (maybe as variants), so suggest away!
      ##

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

     Where to find more information:

    Darwin Ports



    image test