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

    version 2.0.2

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


      The slony1 Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: slony1
      Version: 2.0.2
      Category: databases
      Platform: darwin
      Maintainers: gmail.com:wreese jwa
      Description: A replication system for PostgreSQL
      Long Description: Slony-I is a trigger-based master to multiple slaves replication system for PostgreSQL being developed by Jan Wieck.

      Homepage: http://main.slony.info/
      Master Sites: ${homepage}/downloads/2.0/source
      use_bzip2 yes

      Checksums: md5 bad7d73ab83ee87244df24de70ac319e sha1 7c23b02389be7b3236fa092114196a3cd69ad38a rmd160 a757aa8bb1fe6fdacd592ff5778858fba64b03e2

      depends_lib port:postgresql84

      configure.args --with-pgconfigdir="${prefix}/lib/postgresql84/bin/" --with-pgsharedir="${prefix}/share/postgresql84/" --with-pgbindir="${prefix}/lib/postgresql84/bin/" --with-pgincludedir="${prefix}/include/postgresql84/" --with-pgincludeserverdir="${prefix}/include/postgresql84/server/" --with-pglibdir="${prefix}/lib/postgresql84/" --with-pgpkglibdir="${prefix}/lib/postgresql84/"

      destroot.args -B

      Variant: postgresql82 conflicts postgresql83 description {support for PostgreSQL 8.2 instead of 8.4} {
      depends_lib-delete port:postgresql84
      depends_lib-append port:postgresql82
      configure.args-delete --with-pgconfigdir="${prefix}/lib/postgresql84/bin/"
      configure.args-delete --with-pgsharedir="${prefix}/share/postgresql84/"
      configure.args-delete --with-pgbindir="${prefix}/lib/postgresql84/bin/"
      configure.args-delete --with-pgincludedir="${prefix}/include/postgresql84/"
      configure.args-delete --with-pgincludeserverdir="${prefix}/include/postgresql84/server/"
      configure.args-delete --with-pglibdir="${prefix}/lib/postgresql84/"
      configure.args-delete --with-pgpkglibdir="${prefix}/lib/postgresql84/"

      configure.args-append --with-pgconfigdir="${prefix}/lib/postgresql82/bin/" --with-pgsharedir="${prefix}/share/postgresql82/" --with-pgbindir="${prefix}/lib/postgresql82/bin/" --with-pgincludedir="${prefix}/include/postgresql82/" --with-pgincludeserverdir="${prefix}/include/postgresql82/server/" --with-pglibdir="${prefix}/lib/postgresql82/" --with-pgpkglibdir="${prefix}/lib/postgresql82/"
      }

      Variant: postgresql83 conflicts postgresql82 description {support for PostgreSQL 8.3 instead of 8.4} {
      depends_lib-delete port:postgresql84
      depends_lib-append port:postgresql83
      configure.args-delete --with-pgconfigdir="${prefix}/lib/postgresql84/bin/"
      configure.args-delete --with-pgsharedir="${prefix}/share/postgresql84/"
      configure.args-delete --with-pgbindir="${prefix}/lib/postgresql84/bin/"
      configure.args-delete --with-pgincludedir="${prefix}/include/postgresql84/"
      configure.args-delete --with-pgincludeserverdir="${prefix}/include/postgresql84/server/"
      configure.args-delete --with-pglibdir="${prefix}/lib/postgresql84/"
      configure.args-delete --with-pgpkglibdir="${prefix}/lib/postgresql84/"

      configure.args-append --with-pgconfigdir="${prefix}/lib/postgresql83/bin/" --with-pgsharedir="${prefix}/share/postgresql83/" --with-pgbindir="${prefix}/lib/postgresql83/bin/" --with-pgincludedir="${prefix}/include/postgresql83/" --with-pgincludeserverdir="${prefix}/include/postgresql83/server/" --with-pglibdir="${prefix}/lib/postgresql83/" --with-pgpkglibdir="${prefix}/lib/postgresql83/"
      }
      #post-destroot {
      # foreach bin { slon slonik } {
      # system "cd ${destroot}${prefix}/bin && ln -s ../lib/postgresql82/bin/${bin}"
      # ln -s ${destroot}${prefix}/lib/postgresql82/bin/${bin} ${destroot}${prefix}/bin
      # }
      #}

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex (2\\.\[0-9]+\\.\[0-9\]+) (\[Rr\]eleased|available)

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.