summaryrefslogtreecommitdiff
path: root/databases/pgpool/Makefile
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 /databases/pgpool/Makefile
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.
Diffstat (limited to 'databases/pgpool/Makefile')
-rw-r--r--databases/pgpool/Makefile23
1 files changed, 23 insertions, 0 deletions
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"