Ejabberd version 2.0.5 - How to Download and Install on Mac OS X
Saturday the 20th of March, 2010

    ejabberd  most recent diff


    version 2.0.5

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


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

      PortSystem 1.0

      Name: ejabberd
      Version: 2.0.5
      Category: net
      Platform: darwin
      Maintainers: simon openmaintainer
      Description: ejabberd is an XMPP application server.
      Long Description: ${description} ejabberd stands for "Erlang Jabber Daemon"

      Homepage: http://www.process-one.net/en/ejabberd/
      Master Sites: http://www.process-one.net/downloads/ejabberd/${version}/
      Checksums: md5 2d85b47df969daf0a78ed3b16562d731 sha1 e5b8c4b742fdcc439da9458f94f530604abdfdd5 rmd160 5ec0210b3995004c708180a66a096e0b9be5f1ba
      worksrcdir ${worksrcdir}/src

      depends_lib port:erlang port:expat port:openssl port:libiconv port:zlib

      configure.args --with-expat=${prefix} --with-zlib=${prefix} --with-openssl=${prefix}

      # All ejabberd configuration files.
      set conf_files {ejabberd.cfg ejabberdctl.cfg inetrc}

      destroot.keepdirs ${destroot}${prefix}/var/log/ejabberd/

      post-destroot {
      # Create sample configuration files so they don't get overwritten by an
      # update.
      set etc ${destroot}${prefix}/etc/ejabberd
      foreach file ${conf_files} {
      file rename ${etc}/${file} ${etc}/${file}.sample
      }

      # Install documentation.
      set doc ${destroot}${prefix}/share/doc
      xinstall -d ${doc}
      file copy ${worksrcpath}/../doc ${doc}/${name}-${version}
      }

      post-install {
      ui_msg "****************************************************************"
      ui_msg "* *"
      ui_msg "* If you run ejabberd for the first time, then you must rename *"
      ui_msg "* the following configuration files by removing the .sample *"
      ui_msg "* extension: *"
      ui_msg "* *"
      ui_msg "* cd ${prefix}/etc/ejabberd/ *"
      foreach file ${conf_files} {
      ui_msg "* mv ${file}.sample ${file}"
      }
      ui_msg "* *"
      ui_msg "****************************************************************"
      }

      livecheck.type regex
      livecheck.url ${homepage}release_notes
      livecheck.regex "${name} (\\d+(?:\\.\\d+)*)"

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.