summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-02-11 16:40:43 +0000
committerminskim <minskim@pkgsrc.org>2005-02-11 16:40:43 +0000
commitc0d1af6a3dc05f2102329278698b0a525893cb10 (patch)
tree216f9fcb05ef1aa29e54a498bdcdab22ae8edb07
parent614ff3079034f3d2a8b35fbb196b8d7600b56ea2 (diff)
downloadpkgsrc-c0d1af6a3dc05f2102329278698b0a525893cb10.tar.gz
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.
-rw-r--r--databases/pgpool/DESCR10
-rw-r--r--databases/pgpool/Makefile23
-rw-r--r--databases/pgpool/PLIST3
-rw-r--r--databases/pgpool/distinfo5
-rw-r--r--databases/pgpool/patches/patch-aa13
5 files changed, 54 insertions, 0 deletions
diff --git a/databases/pgpool/DESCR b/databases/pgpool/DESCR
new file mode 100644
index 00000000000..90094909cbc
--- /dev/null
+++ b/databases/pgpool/DESCR
@@ -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 --git a/databases/pgpool/Makefile b/databases/pgpool/Makefile
new file mode 100644
index 00000000000..3608bd4a5f4
--- /dev/null
+++ b/databases/pgpool/Makefile
@@ -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
+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 --git a/databases/pgpool/PLIST b/databases/pgpool/PLIST
new file mode 100644
index 00000000000..7932443674f
--- /dev/null
+++ b/databases/pgpool/PLIST
@@ -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 --git a/databases/pgpool/distinfo b/databases/pgpool/distinfo
new file mode 100644
index 00000000000..cdea0c1f0f2
--- /dev/null
+++ b/databases/pgpool/distinfo
@@ -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 --git a/databases/pgpool/patches/patch-aa b/databases/pgpool/patches/patch-aa
new file mode 100644
index 00000000000..31b3bc14fdf
--- /dev/null
+++ b/databases/pgpool/patches/patch-aa
@@ -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