Mercurial > hg > portage
changeset 275:fe880e3b9267
pgpool is now in main portage
author | holger |
---|---|
date | Wed, 26 Jan 2011 21:37:37 +0100 |
parents | 5c4d20467b83 |
children | d24e27bc03c1 |
files | dev-db/pgpool-II/Manifest dev-db/pgpool-II/files/pgpool-II.init dev-db/pgpool-II/pgpool-II-2.3.3.ebuild |
diffstat | 3 files changed, 0 insertions(+), 58 deletions(-) [+] |
line wrap: on
line diff
--- a/dev-db/pgpool-II/Manifest Sat Jan 22 21:16:52 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -AUX pgpool-II.init 397 RMD160 982661c7ed406af8cee485aec125a3c28320d008 SHA1 b0433f446f98acd2ca82930f073c6fd886ce19a7 SHA256 fc1f92d95d198a4fa7a4ae3e0bbad5ba093667c068550bd6a18bc86ab61252fa -DIST pgpool-II-2.3.3.tar.gz 961675 RMD160 adfeb49ae04fc765b221b9232e1285d3f922e8d3 SHA1 877832eb777e0ab49feed24444a55fab3ff583b4 SHA256 2a404dd3965c5d869c17ab0c031395a43445d6fcf0c72df8bd78d9629b8ed25b -EBUILD pgpool-II-2.3.3.ebuild 994 RMD160 7dd43fe7afbc7f84bdf5116282b7579a5bbb8107 SHA1 df1cba24be1f85459bfceca27d35e6ebb2dfa510 SHA256 57d1f158ac7c312a458810bdb73241bf71d767b3471407609a305d0900245385
--- a/dev-db/pgpool-II/files/pgpool-II.init Sat Jan 22 21:16:52 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -start() { - ebegin "Starting pgpool-II" - start-stop-daemon --start --quiet --exec /usr/bin/pgpool - result=$? - eend $result -} - -stop() { - ebegin "Stopping pgpool-II" - start-stop-daemon --stop --quiet --exec /usr/bin/pgpool - result=$? - eend $result -}
--- a/dev-db/pgpool-II/pgpool-II-2.3.3.ebuild Sat Jan 22 21:16:52 2011 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="New generation connection pool server for PostgreSQL" -HOMEPAGE="http://pgpool.projects.postgresql.org/" -SRC_URI="http://pgfoundry.org/frs/download.php/2108/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="" - -DEPEND="virtual/postgresql-base" - -src_unpack() { - unpack ${A} - S="${WORKDIR}/${PN}-2.2" - cd ${S} - sed -i -e "/^logdir/s:/tmp:/var/run:g" pgpool.conf.sample || die -} - -src_compile() { - econf || die - emake || die -} - -src_install () { - einstall || die - mv ${D}/etc/pcp.conf.sample ${D}/etc/pcp.conf - mv ${D}/etc/pgpool.conf.sample ${D}/etc/pgpool.conf - mv ${D}/etc/pool_hba.conf.sample ${D}/etc/pool_hba.conf - dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO - newinitd "${FILESDIR}/pgpool-II.init" pgpool-II || die "Inserting init.d-file failed" -}