pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/pgpool Initial import of pgpool-2.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6390c1ff0e6f
branches:  trunk
changeset: 488897:6390c1ff0e6f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Feb 11 16:40:43 2005 +0000

description:
Initial import of pgpool-2.5.

pgpool is a connection server for PostgreSQL. pgpool runs between
PostgreSQL's clients(front ends) and servers(back ends).  A PostgreSQL
client can connect to pgpool as if it were a standard PostgreSQL
server.

pgpool caches the connection to PostgreSQL server to reduce the
overhead to establish the connection to it.  Also, pgpool could use
two PostgreSQL servers for fail over. If the first server goes down,
pgpool will automatically switch to the secondary server.  Moreover,
pgpool supports scheduled switch over.

diffstat:

 databases/pgpool/DESCR            |  10 ++++++++++
 databases/pgpool/Makefile         |  23 +++++++++++++++++++++++
 databases/pgpool/PLIST            |   3 +++
 databases/pgpool/distinfo         |   5 +++++
 databases/pgpool/patches/patch-aa |  13 +++++++++++++
 5 files changed, 54 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r 3754fb5871aa -r 6390c1ff0e6f databases/pgpool/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pgpool/DESCR    Fri Feb 11 16:40:43 2005 +0000
@@ -0,0 +1,10 @@
+pgpool is a connection server for PostgreSQL. pgpool runs between
+PostgreSQL's clients(front ends) and servers(back ends).  A PostgreSQL
+client can connect to pgpool as if it were a standard PostgreSQL
+server.
+
+pgpool caches the connection to PostgreSQL server to reduce the
+overhead to establish the connection to it.  Also, pgpool could use
+two PostgreSQL servers for fail over. If the first server goes down,
+pgpool will automatically switch to the secondary server.  Moreover,
+pgpool supports scheduled switch over.
diff -r 3754fb5871aa -r 6390c1ff0e6f databases/pgpool/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pgpool/Makefile Fri Feb 11 16:40:43 2005 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/11 16:40:43 minskim Exp $
+
+DISTNAME=      pgpool-2.5
+CATEGORIES=    databases
+MASTER_SITES=  http://pgfoundry.org/frs/download.php/157/
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      http://pgfoundry.org/projects/pgpool/
+COMMENT=       Connection pooling/replication server for PostgreSQL
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK3=        yes
+USE_PKGINSTALL=        yes
+
+CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}
+
+CONF_FILES=    ${PREFIX}/share/examples/pgpool.conf.sample             \
+               ${PKG_SYSCONFDIR}/pgpool.conf
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/pgpool.conf.sample ${PREFIX}/share/examples
+
+.include "../../mk/bsd.pkg.mk"
diff -r 3754fb5871aa -r 6390c1ff0e6f databases/pgpool/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pgpool/PLIST    Fri Feb 11 16:40:43 2005 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/11 16:40:43 minskim Exp $
+bin/pgpool
+share/examples/pgpool.conf.sample
diff -r 3754fb5871aa -r 6390c1ff0e6f databases/pgpool/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pgpool/distinfo Fri Feb 11 16:40:43 2005 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/11 16:40:43 minskim Exp $
+
+SHA1 (pgpool-2.5.tar.gz) = c2d0a500bdd3de08be097d155f32af190e9870b8
+Size (pgpool-2.5.tar.gz) = 142174 bytes
+SHA1 (patch-aa) = d290697fcdf66972c18fa6f7dbd9b47dc8ea640b
diff -r 3754fb5871aa -r 6390c1ff0e6f databases/pgpool/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pgpool/patches/patch-aa Fri Feb 11 16:40:43 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/02/11 16:40:43 minskim Exp $
+
+--- Makefile.in.orig   2005-02-01 05:48:54.000000000 -0600
++++ Makefile.in
+@@ -176,7 +176,7 @@ pgpool_SOURCES = pool.h version.h pgpool
+       pool_process_query.c pool_stream.c pool_connection_pool.c pool_params.c \
+       pool_signal.h pool_signal.c
+ 
+-sysconf_DATA = pgpool.conf.sample
++sysconf_DATA = 
+ AM_CPPFLAGS = -Wall -Wmissing-prototypes -Wmissing-declarations
+ all: config.h
+       $(MAKE) $(AM_MAKEFLAGS) all-am



Home | Main Index | Thread Index | Old Index