Download and Install db45 version 4.5.20 on Mac OS X
Friday the 25th of July, 2008

    db45  most recent diff


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



      # $Id: Portfile 36870 2008-05-17 03:25:29Z ryandesign macports.org $

      PortSystem 1.0
      Name: db45
      Version: 4.5.20
      revision 3
      Category: databases
      Maintainers: nomaintainer
      Platform: darwin
      use_parallel_build yes
      Description: The Berkeley DB package, version 4.5
      Long Description: Version 4.5 of the Berkeley Data Base library which offers (key/value) storage with optional concurrent access or transactions interface. This port will install the AES (American Encryption Standard) enabled version. Utilities are included in the distribution to convert v1.85 databases to v4.5 databases, and a backwards compatible API is provided to maintain compatibility with programs using the v1.85 interface.

      Homepage: http://www.oracle.com/database/berkeley-db/index.html
      master_sites http://download-west.oracle.com/berkeley-db/ http://download-east.oracle.com/berkeley-db/ http://download-uk.oracle.com/berkeley-db/
      patch_sites http://www.oracle.com/technology/products/berkeley-db/db/update/${version}/
      patchfiles patch.${version}.1 patch.${version}.2
      distname db-${version}
      patch.dir ${workpath}/${distname}
      dist_subdir db4
      checksums ${distname}${extract.suffix} md5 b0f1c777708cb8e9d37fb47e7ed3312d patch.${version}.1 md5 a571e239b9041d7990df287cbc59ad6f patch.${version}.2 md5 b7a7086a067ba116f5a8464362c9a9a7

      worksrcdir ${distname}/build_unix

      configure.cmd ../dist/configure
      configure.args --enable-cxx --enable-compat185 --enable-dump185 --includedir=\\\${prefix}/include/db45 --libdir=\\\${prefix}/lib/db45 --program-transform-name="s,^db,db45," --disable-tcl

      destroot.destdir prefix=${destroot}${prefix} docdir=${destroot}${prefix}/share/${name}-${version}/

      post-destroot {
      delete ${destroot}${prefix}/share
      foreach lib { libdb.a libdb_cxx.a } {
      delete ${destroot}${prefix}/lib/db45/${lib}
      }
      foreach bin { archive hotbackup dump dump185 printlog upgrade checkpoint recover verify deadlock load stat } {
      file rename ${destroot}${prefix}/bin/db_${bin} ${destroot}${prefix}/bin/db45_${bin}
      }
      }

      Variant: java {
      # Java 1.4 is used to compile the Java bindings because a
      # portion of the ice-java package is compiled with Java 1.4.
      set java_bin /System/Library/Frameworks/JavaVM.framework/Versions/1.4/Home/bin
      configure.env-append JAVA=${java_bin}/java JAVAC=${java_bin}/javac JAR=${java_bin}/jar
      configure.args-append --enable-java
      }

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

     Where to find more information:

    Darwin Ports



    image test