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

    cryptlib  most recent diff


    version 3.3.3

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


      The cryptlib Portfile 58077 2009-09-21 20:55:06Z jmr macports.org $

      PortSystem 1.0

      Name: cryptlib
      Version: 3.3.3
      Category: devel security crypto
      Maintainers: nomaintainer
      Description: cryptlib is a powerful security toolkit (library)

      Long Description: cryptlib is a powerful security toolkit that allows even inexperienced crypto programmers to easily add encryption and authentication services to their software. The high-level interface provides anyone with the ability to add strong security capabilities to an application in as little as half an hour, without needing to know any of the low-level details that make the encryption or authentication work.

      Platform: darwin sunos

      Homepage: http://www.cs.auckland.ac.nz/~pgut001/cryptlib/
      Master Sites: ftp://ftp.franken.de/pub/crypt/cryptlib/
      distname cl[join [split $version .] ""]
      use_zip yes
      Checksums: md5 afdb94894f7f798702703f4a95a2e7ac sha1 128d24c98f1406cb4ba547617a73ec1e254caf33

      worksrcdir cryptlib
      pre-extract {
      extract.pre_args-append "-a"
      extract.post_args "-d ${worksrcpath}"
      }

      use_configure no

      build.target default shared
      build.args LIBDIR="${prefix}/lib" CFLAGS="${configure.cflags} ${configure.cc_archflags} -c -D__UNIX__ -DNDEBUG -I." CC="${configure.cc}"

      destroot {
      set drprefix ${destroot}${prefix}
      file mkdir "${drprefix}/lib" "${drprefix}/include" "${drprefix}/share/doc/${name}"
      xinstall -m 644 ${worksrcpath}/libcl.a ${worksrcpath}/${cryptlibDylib} ${drprefix}/lib
      system "ln -s ${cryptlibDylib} ${drprefix}/lib/${cryptlibDylibLink}"
      xinstall -m 644 ${worksrcpath}/cryptlib.h ${drprefix}/include
      xinstall -m 644 ${worksrcpath}/README ${drprefix}/share/doc/${name}
      system "/bin/echo ${homepage} > ${drprefix}/share/doc/${name}/website"
      }

      platform darwin {
      patchfiles-append patch-crypt_osconfig.h
      global cryptlibDylib cryptlibDylibLink
      set cryptlibDylib libcl.3.3.dylib
      set cryptlibDylibLink libcl.dylib
      }

      platform darwin 10 {
      patchfiles-append lresolv.diff
      }

      platform sunos {
      global cryptlibDylib cryptlibDylibLink
      patchfiles-append patch-makefile.sunos
      set cryptlibDylib libcl.so.3.3
      set cryptlibDylibLink libcl.so
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.