summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-01-14 17:29:30 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-01-14 17:29:30 +0000
commitc1932c898a51041f3d4c5e7f56a2f00dc6547c78 (patch)
tree896c6890abed2b068e137736911f671e98c7502d /dev-db
parentUpdate initscript, fix bugs #410645 and #410647, thanks to Johan Bergström (diff)
downloadhistorical-c1932c898a51041f3d4c5e7f56a2f00dc6547c78.tar.gz
historical-c1932c898a51041f3d4c5e7f56a2f00dc6547c78.tar.bz2
historical-c1932c898a51041f3d4c5e7f56a2f00dc6547c78.zip
Revision bump for reflect latest change
Package-Manager: portage-2.2.0_alpha151/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/pgbouncer/ChangeLog7
-rw-r--r--dev-db/pgbouncer/Manifest3
-rw-r--r--dev-db/pgbouncer/pgbouncer-1.5.3-r1.ebuild70
3 files changed, 78 insertions, 2 deletions
diff --git a/dev-db/pgbouncer/ChangeLog b/dev-db/pgbouncer/ChangeLog
index df39b93caeae..e15b1f9d0be8 100644
--- a/dev-db/pgbouncer/ChangeLog
+++ b/dev-db/pgbouncer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/pgbouncer
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/pgbouncer/ChangeLog,v 1.7 2013/01/14 17:26:12 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgbouncer/ChangeLog,v 1.8 2013/01/14 17:29:29 pinkbyte Exp $
+
+*pgbouncer-1.5.3-r1 (14 Jan 2013)
+
+ 14 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> +pgbouncer-1.5.3-r1.ebuild:
+ Revision bump for reflect latest change
14 Jan 2013; Sergey Popov <pinkbyte@gentoo.org> files/pgbouncer.initd:
Update initscript, fix bugs #410645 and #410647, thanks to Johan Bergström
diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest
index 5058d43fecb3..0bd9c226dfc9 100644
--- a/dev-db/pgbouncer/Manifest
+++ b/dev-db/pgbouncer/Manifest
@@ -7,7 +7,8 @@ DIST pgbouncer-1.5.tar.gz 411488 SHA256 408924d54794fcd63cd31284fa13a21266b2fc33
EBUILD pgbouncer-1.4.2.ebuild 1764 SHA256 b153f6f964a0ecad265df50cb8a4cd0286421857ad2606fde09ede3828d4dd2a SHA512 bf9ad96d954da15250fcae82a12ae04629fe1e772581854e6c1ec15f863fbf46ae7152fcaedecf024e31491ec62d1611d5d583ee2bd3fccd643511d29316af14 WHIRLPOOL 2e0b9d4dc8ec122aa462741316cbbe25f47b47f6acf3c5f3409080b18717d6858c68d2eeb0cb66848c594e72fc8cac35938bb6e4cfbe3c0dc818ca9eeb5b2f13
EBUILD pgbouncer-1.5.1.ebuild 1767 SHA256 4c68d965549e7b351a113f377c54ab59310ae6ceb29ece548ab7392f245f28c4 SHA512 b46ba9c3ae1fa0879871f28eb1c8d5df54cc1b00b751f540106de7ff8b959d877730c63514529897337aa6260ce02342b2225da13b460032f92c71635282bf43 WHIRLPOOL 4088a6d34a0c67405da0cdb6066ec7397b1ac6faff86056ca3776eeabea398b405b440d94f1cf3972b5def67d18df9c97eb6e0a077d668c07fbc4dc2df2a268c
EBUILD pgbouncer-1.5.2.ebuild 1767 SHA256 ea561d4dd7a8be1e51059a5c66e9de79519bfc63a0c0684ecea0681995cc70ca SHA512 b052ff4ee6f81eb6c94ebc11b3937aac437d83b8b92af07062b7cfc3025ba3e0709b81eae009cbf3babdfed7461b2d59e306e6d0412e715e16f85beacf087338 WHIRLPOOL a5defdf068f4882cc62dc01065b68beb34873d8c64b347d747ef44e123ae672d769c3ff583c957cdda3dff95faeab82726cac1e419799ccb6f504529229631a8
+EBUILD pgbouncer-1.5.3-r1.ebuild 1768 SHA256 279a80b7567c4d13e72fe5efbf6c0e3f7fc71f6b46beec3795c71e4171a9826a SHA512 7a3acfb2fda92069ac83b3e9d81de948bb6b6803572e4241305286bc1d81881bdfd8c360b7e4de8ae7676c553020a4bfcc7c65371d6dff26b0cfa6044d3dfb6a WHIRLPOOL 8c2d2e359ae319a5efedf1432993131a6010936b399b57682a07c0cfc742bf26e3d625aeb0303a9b5948b0e153e8da677abe35d331687e383d80d751117fd084
EBUILD pgbouncer-1.5.3.ebuild 1767 SHA256 f8a9a9d6692543071d8fd2a8be40d0a56c50c6fd9455dcf1a6d3b9e0d73a6b7c SHA512 85ad5d3c4ac8110602dfa2ccde6982404e8c0dacc08c4a6f9b77c708b0a252ea737ab65659a9083e04fdeba794f2fc9aaf6fcc4db347a682f120e51602ab6d4e WHIRLPOOL 7223e665a6cdcab1c7e8c9fd605ccb75706f6b18c02172038ad72e6486f0c31f79cd4f157a62d0debb414fb7e8de453b154b8f4f78183c43e05b45ad821151bf
EBUILD pgbouncer-1.5.ebuild 1765 SHA256 330402aa069080d5bd0b7b5fea07b501411f47c8cc111db487d080d2429548a7 SHA512 e8f62858844a2caa5fe65aa796c208d7768d960ae650b91e5681fbf712bfc37c82dd8b136edde90e37f908f192037c2d161f4132e630ea9fe2d17a64d70fe1e8 WHIRLPOOL 63b04062c1ffbe3c221145d42c2c15e778e27ef9aafa5cae9ec3f2958387dc66676a2505c9d34349212ae417148a716c3e90dd709392edc4c5b21c996db04cfe
-MISC ChangeLog 1299 SHA256 5ae7571ef45b651e159c359370888318f84c5f4ec51ac6122977592fd3e15f0b SHA512 e7b138ff61b35f208cd7624ba0dde671f0e03662c581695015ae1cef15dd3e011f004896eadfede9c78839ba3553e1e42084976bf2c162cdcbe594d6e4c15ea4 WHIRLPOOL a1c88bd08e7eaefef6de75733ee54992a66f36cf68fb878b1d205ef629810865ab9b5b43912068db4b4f373c16fed8e62fb96c7f771968d38a55479795f1cb34
+MISC ChangeLog 1455 SHA256 e8b1021e33b67198cc3b63fb360723432a47e68c04408aa03870dd15d4e9fd9e SHA512 9ff27449aa98d3ee5a61e97388426ab93d40fc133fc7ca59b5397ddcc52c83c37d9e588a0816570f2a048ec600cf226535d25a24837eb4b4fd2a79862e2fdb75 WHIRLPOOL 26a46db87de4207f554d885181ced08c79ba57bd99030e4c5363b52ba89656a13cf66c59d3428a3c12893ea62cf030a216ec1128c8910a81048eb2cee48eb750
MISC metadata.xml 420 SHA256 4a0159794fd372690f08474ea2955191b42b0f558def87ff02e77b04db13161a SHA512 ced14829bf3aa6e70d758b5333f057d94b5aca4b59b96d2b7c3fbcc6227676f7dbc35d96b45a9a91882c23622bcb0d12ecb2c700fb74b4734a2e2c839701bde5 WHIRLPOOL 0c112d98060115d4a184c1d2ad0352101f545795516399c8ea15d9018567b0b5eebeb74b98631bca0a75112eac506284fb2704bf18570582c30242b42ebc9b1b
diff --git a/dev-db/pgbouncer/pgbouncer-1.5.3-r1.ebuild b/dev-db/pgbouncer/pgbouncer-1.5.3-r1.ebuild
new file mode 100644
index 000000000000..a4fb2c5afbb5
--- /dev/null
+++ b/dev-db/pgbouncer/pgbouncer-1.5.3-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgbouncer/pgbouncer-1.5.3-r1.ebuild,v 1.1 2013/01/14 17:29:29 pinkbyte Exp $
+
+EAPI="4"
+
+inherit eutils user
+
+RESTRICT="test"
+
+DESCRIPTION="Lightweight connection pooler for PostgreSQL"
+HOMEPAGE="http://pgfoundry.org/projects/pgbouncer/"
+SRC_URI="http://pgfoundry.org/frs/download.php/3369/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="dev-libs/libevent"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ enewgroup pgbouncer
+ enewuser pgbouncer -1 -1 -1 pgbouncer
+}
+
+src_prepare() {
+ local rundir=""
+ [[ ! -d /run ]] && rundir="/var"
+
+ sed -i -e "s,${PN}.log,/var/log/${PN}/${PN}.log," \
+ -e "s,${PN}.pid,/var/run/${PN}/${PN}.pid," \
+ -e "s,etc/userlist.txt,/etc/userlist.txt," \
+ -e "s,;unix_socket_dir = /tmp,unix_socket_dir = ${rundir}/run/${PN}.sock," \
+ "${S}"/etc/pgbouncer.ini || die
+}
+
+src_configure() {
+ # --enable-debug is only used to disable stripping
+ econf \
+ --enable-debug \
+ $(use_enable debug cassert) \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ insinto /etc
+ newins etc/pgbouncer.ini pgbouncer.conf
+ newinitd "${FILESDIR}"/pgbouncer.initd "${PN}"
+
+ dodoc README NEWS AUTHORS
+ dodoc doc/*.txt
+
+ dodir /var/log/pgbouncer/
+ fowners pgbouncer:pgbouncer /var/log/pgbouncer/
+}
+
+pkg_postinst() {
+ 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."
+}