Botan version 1.6.5 - How to Download and Install on Mac OS X
Friday the 3rd of July, 2009

    version 1.6.5

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


      The botan Portfile 39671 2008-08-29 09:17:10Z mww macports.org $

      PortSystem 1.0

      Name: botan
      Version: 1.6.5
      Category: security devel
      Platform: darwin
      Maintainers: mww
      Description: cryptographic algorithms and formats library in C++
      Long Description: Botan is a C++ library implementing a variety of cryptographic algorithms and formats. At this time, it is quite stable, and is suitable for use in a wide variety of programs.

      Homepage: http://botan.randombit.net/
      Master Sites: http://files.randombit.net/botan/
      distfiles Botan-${version}.tbz
      Checksums: sha1 90cab3c79dc33620316737e0f173c74cd3ed122d
      use_bzip2 yes
      Patch Files: patch-misc-config-cc-gcc.diff

      configure.cmd ./configure.pl
      configure.args --docdir=share/doc
      # uses CC to select the compiler suite, instead of finding the C-compiler executable
      configure.cc gcc

      platform darwin 8 { build.args CXX=/usr/bin/g++-4.0 }
      platform darwin 9 { build.args CXX=/usr/bin/g++-4.0 }

      platform darwin i386 {
      post-configure {
      reinplace "s|-mcpu=i686||g" ${worksrcpath}/Makefile
      }
      }

      destroot.destdir INSTALLROOT=${destroot}${prefix} OWNER=`id -u` GROUP=`id -g`

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.