summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2003-01-31 21:33:37 +0000
committerRyan Phillips <rphillips@gentoo.org>2003-01-31 21:33:37 +0000
commit36192b7699c79141f7783ae980cfc8345c747d24 (patch)
treee284c61547466c562ccf7877e5d953fd6b21735c /dev-db/dbbalancer
parentNew version (diff)
downloadgentoo-2-36192b7699c79141f7783ae980cfc8345c747d24.tar.gz
gentoo-2-36192b7699c79141f7783ae980cfc8345c747d24.tar.bz2
gentoo-2-36192b7699c79141f7783ae980cfc8345c747d24.zip
new package. x86 masked. fixes #10308
Diffstat (limited to 'dev-db/dbbalancer')
-rw-r--r--dev-db/dbbalancer/ChangeLog8
-rw-r--r--dev-db/dbbalancer/dbbalancer-0.4.4.ebuild50
-rw-r--r--dev-db/dbbalancer/files/digest-dbbalancer-0.4.41
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-db/dbbalancer/ChangeLog b/dev-db/dbbalancer/ChangeLog
new file mode 100644
index 000000000000..617aaa36eedb
--- /dev/null
+++ b/dev-db/dbbalancer/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-db/dbbalancer
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-db/dbbalancer/ChangeLog,v 1.1 2003/01/31 21:33:37 rphillips Exp $
+
+*dbbalancer-0.4.4 (31 Jan 2003)
+
+ 31 Jan 2003; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+ New package. Submitted by Michael Labhard. Fixes #10308
diff --git a/dev-db/dbbalancer/dbbalancer-0.4.4.ebuild b/dev-db/dbbalancer/dbbalancer-0.4.4.ebuild
new file mode 100644
index 000000000000..fc45608ae531
--- /dev/null
+++ b/dev-db/dbbalancer/dbbalancer-0.4.4.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/dbbalancer/dbbalancer-0.4.4.ebuild,v 1.1 2003/01/31 21:33:37 rphillips Exp $
+
+DESCRIPTION="Load balancing multithreaded PostgreSQL connection pool.
+Also has a replication mode to keep in sync the load balanced backend
+servers."
+HOMEPAGE="http://sourceforge.net/projects/dbbalancer"
+SRC_URI="http://easynews.dl.sourceforge.net/sourceforge/dbbalancer/dbbalancer-0.4.4.tar.gz"
+LICENSE="GPL"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=postgresql-7.2.3-r1 >=ace-5.2.4-r1 >=openjade-1.3.1-r5 =docbook-dsssl-stylesheets-1.77"
+RDEPEND="$DEPEND"
+
+S="${WORKDIR}/DBBalancer"
+A=${P}.tar.gz
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch ./Makefile.in ${FILESDIR}/${P}-Makefile.in-gentoo.diff
+ patch ./src/tests/postgres_cc/pgtest.cc ${FILESDIR}/${P}-pgtest.cc-gentoo.diff
+ patch ./docs/manual/chapter2.sgml ${FILESDIR}/${P}-chapter2.sgml-gentoo.diff
+ patch ./docs/manual/chapter6.sgml ${FILESDIR}/${P}-chapter6.sgml-gentoo.diff
+}
+
+# --with-pq++=/usr \
+src_compile() {
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-ACE=/usr \
+ --with-pq=/usr \
+ --with-pq-include=/usr/include/postgresql \
+ --with-jade=/usr/bin/jade \
+ --with-docbook=/usr/share/sgml/docbook/dsssl-stylesheets-1.77 \
+ || die "./configure failed"
+ emake || die
+ export SANDBOX_DISABLED=1
+}
+
+src_install() {
+ dosbin ${WORKDIR}/DBBalancer/dbbalancerd
+}
+
diff --git a/dev-db/dbbalancer/files/digest-dbbalancer-0.4.4 b/dev-db/dbbalancer/files/digest-dbbalancer-0.4.4
new file mode 100644
index 000000000000..8738984a3131
--- /dev/null
+++ b/dev-db/dbbalancer/files/digest-dbbalancer-0.4.4
@@ -0,0 +1 @@
+MD5 d15c650ae8f0a3d50f49cc4ab715aed6 dbbalancer-0.4.4.tar.gz 175886