summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-02-09 08:18:38 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-02-09 08:18:38 +0000
commite41ca551602514c7bfaabe476263ef3677a803ce (patch)
treeb17589881f037c3d0a4a4caff9b9d66edfaa6858 /dev-db/pgpool2
parentx86 stable wrt bug #353856 (diff)
downloadhistorical-e41ca551602514c7bfaabe476263ef3677a803ce.tar.gz
historical-e41ca551602514c7bfaabe476263ef3677a803ce.tar.bz2
historical-e41ca551602514c7bfaabe476263ef3677a803ce.zip
Add live ebuild for testing.
Package-Manager: portage-2.2.0_alpha22/cvs/Linux x86_64
Diffstat (limited to 'dev-db/pgpool2')
-rw-r--r--dev-db/pgpool2/ChangeLog7
-rw-r--r--dev-db/pgpool2/Manifest3
-rw-r--r--dev-db/pgpool2/pgpool2-9999.ebuild69
3 files changed, 77 insertions, 2 deletions
diff --git a/dev-db/pgpool2/ChangeLog b/dev-db/pgpool2/ChangeLog
index 179e1ea30aed..78164cbb38a6 100644
--- a/dev-db/pgpool2/ChangeLog
+++ b/dev-db/pgpool2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/pgpool2
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/ChangeLog,v 1.1 2011/01/26 16:49:09 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/ChangeLog,v 1.2 2011/02/09 08:18:38 scarabeus Exp $
+
+*pgpool2-9999 (09 Feb 2011)
+
+ 09 Feb 2011; Tomáš Chvátal <scarabeus@gentoo.org> +pgpool2-9999.ebuild:
+ Add live ebuild for testing.
*pgpool2-3.0.1 (26 Jan 2011)
diff --git a/dev-db/pgpool2/Manifest b/dev-db/pgpool2/Manifest
index ec951b8f3a57..6d2a656b5caf 100644
--- a/dev-db/pgpool2/Manifest
+++ b/dev-db/pgpool2/Manifest
@@ -3,5 +3,6 @@ AUX pgpool2-tmpdir.patch 1806 RMD160 cfe4b124726f612953152c7cc40d028d8fef7800 SH
AUX pgpool2.initd 823 RMD160 0aa71634f1fb2971c89273e859fd2a197c7e5b1e SHA1 f61ee62bcfdfd30ac0e7ecc9064d64582e40a0ee SHA256 8ff44a4bc1a557f25bd6d2f05ae6f651e04e439f1f45761d4655ba695ed1d3d2
DIST pgpool-II-3.0.1.tar.gz 1226151 RMD160 3fa36d1d1d7c66dc6d291ba14905feb01342eb17 SHA1 1c72a271d65bd7b44b473b5020746808a056bf3d SHA256 3adfa1f92dee238abec2dd6880985da99b1e2d862e567994e9e2f2736a872ae0
EBUILD pgpool2-3.0.1.ebuild 1355 RMD160 fffb4a0c4ec0e31ac02e62dc4d30bfaf5e4159bd SHA1 e3cfef29cc5df1314c2c8dffaff0322c274120ae SHA256 72d0360627ec2e04879c59fbded563f893f74b6224a4f1df1517c94676172684
-MISC ChangeLog 486 RMD160 6cc6a42344845b2e9f26ada9f78e10c1ee44e64f SHA1 a6c1e269406a0f7c65e784b6cc0a4e08504e0e51 SHA256 2908bab52ffb53e5e97a377b66e92fe81fbe381abe85f755d41520deefb4736c
+EBUILD pgpool2-9999.ebuild 1449 RMD160 39b970c10f24a14ad400191b358fd135c55f4bfc SHA1 dc06cb096d89f96182324cf314a56bce9c3cd694 SHA256 8da25ccccdb62bb2c602c8b18f2c814270c93378993d28a163e2c8d226f20700
+MISC ChangeLog 624 RMD160 f706151de58a8d5aa1869a9e06a8348f08cf9d4e SHA1 3b26a86d8cc865b6f6222160a9d90ca574349548 SHA256 92766babbf1f07b0ee7466e668fde0fea733a1b8a17ae8750e5b07515eba20a9
MISC metadata.xml 164 RMD160 becfe652663bd65719dd11fa6ffb588b3d5b4ecc SHA1 f67b7ac1c5e6e65ef5a19a589d4759c84918f86c SHA256 7e8e8126bc8701c4a42c7dfed8bb755ac6040fe3d0e3f994d888f8b2b4fa7d8b
diff --git a/dev-db/pgpool2/pgpool2-9999.ebuild b/dev-db/pgpool2/pgpool2-9999.ebuild
new file mode 100644
index 000000000000..65a5ff83cc0a
--- /dev/null
+++ b/dev-db/pgpool2/pgpool2-9999.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-9999.ebuild,v 1.1 2011/02/09 08:18:38 scarabeus Exp $
+
+EAPI=4
+
+ECVS_SERVER="cvs.pgfoundry.org:/cvsroot/pgpool"
+ECVS_MODULE="pgpool-II"
+inherit autotools-utils cvs autotools
+
+DESCRIPTION="Connection pool server for PostgreSQL"
+HOMEPAGE="http://pgpool.projects.postgresql.org/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE="pam ssl static-libs"
+
+RDEPEND="
+ dev-db/postgresql-base
+ pam? ( sys-auth/pambase )
+ ssl? ( dev-libs/openssl )
+"
+DEPEND="${DEPEND}
+ sys-devel/bison"
+
+AUTOTOOLS_IN_SOURCE_BUILD="1"
+
+DOCS=(
+ "NEWS"
+ "doc/where_to_send_queries.pdf"
+)
+HTML_DOCS=(
+ "doc/pgpool-en.html" "doc/pgpool.css"
+ "doc/tutorial-en.html"
+)
+
+S="${WORKDIR}/pgpool-II/"
+
+src_prepare() {
+ sed -i \
+ -e 's:/tmp/:/var/run/postgresql:g' \
+ pgpool.conf.sample pool.h || die
+ sed -i \
+ -e '/ACLOCAL_AMFLAGS/ d' \
+ Makefile.am || die
+ autotools-utils_src_prepare
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ "--sysconfdir=${EROOT}/etc/${PN}"
+ "--disable-dependency-tracking"
+ "--disable-rpath"
+ $(use_with ssl openssl)
+ $(use_with pam)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ autotools-utils_src_install
+ remove_libtool_files all
+ # move misc data to proper folder
+ mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
+
+ newinitd "${FILESDIR}/${PN}.initd" ${PN}
+}