Cryptokit version 1.3 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    cryptokit  most recent diff


    version 1.3

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


      The cryptokit Portfile 58751 2009-10-04 19:33:50Z avsm macports.org $

      PortSystem 1.0
      Name: cryptokit
      Version: 1.3
      Category: devel security
      Maintainers: avsm
      Description: Objective Caml interface to cryptographic functions.
      Long Description: The Cryptokit library for Objective Caml provides a variety of cryptographic primitives that can be used to implement cryptographic protocols in security-sensitive applications.
      Homepage: http://pauillac.inria.fr/~xleroy/software.html
      Platform: darwin
      Master Sites: http://caml.inria.fr/distrib/bazar-ocaml/
      Checksums: md5 d7de01d0702d16b3491c9e794ebb2cc3 sha1 aebb0b2ed7c89320006de63b73ab639051888a9c rmd160 bdf1ec365562b534b7995d0f2c3fc06ec203111f
      depends_lib bin:camlp4:ocaml
      use_configure no
      build.target all allopt doc

      set instdir ${destroot}${prefix}/lib/ocaml/site-lib
      destroot.args INSTALLDIR=${instdir}/cryptokit
      Patch Files: patch-META patch-Makefile
      pre-destroot {
      file mkdir ${instdir}/cryptokit/stublibs
      file mkdir ${instdir}/stublibs
      }
      post-destroot {
      system "ranlib ${instdir}/cryptokit/cryptokit.a"
      system "ranlib ${instdir}/cryptokit/libcryptokit.a"
      xinstall ${worksrcpath}/META ${instdir}/cryptokit/META
      system "mv ${instdir}/cryptokit/stublibs/*.so ${instdir}/stublibs/"
      xinstall -d -755 ${destroot}${prefix}/share/doc/${name}
      eval xinstall -m 644 [glob ${worksrcpath}/doc/*] ${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/cryptokit
      % sudo port install cryptokit
      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 cryptokit
      ---> Verifying checksum for cryptokit
      ---> Extracting cryptokit
      ---> Configuring cryptokit
      ---> Building cryptokit with target all
      ---> Staging cryptokit into destroot
      ---> Installing cryptokit
    - 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 cryptokit with these commands:
      %  man cryptokit
      % apropos cryptokit
      % which cryptokit
      % locate cryptokit

     Where to find more information:

    Darwin Ports



    Lightbox this page.