public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Lauer" <patrick@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/
Date: Sat, 27 Feb 2016 22:56:47 +0000 (UTC)	[thread overview]
Message-ID: <1456613747.d45821be768b3f872f3476c142136ca682c17bed.patrick@gentoo> (raw)

commit:     d45821be768b3f872f3476c142136ca682c17bed
Author:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 22:55:30 2016 +0000
Commit:     Patrick Lauer <patrick <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 22:55:47 2016 +0000
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 0000000..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
+}


             reply	other threads:[~2016-02-27 22:56 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-27 22:56 Patrick Lauer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-29 11:22 [gentoo-commits] repo/gentoo:master commit in: dev-db/pgbouncer/ Agostino Sarubbo
2016-11-29 11:23 Agostino Sarubbo
2017-01-09 13:26 Thomas Deutschmann
2017-10-29 23:52 Jonas Stein
2018-01-21 20:30 Thomas Deutschmann
2018-01-23 16:41 Agostino Sarubbo
2018-10-01 21:47 Thomas Deutschmann
2018-10-02 21:03 Mikle Kolyada
2019-01-07 17:00 Lars Wendler
2019-07-04 12:01 Aaron W. Swenson
2019-08-18 21:51 Agostino Sarubbo
2019-08-19 11:37 Agostino Sarubbo
2020-06-18 14:40 罗百科
2020-11-22  2:31 Aaron W. Swenson
2020-12-21 19:45 Sam James
2020-12-22 17:08 Thomas Deutschmann
2021-06-03 19:15 Sam James
2021-10-07 14:23 罗百科
2021-11-09 15:15 罗百科
2021-11-09 21:34 Sam James
2021-11-10  7:04 Agostino Sarubbo
2022-02-13  7:02 罗百科
2022-08-16 20:22 Sam James
2022-08-16 20:22 Sam James
2022-08-19 13:33 罗百科
2022-08-19 13:33 罗百科
2023-04-17  9:10 罗百科
2023-04-17  9:10 罗百科
2023-07-22 16:34 罗百科
2023-09-20 12:35 罗百科
2023-10-05  6:57 罗百科
2023-10-17  7:08 罗百科
2024-02-16  6:47 Patrick Lauer
2024-02-16  6:47 Patrick Lauer
2024-04-07 14:58 Patrick Lauer
2024-04-07 17:00 Patrick Lauer
2024-10-17 11:38 Patrick Lauer
2024-10-17 15:28 Jakov Smolić
2024-10-17 15:28 Jakov Smolić
2025-01-11  9:56 Patrick Lauer
2025-01-11  9:57 Patrick Lauer
2025-01-11 12:22 Sam James
2025-01-11 12:22 Sam James
2025-01-11 16:10 Patrick Lauer
2025-01-11 16:10 Patrick Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1456613747.d45821be768b3f872f3476c142136ca682c17bed.patrick@gentoo \
    --to=patrick@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox