summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2003-10-13 00:21:33 +0000
committerMasatomo Nakano <nakano@gentoo.org>2003-10-13 00:21:33 +0000
commit607edb13cdf7bbd694143e59a0c61a902eab7aaf (patch)
tree4a0b7771ff5b2399bd8436a75aa102b8f12fc16a /dev-db/pgpool
parentInitial import. (diff)
downloadhistorical-607edb13cdf7bbd694143e59a0c61a902eab7aaf.tar.gz
historical-607edb13cdf7bbd694143e59a0c61a902eab7aaf.tar.bz2
historical-607edb13cdf7bbd694143e59a0c61a902eab7aaf.zip
Initial import.
Diffstat (limited to 'dev-db/pgpool')
-rw-r--r--dev-db/pgpool/Manifest6
-rw-r--r--dev-db/pgpool/files/digest-pgpool-0.1.51
-rw-r--r--dev-db/pgpool/files/pgpool.init23
-rw-r--r--dev-db/pgpool/metadata.xml5
-rw-r--r--dev-db/pgpool/pgpool-0.1.5.ebuild29
5 files changed, 61 insertions, 3 deletions
diff --git a/dev-db/pgpool/Manifest b/dev-db/pgpool/Manifest
index ebf3ef59859c..ad42c4db344b 100644
--- a/dev-db/pgpool/Manifest
+++ b/dev-db/pgpool/Manifest
@@ -1,5 +1,5 @@
MD5 f8d3d207746da2a3cd14dcaab8daab76 metadata.xml 163
-MD5 9ce89705626ce2acff07f905f994abc2 pgpool-0.1.5.ebuild 765
-MD5 bda16948af4c356ab1f7abab11cdeb71 files/pgpool.init 530
-MD5 54db80148c25f93b81a29af2ac112af5 files/digest-pgpool-0.1.2 63
+MD5 48b4cbe852e37eb9ea1ce1e92d3150a4 pgpool-0.1.5.ebuild 792
+MD5 ea70b6615a86a66513495e0f588606ff ChangeLog 363
+MD5 00642b50d2d5bd70aea848d3bb7d46c7 files/pgpool.init 539
MD5 d794dfe5841c5f91f4c6194b29c9afa6 files/digest-pgpool-0.1.5 63
diff --git a/dev-db/pgpool/files/digest-pgpool-0.1.5 b/dev-db/pgpool/files/digest-pgpool-0.1.5
new file mode 100644
index 000000000000..d53de01e5dd7
--- /dev/null
+++ b/dev-db/pgpool/files/digest-pgpool-0.1.5
@@ -0,0 +1 @@
+MD5 4d884a4de446904d557f3246578a0c66 pgpool-0.1.5.tar.gz 62448
diff --git a/dev-db/pgpool/files/pgpool.init b/dev-db/pgpool/files/pgpool.init
new file mode 100644
index 000000000000..81d791c55e58
--- /dev/null
+++ b/dev-db/pgpool/files/pgpool.init
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool/files/pgpool.init,v 1.1 2003/10/13 00:21:25 nakano Exp $
+
+depend() {
+ need net
+ use postgresql
+}
+
+start() {
+ ebegin "Starting pgpool"
+ start-stop-daemon --start --quiet --exec /usr/bin/pgpool
+ result=$?
+ eend $result
+}
+
+stop() {
+ ebegin "Stopping pgpool"
+ start-stop-daemon --stop --quiet --pidfile /var/run/pgpool.pid
+ result=$?
+ eend $result
+}
diff --git a/dev-db/pgpool/metadata.xml b/dev-db/pgpool/metadata.xml
new file mode 100644
index 000000000000..309b51e9a965
--- /dev/null
+++ b/dev-db/pgpool/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>postgresql</herd>
+</pkgmetadata>
diff --git a/dev-db/pgpool/pgpool-0.1.5.ebuild b/dev-db/pgpool/pgpool-0.1.5.ebuild
new file mode 100644
index 000000000000..2fcf83c2c777
--- /dev/null
+++ b/dev-db/pgpool/pgpool-0.1.5.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool/pgpool-0.1.5.ebuild,v 1.1 2003/10/13 00:21:25 nakano Exp $
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+SRC_URI="ftp://ftp.sra.co.jp/pub/cmd/postgres/pgpool/${P}.tar.gz"
+HOMEPAGE=""
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="dev-db/postgresql"
+
+S="${WORKDIR}/${P}"
+
+src_compile() {
+ econf --with-pgsql=/usr/include/postgresql || die
+ emake || die
+}
+
+src_install () {
+ einstall || die
+ mv ${D}/etc/pgpool.conf.sample ${D}/etc/pgpool.conf
+ dosed "s:/tmp:/var/run:g" /etc/pgpool.conf
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/${PN}.init ${PN}
+}