diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-08-04 12:57:24 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-08-04 12:57:24 +0000 |
commit | 2097de38fd742c9fd99a8e45c61ec9031c2cc24d (patch) | |
tree | 2c6f0a77576c381fa2f5da4b96d86f428528aa5f /dev-db/pgpool2 | |
parent | Remove old (diff) | |
download | gentoo-2-2097de38fd742c9fd99a8e45c61ec9031c2cc24d.tar.gz gentoo-2-2097de38fd742c9fd99a8e45c61ec9031c2cc24d.tar.bz2 gentoo-2-2097de38fd742c9fd99a8e45c61ec9031c2cc24d.zip |
Bump
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'dev-db/pgpool2')
-rw-r--r-- | dev-db/pgpool2/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/pgpool2/pgpool2-3.2.0.ebuild | 77 |
2 files changed, 83 insertions, 1 deletions
diff --git a/dev-db/pgpool2/ChangeLog b/dev-db/pgpool2/ChangeLog index 9b97ed5aab0c..8dddd837b496 100644 --- a/dev-db/pgpool2/ChangeLog +++ b/dev-db/pgpool2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/pgpool2 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/ChangeLog,v 1.9 2012/04/23 15:00:44 titanofold Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/ChangeLog,v 1.10 2012/08/04 12:57:24 patrick Exp $ + +*pgpool2-3.2.0 (04 Aug 2012) + + 04 Aug 2012; Patrick Lauer <patrick@gentoo.org> +pgpool2-3.2.0.ebuild: + Bump *pgpool2-3.1.3 (23 Apr 2012) *pgpool2-3.0.7 (23 Apr 2012) diff --git a/dev-db/pgpool2/pgpool2-3.2.0.ebuild b/dev-db/pgpool2/pgpool2-3.2.0.ebuild new file mode 100644 index 000000000000..8a04b79cf8e3 --- /dev/null +++ b/dev-db/pgpool2/pgpool2-3.2.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.2.0.ebuild,v 1.1 2012/08/04 12:57:24 patrick Exp $ + +EAPI=4 + +[[ ${PV} == 9999 ]] && MY_P=${PN/2/-II} || MY_P="${PN/2/-II}-${PV}" + +ECVS_SERVER="cvs.pgfoundry.org:/cvsroot/pgpool" +ECVS_MODULE="pgpool-II" +[[ ${PV} == 9999 ]] && SCM_ECLASS="cvs" +inherit base autotools ${SCM_ECLASS} +unset SCM_ECLASS + +DESCRIPTION="Connection pool server for PostgreSQL" +HOMEPAGE="http://pgpool.projects.postgresql.org/" +[[ ${PV} == 9999 ]] || SRC_URI="http://pgfoundry.org/frs/download.php/3076/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86" +IUSE="pam ssl static-libs" + +RDEPEND=" + dev-db/postgresql-base + pam? ( sys-auth/pambase ) + ssl? ( dev-libs/openssl ) +" +DEPEND="${DEPEND} + sys-devel/bison + !!dev-db/pgpool +" + +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" +) + +# Those turkeys didn't update the directory name!' +#S=${WORKDIR}/${MY_P} +S="${WORKDIR}/pgpool-II-3.0.4" + +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 + base_src_prepare + eautoreconf +} + +src_configure() { + econf \ + --sysconfdir="${EROOT}/etc/${PN}" \ + --disable-rpath \ + $(use_enable static-libs static) \ + $(use_with ssl openssl) \ + $(use_with pam) +} + +src_install() { + base_src_install + find "${ED}" -name '*.la' -exec rm -f {} + + # move misc data to proper folder + mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die + + newinitd "${FILESDIR}/${PN}.initd" ${PN} +} |