Calife version 3.0 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    version 3.0

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


      The calife Portfile 56105 2009-08-24 07:18:34Z ryandesign macports.org $

      PortSystem 1.0

      Name: calife
      Version: 3.0
      Category: security
      Maintainers: sky.fr:cbellot
      Description: Provides super user privileges to specific users
      Long Description: Calife is a small utility close to sudo(8) but lightweight and it preserves the caller's environment (shell aliases, PATH and so on).
      Homepage: http://dev.keltia.net/projects/calife
      Master Sites: http://dev.keltia.net/attachments/download/4
      Platform: darwin

      use_bzip2 yes
      Checksums: md5 22cfd93b626cdf354483777e4e03d109
      use_configure yes

      configure.args-append --with-etcdir=${prefix}/etc

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/bin
      xinstall -m 755 -d ${destroot}${prefix}/share/calife
      xinstall -m 755 -d ${destroot}${prefix}/share/man/man1
      xinstall -m 755 -d ${destroot}${prefix}/share/man/man5

      xinstall -m 4755 ${worksrcpath}/calife ${destroot}${prefix}/bin/calife
      xinstall -m 444 ${worksrcpath}/pam/macosx ${destroot}${prefix}/share/calife/pam.d-calife
      xinstall -m 600 ${worksrcpath}/calife.auth-dist ${destroot}${prefix}/etc
      xinstall -m 644 ${worksrcpath}/calife.1 ${destroot}${prefix}/share/man/man1
      xinstall -m 644 ${worksrcpath}/calife.auth.5 ${destroot}${prefix}/share/man/man5
      }

      post-destroot {
      ui_msg "--------------------------------------------------------------------"
      ui_msg "To use calife, you will have to MANUALLY : "
      ui_msg " - copy ${prefix}/share/calife/pam.d-calife as /etc/pam.d/calife "
      ui_msg " with this command : "
      ui_msg " sudo cp ${prefix}/share/calife/pam.d-calife /etc/pam.d/calife "
      ui_msg " - edit ${prefix}/etc/calife-auth and give adequate permissions "
      ui_msg " (see man calife-auth or ${prefix}/etc/calife-auth-dist for syntax"
      ui_msg "--------------------------------------------------------------------"
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.