diff options
author | Patrick Lauer <patrick@gentoo.org> | 2015-07-27 09:13:52 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2015-07-27 09:13:52 +0000 |
commit | fe5c6b29459e310688b8be94070a51aa77466bf7 (patch) | |
tree | 19a27b4c26b8100951bf7a59343e9d5fc30195c4 /dev-db | |
parent | Updating remote-id in metadata.xml (diff) | |
download | gentoo-2-fe5c6b29459e310688b8be94070a51aa77466bf7.tar.gz gentoo-2-fe5c6b29459e310688b8be94070a51aa77466bf7.tar.bz2 gentoo-2-fe5c6b29459e310688b8be94070a51aa77466bf7.zip |
Bump, remove old
(Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/pgpool2/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/pgpool2/pgpool2-3.2.3.ebuild | 107 | ||||
-rw-r--r-- | dev-db/pgpool2/pgpool2-3.2.4.ebuild | 107 | ||||
-rw-r--r-- | dev-db/pgpool2/pgpool2-3.3.1.ebuild | 108 | ||||
-rw-r--r-- | dev-db/pgpool2/pgpool2-3.3.2.ebuild | 108 | ||||
-rw-r--r-- | dev-db/pgpool2/pgpool2-3.3.3.ebuild | 108 | ||||
-rw-r--r-- | dev-db/pgpool2/pgpool2-3.3.4.ebuild | 108 | ||||
-rw-r--r-- | dev-db/pgpool2/pgpool2-3.3.7.ebuild (renamed from dev-db/pgpool2/pgpool2-3.3.5.ebuild) | 2 |
8 files changed, 10 insertions, 648 deletions
diff --git a/dev-db/pgpool2/ChangeLog b/dev-db/pgpool2/ChangeLog index 74dd839f4617..a1d4c413b6b2 100644 --- a/dev-db/pgpool2/ChangeLog +++ b/dev-db/pgpool2/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-db/pgpool2 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/ChangeLog,v 1.28 2015/06/01 03:28:30 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/ChangeLog,v 1.29 2015/07/27 09:13:52 patrick Exp $ + +*pgpool2-3.3.7 (27 Jul 2015) + + 27 Jul 2015; Patrick Lauer <patrick@gentoo.org> +pgpool2-3.3.7.ebuild, + -pgpool2-3.2.3.ebuild, -pgpool2-3.2.4.ebuild, -pgpool2-3.3.1.ebuild, + -pgpool2-3.3.2.ebuild, -pgpool2-3.3.3.ebuild, -pgpool2-3.3.4.ebuild, + -pgpool2-3.3.5.ebuild: + Bump, remove old *pgpool2-3.3.6 (01 Jun 2015) diff --git a/dev-db/pgpool2/pgpool2-3.2.3.ebuild b/dev-db/pgpool2/pgpool2-3.2.3.ebuild deleted file mode 100644 index d0badf532a82..000000000000 --- a/dev-db/pgpool2/pgpool2-3.2.3.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.2.3.ebuild,v 1.5 2014/12/28 15:10:55 titanofold Exp $ - -EAPI=4 - -MY_P="${PN/2/-II}-${PV}" - -inherit base user - -DESCRIPTION="Connection pool server for PostgreSQL" -HOMEPAGE="http://www.pgpool.net/" -SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="memcached pam ssl static-libs" - -RDEPEND=" - dev-db/postgresql - memcached? ( dev-libs/libmemcached ) - pam? ( sys-auth/pambase ) - ssl? ( dev-libs/openssl ) -" -DEPEND="${RDEPEND} - sys-devel/bison - !!dev-db/pgpool -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewgroup postgres 70 - enewuser pgpool -1 -1 -1 postgres - - # We need the postgres user as well so we can set the proper - # permissions on the sockets without getting into fights with - # PostgreSQL's initialization scripts. - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres -} - -src_prepare() { - epatch "${FILESDIR}/pgpool_run_paths.patch" - - local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h" - local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR "${pg_config_manual}" | \ - sed 's|.*\"\(.*\)\"|\1|g') - local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool" - - sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \ - -i *.conf.sample* pool.h || die - - sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \ - -i *.conf.sample* pool.h || die -} - -src_configure() { - local myconf - use memcached && \ - myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\"" - use pam && myconf+=' --with-pam' - - econf \ - --disable-rpath \ - --sysconfdir="${EROOT%/}/etc/${PN}" \ - $(use_with ssl openssl) \ - $(use_enable static-libs static) \ - ${myconf} -} - -src_compile() { - emake - - emake -C sql -} - -src_install() { - emake DESTDIR="${D}" install - - emake DESTDIR="${D}" -C sql install - cd "${S}" - - # `contrib' moved to `extension' with PostgreSQL 9.1 - local pgslot=$(postgresql-config show) - if [[ ${pgslot//.} > 90 ]] ; then - cd "${ED%/}$(pg_config --sharedir)" - mv contrib extension || die - cd "${S}" - fi - - newinitd "${FILESDIR}/${PN}.initd" ${PN} - newconfd "${FILESDIR}/${PN}.confd" ${PN} - - # Documentation - dodoc NEWS TODO doc/where_to_send_queries.{pdf,odg} - dohtml -r doc - - # Examples and extras - insinto "/usr/share/${PN}" - doins doc/{pgpool_remote_start,basebackup.sh,recovery.conf.sample} - mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die - - # One more thing: Evil la files! - find "${ED}" -name '*.la' -exec rm -f {} + -} diff --git a/dev-db/pgpool2/pgpool2-3.2.4.ebuild b/dev-db/pgpool2/pgpool2-3.2.4.ebuild deleted file mode 100644 index 5c249ba7e82f..000000000000 --- a/dev-db/pgpool2/pgpool2-3.2.4.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.2.4.ebuild,v 1.4 2014/12/28 15:10:55 titanofold Exp $ - -EAPI=4 - -MY_P="${PN/2/-II}-${PV}" - -inherit base user - -DESCRIPTION="Connection pool server for PostgreSQL" -HOMEPAGE="http://www.pgpool.net/" -SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="memcached pam ssl static-libs" - -RDEPEND=" - dev-db/postgresql - memcached? ( dev-libs/libmemcached ) - pam? ( sys-auth/pambase ) - ssl? ( dev-libs/openssl ) -" -DEPEND="${RDEPEND} - sys-devel/bison - !!dev-db/pgpool -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewgroup postgres 70 - enewuser pgpool -1 -1 -1 postgres - - # We need the postgres user as well so we can set the proper - # permissions on the sockets without getting into fights with - # PostgreSQL's initialization scripts. - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres -} - -src_prepare() { - epatch "${FILESDIR}/pgpool_run_paths.patch" - - local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h" - local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR "${pg_config_manual}" | \ - sed 's|.*\"\(.*\)\"|\1|g') - local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool" - - sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \ - -i *.conf.sample* pool.h || die - - sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \ - -i *.conf.sample* pool.h || die -} - -src_configure() { - local myconf - use memcached && \ - myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\"" - use pam && myconf+=' --with-pam' - - econf \ - --disable-rpath \ - --sysconfdir="${EROOT%/}/etc/${PN}" \ - $(use_with ssl openssl) \ - $(use_enable static-libs static) \ - ${myconf} -} - -src_compile() { - emake - - emake -C sql -} - -src_install() { - emake DESTDIR="${D}" install - - emake DESTDIR="${D}" -C sql install - cd "${S}" - - # `contrib' moved to `extension' with PostgreSQL 9.1 - local pgslot=$(postgresql-config show) - if [[ ${pgslot//.} > 90 ]] ; then - cd "${ED%/}$(pg_config --sharedir)" - mv contrib extension || die - cd "${S}" - fi - - newinitd "${FILESDIR}/${PN}.initd" ${PN} - newconfd "${FILESDIR}/${PN}.confd" ${PN} - - # Documentation - dodoc NEWS TODO doc/where_to_send_queries.{pdf,odg} - dohtml -r doc - - # Examples and extras - insinto "/usr/share/${PN}" - doins doc/{pgpool_remote_start,basebackup.sh,recovery.conf.sample} - mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die - - # One more thing: Evil la files! - find "${ED}" -name '*.la' -exec rm -f {} + -} diff --git a/dev-db/pgpool2/pgpool2-3.3.1.ebuild b/dev-db/pgpool2/pgpool2-3.3.1.ebuild deleted file mode 100644 index 702f3cc805bb..000000000000 --- a/dev-db/pgpool2/pgpool2-3.3.1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.3.1.ebuild,v 1.3 2014/12/28 15:10:55 titanofold Exp $ - -EAPI=4 - -MY_P="${PN/2/-II}-${PV}" - -inherit base user - -DESCRIPTION="Connection pool server for PostgreSQL" -HOMEPAGE="http://www.pgpool.net/" -SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="memcached pam ssl static-libs" - -RDEPEND=" - dev-db/postgresql - memcached? ( dev-libs/libmemcached ) - pam? ( sys-auth/pambase ) - ssl? ( dev-libs/openssl ) -" -DEPEND="${RDEPEND} - sys-devel/bison - !!dev-db/pgpool -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewgroup postgres 70 - enewuser pgpool -1 -1 -1 postgres - - # We need the postgres user as well so we can set the proper - # permissions on the sockets without getting into fights with - # PostgreSQL's initialization scripts. - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres -} - -src_prepare() { - epatch "${FILESDIR}/pgpool_run_paths.patch" - - local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h" - local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR "${pg_config_manual}" | \ - sed 's|.*\"\(.*\)\"|\1|g') - local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool" - - sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \ - -i *.conf.sample* pool.h || die - - sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \ - -i *.conf.sample* pool.h || die -} - -src_configure() { - local myconf - use memcached && \ - myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\"" - use pam && myconf+=' --with-pam' - - econf \ - --disable-rpath \ - --sysconfdir="${EROOT%/}/etc/${PN}" \ - $(use_with ssl openssl) \ - $(use_enable static-libs static) \ - ${myconf} -} - -src_compile() { - emake - - emake -C sql -} - -src_install() { - emake DESTDIR="${D}" install - - emake DESTDIR="${D}" -C sql install - cd "${S}" - - # 3.3 appears to have removed this - # `contrib' moved to `extension' with PostgreSQL 9.1 - #local pgslot=$(postgresql-config show) - #if [[ ${pgslot//.} > 90 ]] ; then - # cd "${ED%/}$(pg_config --sharedir)" - # mv contrib extension || die - # cd "${S}" - #fi - - newinitd "${FILESDIR}/${PN}.initd" ${PN} - newconfd "${FILESDIR}/${PN}.confd" ${PN} - - # Documentation - dodoc NEWS TODO doc/where_to_send_queries.{pdf,odg} - dohtml -r doc - - # Examples and extras - insinto "/usr/share/${PN}" - doins doc/{pgpool_remote_start,basebackup.sh,recovery.conf.sample} - mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die - - # One more thing: Evil la files! - find "${ED}" -name '*.la' -exec rm -f {} + -} diff --git a/dev-db/pgpool2/pgpool2-3.3.2.ebuild b/dev-db/pgpool2/pgpool2-3.3.2.ebuild deleted file mode 100644 index 8587bcec6e4f..000000000000 --- a/dev-db/pgpool2/pgpool2-3.3.2.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.3.2.ebuild,v 1.3 2014/12/28 15:10:55 titanofold Exp $ - -EAPI=4 - -MY_P="${PN/2/-II}-${PV}" - -inherit base user - -DESCRIPTION="Connection pool server for PostgreSQL" -HOMEPAGE="http://www.pgpool.net/" -SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="memcached pam ssl static-libs" - -RDEPEND=" - dev-db/postgresql - memcached? ( dev-libs/libmemcached ) - pam? ( sys-auth/pambase ) - ssl? ( dev-libs/openssl ) -" -DEPEND="${RDEPEND} - sys-devel/bison - !!dev-db/pgpool -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewgroup postgres 70 - enewuser pgpool -1 -1 -1 postgres - - # We need the postgres user as well so we can set the proper - # permissions on the sockets without getting into fights with - # PostgreSQL's initialization scripts. - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres -} - -src_prepare() { - epatch "${FILESDIR}/pgpool_run_paths.patch" - - local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h" - local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR "${pg_config_manual}" | \ - sed 's|.*\"\(.*\)\"|\1|g') - local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool" - - sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \ - -i *.conf.sample* pool.h || die - - sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \ - -i *.conf.sample* pool.h || die -} - -src_configure() { - local myconf - use memcached && \ - myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\"" - use pam && myconf+=' --with-pam' - - econf \ - --disable-rpath \ - --sysconfdir="${EROOT%/}/etc/${PN}" \ - $(use_with ssl openssl) \ - $(use_enable static-libs static) \ - ${myconf} -} - -src_compile() { - emake - - emake -C sql -} - -src_install() { - emake DESTDIR="${D}" install - - emake DESTDIR="${D}" -C sql install - cd "${S}" - - # 3.3 appears to have removed this - # `contrib' moved to `extension' with PostgreSQL 9.1 - #local pgslot=$(postgresql-config show) - #if [[ ${pgslot//.} > 90 ]] ; then - # cd "${ED%/}$(pg_config --sharedir)" - # mv contrib extension || die - # cd "${S}" - #fi - - newinitd "${FILESDIR}/${PN}.initd" ${PN} - newconfd "${FILESDIR}/${PN}.confd" ${PN} - - # Documentation - dodoc NEWS TODO doc/where_to_send_queries.{pdf,odg} - dohtml -r doc - - # Examples and extras - insinto "/usr/share/${PN}" - doins doc/{pgpool_remote_start,basebackup.sh,recovery.conf.sample} - mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die - - # One more thing: Evil la files! - find "${ED}" -name '*.la' -exec rm -f {} + -} diff --git a/dev-db/pgpool2/pgpool2-3.3.3.ebuild b/dev-db/pgpool2/pgpool2-3.3.3.ebuild deleted file mode 100644 index d9b960660b13..000000000000 --- a/dev-db/pgpool2/pgpool2-3.3.3.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.3.3.ebuild,v 1.3 2014/12/28 15:10:55 titanofold Exp $ - -EAPI=5 - -MY_P="${PN/2/-II}-${PV}" - -inherit base user - -DESCRIPTION="Connection pool server for PostgreSQL" -HOMEPAGE="http://www.pgpool.net/" -SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="memcached pam ssl static-libs" - -RDEPEND=" - dev-db/postgresql - memcached? ( dev-libs/libmemcached ) - pam? ( sys-auth/pambase ) - ssl? ( dev-libs/openssl ) -" -DEPEND="${RDEPEND} - sys-devel/bison - !!dev-db/pgpool -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewgroup postgres 70 - enewuser pgpool -1 -1 -1 postgres - - # We need the postgres user as well so we can set the proper - # permissions on the sockets without getting into fights with - # PostgreSQL's initialization scripts. - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres -} - -src_prepare() { - epatch "${FILESDIR}/pgpool_run_paths.patch" - - local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h" - local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR "${pg_config_manual}" | \ - sed 's|.*\"\(.*\)\"|\1|g') - local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool" - - sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \ - -i *.conf.sample* pool.h || die - - sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \ - -i *.conf.sample* pool.h || die -} - -src_configure() { - local myconf - use memcached && \ - myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\"" - use pam && myconf+=' --with-pam' - - econf \ - --disable-rpath \ - --sysconfdir="${EROOT%/}/etc/${PN}" \ - $(use_with ssl openssl) \ - $(use_enable static-libs static) \ - ${myconf} -} - -src_compile() { - emake - - emake -C sql -} - -src_install() { - emake DESTDIR="${D}" install - - emake DESTDIR="${D}" -C sql install - cd "${S}" - - # 3.3 appears to have removed this - # `contrib' moved to `extension' with PostgreSQL 9.1 - #local pgslot=$(postgresql-config show) - #if [[ ${pgslot//.} > 90 ]] ; then - # cd "${ED%/}$(pg_config --sharedir)" - # mv contrib extension || die - # cd "${S}" - #fi - - newinitd "${FILESDIR}/${PN}.initd" ${PN} - newconfd "${FILESDIR}/${PN}.confd" ${PN} - - # Documentation - dodoc NEWS TODO doc/where_to_send_queries.{pdf,odg} - dohtml -r doc - - # Examples and extras - insinto "/usr/share/${PN}" - doins doc/{pgpool_remote_start,basebackup.sh,recovery.conf.sample} - mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die - - # One more thing: Evil la files! - find "${ED}" -name '*.la' -exec rm -f {} + -} diff --git a/dev-db/pgpool2/pgpool2-3.3.4.ebuild b/dev-db/pgpool2/pgpool2-3.3.4.ebuild deleted file mode 100644 index 9114ea6cc0d9..000000000000 --- a/dev-db/pgpool2/pgpool2-3.3.4.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.3.4.ebuild,v 1.2 2014/12/28 15:10:55 titanofold Exp $ - -EAPI=5 - -MY_P="${PN/2/-II}-${PV}" - -inherit base user - -DESCRIPTION="Connection pool server for PostgreSQL" -HOMEPAGE="http://www.pgpool.net/" -SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="0" - -KEYWORDS="~amd64 ~x86" - -IUSE="memcached pam ssl static-libs" - -RDEPEND=" - dev-db/postgresql - memcached? ( dev-libs/libmemcached ) - pam? ( sys-auth/pambase ) - ssl? ( dev-libs/openssl ) -" -DEPEND="${RDEPEND} - sys-devel/bison - !!dev-db/pgpool -" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewgroup postgres 70 - enewuser pgpool -1 -1 -1 postgres - - # We need the postgres user as well so we can set the proper - # permissions on the sockets without getting into fights with - # PostgreSQL's initialization scripts. - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres -} - -src_prepare() { - epatch "${FILESDIR}/pgpool_run_paths.patch" - - local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h" - local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR "${pg_config_manual}" | \ - sed 's|.*\"\(.*\)\"|\1|g') - local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool" - - sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \ - -i *.conf.sample* pool.h || die - - sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \ - -i *.conf.sample* pool.h || die -} - -src_configure() { - local myconf - use memcached && \ - myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\"" - use pam && myconf+=' --with-pam' - - econf \ - --disable-rpath \ - --sysconfdir="${EROOT%/}/etc/${PN}" \ - $(use_with ssl openssl) \ - $(use_enable static-libs static) \ - ${myconf} -} - -src_compile() { - emake - - emake -C sql -} - -src_install() { - emake DESTDIR="${D}" install - - emake DESTDIR="${D}" -C sql install - cd "${S}" - - # 3.3 appears to have removed this - # `contrib' moved to `extension' with PostgreSQL 9.1 - #local pgslot=$(postgresql-config show) - #if [[ ${pgslot//.} > 90 ]] ; then - # cd "${ED%/}$(pg_config --sharedir)" - # mv contrib extension || die - # cd "${S}" - #fi - - newinitd "${FILESDIR}/${PN}.initd" ${PN} - newconfd "${FILESDIR}/${PN}.confd" ${PN} - - # Documentation - dodoc NEWS TODO doc/where_to_send_queries.{pdf,odg} - dohtml -r doc - - # Examples and extras - insinto "/usr/share/${PN}" - doins doc/{pgpool_remote_start,basebackup.sh,recovery.conf.sample} - mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die - - # One more thing: Evil la files! - find "${ED}" -name '*.la' -exec rm -f {} + -} diff --git a/dev-db/pgpool2/pgpool2-3.3.5.ebuild b/dev-db/pgpool2/pgpool2-3.3.7.ebuild index 5e1d374cef5e..268b598054cd 100644 --- a/dev-db/pgpool2/pgpool2-3.3.5.ebuild +++ b/dev-db/pgpool2/pgpool2-3.3.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.3.5.ebuild,v 1.1 2015/02/15 08:40:03 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.3.7.ebuild,v 1.1 2015/07/27 09:13:52 patrick Exp $ EAPI=5 |