[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: a9743d79862a04452a466c7462add78b587db49e Author: Patrick Lauer gentoo org> AuthorDate: Sun Apr 7 16:59:43 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Sun Apr 7 17:00:03 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9743d79 dev-db/pgbouncer: drop 1.20.0, 1.20.1, 1.21.0 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 3 -- dev-db/pgbouncer/pgbouncer-1.20.0.ebuild | 78 dev-db/pgbouncer/pgbouncer-1.20.1.ebuild | 78 dev-db/pgbouncer/pgbouncer-1.21.0.ebuild | 73 -- 4 files changed, 232 deletions(-) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 4b59ca40b46a..f6710438c8f5 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,6 +1,3 @@ DIST pgbouncer-1.16.1.tar.gz 591450 BLAKE2B 137193ad614586d708598fd7003af4dee69f03f88a7235ba4074b63d57ffc3ee1c41fbccb49c5df7c23a2272b33810f8c2a9084d98e2e695a3b5f5ec317e0227 SHA512 9ecb7c7ae136d85e3da434094909df3a6ff06ce8586a1848c0c00914d87a877aecbb26ea30ad8230062160f3177621cc16deb4a490e9a2a649c8032dacb86341 -DIST pgbouncer-1.20.0.tar.gz 638020 BLAKE2B 1aa253b4f211e70e882e9b7789bfcdee3436b56d88d0448a122a6975deb379ff6034f563f3ec87997a3f8c2f0e6c25a09916989d486542356a5a5d41ef6e2039 SHA512 6386f80bb8dcdf6e9882f94dde1c5ff4b58cd6eb877233952e483d5fa765072588f12dfb39eab5989dee54eaa595db541042654ad47c1ea4b754304ecc69f3dd -DIST pgbouncer-1.20.1.tar.gz 638844 BLAKE2B 9b71b72b9baf3ce49d4b9c6597581d20a2666b5450d89bc716a4df6df0c8a8aaf92735a76033eccf358412934a3af92e1a8ed7e4ca0e863441f2d6bf43eefdc7 SHA512 7669005ac1d46d1cb5b42c853fc0fb5e495c8583c206658bf6c59f797d04eb9170a3d467a48863708ee69034ff71ac6fbbca752b239de644ef6225d46fb98e76 -DIST pgbouncer-1.21.0.tar.gz 668211 BLAKE2B 36dd43d301d1837876806688bc87febb6ae4fd40014e7e7301978026a4866b736c2c174d3b1e19a4e7bf5f8ca85025d2a0cd5711f2e4fa95e455f59ed1dbe381 SHA512 881701deae508e8e664402c0da533b25027259443551cda2974867453ad033ec5cfe8027ca3dac96a5134c57faff385c3c1e5711539e1acd6815761c9e3caee8 DIST pgbouncer-1.22.0.tar.gz 670589 BLAKE2B feb0138c09eb2e3f865f9c372d1924f9fbe67785a52534f8b99783c0bc2d5a54a6fd8b0554ea8ac7d4e8e108fd2296a3a9ae19cb75d628052c45e4a57fd037cd SHA512 1d8f4b352103e17a3905ec0677362954f4b9f606f6dc00011514c2ec46d8c4e8d17b24e9ca92794ccaf4c86c9c77ac062e6be92be7856192b7c534b5a4911163 DIST pgbouncer-1.22.1.tar.gz 677351 BLAKE2B c67eba10b51ae74fb77ad61f7c597b687769e75b687ff9682c16d0ac0b32c0e9d20d4c90cd5803331d128f3f388800faa38dd9965b86c5a75688455db1a06d6b SHA512 ac63fe877f68745f1faab096ee9d9e185de9cab97d4fef121c2c551fa0e69ea22342dc8b5ce75cadff755314e5493a5440f0748b5ee9f524f71d871ec1861530 diff --git a/dev-db/pgbouncer/pgbouncer-1.20.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.20.0.ebuild deleted file mode 100644 index da2f7fb9f694.. --- a/dev-db/pgbouncer/pgbouncer-1.20.0.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Lightweight connection pooler for PostgreSQL" -HOMEPAGE="https://www.pgbouncer.org/; -SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+c-ares debug doc pam ssl systemd udns" - -# At-most-one-of, one can be enabled but not both -REQUIRED_USE="?? ( c-ares udns )" - -RDEPEND=" - >=dev-libs/libevent-2.0:= - acct-user/pgbouncer - c-ares? ( >=net-dns/c-ares-1.10 ) - ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) - systemd? ( sys-apps/systemd ) - udns? ( >=net-libs/udns-0.1 ) -" - -DEPEND="${RDEPEND}" - -# Tests require a local database server, wants to fiddle with iptables, -# and doesn't support overriding. -RESTRICT="test" - -src_prepare() { - eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch - - default -} - -src_configure() { - # --enable-debug is only used to disable stripping - econf \ - --docdir=/usr/share/doc/${PF} \ - --enable-debug \ - $(use_with c-ares cares) \ - $(use_enable debug cassert) \ - $(use_with pam) \ - $(use_with ssl openssl) \ - $(use_with systemd) \ - $(use_with udns) -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc AUTHORS - use doc && dodoc doc/*.md - - newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" - newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" - - insinto /etc - doins etc/pgbouncer.ini - - insinto /etc/logrotate.d - newins "${FILESDIR}/logrotate" pgbouncer -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - einfo "Please read the config.txt for Configuration Directives" - einfo - einfo "For Administration Commands,
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: e377723aacd3f8a4b92a8fa6372e51810cb9b6da Author: Patrick Lauer gentoo org> AuthorDate: Sun Apr 7 14:56:50 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Sun Apr 7 14:57:50 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e377723a dev-db/pgbouncer: add 1.22.1 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.22.1.ebuild | 73 2 files changed, 74 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 55b0060c363d..4b59ca40b46a 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -3,3 +3,4 @@ DIST pgbouncer-1.20.0.tar.gz 638020 BLAKE2B 1aa253b4f211e70e882e9b7789bfcdee3436 DIST pgbouncer-1.20.1.tar.gz 638844 BLAKE2B 9b71b72b9baf3ce49d4b9c6597581d20a2666b5450d89bc716a4df6df0c8a8aaf92735a76033eccf358412934a3af92e1a8ed7e4ca0e863441f2d6bf43eefdc7 SHA512 7669005ac1d46d1cb5b42c853fc0fb5e495c8583c206658bf6c59f797d04eb9170a3d467a48863708ee69034ff71ac6fbbca752b239de644ef6225d46fb98e76 DIST pgbouncer-1.21.0.tar.gz 668211 BLAKE2B 36dd43d301d1837876806688bc87febb6ae4fd40014e7e7301978026a4866b736c2c174d3b1e19a4e7bf5f8ca85025d2a0cd5711f2e4fa95e455f59ed1dbe381 SHA512 881701deae508e8e664402c0da533b25027259443551cda2974867453ad033ec5cfe8027ca3dac96a5134c57faff385c3c1e5711539e1acd6815761c9e3caee8 DIST pgbouncer-1.22.0.tar.gz 670589 BLAKE2B feb0138c09eb2e3f865f9c372d1924f9fbe67785a52534f8b99783c0bc2d5a54a6fd8b0554ea8ac7d4e8e108fd2296a3a9ae19cb75d628052c45e4a57fd037cd SHA512 1d8f4b352103e17a3905ec0677362954f4b9f606f6dc00011514c2ec46d8c4e8d17b24e9ca92794ccaf4c86c9c77ac062e6be92be7856192b7c534b5a4911163 +DIST pgbouncer-1.22.1.tar.gz 677351 BLAKE2B c67eba10b51ae74fb77ad61f7c597b687769e75b687ff9682c16d0ac0b32c0e9d20d4c90cd5803331d128f3f388800faa38dd9965b86c5a75688455db1a06d6b SHA512 ac63fe877f68745f1faab096ee9d9e185de9cab97d4fef121c2c551fa0e69ea22342dc8b5ce75cadff755314e5493a5440f0748b5ee9f524f71d871ec1861530 diff --git a/dev-db/pgbouncer/pgbouncer-1.22.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.22.1.ebuild new file mode 100644 index ..1647a74fb4c5 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.22.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.md + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: e5b7ea1fe52830dad906682d14df8231704510b9 Author: Patrick Lauer gentoo org> AuthorDate: Fri Feb 16 06:47:02 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Fri Feb 16 06:47:15 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5b7ea1f dev-db/pgbouncer: drop 1.17.0, 1.18.0, 1.19.1 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 3 -- dev-db/pgbouncer/pgbouncer-1.17.0.ebuild | 80 dev-db/pgbouncer/pgbouncer-1.18.0.ebuild | 78 --- dev-db/pgbouncer/pgbouncer-1.19.1.ebuild | 78 --- 4 files changed, 239 deletions(-) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 11cbb92d6b1c..55b0060c363d 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,7 +1,4 @@ DIST pgbouncer-1.16.1.tar.gz 591450 BLAKE2B 137193ad614586d708598fd7003af4dee69f03f88a7235ba4074b63d57ffc3ee1c41fbccb49c5df7c23a2272b33810f8c2a9084d98e2e695a3b5f5ec317e0227 SHA512 9ecb7c7ae136d85e3da434094909df3a6ff06ce8586a1848c0c00914d87a877aecbb26ea30ad8230062160f3177621cc16deb4a490e9a2a649c8032dacb86341 -DIST pgbouncer-1.17.0.tar.gz 598294 BLAKE2B 697411c612b4d53c779c3170692e49afd250c28a1674a835403aa6e0ee27f1e52627b97d0ed478868f8658be7ce2323fdfd1604e5a00d739f3152c55332479b2 SHA512 5913ce542f0f694f114db8a2f339e536fb2b5887efb160b7ce3c708ae3d638bee95943104eafb9fbc4fc225649bd5625da2ccf1b56489afe33ebf8aacac48863 -DIST pgbouncer-1.18.0.tar.gz 600825 BLAKE2B 5c701d6534b9127cb8aef4e47c956644e657506104f5d9844724cc27901f48d271471ff0fe7f863bc064a30906c0ab9dfa9d0ca9472753d183419e57ae2ad333 SHA512 1c2bd55c6909a012917fcf1b139ab4bac89de1d02b346b8ade2205c15105a0c6f4f6632bf5844f654cb19e3312b8ed22bf2d14094a17f5515325c826662d5935 -DIST pgbouncer-1.19.1.tar.gz 623569 BLAKE2B b62d19e097d4fb1bccda315c9a67876aecaa8647ab092cc0157591fe64644c2c84b2785efab08ac338429e3c7d2cdd2bbff20404e71d67a9b1b5695367c2586e SHA512 1f1f56f778cf1ad7bd6a9809b54443d570eb04c2d5fe416d3bc9aa2ee8e4b3404753a15d9096c88c3a86dee534aff0268d460f862326694097ae67c83f08a589 DIST pgbouncer-1.20.0.tar.gz 638020 BLAKE2B 1aa253b4f211e70e882e9b7789bfcdee3436b56d88d0448a122a6975deb379ff6034f563f3ec87997a3f8c2f0e6c25a09916989d486542356a5a5d41ef6e2039 SHA512 6386f80bb8dcdf6e9882f94dde1c5ff4b58cd6eb877233952e483d5fa765072588f12dfb39eab5989dee54eaa595db541042654ad47c1ea4b754304ecc69f3dd DIST pgbouncer-1.20.1.tar.gz 638844 BLAKE2B 9b71b72b9baf3ce49d4b9c6597581d20a2666b5450d89bc716a4df6df0c8a8aaf92735a76033eccf358412934a3af92e1a8ed7e4ca0e863441f2d6bf43eefdc7 SHA512 7669005ac1d46d1cb5b42c853fc0fb5e495c8583c206658bf6c59f797d04eb9170a3d467a48863708ee69034ff71ac6fbbca752b239de644ef6225d46fb98e76 DIST pgbouncer-1.21.0.tar.gz 668211 BLAKE2B 36dd43d301d1837876806688bc87febb6ae4fd40014e7e7301978026a4866b736c2c174d3b1e19a4e7bf5f8ca85025d2a0cd5711f2e4fa95e455f59ed1dbe381 SHA512 881701deae508e8e664402c0da533b25027259443551cda2974867453ad033ec5cfe8027ca3dac96a5134c57faff385c3c1e5711539e1acd6815761c9e3caee8 diff --git a/dev-db/pgbouncer/pgbouncer-1.17.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.17.0.ebuild deleted file mode 100644 index 966e502fe603.. --- a/dev-db/pgbouncer/pgbouncer-1.17.0.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd - -DESCRIPTION="Lightweight connection pooler for PostgreSQL" -HOMEPAGE="https://www.pgbouncer.org/; -SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+c-ares debug doc pam ssl systemd udns" - -# At-most-one-of, one can be enabled but not both -REQUIRED_USE="?? ( c-ares udns )" - -RDEPEND=" - >=dev-libs/libevent-2.0:= - acct-user/pgbouncer - c-ares? ( >=net-dns/c-ares-1.10 ) - ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) - systemd? ( sys-apps/systemd ) - udns? ( >=net-libs/udns-0.1 ) -" - -DEPEND="${RDEPEND}" - -# Tests require a local database server, wants to fiddle with iptables, -# and doesn't support overriding. -RESTRICT="test" - -src_prepare() { - eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch - - default -} - -src_configure() { - # --enable-debug is only used to disable stripping - econf \ - --docdir=/usr/share/doc/${PF} \ - --enable-debug \ - $(use_with c-ares cares) \ - $(use_enable debug cassert) \ - $(use_with pam) \ - $(use_with ssl openssl) \ - $(use_with systemd) \ - $(use_with udns) -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc AUTHORS - use doc && dodoc doc/*.md - - newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" - newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" - - insinto /etc - doins
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 5f58e21f72e1637254625034f77207dce641fe05 Author: Patrick Lauer gentoo org> AuthorDate: Fri Feb 16 06:46:04 2024 + Commit: Patrick Lauer gentoo org> CommitDate: Fri Feb 16 06:47:15 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f58e21f dev-db/pgbouncer: add 1.22.0 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.22.0.ebuild | 73 2 files changed, 74 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index c40336931939..11cbb92d6b1c 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -5,3 +5,4 @@ DIST pgbouncer-1.19.1.tar.gz 623569 BLAKE2B b62d19e097d4fb1bccda315c9a67876aecaa DIST pgbouncer-1.20.0.tar.gz 638020 BLAKE2B 1aa253b4f211e70e882e9b7789bfcdee3436b56d88d0448a122a6975deb379ff6034f563f3ec87997a3f8c2f0e6c25a09916989d486542356a5a5d41ef6e2039 SHA512 6386f80bb8dcdf6e9882f94dde1c5ff4b58cd6eb877233952e483d5fa765072588f12dfb39eab5989dee54eaa595db541042654ad47c1ea4b754304ecc69f3dd DIST pgbouncer-1.20.1.tar.gz 638844 BLAKE2B 9b71b72b9baf3ce49d4b9c6597581d20a2666b5450d89bc716a4df6df0c8a8aaf92735a76033eccf358412934a3af92e1a8ed7e4ca0e863441f2d6bf43eefdc7 SHA512 7669005ac1d46d1cb5b42c853fc0fb5e495c8583c206658bf6c59f797d04eb9170a3d467a48863708ee69034ff71ac6fbbca752b239de644ef6225d46fb98e76 DIST pgbouncer-1.21.0.tar.gz 668211 BLAKE2B 36dd43d301d1837876806688bc87febb6ae4fd40014e7e7301978026a4866b736c2c174d3b1e19a4e7bf5f8ca85025d2a0cd5711f2e4fa95e455f59ed1dbe381 SHA512 881701deae508e8e664402c0da533b25027259443551cda2974867453ad033ec5cfe8027ca3dac96a5134c57faff385c3c1e5711539e1acd6815761c9e3caee8 +DIST pgbouncer-1.22.0.tar.gz 670589 BLAKE2B feb0138c09eb2e3f865f9c372d1924f9fbe67785a52534f8b99783c0bc2d5a54a6fd8b0554ea8ac7d4e8e108fd2296a3a9ae19cb75d628052c45e4a57fd037cd SHA512 1d8f4b352103e17a3905ec0677362954f4b9f606f6dc00011514c2ec46d8c4e8d17b24e9ca92794ccaf4c86c9c77ac062e6be92be7856192b7c534b5a4911163 diff --git a/dev-db/pgbouncer/pgbouncer-1.22.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.22.0.ebuild new file mode 100644 index ..1647a74fb4c5 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.22.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.md + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 13275da516715060534ab7c374cf51981fa6574f Author: Patrick Lauer gentoo org> AuthorDate: Tue Oct 17 07:07:44 2023 + Commit: 罗百科 gentoo org> CommitDate: Tue Oct 17 07:07:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13275da5 dev-db/pgbouncer: add 1.21.0 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.21.0.ebuild | 73 2 files changed, 74 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index bf8eb1a45559..c40336931939 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -4,3 +4,4 @@ DIST pgbouncer-1.18.0.tar.gz 600825 BLAKE2B 5c701d6534b9127cb8aef4e47c956644e657 DIST pgbouncer-1.19.1.tar.gz 623569 BLAKE2B b62d19e097d4fb1bccda315c9a67876aecaa8647ab092cc0157591fe64644c2c84b2785efab08ac338429e3c7d2cdd2bbff20404e71d67a9b1b5695367c2586e SHA512 1f1f56f778cf1ad7bd6a9809b54443d570eb04c2d5fe416d3bc9aa2ee8e4b3404753a15d9096c88c3a86dee534aff0268d460f862326694097ae67c83f08a589 DIST pgbouncer-1.20.0.tar.gz 638020 BLAKE2B 1aa253b4f211e70e882e9b7789bfcdee3436b56d88d0448a122a6975deb379ff6034f563f3ec87997a3f8c2f0e6c25a09916989d486542356a5a5d41ef6e2039 SHA512 6386f80bb8dcdf6e9882f94dde1c5ff4b58cd6eb877233952e483d5fa765072588f12dfb39eab5989dee54eaa595db541042654ad47c1ea4b754304ecc69f3dd DIST pgbouncer-1.20.1.tar.gz 638844 BLAKE2B 9b71b72b9baf3ce49d4b9c6597581d20a2666b5450d89bc716a4df6df0c8a8aaf92735a76033eccf358412934a3af92e1a8ed7e4ca0e863441f2d6bf43eefdc7 SHA512 7669005ac1d46d1cb5b42c853fc0fb5e495c8583c206658bf6c59f797d04eb9170a3d467a48863708ee69034ff71ac6fbbca752b239de644ef6225d46fb98e76 +DIST pgbouncer-1.21.0.tar.gz 668211 BLAKE2B 36dd43d301d1837876806688bc87febb6ae4fd40014e7e7301978026a4866b736c2c174d3b1e19a4e7bf5f8ca85025d2a0cd5711f2e4fa95e455f59ed1dbe381 SHA512 881701deae508e8e664402c0da533b25027259443551cda2974867453ad033ec5cfe8027ca3dac96a5134c57faff385c3c1e5711539e1acd6815761c9e3caee8 diff --git a/dev-db/pgbouncer/pgbouncer-1.21.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.21.0.ebuild new file mode 100644 index ..7c1d9e9a01ad --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.21.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.md + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 8d3308b1d17adc0ffb864789139cb9744bd0aa48 Author: Patrick Lauer gentoo org> AuthorDate: Thu Oct 5 06:54:54 2023 + Commit: 罗百科 gentoo org> CommitDate: Thu Oct 5 06:57:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3308b1 dev-db/pgbouncer: Remove glibc dep Added in the old times, reasons unclear. Definitely no longer needed/useful. Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/pgbouncer-1.16.1.ebuild | 3 +-- dev-db/pgbouncer/pgbouncer-1.17.0.ebuild | 3 +-- dev-db/pgbouncer/pgbouncer-1.18.0.ebuild | 1 - dev-db/pgbouncer/pgbouncer-1.19.1.ebuild | 1 - dev-db/pgbouncer/pgbouncer-1.20.0.ebuild | 1 - dev-db/pgbouncer/pgbouncer-1.20.1.ebuild | 1 - 6 files changed, 2 insertions(+), 8 deletions(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild index dad0a008cc93..bd386524fe68 100644 --- a/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,6 @@ REQUIRED_USE="?? ( c-ares udns )" RDEPEND=" >=dev-libs/libevent-2.0:= - >=sys-libs/glibc-2.10 acct-user/pgbouncer c-ares? ( >=net-dns/c-ares-1.10 ) ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) diff --git a/dev-db/pgbouncer/pgbouncer-1.17.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.17.0.ebuild index 3103f9c999c7..966e502fe603 100644 --- a/dev-db/pgbouncer/pgbouncer-1.17.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.17.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,6 @@ REQUIRED_USE="?? ( c-ares udns )" RDEPEND=" >=dev-libs/libevent-2.0:= - >=sys-libs/glibc-2.10 acct-user/pgbouncer c-ares? ( >=net-dns/c-ares-1.10 ) ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) diff --git a/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild index 0552eb5d92a9..da2f7fb9f694 100644 --- a/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild @@ -16,7 +16,6 @@ REQUIRED_USE="?? ( c-ares udns )" RDEPEND=" >=dev-libs/libevent-2.0:= - >=sys-libs/glibc-2.10 acct-user/pgbouncer c-ares? ( >=net-dns/c-ares-1.10 ) ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) diff --git a/dev-db/pgbouncer/pgbouncer-1.19.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.19.1.ebuild index 0552eb5d92a9..da2f7fb9f694 100644 --- a/dev-db/pgbouncer/pgbouncer-1.19.1.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.19.1.ebuild @@ -16,7 +16,6 @@ REQUIRED_USE="?? ( c-ares udns )" RDEPEND=" >=dev-libs/libevent-2.0:= - >=sys-libs/glibc-2.10 acct-user/pgbouncer c-ares? ( >=net-dns/c-ares-1.10 ) ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) diff --git a/dev-db/pgbouncer/pgbouncer-1.20.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.20.0.ebuild index 0552eb5d92a9..da2f7fb9f694 100644 --- a/dev-db/pgbouncer/pgbouncer-1.20.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.20.0.ebuild @@ -16,7 +16,6 @@ REQUIRED_USE="?? ( c-ares udns )" RDEPEND=" >=dev-libs/libevent-2.0:= - >=sys-libs/glibc-2.10 acct-user/pgbouncer c-ares? ( >=net-dns/c-ares-1.10 ) ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) diff --git a/dev-db/pgbouncer/pgbouncer-1.20.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.20.1.ebuild index 0552eb5d92a9..da2f7fb9f694 100644 --- a/dev-db/pgbouncer/pgbouncer-1.20.1.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.20.1.ebuild @@ -16,7 +16,6 @@ REQUIRED_USE="?? ( c-ares udns )" RDEPEND=" >=dev-libs/libevent-2.0:= - >=sys-libs/glibc-2.10 acct-user/pgbouncer c-ares? ( >=net-dns/c-ares-1.10 ) ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] )
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 6cae686bb194c2312a1ba909c16e42a07e77f447 Author: Patrick Lauer gentoo org> AuthorDate: Wed Sep 20 12:35:06 2023 + Commit: 罗百科 gentoo org> CommitDate: Wed Sep 20 12:35:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cae686b dev-db/pgbouncer: add 1.20.1 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.20.1.ebuild | 79 2 files changed, 80 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index f8e0bd2fe82a..bf8eb1a45559 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -3,3 +3,4 @@ DIST pgbouncer-1.17.0.tar.gz 598294 BLAKE2B 697411c612b4d53c779c3170692e49afd250 DIST pgbouncer-1.18.0.tar.gz 600825 BLAKE2B 5c701d6534b9127cb8aef4e47c956644e657506104f5d9844724cc27901f48d271471ff0fe7f863bc064a30906c0ab9dfa9d0ca9472753d183419e57ae2ad333 SHA512 1c2bd55c6909a012917fcf1b139ab4bac89de1d02b346b8ade2205c15105a0c6f4f6632bf5844f654cb19e3312b8ed22bf2d14094a17f5515325c826662d5935 DIST pgbouncer-1.19.1.tar.gz 623569 BLAKE2B b62d19e097d4fb1bccda315c9a67876aecaa8647ab092cc0157591fe64644c2c84b2785efab08ac338429e3c7d2cdd2bbff20404e71d67a9b1b5695367c2586e SHA512 1f1f56f778cf1ad7bd6a9809b54443d570eb04c2d5fe416d3bc9aa2ee8e4b3404753a15d9096c88c3a86dee534aff0268d460f862326694097ae67c83f08a589 DIST pgbouncer-1.20.0.tar.gz 638020 BLAKE2B 1aa253b4f211e70e882e9b7789bfcdee3436b56d88d0448a122a6975deb379ff6034f563f3ec87997a3f8c2f0e6c25a09916989d486542356a5a5d41ef6e2039 SHA512 6386f80bb8dcdf6e9882f94dde1c5ff4b58cd6eb877233952e483d5fa765072588f12dfb39eab5989dee54eaa595db541042654ad47c1ea4b754304ecc69f3dd +DIST pgbouncer-1.20.1.tar.gz 638844 BLAKE2B 9b71b72b9baf3ce49d4b9c6597581d20a2666b5450d89bc716a4df6df0c8a8aaf92735a76033eccf358412934a3af92e1a8ed7e4ca0e863441f2d6bf43eefdc7 SHA512 7669005ac1d46d1cb5b42c853fc0fb5e495c8583c206658bf6c59f797d04eb9170a3d467a48863708ee69034ff71ac6fbbca752b239de644ef6225d46fb98e76 diff --git a/dev-db/pgbouncer/pgbouncer-1.20.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.20.1.ebuild new file mode 100644 index ..0552eb5d92a9 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.20.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + >=sys-libs/glibc-2.10 + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) \ + $(use_with udns) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.md + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: e485db0cd8780ff1dbf9e489c3d774de2ff11663 Author: Patrick Lauer gentoo org> AuthorDate: Sat Jul 22 16:29:26 2023 + Commit: 罗百科 gentoo org> CommitDate: Sat Jul 22 16:34:16 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e485db0c dev-db/pgbouncer: add 1.19.1, 1.20.0 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 2 + dev-db/pgbouncer/pgbouncer-1.19.1.ebuild | 79 dev-db/pgbouncer/pgbouncer-1.20.0.ebuild | 79 3 files changed, 160 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index cf53948311d9..f8e0bd2fe82a 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,3 +1,5 @@ DIST pgbouncer-1.16.1.tar.gz 591450 BLAKE2B 137193ad614586d708598fd7003af4dee69f03f88a7235ba4074b63d57ffc3ee1c41fbccb49c5df7c23a2272b33810f8c2a9084d98e2e695a3b5f5ec317e0227 SHA512 9ecb7c7ae136d85e3da434094909df3a6ff06ce8586a1848c0c00914d87a877aecbb26ea30ad8230062160f3177621cc16deb4a490e9a2a649c8032dacb86341 DIST pgbouncer-1.17.0.tar.gz 598294 BLAKE2B 697411c612b4d53c779c3170692e49afd250c28a1674a835403aa6e0ee27f1e52627b97d0ed478868f8658be7ce2323fdfd1604e5a00d739f3152c55332479b2 SHA512 5913ce542f0f694f114db8a2f339e536fb2b5887efb160b7ce3c708ae3d638bee95943104eafb9fbc4fc225649bd5625da2ccf1b56489afe33ebf8aacac48863 DIST pgbouncer-1.18.0.tar.gz 600825 BLAKE2B 5c701d6534b9127cb8aef4e47c956644e657506104f5d9844724cc27901f48d271471ff0fe7f863bc064a30906c0ab9dfa9d0ca9472753d183419e57ae2ad333 SHA512 1c2bd55c6909a012917fcf1b139ab4bac89de1d02b346b8ade2205c15105a0c6f4f6632bf5844f654cb19e3312b8ed22bf2d14094a17f5515325c826662d5935 +DIST pgbouncer-1.19.1.tar.gz 623569 BLAKE2B b62d19e097d4fb1bccda315c9a67876aecaa8647ab092cc0157591fe64644c2c84b2785efab08ac338429e3c7d2cdd2bbff20404e71d67a9b1b5695367c2586e SHA512 1f1f56f778cf1ad7bd6a9809b54443d570eb04c2d5fe416d3bc9aa2ee8e4b3404753a15d9096c88c3a86dee534aff0268d460f862326694097ae67c83f08a589 +DIST pgbouncer-1.20.0.tar.gz 638020 BLAKE2B 1aa253b4f211e70e882e9b7789bfcdee3436b56d88d0448a122a6975deb379ff6034f563f3ec87997a3f8c2f0e6c25a09916989d486542356a5a5d41ef6e2039 SHA512 6386f80bb8dcdf6e9882f94dde1c5ff4b58cd6eb877233952e483d5fa765072588f12dfb39eab5989dee54eaa595db541042654ad47c1ea4b754304ecc69f3dd diff --git a/dev-db/pgbouncer/pgbouncer-1.19.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.19.1.ebuild new file mode 100644 index ..0552eb5d92a9 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.19.1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + >=sys-libs/glibc-2.10 + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) \ + $(use_with udns) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.md + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +} diff --git a/dev-db/pgbouncer/pgbouncer-1.20.0.ebuild
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 89724adfb165d235836071aea8120c3bda16bf86 Author: Patrick Lauer gentoo org> AuthorDate: Mon Apr 17 09:10:25 2023 + Commit: 罗百科 gentoo org> CommitDate: Mon Apr 17 09:10:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89724adf dev-db/pgbouncer: Drop unneeded inherit Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/pgbouncer-1.18.0.ebuild | 2 -- 1 file changed, 2 deletions(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild index 94d73f4159c8..0552eb5d92a9 100644 --- a/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild @@ -3,8 +3,6 @@ EAPI=8 -inherit systemd - DESCRIPTION="Lightweight connection pooler for PostgreSQL" HOMEPAGE="https://www.pgbouncer.org/; SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz;
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 14d0b009a673a0b3e60012f2167c372cc688b9e9 Author: Patrick Lauer gentoo org> AuthorDate: Mon Apr 17 09:07:41 2023 + Commit: 罗百科 gentoo org> CommitDate: Mon Apr 17 09:10:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d0b009 dev-db/pgbouncer: add 1.18.0 Closes: https://bugs.gentoo.org/904439 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.18.0.ebuild | 81 2 files changed, 82 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 18dc9af30a24..cf53948311d9 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,2 +1,3 @@ DIST pgbouncer-1.16.1.tar.gz 591450 BLAKE2B 137193ad614586d708598fd7003af4dee69f03f88a7235ba4074b63d57ffc3ee1c41fbccb49c5df7c23a2272b33810f8c2a9084d98e2e695a3b5f5ec317e0227 SHA512 9ecb7c7ae136d85e3da434094909df3a6ff06ce8586a1848c0c00914d87a877aecbb26ea30ad8230062160f3177621cc16deb4a490e9a2a649c8032dacb86341 DIST pgbouncer-1.17.0.tar.gz 598294 BLAKE2B 697411c612b4d53c779c3170692e49afd250c28a1674a835403aa6e0ee27f1e52627b97d0ed478868f8658be7ce2323fdfd1604e5a00d739f3152c55332479b2 SHA512 5913ce542f0f694f114db8a2f339e536fb2b5887efb160b7ce3c708ae3d638bee95943104eafb9fbc4fc225649bd5625da2ccf1b56489afe33ebf8aacac48863 +DIST pgbouncer-1.18.0.tar.gz 600825 BLAKE2B 5c701d6534b9127cb8aef4e47c956644e657506104f5d9844724cc27901f48d271471ff0fe7f863bc064a30906c0ab9dfa9d0ca9472753d183419e57ae2ad333 SHA512 1c2bd55c6909a012917fcf1b139ab4bac89de1d02b346b8ade2205c15105a0c6f4f6632bf5844f654cb19e3312b8ed22bf2d14094a17f5515325c826662d5935 diff --git a/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild new file mode 100644 index ..94d73f4159c8 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.18.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + >=sys-libs/glibc-2.10 + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) \ + $(use_with udns) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.md + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 731dfbf219909ae2547e80a9bf95c1e94964308e Author: Patrick Lauer gentoo org> AuthorDate: Fri Aug 19 13:32:32 2022 + Commit: 罗百科 gentoo org> CommitDate: Fri Aug 19 13:33:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=731dfbf2 dev-db/pgbouncer: Add 1.17.0 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.17.0.ebuild | 81 2 files changed, 82 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 5ee6658cca72..3e2adb57c8d4 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,3 +1,4 @@ DIST pgbouncer-1.15.0.tar.gz 588042 BLAKE2B 3dac09303e1c86126dd9cb44823c6f3fca4195e3155b360719c736c6e1327cc10d05e7f1e45c08d14c1dd0cb5c074b32263eee3be9e6350db9a8c5cbdfe61aa1 SHA512 5f78018ab80ab8d81f20ef3df1314ffc9557f1c6469d485d11ac822f596e3d4b554743fd9e9fe19b008a8aaf93bcf3673b42a8fb82bbd9611bd735cd2cbb98c6 DIST pgbouncer-1.16.0.tar.gz 592136 BLAKE2B 752d5cfa18dacfdb72e9e9f12d5a1ac5346649e3a0c49ef530dd29ca16039949af0993d54080a7cf558c6eb6a919254c1dc4a36ab22f38992e790469ecd973bf SHA512 3b6f23052ca3b8af40a618da6bed2577b92ffe27b627f8980cda2d645991434bf298f720c1d423a272961c9f3f52a9d1b28154ed7f355d539f71dc68c028b617 DIST pgbouncer-1.16.1.tar.gz 591450 BLAKE2B 137193ad614586d708598fd7003af4dee69f03f88a7235ba4074b63d57ffc3ee1c41fbccb49c5df7c23a2272b33810f8c2a9084d98e2e695a3b5f5ec317e0227 SHA512 9ecb7c7ae136d85e3da434094909df3a6ff06ce8586a1848c0c00914d87a877aecbb26ea30ad8230062160f3177621cc16deb4a490e9a2a649c8032dacb86341 +DIST pgbouncer-1.17.0.tar.gz 598294 BLAKE2B 697411c612b4d53c779c3170692e49afd250c28a1674a835403aa6e0ee27f1e52627b97d0ed478868f8658be7ce2323fdfd1604e5a00d739f3152c55332479b2 SHA512 5913ce542f0f694f114db8a2f339e536fb2b5887efb160b7ce3c708ae3d638bee95943104eafb9fbc4fc225649bd5625da2ccf1b56489afe33ebf8aacac48863 diff --git a/dev-db/pgbouncer/pgbouncer-1.17.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.17.0.ebuild new file mode 100644 index ..3103f9c999c7 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.17.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + >=sys-libs/glibc-2.10 + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) \ + $(use_with udns) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.md + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 5ac0c687c12c442d5bc4948b7b3fab3f54b1f5ef Author: Patrick Lauer gentoo org> AuthorDate: Fri Aug 19 13:33:22 2022 + Commit: 罗百科 gentoo org> CommitDate: Fri Aug 19 13:33:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac0c687 dev-db/pgbouncer: Remove old Bug: https://bugs.gentoo.org/826614 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest | 2 - dev-db/pgbouncer/pgbouncer-1.15.0-r1.ebuild | 81 - dev-db/pgbouncer/pgbouncer-1.16.0.ebuild| 81 - 3 files changed, 164 deletions(-) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 3e2adb57c8d4..18dc9af30a24 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,4 +1,2 @@ -DIST pgbouncer-1.15.0.tar.gz 588042 BLAKE2B 3dac09303e1c86126dd9cb44823c6f3fca4195e3155b360719c736c6e1327cc10d05e7f1e45c08d14c1dd0cb5c074b32263eee3be9e6350db9a8c5cbdfe61aa1 SHA512 5f78018ab80ab8d81f20ef3df1314ffc9557f1c6469d485d11ac822f596e3d4b554743fd9e9fe19b008a8aaf93bcf3673b42a8fb82bbd9611bd735cd2cbb98c6 -DIST pgbouncer-1.16.0.tar.gz 592136 BLAKE2B 752d5cfa18dacfdb72e9e9f12d5a1ac5346649e3a0c49ef530dd29ca16039949af0993d54080a7cf558c6eb6a919254c1dc4a36ab22f38992e790469ecd973bf SHA512 3b6f23052ca3b8af40a618da6bed2577b92ffe27b627f8980cda2d645991434bf298f720c1d423a272961c9f3f52a9d1b28154ed7f355d539f71dc68c028b617 DIST pgbouncer-1.16.1.tar.gz 591450 BLAKE2B 137193ad614586d708598fd7003af4dee69f03f88a7235ba4074b63d57ffc3ee1c41fbccb49c5df7c23a2272b33810f8c2a9084d98e2e695a3b5f5ec317e0227 SHA512 9ecb7c7ae136d85e3da434094909df3a6ff06ce8586a1848c0c00914d87a877aecbb26ea30ad8230062160f3177621cc16deb4a490e9a2a649c8032dacb86341 DIST pgbouncer-1.17.0.tar.gz 598294 BLAKE2B 697411c612b4d53c779c3170692e49afd250c28a1674a835403aa6e0ee27f1e52627b97d0ed478868f8658be7ce2323fdfd1604e5a00d739f3152c55332479b2 SHA512 5913ce542f0f694f114db8a2f339e536fb2b5887efb160b7ce3c708ae3d638bee95943104eafb9fbc4fc225649bd5625da2ccf1b56489afe33ebf8aacac48863 diff --git a/dev-db/pgbouncer/pgbouncer-1.15.0-r1.ebuild b/dev-db/pgbouncer/pgbouncer-1.15.0-r1.ebuild deleted file mode 100644 index 347c11f2b936.. --- a/dev-db/pgbouncer/pgbouncer-1.15.0-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd - -DESCRIPTION="Lightweight connection pooler for PostgreSQL" -HOMEPAGE="https://www.pgbouncer.org/; -SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="+c-ares debug doc pam ssl systemd udns" - -# At-most-one-of, one can be enabled but not both -REQUIRED_USE="?? ( c-ares udns )" - -RDEPEND=" - >=dev-libs/libevent-2.0:= - >=sys-libs/glibc-2.10 - acct-user/pgbouncer - c-ares? ( >=net-dns/c-ares-1.10 ) - ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) - systemd? ( sys-apps/systemd ) - udns? ( >=net-libs/udns-0.1 ) -" - -DEPEND="${RDEPEND}" - -# Tests require a local database server, wants to fiddle with iptables, -# and doesn't support overriding. -RESTRICT="test" - -src_prepare() { - eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch - - default -} - -src_configure() { - # --enable-debug is only used to disable stripping - econf \ - --docdir=/usr/share/doc/${PF} \ - --enable-debug \ - $(use_with c-ares cares) \ - $(use_enable debug cassert) \ - $(use_with pam) \ - $(use_with ssl openssl) \ - $(use_with systemd) \ - $(use_with udns) -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc AUTHORS - use doc && dodoc doc/*.rst - - newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" - newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" - - insinto /etc - doins etc/pgbouncer.ini - - insinto /etc/logrotate.d - newins "${FILESDIR}/logrotate" pgbouncer -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - einfo "Please read the config.txt for Configuration Directives" - einfo - einfo "For Administration Commands, see:" - einfo "man pgbouncer" - einfo - einfo "By default, PgBouncer does not have access to any database." - einfo "GRANT the permissions needed for your application and make sure that it" - einfo "exists in PgBouncer's auth_file." - fi -} diff --git a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild deleted file mode 100644 index 1214ffcf2b4c.. --- a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2021 Gentoo
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 65d650a5ce962f1ddb2aa852a6bb985992b0c5fe Author: Sam James gentoo org> AuthorDate: Tue Aug 16 20:22:19 2022 + Commit: Sam James gentoo org> CommitDate: Tue Aug 16 20:22:19 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65d650a5 dev-db/pgbouncer: Stabilize 1.16.1 amd64, #865419 Signed-off-by: Sam James gentoo.org> dev-db/pgbouncer/pgbouncer-1.16.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild index 3103f9c999c7..fcb9957ff241 100644 --- a/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://www.pgbouncer.org/; SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="+c-ares debug doc pam ssl systemd udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 1042200d2dd5b58a776d69db29218292253c1382 Author: Sam James gentoo org> AuthorDate: Tue Aug 16 20:22:32 2022 + Commit: Sam James gentoo org> CommitDate: Tue Aug 16 20:22:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1042200d dev-db/pgbouncer: Stabilize 1.16.1 x86, #865419 Signed-off-by: Sam James gentoo.org> dev-db/pgbouncer/pgbouncer-1.16.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild index fcb9957ff241..dad0a008cc93 100644 --- a/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://www.pgbouncer.org/; SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+c-ares debug doc pam ssl systemd udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: eb01eb1a4e076e7ee8ac72085b048c2a5b8c1216 Author: Patrick Lauer gentoo org> AuthorDate: Sun Feb 13 07:02:41 2022 + Commit: 罗百科 gentoo org> CommitDate: Sun Feb 13 07:02:56 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb01eb1a dev-db/pgbouncer: Bump to 1.16.1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.16.1.ebuild | 81 2 files changed, 82 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 8b5fb7e66340..5ee6658cca72 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,2 +1,3 @@ DIST pgbouncer-1.15.0.tar.gz 588042 BLAKE2B 3dac09303e1c86126dd9cb44823c6f3fca4195e3155b360719c736c6e1327cc10d05e7f1e45c08d14c1dd0cb5c074b32263eee3be9e6350db9a8c5cbdfe61aa1 SHA512 5f78018ab80ab8d81f20ef3df1314ffc9557f1c6469d485d11ac822f596e3d4b554743fd9e9fe19b008a8aaf93bcf3673b42a8fb82bbd9611bd735cd2cbb98c6 DIST pgbouncer-1.16.0.tar.gz 592136 BLAKE2B 752d5cfa18dacfdb72e9e9f12d5a1ac5346649e3a0c49ef530dd29ca16039949af0993d54080a7cf558c6eb6a919254c1dc4a36ab22f38992e790469ecd973bf SHA512 3b6f23052ca3b8af40a618da6bed2577b92ffe27b627f8980cda2d645991434bf298f720c1d423a272961c9f3f52a9d1b28154ed7f355d539f71dc68c028b617 +DIST pgbouncer-1.16.1.tar.gz 591450 BLAKE2B 137193ad614586d708598fd7003af4dee69f03f88a7235ba4074b63d57ffc3ee1c41fbccb49c5df7c23a2272b33810f8c2a9084d98e2e695a3b5f5ec317e0227 SHA512 9ecb7c7ae136d85e3da434094909df3a6ff06ce8586a1848c0c00914d87a877aecbb26ea30ad8230062160f3177621cc16deb4a490e9a2a649c8032dacb86341 diff --git a/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild new file mode 100644 index ..3103f9c999c7 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.16.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + >=sys-libs/glibc-2.10 + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) \ + $(use_with udns) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.md + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 9177c11d933d39603ef2972a7ec27d6b93c3c1d3 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Nov 10 07:03:57 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Nov 10 07:03:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9177c11d dev-db/pgbouncer: amd64 stable wrt bug #822687 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-db/pgbouncer/pgbouncer-1.16.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild index 9dfb5d83b35..1214ffcf2b4 100644 --- a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://www.pgbouncer.org/; SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="+c-ares debug doc pam ssl systemd udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 8e1479947666119cbfbedc7a75bdc6195e2bbb90 Author: Sam James gentoo org> AuthorDate: Tue Nov 9 21:33:58 2021 + Commit: Sam James gentoo org> CommitDate: Tue Nov 9 21:33:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e147994 dev-db/pgbouncer: Stabilize 1.16.0 x86, #822687 Signed-off-by: Sam James gentoo.org> dev-db/pgbouncer/pgbouncer-1.16.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild index 670689c0be3..9dfb5d83b35 100644 --- a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://www.pgbouncer.org/; SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="+c-ares debug doc pam ssl systemd udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: e5ff49b91edce5647b9559312e84d0cb74887042 Author: Patrick Lauer gentoo org> AuthorDate: Tue Nov 9 15:14:32 2021 + Commit: 罗百科 gentoo org> CommitDate: Tue Nov 9 15:14:47 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5ff49b9 dev-db/pgbouncer: Fix doc install in 1.16.0 upstream renamed from *.rst to *.md Closes: https://bugs.gentoo.org/822693 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/pgbouncer-1.16.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild index abad489902b..670689c0be3 100644 --- a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild @@ -55,7 +55,7 @@ src_install() { emake DESTDIR="${D}" install dodoc AUTHORS - use doc && dodoc doc/*.rst + use doc && dodoc doc/*.md newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}"
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 818aff7e81b904bc5b145b068b3114fce92125a3 Author: Patrick Lauer gentoo org> AuthorDate: Thu Oct 7 14:23:40 2021 + Commit: 罗百科 gentoo org> CommitDate: Thu Oct 7 14:23:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=818aff7e dev-db/pgbouncer: Bump to 1.16.0 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.16.0.ebuild | 81 2 files changed, 82 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 91aec86d5e0..8b5fb7e6634 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1 +1,2 @@ DIST pgbouncer-1.15.0.tar.gz 588042 BLAKE2B 3dac09303e1c86126dd9cb44823c6f3fca4195e3155b360719c736c6e1327cc10d05e7f1e45c08d14c1dd0cb5c074b32263eee3be9e6350db9a8c5cbdfe61aa1 SHA512 5f78018ab80ab8d81f20ef3df1314ffc9557f1c6469d485d11ac822f596e3d4b554743fd9e9fe19b008a8aaf93bcf3673b42a8fb82bbd9611bd735cd2cbb98c6 +DIST pgbouncer-1.16.0.tar.gz 592136 BLAKE2B 752d5cfa18dacfdb72e9e9f12d5a1ac5346649e3a0c49ef530dd29ca16039949af0993d54080a7cf558c6eb6a919254c1dc4a36ab22f38992e790469ecd973bf SHA512 3b6f23052ca3b8af40a618da6bed2577b92ffe27b627f8980cda2d645991434bf298f720c1d423a272961c9f3f52a9d1b28154ed7f355d539f71dc68c028b617 diff --git a/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild new file mode 100644 index 000..abad489902b --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.16.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + >=sys-libs/glibc-2.10 + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist(-)] ) + systemd? ( sys-apps/systemd ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) \ + $(use_with udns) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.rst + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: ec8c73c2e5dae0d1bb5dcf06ab58549226c7fe08 Author: Sam James gentoo org> AuthorDate: Wed Jun 2 23:53:35 2021 + Commit: Sam James gentoo org> CommitDate: Thu Jun 3 19:14:44 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec8c73c2 dev-db/pgbouncer: fix BadDefaultUseFlags -foo in IUSE is discouraged. It is equivalent (in every meaningful case) to 'foo' but confuses parsing tools like e.g. packages.gentoo.org. Dropping '-' from these flags has no impact on the actual default behaviour. See: https://devmanual.gentoo.org/general-concepts/use-flags/index.html#iuse-defaults Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Sam James gentoo.org> dev-db/pgbouncer/pgbouncer-1.15.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild index f1d854b8b32..584e135f954 100644 --- a/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; LICENSE="BSD" SLOT="0" KEYWORDS="amd64 x86" -IUSE="+c-ares debug doc pam ssl systemd -udns" +IUSE="+c-ares debug doc pam ssl systemd udns" # At-most-one-of, one can be enabled but not both REQUIRED_USE="?? ( c-ares udns )"
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/files/, dev-db/pgbouncer/
commit: 04a5df2287c49f43be4fa156c1d14dc0a2c83878 Author: Aaron W. Swenson gentoo org> AuthorDate: Thu Dec 24 02:54:20 2020 + Commit: Aaron W. Swenson gentoo org> CommitDate: Thu Dec 24 02:54:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04a5df22 dev-db/pgbouncer: Cleanup Signed-off-by: Aaron W. Swenson gentoo.org> dev-db/pgbouncer/Manifest| 5 -- dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch | 18 - dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch | 32 - dev-db/pgbouncer/pgbouncer-1.10.0.ebuild | 85 dev-db/pgbouncer/pgbouncer-1.11.0.ebuild | 85 dev-db/pgbouncer/pgbouncer-1.12.0.ebuild | 84 --- dev-db/pgbouncer/pgbouncer-1.14.0.ebuild | 85 dev-db/pgbouncer/pgbouncer-1.9.0.ebuild | 85 8 files changed, 479 deletions(-) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 9ecb47e5a65..91aec86d5e0 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,6 +1 @@ -DIST pgbouncer-1.10.0.tar.gz 480571 BLAKE2B a0c1dadc48f38cfe0ba2641791b4734da84cfe6674198bb2a8014bc92543850e909d7b4649b99e78d58febaa0f89f62b6694f6333bcbd62ff2f22741984d SHA512 8ec9f102b57ca5f92fb689588ec090056ac29f21825400ec67bca413fe076ad50e0b491e65c4cfebc488cc245eb3c88c36db2ee0ba1cb737f35404be0983dd1d -DIST pgbouncer-1.11.0.tar.gz 571414 BLAKE2B 044d7cdf57b352b5b87547a8b96af1eca87e46b1f761bbd31d28a0d5158b52e438325db051ab51849f4e683f6211d0156a5081cc99a1109846085c84be7f72a6 SHA512 2373157f952a39dbb5d9afad7db2eba7459c28bcc302487c3bf15b64dca98940f65c9f7a1d142237f7053b6d2b290eaec15f930a341025f1665b501a26919115 -DIST pgbouncer-1.12.0.tar.gz 567465 BLAKE2B 866a877478a417b3854e6e2a724fcd06c04bd94893e5d79f8bf250fa9391407c5b7cd00bf2771af18b162dfd2b7bdced00be15c44ba74cf842e3d98c561991e3 SHA512 017d150f865df231861cda4678963ad7e63a0cd238f5ece5679c920484e01c53ab27af63bf47e6227d66b7dc94b4d59ca41ac49c26f60aba74d40b43cad55664 -DIST pgbouncer-1.14.0.tar.gz 578955 BLAKE2B 49e1e22b2fa604410111ac19b7c0c2c15f6739274d642e7100a9988379e828e8546454766ae32edb65ab7299b82693bcec32938621923bfbf99d946f5dc17f4a SHA512 506810c9896a45d67fbc97c3027572278b3857635c222cfaa53b4f3893069cfbee2ec92facd6f387de217bb3170045410b88a7cea09a45686661a2d2ccc85271 DIST pgbouncer-1.15.0.tar.gz 588042 BLAKE2B 3dac09303e1c86126dd9cb44823c6f3fca4195e3155b360719c736c6e1327cc10d05e7f1e45c08d14c1dd0cb5c074b32263eee3be9e6350db9a8c5cbdfe61aa1 SHA512 5f78018ab80ab8d81f20ef3df1314ffc9557f1c6469d485d11ac822f596e3d4b554743fd9e9fe19b008a8aaf93bcf3673b42a8fb82bbd9611bd735cd2cbb98c6 -DIST pgbouncer-1.9.0.tar.gz 469300 BLAKE2B 466f171a49ec9ce9be9a9d3208780cfbff956da7c74ec4332c7104ea537cb47a5cfdc0d80bbd96d233769b6f430f1ad99b623caefa2dc93af7ba336dd0f49514 SHA512 b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9 diff --git a/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch deleted file mode 100644 index 3dd40537252..000 --- a/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff --git a/etc/pgbouncer.ini b/etc/pgbouncer.ini -index fed4a9f..5f2ed8e 100644 a/etc/pgbouncer.ini -+++ b/etc/pgbouncer.ini -@@ -55,9 +55,9 @@ listen_port = 6432 - - ;; Unix socket is also used for -R. - ;; On Debian it should be /var/run/postgresql --;unix_socket_dir = /tmp --;unix_socket_mode = 0777 --;unix_socket_group = -+unix_socket_dir = /run/postgresql -+unix_socket_mode = 0777 -+unix_socket_group = postgres - - ;;; - ;;; TLS settings for accepting clients - diff --git a/dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch deleted file mode 100644 index cc4d0634b6b..000 --- a/dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -Naruw pgbouncer-1.8.orig/etc/pgbouncer.ini pgbouncer-1.8/etc/pgbouncer.ini pgbouncer-1.8.orig/etc/pgbouncer.ini 2017-12-18 11:03:18.0 -0500 -+++ pgbouncer-1.8/etc/pgbouncer.ini2017-12-20 06:48:25.935839539 -0500 -@@ -34,7 +34,9 @@ - ;;; - - logfile = /var/log/pgbouncer/pgbouncer.log --pidfile = /var/run/pgbouncer/pgbouncer.pid -+ -+; Leave unset. This is handled in the initscript. -+;pidfile = - - ;;; - ;;; Where to wait for clients -@@ -44,11 +46,12 @@ - listen_addr = 127.0.0.1 - listen_port = 6432 - --; Unix socket is also used for -R. --; On Debian it should be /var/run/postgresql --;unix_socket_dir = /tmp --;unix_socket_mode = 0777 --;unix_socket_group = -+; Unix socket is also used for -R (online restart), but the -+; initscripts can't do that. Generally, you'll want to leave these -+; alone. System-wide default is: /run/postgresql -+unix_socket_dir = /run/postgresql -+unix_socket_mode = 0777
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 7122b43b0d9b973532e0921d792a21706f561adc Author: Thomas Deutschmann gentoo org> AuthorDate: Tue Dec 22 17:07:27 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Dec 22 17:07:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7122b43b dev-db/pgbouncer: x86 stable (bug #761124) Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann gentoo.org> dev-db/pgbouncer/pgbouncer-1.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild index cbe3fe6..f1d854b8b32 100644 --- a/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://www.pgbouncer.org/; SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+c-ares debug doc pam ssl systemd -udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: edea527c2b31788aa2981a0274ce59d12bf1d035 Author: Sam James gentoo org> AuthorDate: Mon Dec 21 18:29:19 2020 + Commit: Sam James gentoo org> CommitDate: Mon Dec 21 18:29:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edea527c dev-db/pgbouncer: Stabilize 1.15.0 amd64, #761124 Signed-off-by: Sam James gentoo.org> dev-db/pgbouncer/pgbouncer-1.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild index 050a21fdea6..cbe3fe6 100644 --- a/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://www.pgbouncer.org/; SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="+c-ares debug doc pam ssl systemd -udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 2c956077fddbe4631c52ee557ca90e1bff483d8a Author: Aaron W. Swenson gentoo org> AuthorDate: Sun Nov 22 02:28:06 2020 + Commit: Aaron W. Swenson gentoo org> CommitDate: Sun Nov 22 02:28:06 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c956077 dev-db/pgbouncer: Bump to 1.15.0 Migrate to acct-user. Signed-off-by: Aaron W. Swenson gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.15.0.ebuild | 81 2 files changed, 82 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 6c798a5fad8..9ecb47e5a65 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -2,4 +2,5 @@ DIST pgbouncer-1.10.0.tar.gz 480571 BLAKE2B a0c1dadc48f38cfe0ba2641791b4734da84c DIST pgbouncer-1.11.0.tar.gz 571414 BLAKE2B 044d7cdf57b352b5b87547a8b96af1eca87e46b1f761bbd31d28a0d5158b52e438325db051ab51849f4e683f6211d0156a5081cc99a1109846085c84be7f72a6 SHA512 2373157f952a39dbb5d9afad7db2eba7459c28bcc302487c3bf15b64dca98940f65c9f7a1d142237f7053b6d2b290eaec15f930a341025f1665b501a26919115 DIST pgbouncer-1.12.0.tar.gz 567465 BLAKE2B 866a877478a417b3854e6e2a724fcd06c04bd94893e5d79f8bf250fa9391407c5b7cd00bf2771af18b162dfd2b7bdced00be15c44ba74cf842e3d98c561991e3 SHA512 017d150f865df231861cda4678963ad7e63a0cd238f5ece5679c920484e01c53ab27af63bf47e6227d66b7dc94b4d59ca41ac49c26f60aba74d40b43cad55664 DIST pgbouncer-1.14.0.tar.gz 578955 BLAKE2B 49e1e22b2fa604410111ac19b7c0c2c15f6739274d642e7100a9988379e828e8546454766ae32edb65ab7299b82693bcec32938621923bfbf99d946f5dc17f4a SHA512 506810c9896a45d67fbc97c3027572278b3857635c222cfaa53b4f3893069cfbee2ec92facd6f387de217bb3170045410b88a7cea09a45686661a2d2ccc85271 +DIST pgbouncer-1.15.0.tar.gz 588042 BLAKE2B 3dac09303e1c86126dd9cb44823c6f3fca4195e3155b360719c736c6e1327cc10d05e7f1e45c08d14c1dd0cb5c074b32263eee3be9e6350db9a8c5cbdfe61aa1 SHA512 5f78018ab80ab8d81f20ef3df1314ffc9557f1c6469d485d11ac822f596e3d4b554743fd9e9fe19b008a8aaf93bcf3673b42a8fb82bbd9611bd735cd2cbb98c6 DIST pgbouncer-1.9.0.tar.gz 469300 BLAKE2B 466f171a49ec9ce9be9a9d3208780cfbff956da7c74ec4332c7104ea537cb47a5cfdc0d80bbd96d233769b6f430f1ad99b623caefa2dc93af7ba336dd0f49514 SHA512 b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9 diff --git a/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild new file mode 100644 index 000..050a21fdea6 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.15.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl systemd -udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0:= + >=sys-libs/glibc-2.10 + acct-user/pgbouncer + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] ) + systemd? ( sys-apps/systemd ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support overriding. +RESTRICT="test" + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with systemd) \ + $(use_with udns) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.rst + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 2d3d03affa4d8b0f7d9eb330ddb84e26c41fd6bb Author: Patrick Lauer gentoo org> AuthorDate: Thu Jun 18 14:39:33 2020 + Commit: 罗百科 gentoo org> CommitDate: Thu Jun 18 14:40:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3d03af dev-db/pgbouncer: Bump Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.14.0.ebuild | 85 2 files changed, 86 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 59752075257..6c798a5fad8 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,4 +1,5 @@ DIST pgbouncer-1.10.0.tar.gz 480571 BLAKE2B a0c1dadc48f38cfe0ba2641791b4734da84cfe6674198bb2a8014bc92543850e909d7b4649b99e78d58febaa0f89f62b6694f6333bcbd62ff2f22741984d SHA512 8ec9f102b57ca5f92fb689588ec090056ac29f21825400ec67bca413fe076ad50e0b491e65c4cfebc488cc245eb3c88c36db2ee0ba1cb737f35404be0983dd1d DIST pgbouncer-1.11.0.tar.gz 571414 BLAKE2B 044d7cdf57b352b5b87547a8b96af1eca87e46b1f761bbd31d28a0d5158b52e438325db051ab51849f4e683f6211d0156a5081cc99a1109846085c84be7f72a6 SHA512 2373157f952a39dbb5d9afad7db2eba7459c28bcc302487c3bf15b64dca98940f65c9f7a1d142237f7053b6d2b290eaec15f930a341025f1665b501a26919115 DIST pgbouncer-1.12.0.tar.gz 567465 BLAKE2B 866a877478a417b3854e6e2a724fcd06c04bd94893e5d79f8bf250fa9391407c5b7cd00bf2771af18b162dfd2b7bdced00be15c44ba74cf842e3d98c561991e3 SHA512 017d150f865df231861cda4678963ad7e63a0cd238f5ece5679c920484e01c53ab27af63bf47e6227d66b7dc94b4d59ca41ac49c26f60aba74d40b43cad55664 +DIST pgbouncer-1.14.0.tar.gz 578955 BLAKE2B 49e1e22b2fa604410111ac19b7c0c2c15f6739274d642e7100a9988379e828e8546454766ae32edb65ab7299b82693bcec32938621923bfbf99d946f5dc17f4a SHA512 506810c9896a45d67fbc97c3027572278b3857635c222cfaa53b4f3893069cfbee2ec92facd6f387de217bb3170045410b88a7cea09a45686661a2d2ccc85271 DIST pgbouncer-1.9.0.tar.gz 469300 BLAKE2B 466f171a49ec9ce9be9a9d3208780cfbff956da7c74ec4332c7104ea537cb47a5cfdc0d80bbd96d233769b6f430f1ad99b623caefa2dc93af7ba336dd0f49514 SHA512 b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9 diff --git a/dev-db/pgbouncer/pgbouncer-1.14.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.14.0.ebuild new file mode 100644 index 000..65c33e53faa --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.14.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit user + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://pgbouncer.github.io; +SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl -udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0 + >=sys-libs/glibc-2.10 + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +pkg_setup() { + enewgroup postgres 70 + enewuser postgres 70 /bin/bash /var/lib/postgresql postgres + + enewuser pgbouncer -1 -1 -1 postgres +} + +src_prepare() { + eapply "${FILESDIR}/pgbouncer-1.11-dirs.patch" + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with udns) +} + +src_test() { + cd "${S}/test" + emake +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.rst + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/files/
commit: d1f437973c0c7e6872659bfd239bc38c82ae439f Author: Aaron W. Swenson gentoo org> AuthorDate: Tue Nov 19 11:23:13 2019 + Commit: Aaron W. Swenson gentoo org> CommitDate: Tue Nov 19 11:23:16 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f43797 dev-db/pgbouncer: Remove executable bit (QA) Removed executable bit from files/pgbouncer.initd-r2 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Aaron W. Swenson gentoo.org> dev-db/pgbouncer/files/pgbouncer.initd-r2 | 0 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/dev-db/pgbouncer/files/pgbouncer.initd-r2 b/dev-db/pgbouncer/files/pgbouncer.initd-r2 old mode 100755 new mode 100644
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/, dev-db/pgbouncer/files/
commit: 3cdab020ee0ccfc2da1f41ea18edb2550e313ba3 Author: Aaron W. Swenson gentoo org> AuthorDate: Tue Nov 19 11:20:33 2019 + Commit: Aaron W. Swenson gentoo org> CommitDate: Tue Nov 19 11:20:39 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cdab020 dev-db/pgbouncer: Bump to 1.12.0 Closes: https://bugs.gentoo.org/696820 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Aaron W. Swenson gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/files/pgbouncer-1.12-dirs.patch | 31 + dev-db/pgbouncer/pgbouncer-1.12.0.ebuild | 85 3 files changed, 117 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 3b82c47d939..59752075257 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,3 +1,4 @@ DIST pgbouncer-1.10.0.tar.gz 480571 BLAKE2B a0c1dadc48f38cfe0ba2641791b4734da84cfe6674198bb2a8014bc92543850e909d7b4649b99e78d58febaa0f89f62b6694f6333bcbd62ff2f22741984d SHA512 8ec9f102b57ca5f92fb689588ec090056ac29f21825400ec67bca413fe076ad50e0b491e65c4cfebc488cc245eb3c88c36db2ee0ba1cb737f35404be0983dd1d DIST pgbouncer-1.11.0.tar.gz 571414 BLAKE2B 044d7cdf57b352b5b87547a8b96af1eca87e46b1f761bbd31d28a0d5158b52e438325db051ab51849f4e683f6211d0156a5081cc99a1109846085c84be7f72a6 SHA512 2373157f952a39dbb5d9afad7db2eba7459c28bcc302487c3bf15b64dca98940f65c9f7a1d142237f7053b6d2b290eaec15f930a341025f1665b501a26919115 +DIST pgbouncer-1.12.0.tar.gz 567465 BLAKE2B 866a877478a417b3854e6e2a724fcd06c04bd94893e5d79f8bf250fa9391407c5b7cd00bf2771af18b162dfd2b7bdced00be15c44ba74cf842e3d98c561991e3 SHA512 017d150f865df231861cda4678963ad7e63a0cd238f5ece5679c920484e01c53ab27af63bf47e6227d66b7dc94b4d59ca41ac49c26f60aba74d40b43cad55664 DIST pgbouncer-1.9.0.tar.gz 469300 BLAKE2B 466f171a49ec9ce9be9a9d3208780cfbff956da7c74ec4332c7104ea537cb47a5cfdc0d80bbd96d233769b6f430f1ad99b623caefa2dc93af7ba336dd0f49514 SHA512 b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9 diff --git a/dev-db/pgbouncer/files/pgbouncer-1.12-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-1.12-dirs.patch new file mode 100644 index 000..29d63d875fb --- /dev/null +++ b/dev-db/pgbouncer/files/pgbouncer-1.12-dirs.patch @@ -0,0 +1,31 @@ +--- a/etc/pgbouncer.ini b/etc/pgbouncer.ini +@@ -43,7 +43,9 @@ + ;;; + + logfile = /var/log/pgbouncer/pgbouncer.log +-pidfile = /var/run/pgbouncer/pgbouncer.pid ++ ++; Leave unset. This is handled in the initscript. ++;pidfile = + + ;;; + ;;; Where to wait for clients +@@ -53,11 +55,12 @@ + listen_addr = 127.0.0.1 + listen_port = 6432 + +-;; Unix socket is also used for -R. +-;; On Debian it should be /var/run/postgresql +-;unix_socket_dir = /tmp +-;unix_socket_mode = 0777 +-;unix_socket_group = ++; Unix socket is also used for -R (online restart), but the ++; initscripts can't do that. Generally, you'll want to leave these ++; alone. System-wide default is: /run/postgresql ++unix_socket_dir = /run/postgresql ++unix_socket_mode = 0777 ++unix_socket_group = postgres + + ;;; + ;;; TLS settings for accepting clients diff --git a/dev-db/pgbouncer/pgbouncer-1.12.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.12.0.ebuild new file mode 100644 index 000..5d41644f4c4 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.12.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit user + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://www.pgbouncer.org/; +SRC_URI="https://www.pgbouncer.org/downloads/files/${PV}/pgbouncer-${PV}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl -udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0 + >=sys-libs/glibc-2.10 + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +# Tests require a local database server, wants to fiddle with iptables, +# and doesn't support override. things. +RESTRICT="test" + +pkg_setup() { + enewgroup postgres 70 + enewuser postgres 70 /bin/bash /var/lib/postgresql postgres + + enewuser pgbouncer -1 -1 -1 postgres +} + +src_prepare() { + eapply "${FILESDIR}"/pgbouncer-1.12-dirs.patch + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with udns) +} + +src_install() { + emake
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/files/, dev-db/pgbouncer/
commit: 90fae2db1a43c1fc0530b97e82f927bae68645e5 Author: Patrick Lauer gentoo org> AuthorDate: Sun Oct 20 17:17:04 2019 + Commit: 罗百科 gentoo org> CommitDate: Sun Oct 20 17:17:16 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90fae2db dev-db/pgbouncer: Bump Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Patrick Lauer gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch | 18 + dev-db/pgbouncer/pgbouncer-1.11.0.ebuild | 86 3 files changed, 105 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 8336f7b1320..3b82c47d939 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,2 +1,3 @@ DIST pgbouncer-1.10.0.tar.gz 480571 BLAKE2B a0c1dadc48f38cfe0ba2641791b4734da84cfe6674198bb2a8014bc92543850e909d7b4649b99e78d58febaa0f89f62b6694f6333bcbd62ff2f22741984d SHA512 8ec9f102b57ca5f92fb689588ec090056ac29f21825400ec67bca413fe076ad50e0b491e65c4cfebc488cc245eb3c88c36db2ee0ba1cb737f35404be0983dd1d +DIST pgbouncer-1.11.0.tar.gz 571414 BLAKE2B 044d7cdf57b352b5b87547a8b96af1eca87e46b1f761bbd31d28a0d5158b52e438325db051ab51849f4e683f6211d0156a5081cc99a1109846085c84be7f72a6 SHA512 2373157f952a39dbb5d9afad7db2eba7459c28bcc302487c3bf15b64dca98940f65c9f7a1d142237f7053b6d2b290eaec15f930a341025f1665b501a26919115 DIST pgbouncer-1.9.0.tar.gz 469300 BLAKE2B 466f171a49ec9ce9be9a9d3208780cfbff956da7c74ec4332c7104ea537cb47a5cfdc0d80bbd96d233769b6f430f1ad99b623caefa2dc93af7ba336dd0f49514 SHA512 b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9 diff --git a/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch new file mode 100644 index 000..3dd40537252 --- /dev/null +++ b/dev-db/pgbouncer/files/pgbouncer-1.11-dirs.patch @@ -0,0 +1,18 @@ +diff --git a/etc/pgbouncer.ini b/etc/pgbouncer.ini +index fed4a9f..5f2ed8e 100644 +--- a/etc/pgbouncer.ini b/etc/pgbouncer.ini +@@ -55,9 +55,9 @@ listen_port = 6432 + + ;; Unix socket is also used for -R. + ;; On Debian it should be /var/run/postgresql +-;unix_socket_dir = /tmp +-;unix_socket_mode = 0777 +-;unix_socket_group = ++unix_socket_dir = /run/postgresql ++unix_socket_mode = 0777 ++unix_socket_group = postgres + + ;;; + ;;; TLS settings for accepting clients + diff --git a/dev-db/pgbouncer/pgbouncer-1.11.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.11.0.ebuild new file mode 100644 index 000..1492a74c6e8 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.11.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit user + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://pgbouncer.github.io; +SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl -udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0 + >=sys-libs/glibc-2.10 + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +pkg_setup() { + enewgroup postgres 70 + enewuser postgres 70 /bin/bash /var/lib/postgresql postgres + + enewuser pgbouncer -1 -1 -1 postgres +} + +src_prepare() { + eapply "${FILESDIR}/pgbouncer-1.11-dirs.patch" + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with udns) +} + +src_test() { + cd "${S}/test" + emake +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.rst + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 463ed67a0d66fc985baec3437c16e77417bd5a25 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Aug 19 11:37:17 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Aug 19 11:37:17 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=463ed67a dev-db/pgbouncer: x86 stable wrt bug #692346 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-db/pgbouncer/pgbouncer-1.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild index 2bed95f2b8e..e10c0a287d8 100644 --- a/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://pgbouncer.github.io; SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+c-ares debug doc pam ssl -udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: b53903df2bc9859543da39c7ef97d654f5b454b6 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Aug 18 21:48:09 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Aug 18 21:48:09 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b53903df dev-db/pgbouncer: amd64 stable wrt bug #692346 Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-db/pgbouncer/pgbouncer-1.10.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild index caae5f40fcf..2bed95f2b8e 100644 --- a/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://pgbouncer.github.io; SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="+c-ares debug doc pam ssl -udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 653a5109e1016920aa790099a3f56bca8cd9216b Author: Aaron W. Swenson gentoo org> AuthorDate: Thu Jul 4 12:00:47 2019 + Commit: Aaron W. Swenson gentoo org> CommitDate: Thu Jul 4 12:01:06 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=653a5109 dev-db/pgbouncer: Bump to 1.10.0 Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Aaron W. Swenson gentoo.org> dev-db/pgbouncer/Manifest| 1 + dev-db/pgbouncer/pgbouncer-1.10.0.ebuild | 86 2 files changed, 87 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 11cc6304a31..8336f7b1320 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1 +1,2 @@ +DIST pgbouncer-1.10.0.tar.gz 480571 BLAKE2B a0c1dadc48f38cfe0ba2641791b4734da84cfe6674198bb2a8014bc92543850e909d7b4649b99e78d58febaa0f89f62b6694f6333bcbd62ff2f22741984d SHA512 8ec9f102b57ca5f92fb689588ec090056ac29f21825400ec67bca413fe076ad50e0b491e65c4cfebc488cc245eb3c88c36db2ee0ba1cb737f35404be0983dd1d DIST pgbouncer-1.9.0.tar.gz 469300 BLAKE2B 466f171a49ec9ce9be9a9d3208780cfbff956da7c74ec4332c7104ea537cb47a5cfdc0d80bbd96d233769b6f430f1ad99b623caefa2dc93af7ba336dd0f49514 SHA512 b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9 diff --git a/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild new file mode 100644 index 000..caae5f40fcf --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.10.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit user + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://pgbouncer.github.io; +SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+c-ares debug doc pam ssl -udns" + +# At-most-one-of, one can be enabled but not both +REQUIRED_USE="?? ( c-ares udns )" + +RDEPEND=" + >=dev-libs/libevent-2.0 + >=sys-libs/glibc-2.10 + c-ares? ( >=net-dns/c-ares-1.10 ) + ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND="${RDEPEND}" + +pkg_setup() { + enewgroup postgres 70 + enewuser postgres 70 /bin/bash /var/lib/postgresql postgres + + enewuser pgbouncer -1 -1 -1 postgres +} + +src_prepare() { + eapply "${FILESDIR}/pgbouncer-1.8-dirs.patch" + + default +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_with c-ares cares) \ + $(use_enable debug cassert) \ + $(use_with pam) \ + $(use_with ssl openssl) \ + $(use_with udns) +} + +src_test() { + cd "${S}/test" + emake +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + use doc && dodoc doc/*.rst + + newconfd "${FILESDIR}/${PN}.confd-r1" "${PN}" + newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 97be9ea05beee50b83150d360ec164dd029b5fc6 Author: Lars Wendler gentoo org> AuthorDate: Mon Jan 7 16:50:06 2019 + Commit: Lars Wendler gentoo org> CommitDate: Mon Jan 7 17:00:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97be9ea0 dev-db/pgbouncer: Adjusted slot dependency on dev-libs/openssl source-based packages should never depend on any other openssl slot than slot 0. Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Lars Wendler gentoo.org> dev-db/pgbouncer/pgbouncer-1.9.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild index 258f5cb8675..67cf28b802d 100644 --- a/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -20,7 +20,7 @@ RDEPEND=" >=dev-libs/libevent-2.0 >=sys-libs/glibc-2.10 c-ares? ( >=net-dns/c-ares-1.10 ) - ssl? ( >=dev-libs/openssl-1.0.1:=[-bindist] ) + ssl? ( >=dev-libs/openssl-1.0.1:0=[-bindist] ) udns? ( >=net-libs/udns-0.1 ) "
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/files/, dev-db/pgbouncer/
commit: 9d6096a26797a9a97098db1da96a61c894197ab0 Author: Aaron W. Swenson gentoo org> AuthorDate: Wed Oct 3 01:41:26 2018 + Commit: Aaron Swenson gentoo org> CommitDate: Wed Oct 3 01:59:43 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d6096a2 dev-db/pgbouncer: Cleanup Closes: https://bugs.gentoo.org/654136 Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Aaron Swenson gentoo.org> dev-db/pgbouncer/Manifest | 1 - dev-db/pgbouncer/files/pgbouncer.confd| 12 - dev-db/pgbouncer/files/pgbouncer.initd-r1 | 83 - dev-db/pgbouncer/pgbouncer-1.8.1.ebuild | 86 --- 4 files changed, 182 deletions(-) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 1bea33dfbba..11cc6304a31 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,2 +1 @@ -DIST pgbouncer-1.8.1.tar.gz 465930 BLAKE2B 692c551cb7bfb56bfe1b354791b06bdf61866197150a78a7fa9688891a2e4cd3c015abc5fbe33bf66dc85ab0ae83745f2db852eae91ae99596c97be0154e8bd5 SHA512 595a94db98866cec211f2b8c1ad13d209dba00e5fd41f2e9025aabdcb660194f0f772810270a1d9f067c3039c9fee630e8ff2d56f231935add17207aecc10bee DIST pgbouncer-1.9.0.tar.gz 469300 BLAKE2B 466f171a49ec9ce9be9a9d3208780cfbff956da7c74ec4332c7104ea537cb47a5cfdc0d80bbd96d233769b6f430f1ad99b623caefa2dc93af7ba336dd0f49514 SHA512 b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9 diff --git a/dev-db/pgbouncer/files/pgbouncer.confd b/dev-db/pgbouncer/files/pgbouncer.confd deleted file mode 100644 index e2c58401188..000 --- a/dev-db/pgbouncer/files/pgbouncer.confd +++ /dev/null @@ -1,12 +0,0 @@ -# Location of configuration file for PgBouncer. -INIFILE="/etc/pgbouncer.ini" - -# How long to wait in seconds for a safe shutdown. Equivalent to -# issuing 'PAUSE;' and 'SHUTDOWN;' on psql console. (See 'man 1 pgbouncer'.) -NICE_TIMEOUT=60 - -# Set to 'YES' to perform an immediate shutdown if the nice shutdown -# doesn't work. Same as issuing 'SHUTDOWN;' on console. (See 'man 1 -# pgbouncer'.) -FORCE_QUIT="no" -FORCE_QUIT_TIMEOUT=2 \ No newline at end of file diff --git a/dev-db/pgbouncer/files/pgbouncer.initd-r1 b/dev-db/pgbouncer/files/pgbouncer.initd-r1 deleted file mode 100755 index 7392918593b..000 --- a/dev-db/pgbouncer/files/pgbouncer.initd-r1 +++ /dev/null @@ -1,83 +0,0 @@ -#!/sbin/openrc-run - -extra_started_commands="reload" - -PIDFILE="/run/pgbouncer.pid" - -depend() { -use net -after postgresql -} - -get_config() { -[ -f "${INIFILE}" ] || eend 1 "'${INIFILE}' not found" - -eval echo $(sed -e 's:;.*::' "${INIFILE}" | \ -awk '$1 == "'$1'" { print ($2 == "=" ? $3 : $2) }') -} - -start_pre() { -local s="$(get_config unix_socket_dir)" - -if [ -n "${s}" ] ; then -checkpath -o root:postgres -m 1775 -d "${s}" || return 1 - -local listen_port="$(get_config listen_port)" - -if [ -e "${s%/}/.s.PGSQL.${listen_port}" ] ; then -eerror "Socket conflict." -eerror "A server is already listening on:" -eerror "${s%/}/.s.PGSQL.${listen_port}" -eerror "HINT: Change listen_port in pgbouncer.ini to listen on a" -eerror "different socket." -return 1 -fi -fi - -checkpath -o pgbouncer:postgres -m 0755 \ - -d "$(dirname $(get_config logfile))" || return 1 -checkpath -o pgbouncer:postgres -m 0640 \ - -f "$(get_config logfile)" || return 1 - -return 0 -} - -start() { -ebegin "Starting PgBouncer" -[ -f ${PIDFILE} ] && rm ${PIDFILE} - -start-stop-daemon --start \ - --pidfile ${PIDFILE} \ - --background \ - --make-pidfile \ - --user pgbouncer \ - --exec /usr/bin/pgbouncer \ - -- -q "${INIFILE}" -eend $? -} - -stop() { -local seconds=$(( ${NICE_TIMEOUT} + ${FORCE_QUIT_TIMEOUT} )) -ebegin "Stopping PgBouncer (this can take up to ${seconds} seconds)" - -local retries=SIGINT/${NICE_TIMEOUT} - -if [ "${FORCE_QUIT}" = "YES" ] ; then -einfo "FORCE_QUIT enabled." -retries="${retries}/SIGTERM/${FORCE_QUIT_TIMEOUT}" -fi - -# Loops through nice and force quit in one go. -start-stop-daemon --stop \ - --user pgbouncer \ - --pidfile ${PIDFILE} \ - --retry ${retries} - -eend $? -} - -reload() { -ebegin "Reloading PgBouncer configuration from '${INIFILE}'" -start-stop-daemon --signal HUP --pidfile ${PIDFILE} -eend $? -} diff --git a/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild deleted file mode 100644 index f590a731732..000 --- a/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild +++
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: e46f89c2f9423e184bbb306b49cebfa9b87d2694 Author: Mikle Kolyada gentoo org> AuthorDate: Tue Oct 2 21:02:58 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Tue Oct 2 21:03:06 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e46f89c2 dev-db/pgbouncer: amd64 stable wrt bug #667412 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 dev-db/pgbouncer/pgbouncer-1.9.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild index ac3fff767b5..258f5cb8675 100644 --- a/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://pgbouncer.github.io; SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="+c-ares debug doc pam ssl -udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: d784dda46ee86a129c0f8484df431766dad16637 Author: Thomas Deutschmann gentoo org> AuthorDate: Mon Oct 1 21:36:37 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Oct 1 21:46:45 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d784dda4 dev-db/pgbouncer: x86 stable (bug #667412) Signed-off-by: Thomas Deutschmann gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 dev-db/pgbouncer/pgbouncer-1.9.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild index 46b5a23edb2..ac3fff767b5 100644 --- a/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -10,7 +10,7 @@ HOMEPAGE="https://pgbouncer.github.io; SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="+c-ares debug doc pam ssl -udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/files/
commit: 68521fe516d66a94851bf09352e6155d5a1347a6 Author: Aaron W. Swenson gentoo org> AuthorDate: Tue Aug 28 10:09:03 2018 + Commit: Aaron Swenson gentoo org> CommitDate: Tue Aug 28 10:09:03 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68521fe5 dev-db/pgbouncer: Specify group to run under Bug: https://bugs.gentoo.org/654136 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-db/pgbouncer/files/pgbouncer.initd-r2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-db/pgbouncer/files/pgbouncer.initd-r2 b/dev-db/pgbouncer/files/pgbouncer.initd-r2 old mode 100644 new mode 100755 index a2a79a0784a..72e0103e0b5 --- a/dev-db/pgbouncer/files/pgbouncer.initd-r2 +++ b/dev-db/pgbouncer/files/pgbouncer.initd-r2 @@ -48,7 +48,7 @@ start() { --pidfile ${PIDFILE} \ --background \ --make-pidfile \ - --user pgbouncer \ + --user pgbouncer:postgres \ --exec /usr/bin/pgbouncer \ -- -q "${INIFILE}" eend $? @@ -67,7 +67,7 @@ stop() { # Loops through nice and force quit in one go. start-stop-daemon --stop \ - --user pgbouncer \ + --user pgbouncer:postgres \ --pidfile ${PIDFILE} \ --retry ${retries}
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/, dev-db/pgbouncer/files/
commit: f3013a2f9556db788c5f7889a69fe2c7d6e50992 Author: Patrick Lauer gentoo org> AuthorDate: Mon Aug 27 08:23:00 2018 + Commit: Patrick Lauer gentoo org> CommitDate: Mon Aug 27 08:23:00 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3013a2f dev-db/pgbouncer: Bump Also fixes PIDFILE in init.d/conf.d to allow multi-instance operation Package-Manager: Portage-2.3.48, Repoman-2.3.10 dev-db/pgbouncer/Manifest | 1 + dev-db/pgbouncer/files/pgbouncer.confd-r1 | 15 ++ dev-db/pgbouncer/files/pgbouncer.initd-r2 | 81 + dev-db/pgbouncer/pgbouncer-1.9.0.ebuild | 86 +++ 4 files changed, 183 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index c49eebee4d6..1bea33dfbba 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1 +1,2 @@ DIST pgbouncer-1.8.1.tar.gz 465930 BLAKE2B 692c551cb7bfb56bfe1b354791b06bdf61866197150a78a7fa9688891a2e4cd3c015abc5fbe33bf66dc85ab0ae83745f2db852eae91ae99596c97be0154e8bd5 SHA512 595a94db98866cec211f2b8c1ad13d209dba00e5fd41f2e9025aabdcb660194f0f772810270a1d9f067c3039c9fee630e8ff2d56f231935add17207aecc10bee +DIST pgbouncer-1.9.0.tar.gz 469300 BLAKE2B 466f171a49ec9ce9be9a9d3208780cfbff956da7c74ec4332c7104ea537cb47a5cfdc0d80bbd96d233769b6f430f1ad99b623caefa2dc93af7ba336dd0f49514 SHA512 b127f4cb60ca5cdf339da76727918f0a3797a3e0a89f8ed6fdcaa80f3391d2c5bb51e19731915775210c0e5070dd611ee2e410c9a947624e45b5cf11aecdacf9 diff --git a/dev-db/pgbouncer/files/pgbouncer.confd-r1 b/dev-db/pgbouncer/files/pgbouncer.confd-r1 new file mode 100644 index 000..dbb93b917e7 --- /dev/null +++ b/dev-db/pgbouncer/files/pgbouncer.confd-r1 @@ -0,0 +1,15 @@ +# Location of configuration file for PgBouncer. +INIFILE="/etc/pgbouncer.ini" + +PIDFILE="/run/pgbouncer.pid" + + +# How long to wait in seconds for a safe shutdown. Equivalent to +# issuing 'PAUSE;' and 'SHUTDOWN;' on psql console. (See 'man 1 pgbouncer'.) +NICE_TIMEOUT=60 + +# Set to 'YES' to perform an immediate shutdown if the nice shutdown +# doesn't work. Same as issuing 'SHUTDOWN;' on console. (See 'man 1 +# pgbouncer'.) +FORCE_QUIT="no" +FORCE_QUIT_TIMEOUT=2 diff --git a/dev-db/pgbouncer/files/pgbouncer.initd-r2 b/dev-db/pgbouncer/files/pgbouncer.initd-r2 new file mode 100644 index 000..a2a79a0784a --- /dev/null +++ b/dev-db/pgbouncer/files/pgbouncer.initd-r2 @@ -0,0 +1,81 @@ +#!/sbin/openrc-run + +extra_started_commands="reload" + +depend() { +use net +after postgresql +} + +get_config() { +[ -f "${INIFILE}" ] || eend 1 "'${INIFILE}' not found" + +eval echo $(sed -e 's:;.*::' "${INIFILE}" | \ +awk '$1 == "'$1'" { print ($2 == "=" ? $3 : $2) }') +} + +start_pre() { +local s="$(get_config unix_socket_dir)" + +if [ -n "${s}" ] ; then +checkpath -o root:postgres -m 1775 -d "${s}" || return 1 + +local listen_port="$(get_config listen_port)" + +if [ -e "${s%/}/.s.PGSQL.${listen_port}" ] ; then +eerror "Socket conflict." +eerror "A server is already listening on:" +eerror "${s%/}/.s.PGSQL.${listen_port}" +eerror "HINT: Change listen_port in pgbouncer.ini to listen on a" +eerror "different socket." +return 1 +fi +fi + +checkpath -o pgbouncer:postgres -m 0755 \ + -d "$(dirname $(get_config logfile))" || return 1 +checkpath -o pgbouncer:postgres -m 0640 \ + -f "$(get_config logfile)" || return 1 + +return 0 +} + +start() { +ebegin "Starting PgBouncer" +[ -f ${PIDFILE} ] && rm ${PIDFILE} + +start-stop-daemon --start \ + --pidfile ${PIDFILE} \ + --background \ + --make-pidfile \ + --user pgbouncer \ + --exec /usr/bin/pgbouncer \ + -- -q "${INIFILE}" +eend $? +} + +stop() { +local seconds=$(( ${NICE_TIMEOUT} + ${FORCE_QUIT_TIMEOUT} )) +ebegin "Stopping PgBouncer (this can take up to ${seconds} seconds)" + +local retries=SIGINT/${NICE_TIMEOUT} + +if [ "${FORCE_QUIT}" = "YES" ] ; then +einfo "FORCE_QUIT enabled." +retries="${retries}/SIGTERM/${FORCE_QUIT_TIMEOUT}" +fi + +# Loops through nice and force quit in one go. +start-stop-daemon --stop \ + --user pgbouncer \ + --pidfile ${PIDFILE} \ + --retry ${retries} + +eend $? +} + +reload() { +ebegin "Reloading PgBouncer configuration from '${INIFILE}'" +start-stop-daemon --signal HUP --pidfile ${PIDFILE} +eend $? +} diff --git a/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild b/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild new file mode 100644 index 000..46b5a23edb2 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.9.0.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2018
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/files/, dev-db/pgbouncer/
commit: d1336fab60d57949472d66270dd14722a32e6ebd Author: Aaron W. Swenson gentoo org> AuthorDate: Wed Jan 24 02:30:19 2018 + Commit: Aaron Swenson gentoo org> CommitDate: Wed Jan 24 02:30:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1336fab dev-db/pgbouncer: Clean out old and insecure Closes: https://bugs.gentoo.org/577784 Closes: https://bugs.gentoo.org/500546 Bug: https://bugs.gentoo.org/629334 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-db/pgbouncer/Manifest | 1 - dev-db/pgbouncer/files/pgbouncer-dirs.patch | 26 - dev-db/pgbouncer/files/pgbouncer.initd | 88 - dev-db/pgbouncer/metadata.xml | 1 - dev-db/pgbouncer/pgbouncer-1.7.2.ebuild | 82 --- 5 files changed, 198 deletions(-) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 22400911164..c49eebee4d6 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,2 +1 @@ -DIST pgbouncer-1.7.2.tar.gz 462374 BLAKE2B 0fea85063e30dad3b7e5d145ecd8660d260c6c09202af3661e8acfdcb5ab25f5c23a2f4e02fcfdfcee872ddeb92b78e157457aafa158ee759a1d73a3d33eb009 SHA512 11c89606599f424b34f39a4b072ec6293fea0b14ee52ae4fbc44775e6d83771a22d194f4e8eabe410e0d6a70657508cf1a3b1012543d91873c36f644afb5675d DIST pgbouncer-1.8.1.tar.gz 465930 BLAKE2B 692c551cb7bfb56bfe1b354791b06bdf61866197150a78a7fa9688891a2e4cd3c015abc5fbe33bf66dc85ab0ae83745f2db852eae91ae99596c97be0154e8bd5 SHA512 595a94db98866cec211f2b8c1ad13d209dba00e5fd41f2e9025aabdcb660194f0f772810270a1d9f067c3039c9fee630e8ff2d56f231935add17207aecc10bee diff --git a/dev-db/pgbouncer/files/pgbouncer-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-dirs.patch deleted file mode 100644 index 62bcd0b8440..000 --- a/dev-db/pgbouncer/files/pgbouncer-dirs.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naruw a/etc/pgbouncer.ini b/etc/pgbouncer.ini a/etc/pgbouncer.ini2012-06-10 19:57:01.0 + -+++ b/etc/pgbouncer.ini2013-07-17 02:25:59.59628 + -@@ -29,7 +29,7 @@ - ;;; - - logfile = /var/log/pgbouncer/pgbouncer.log --pidfile = /var/run/pgbouncer/pgbouncer.pid -+pidfile = /run/pgbouncer/pgbouncer.pid - - ;;; - ;;; Where to wait for clients -@@ -40,10 +40,9 @@ - listen_port = 6432 - - ; unix socket is also used for -R. --; On debian it should be /var/run/postgresql --;unix_socket_dir = /tmp --;unix_socket_mode = 0777 --;unix_socket_group = -+unix_socket_dir = /run/postgresql -+unix_socket_mode = 0777 -+unix_socket_group = postgres - - ;;; - ;;; Authentication settings diff --git a/dev-db/pgbouncer/files/pgbouncer.initd b/dev-db/pgbouncer/files/pgbouncer.initd deleted file mode 100644 index 20479dc22da..000 --- a/dev-db/pgbouncer/files/pgbouncer.initd +++ /dev/null @@ -1,88 +0,0 @@ -#!/sbin/openrc-run - -extra_started_commands="reload" - -depend() { -use net -after postgresql -} - -get_config() { -[ -f "${INIFILE}" ] || eend 1 "'${INIFILE}' not found" - -eval echo $(sed -e 's:;.*::' "${INIFILE}" | \ -awk '$1 == "'$1'" { print ($2 == "=" ? $3 : $2) }') -} - -PIDFILE="$(get_config pidfile)" -UNIX_SOCKET_DIR="$(get_config unix_socket_dir)" - -prep() { -if [ -n "${UNIX_SOCKET_DIR}" ] ; then -checkpath -o postgres:postgres -m 0775 -d "${UNIX_SOCKET_DIR}" \ -|| return 1 -fi -checkpath -o pgbouncer:postgres -m 0755 -d "$(dirname ${PIDFILE})" \ -|| return 1 -checkpath -o pgbouncer:postgres -m 0644 -f "${PIDFILE}" \ -|| return 1 -checkpath -o pgbouncer:postgres -m 0755 -d "$(dirname $(get_config logfile))" \ -|| return 1 -checkpath -o pgbouncer:postgres -m 0640 -f "$(get_config logfile)" \ -|| return 1 - -return 0 -} - -start() { -ebegin "Starting PgBouncer" -prep -local ret=$? -if [ $ret -ne 0 ] ; then -eend $ret -exit $ret -fi -start-stop-daemon --start \ ---pidfile ${PIDFILE} \ ---user pgbouncer \ ---exec /usr/bin/pgbouncer -- -q -d "${INIFILE}" -eend $? -} - -stop() { -local seconds=$(( ${NICE_TIMEOUT} + ${FORCE_QUIT_TIMEOUT} )) -ebegin "Stopping PgBouncer (this can take up to ${seconds} seconds)" - -local retries=SIGINT/${NICE_TIMEOUT} - -if [ "${FORCE_QUIT}" = "YES" ] ; then -einfo "FORCE_QUIT enabled." -retries="${retries}/SIGTERM/${FORCE_QUIT_TIMEOUT}" -fi - -# Loops through nice and force quit in one go. -start-stop-daemon --stop \ ---pidfile ${PIDFILE} \ ---retry ${retries} - -eend $? -} - -restart() { -if [ -n "${UNIX_SOCKET_DIR}" ] ; then -ebegin "Performing online restart of PgBouncer" -start-stop-daemon --start \ ---pidfile ${PIDFILE} \ ---user pgbouncer \ ---exec /usr/bin/pgbouncer -- -q -d -R "${INIFILE}" -eend $? -else -stop && start -fi -} - -reload() { -
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 3fed9a64b0306a376884c61353375850bae76c79 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Jan 23 16:41:17 2018 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Jan 23 16:41:17 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fed9a64 dev-db/pgbouncer: amd64 stable wrt bug #629334 Package-Manager: Portage-2.3.13, Repoman-2.3.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-db/pgbouncer/pgbouncer-1.8.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild index 419a56611be..f590a731732 100644 --- a/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://pgbouncer.github.io; SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="+c-ares debug doc pam ssl -udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 11251efce85f2a1b6d4c5b3929e24818fceaced1 Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Jan 21 20:08:33 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sun Jan 21 20:28:11 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11251efc dev-db/pgbouncer: x86 stable (bug #629334) Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-db/pgbouncer/pgbouncer-1.8.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild index 69a361cbeae..419a56611be 100644 --- a/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -10,7 +10,7 @@ HOMEPAGE="https://pgbouncer.github.io; SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="+c-ares debug doc pam ssl -udns" # At-most-one-of, one can be enabled but not both
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/, dev-db/pgbouncer/files/
commit: 855a26cb2380f20a90fe1873e3a35cb685320af4 Author: Aaron W. Swenson gentoo org> AuthorDate: Thu Dec 21 11:51:28 2017 + Commit: Aaron Swenson gentoo org> CommitDate: Thu Dec 21 11:51:28 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855a26cb dev-db/pgbouncer: Bump and improve Added optional dep on OpenSSL. Fixed logrotate script to always succeed. Address potential DoS by letting s-s-d handle the pidfile creation and backgrounding of pgbouncer. Dropped restart in initscript as online restart can’t be used with s-s-d and the pidfile isn’t writeable by the pgbouncer user. Bug: https://bugs.gentoo.org/500546 Bug: https://bugs.gentoo.org/577784 Bug: https://bugs.gentoo.org/629334 Closes: https://bugs.gentoo.org/565218 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-db/pgbouncer/Manifest | 1 + dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch | 32 + dev-db/pgbouncer/files/pgbouncer.initd-r1 | 83 dev-db/pgbouncer/metadata.xml | 26 dev-db/pgbouncer/pgbouncer-1.8.1.ebuild | 86 + 5 files changed, 216 insertions(+), 12 deletions(-) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 47087ab67c8..22400911164 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1 +1,2 @@ DIST pgbouncer-1.7.2.tar.gz 462374 BLAKE2B 0fea85063e30dad3b7e5d145ecd8660d260c6c09202af3661e8acfdcb5ab25f5c23a2f4e02fcfdfcee872ddeb92b78e157457aafa158ee759a1d73a3d33eb009 SHA512 11c89606599f424b34f39a4b072ec6293fea0b14ee52ae4fbc44775e6d83771a22d194f4e8eabe410e0d6a70657508cf1a3b1012543d91873c36f644afb5675d +DIST pgbouncer-1.8.1.tar.gz 465930 BLAKE2B 692c551cb7bfb56bfe1b354791b06bdf61866197150a78a7fa9688891a2e4cd3c015abc5fbe33bf66dc85ab0ae83745f2db852eae91ae99596c97be0154e8bd5 SHA512 595a94db98866cec211f2b8c1ad13d209dba00e5fd41f2e9025aabdcb660194f0f772810270a1d9f067c3039c9fee630e8ff2d56f231935add17207aecc10bee diff --git a/dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch b/dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch new file mode 100644 index 000..cc4d0634b6b --- /dev/null +++ b/dev-db/pgbouncer/files/pgbouncer-1.8-dirs.patch @@ -0,0 +1,32 @@ +diff -Naruw pgbouncer-1.8.orig/etc/pgbouncer.ini pgbouncer-1.8/etc/pgbouncer.ini +--- pgbouncer-1.8.orig/etc/pgbouncer.ini 2017-12-18 11:03:18.0 -0500 pgbouncer-1.8/etc/pgbouncer.ini2017-12-20 06:48:25.935839539 -0500 +@@ -34,7 +34,9 @@ + ;;; + + logfile = /var/log/pgbouncer/pgbouncer.log +-pidfile = /var/run/pgbouncer/pgbouncer.pid ++ ++; Leave unset. This is handled in the initscript. ++;pidfile = + + ;;; + ;;; Where to wait for clients +@@ -44,11 +46,12 @@ + listen_addr = 127.0.0.1 + listen_port = 6432 + +-; Unix socket is also used for -R. +-; On Debian it should be /var/run/postgresql +-;unix_socket_dir = /tmp +-;unix_socket_mode = 0777 +-;unix_socket_group = ++; Unix socket is also used for -R (online restart), but the ++; initscripts can't do that. Generally, you'll want to leave these ++; alone. System-wide default is: /run/postgresql ++unix_socket_dir = /run/postgresql ++unix_socket_mode = 0777 ++unix_socket_group = postgres + + ;;; + ;;; TLS settings for accepting clients diff --git a/dev-db/pgbouncer/files/pgbouncer.initd-r1 b/dev-db/pgbouncer/files/pgbouncer.initd-r1 new file mode 100755 index 000..7392918593b --- /dev/null +++ b/dev-db/pgbouncer/files/pgbouncer.initd-r1 @@ -0,0 +1,83 @@ +#!/sbin/openrc-run + +extra_started_commands="reload" + +PIDFILE="/run/pgbouncer.pid" + +depend() { +use net +after postgresql +} + +get_config() { +[ -f "${INIFILE}" ] || eend 1 "'${INIFILE}' not found" + +eval echo $(sed -e 's:;.*::' "${INIFILE}" | \ +awk '$1 == "'$1'" { print ($2 == "=" ? $3 : $2) }') +} + +start_pre() { +local s="$(get_config unix_socket_dir)" + +if [ -n "${s}" ] ; then +checkpath -o root:postgres -m 1775 -d "${s}" || return 1 + +local listen_port="$(get_config listen_port)" + +if [ -e "${s%/}/.s.PGSQL.${listen_port}" ] ; then +eerror "Socket conflict." +eerror "A server is already listening on:" +eerror "${s%/}/.s.PGSQL.${listen_port}" +eerror "HINT: Change listen_port in pgbouncer.ini to listen on a" +eerror "different socket." +return 1 +fi +fi + +checkpath -o pgbouncer:postgres -m 0755 \ + -d "$(dirname $(get_config logfile))" || return 1 +checkpath -o pgbouncer:postgres -m 0640 \ + -f "$(get_config logfile)" || return 1 + +return 0 +} + +start() { +ebegin "Starting PgBouncer" +[ -f ${PIDFILE} ] && rm ${PIDFILE} + +start-stop-daemon --start \ + --pidfile ${PIDFILE} \ + --background \ + --make-pidfile \ + --user pgbouncer
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 124a0cf6cfe09588d9f0fc854103a040d7d52db3 Author: Jonas Stein gentoo org> AuthorDate: Sun Oct 29 23:52:48 2017 + Commit: Jonas Stein gentoo org> CommitDate: Sun Oct 29 23:52:48 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=124a0cf6 dev-db/pgbouncer: Removed proxied maintainer Proxied maintainer retired. Package-Manager: Portage-2.3.13, Repoman-2.3.4 dev-db/pgbouncer/metadata.xml | 9 - 1 file changed, 9 deletions(-) diff --git a/dev-db/pgbouncer/metadata.xml b/dev-db/pgbouncer/metadata.xml index eccd61517f9..0d24afdb221 100644 --- a/dev-db/pgbouncer/metadata.xml +++ b/dev-db/pgbouncer/metadata.xml @@ -2,11 +2,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> -b...@bergstroem.nu -Johan Bergström -Proxy-Maintainer, assign bugs - - titanof...@gentoo.org Aaron W. Swenson @@ -14,10 +9,6 @@ pgsql-b...@gentoo.org PostgreSQL and Related Package Development - -proxy-ma...@gentoo.org -Proxy Maintainers - Use libevent 2.0+ and evdns as the DNS backend Use udns as the DNS backend. Supports IPv4 only.
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 21d4894c33d001a22513bb5ff7d4fae54fc41c6c Author: Thomas Deutschmann gentoo org> AuthorDate: Sun Jan 8 22:54:32 2017 + Commit: Thomas Deutschmann gentoo org> CommitDate: Mon Jan 9 13:23:20 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21d4894c dev-db/pgbouncer: Security cleanup (bug #600184) Acked-by: Johan Bergström bergstroem.nu> Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-db/pgbouncer/Manifest | 2 - dev-db/pgbouncer/pgbouncer-1.5.4-r1.ebuild | 84 - dev-db/pgbouncer/pgbouncer-1.5.4.ebuild| 86 -- dev-db/pgbouncer/pgbouncer-1.5.5.ebuild| 84 - 4 files changed, 256 deletions(-) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index cce4f04..82747e2 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,3 +1 @@ -DIST pgbouncer-1.5.4.tar.gz 339610 SHA256 08040482f4c887e14d8c8c46fab838fff640c0f3cf231f86ad7f766b7a292280 SHA512 ade8304eba682a468a5e4c1c5e661d67ea64fad951d6f767a3157de4e5398c52492b2ca022f274c55e43022df8d5fad87e45fc60adbcbab00a5ac843a26c6b71 WHIRLPOOL 107d028eaa4ea9f0469994ca9fa3caab64fc33dd2c7228aa7784b04b89091352a6b086fe7123ddfbcc9900b1c1cadef4c08030d9b9a5b169a4be4441ff3a6f02 -DIST pgbouncer-1.5.5.tar.gz 336145 SHA256 d65a192d1e2e69bf445d536f10211857959fc38e0247d1974e8008253080e234 SHA512 fd31b25ab2c0fb206797d54cba42f221bf5d9d1bae76d8f0b77ae746b504b51640cab04d60589c7d96f275c50b98b8bdf854702981838b74c23ed7095d85e853 WHIRLPOOL 115a45a4c9e9589c4d872c9469619a7fa6199d8a010d090e530051867210ed5647565c93c118b83717fc70b73b99f6f1309815d767bbb768b46e1ab2b9378c29 DIST pgbouncer-1.7.2.tar.gz 462374 SHA256 de36b318fe4a2f20a5f60d1c5ea62c1ca331f6813d2c484866ecb59265a160ba SHA512 11c89606599f424b34f39a4b072ec6293fea0b14ee52ae4fbc44775e6d83771a22d194f4e8eabe410e0d6a70657508cf1a3b1012543d91873c36f644afb5675d WHIRLPOOL 3b007d6ea8f9c5e7e8ee3e2908839e24c120fa458f127192f40f8f7d37e5e56bcce3501f76b623670a210c96af66a861adf183e62c152e92e030b2cef60f3d03 diff --git a/dev-db/pgbouncer/pgbouncer-1.5.4-r1.ebuild b/dev-db/pgbouncer/pgbouncer-1.5.4-r1.ebuild deleted file mode 100644 index c6ed67e.. --- a/dev-db/pgbouncer/pgbouncer-1.5.4-r1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -# Upstream has *way* broken tests. -RESTRICT="test" - -inherit eutils user - -DESCRIPTION="Lightweight connection pooler for PostgreSQL" -HOMEPAGE="http://pgfoundry.org/projects/pgbouncer/; -SRC_URI="mirror://postgresql/projects/pgFoundry/${PN}/${PN}/${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="debug doc libevent udns" -REQUIRED_USE=" - libevent? ( !udns ) - udns? ( !libevent ) -" -RDEPEND=" - >=sys-libs/glibc-2.10 - libevent? ( >=dev-libs/libevent-2.0 ) - udns? ( >=net-libs/udns-0.1 ) -" - -DEPEND=" - ${RDEPEND} - app-text/docbook-xml-dtd:4.5 - app-text/xmlto - >=app-text/asciidoc-8.4 -" - -pkg_setup() { - enewgroup postgres 70 - enewuser postgres 70 /bin/bash /var/lib/postgresql postgres - - enewuser pgbouncer -1 -1 -1 postgres -} - -src_prepare() { - epatch "${FILESDIR}/pgbouncer-dirs.patch" -} - -src_configure() { - # --enable-debug is only used to disable stripping - econf \ - --docdir=/usr/share/doc/${PF} \ - --enable-debug \ - $(use_enable debug cassert) \ - $(use_with libevent) \ - $(use_with udns) -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc AUTHORS - - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - - insinto /etc - doins etc/pgbouncer.ini - - insinto /etc/logrotate.d - newins "${FILESDIR}/logrotate" pgbouncer -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] ; then - einfo "Please read the config.txt for Configuration Directives" - einfo - einfo "For Administration Commands, see:" - einfo "man pgbouncer" - einfo - einfo "By default, PgBouncer does not have access to any database." - einfo "GRANT the permissions needed for your application and make sure that it" - einfo "exists in PgBouncer's auth_file." - fi -} diff --git a/dev-db/pgbouncer/pgbouncer-1.5.4.ebuild b/dev-db/pgbouncer/pgbouncer-1.5.4.ebuild deleted file mode 100644 index 1d97ebd.. --- a/dev-db/pgbouncer/pgbouncer-1.5.4.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -# Upstream has *way* broken tests. -RESTRICT="test" - -inherit eutils user -
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: a27fecef03307f05c5eb9bbd3b62b287af2d14fe Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Nov 29 11:23:31 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Nov 29 11:23:31 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a27fecef dev-db/pgbouncer: x86 stable wrt bug #600184 Package-Manager: portage-2.3.0 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-db/pgbouncer/pgbouncer-1.7.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild b/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild index dc9401c..695011e 100644 --- a/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="https://pgbouncer.github.io; SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="debug doc libevent udns" REQUIRED_USE=" libevent? ( !udns )
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: 1e280181a955ba55483b73d526e7871bc8583985 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Nov 29 11:22:30 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Nov 29 11:22:30 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e280181 dev-db/pgbouncer: amd64 stable wrt bug #600184 Package-Manager: portage-2.3.0 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-db/pgbouncer/pgbouncer-1.7.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild b/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild index ac4754d..dc9401c 100644 --- a/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild +++ b/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -14,7 +14,7 @@ HOMEPAGE="https://pgbouncer.github.io; SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="debug doc libevent udns" REQUIRED_USE=" libevent? ( !udns )
[gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
commit: d45821be768b3f872f3476c142136ca682c17bed Author: Patrick Lauer gentoo org> AuthorDate: Sat Feb 27 22:55:30 2016 + Commit: Patrick Lauer gentoo org> CommitDate: Sat Feb 27 22:55:47 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d45821be dev-db/pgbouncer: Bump Package-Manager: portage-2.2.27 dev-db/pgbouncer/Manifest | 1 + dev-db/pgbouncer/pgbouncer-1.7.2.ebuild | 83 + 2 files changed, 84 insertions(+) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index ca2a3cb..cce4f04 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,2 +1,3 @@ DIST pgbouncer-1.5.4.tar.gz 339610 SHA256 08040482f4c887e14d8c8c46fab838fff640c0f3cf231f86ad7f766b7a292280 SHA512 ade8304eba682a468a5e4c1c5e661d67ea64fad951d6f767a3157de4e5398c52492b2ca022f274c55e43022df8d5fad87e45fc60adbcbab00a5ac843a26c6b71 WHIRLPOOL 107d028eaa4ea9f0469994ca9fa3caab64fc33dd2c7228aa7784b04b89091352a6b086fe7123ddfbcc9900b1c1cadef4c08030d9b9a5b169a4be4441ff3a6f02 DIST pgbouncer-1.5.5.tar.gz 336145 SHA256 d65a192d1e2e69bf445d536f10211857959fc38e0247d1974e8008253080e234 SHA512 fd31b25ab2c0fb206797d54cba42f221bf5d9d1bae76d8f0b77ae746b504b51640cab04d60589c7d96f275c50b98b8bdf854702981838b74c23ed7095d85e853 WHIRLPOOL 115a45a4c9e9589c4d872c9469619a7fa6199d8a010d090e530051867210ed5647565c93c118b83717fc70b73b99f6f1309815d767bbb768b46e1ab2b9378c29 +DIST pgbouncer-1.7.2.tar.gz 462374 SHA256 de36b318fe4a2f20a5f60d1c5ea62c1ca331f6813d2c484866ecb59265a160ba SHA512 11c89606599f424b34f39a4b072ec6293fea0b14ee52ae4fbc44775e6d83771a22d194f4e8eabe410e0d6a70657508cf1a3b1012543d91873c36f644afb5675d WHIRLPOOL 3b007d6ea8f9c5e7e8ee3e2908839e24c120fa458f127192f40f8f7d37e5e56bcce3501f76b623670a210c96af66a861adf183e62c152e92e030b2cef60f3d03 diff --git a/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild b/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild new file mode 100644 index 000..ac4754d --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.7.2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +# Upstream has *way* broken tests. +RESTRICT="test" + +inherit eutils user + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="https://pgbouncer.github.io; +SRC_URI="https://pgbouncer.github.io/downloads/files/${PV}/${P}.tar.gz; +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug doc libevent udns" +REQUIRED_USE=" + libevent? ( !udns ) + udns? ( !libevent ) +" +RDEPEND=" + >=sys-libs/glibc-2.10 + libevent? ( >=dev-libs/libevent-2.0 ) + udns? ( >=net-libs/udns-0.1 ) +" + +DEPEND=" + ${RDEPEND} + app-text/docbook-xml-dtd:4.5 + app-text/xmlto + >=app-text/asciidoc-8.4 +" + +pkg_setup() { + enewgroup postgres 70 + enewuser postgres 70 /bin/bash /var/lib/postgresql postgres + + enewuser pgbouncer -1 -1 -1 postgres +} + +src_prepare() { + epatch "${FILESDIR}/pgbouncer-dirs.patch" +} + +src_configure() { + # --enable-debug is only used to disable stripping + econf \ + --docdir=/usr/share/doc/${PF} \ + --enable-debug \ + $(use_enable debug cassert) \ + $(use_with libevent) \ + $(use_with udns) +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHORS + + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + + insinto /etc + doins etc/pgbouncer.ini + + insinto /etc/logrotate.d + newins "${FILESDIR}/logrotate" pgbouncer +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] ; then + einfo "Please read the config.txt for Configuration Directives" + einfo + einfo "For Administration Commands, see:" + einfo "man pgbouncer" + einfo + einfo "By default, PgBouncer does not have access to any database." + einfo "GRANT the permissions needed for your application and make sure that it" + einfo "exists in PgBouncer's auth_file." + fi +}