Pgbouncer version 1.3.1 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    pgbouncer  most recent diff


    version 1.3.1

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


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

      PortSystem 1.0

      Name: pgbouncer
      Version: 1.3.1
      Category: databases
      Platform: darwin
      Maintainers: mac.com:giorgio_v
      Description: Lightweight connection pooler for PostgreSQL
      Long Description: pgbouncer is a PostgreSQL connection pooler. Any target application can be connected to pgbouncer as if it were a PostgreSQL server, and pgbouncer will manage to connect to the server, or to reuse one of its existing connections.

      Homepage: http://pgbouncer.projects.postgresql.org/
      Master Sites: http://pgfoundry.org/frs/download.php/2284/
      Checksums: md5 ccb2dbe8b6ce505e14762712c478982e sha1 dd4686cb6976ddd52159ac79c5235cad6a06b50f rmd160 c385a91a85070f54569bc5a2029751477b1bee6d

      configure.env PATH=$env(PATH):${prefix}/lib/postgresql84/bin

      depends_build port:postgresql84
      depends_lib port:libevent

      livecheck.type regex
      livecheck.url http://pgfoundry.org/frs/?group_id=1000258
      livecheck.regex pgbouncer-(\[0-9\\.\]+)\\.tgz

      Variant: postgresql82 description {uses postgresql82 installation} {
      depends_build port:postgresql82
      configure.env PATH=$env(PATH):${prefix}/lib/postgresql82/bin
      }

      Variant: postgresql83 description {uses postgresql83 installation} {
      depends_build port:postgresql83
      configure.env PATH=$env(PATH):${prefix}/lib/postgresql83/bin
      }

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

     Where to find more information:

    Darwin Ports



    Lightbox this page.