dev-db/pgbouncer: Security cleanup (bug #600184)
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 8 Jan 2017 22:54:32 +0000 (23:54 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 9 Jan 2017 13:23:20 +0000 (14:23 +0100)
Acked-by: Johan Bergström <bugs@bergstroem.nu>
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-db/pgbouncer/Manifest
dev-db/pgbouncer/pgbouncer-1.5.4-r1.ebuild [deleted file]
dev-db/pgbouncer/pgbouncer-1.5.4.ebuild [deleted file]
dev-db/pgbouncer/pgbouncer-1.5.5.ebuild [deleted file]

index cce4f0493b85c3c702b4d8ae0ff5ecf118282508..82747e23f8daa9c58b07fa7706aac44631b1f830 100644 (file)
@@ -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 (file)
index c6ed67e..0000000
+++ /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 (file)
index 1d97ebd..0000000
+++ /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
-
-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}
-       doc? (
-                       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.5.ebuild b/dev-db/pgbouncer/pgbouncer-1.5.5.ebuild
deleted file mode 100644 (file)
index a461bd5..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-# 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/${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
-}