diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-06-18 07:53:26 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-06-18 07:53:26 +0000 |
commit | 4ecfc106a367f691fc4fab538d93759b281d2b4a (patch) | |
tree | 58056ee77a6af9f6480f27c49a1a062a777f3de4 /dev-db | |
parent | small bump (diff) | |
download | historical-4ecfc106a367f691fc4fab538d93759b281d2b4a.tar.gz historical-4ecfc106a367f691fc4fab538d93759b281d2b4a.tar.bz2 historical-4ecfc106a367f691fc4fab538d93759b281d2b4a.zip |
Bump
Package-Manager: portage-2.2.0_alpha110/cvs/Linux x86_64
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/pgbouncer/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/pgbouncer/Manifest | 14 | ||||
-rw-r--r-- | dev-db/pgbouncer/pgbouncer-1.5.2.ebuild | 71 |
3 files changed, 80 insertions, 12 deletions
diff --git a/dev-db/pgbouncer/ChangeLog b/dev-db/pgbouncer/ChangeLog index 4b5c585066dd..bc967186f1da 100644 --- a/dev-db/pgbouncer/ChangeLog +++ b/dev-db/pgbouncer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/pgbouncer # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgbouncer/ChangeLog,v 1.4 2012/06/04 06:45:39 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgbouncer/ChangeLog,v 1.5 2012/06/18 07:53:26 patrick Exp $ + +*pgbouncer-1.5.2 (18 Jun 2012) + + 18 Jun 2012; Patrick Lauer <patrick@gentoo.org> +pgbouncer-1.5.2.ebuild: + Bump 04 Jun 2012; Zac Medico <zmedico@gentoo.org> pgbouncer-1.4.2.ebuild, pgbouncer-1.5.1.ebuild, pgbouncer-1.5.ebuild: diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 7b8de9dd681d..6850512f162d 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -1,19 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX pgbouncer.initd 712 RMD160 aebf2c6b125f3cb9862e995dfaf4f63d0d97b87e SHA1 9e95aeaba94c0ffe98d1a208e9845ac77cc2df6d SHA256 759317a7e60fc4f69faaec5f8bd6348f84203bae3f1319db99ec70b4c46f2ad5 DIST pgbouncer-1.4.2.tgz 283204 RMD160 055796e23dd7029d3f4a2c882cf24399a5481cb1 SHA1 610198c3f2186d70267275f554e23bd43598e4b5 SHA256 e9916f08621f8ad4134840049a41783fa93d056905d445942f8aa1d2e5aa1eae DIST pgbouncer-1.5.1.tar.gz 334413 RMD160 9b4c3e29915cf2b16c582c49b61b8ef0bf770c1e SHA1 d1db99271a72051f5744a27af7a93ec203770c67 SHA256 d0634253d319e43ebc18cb0476ba28c47803eff5bae5c6e17f650dc031fc4434 +DIST pgbouncer-1.5.2.tar.gz 335338 RMD160 ed962fa8452f71f34c1e6f1ad9f5657112e13d2e SHA1 d9e796b175e1023ef574f768a711e7dcd60b5016 SHA256 f17ebf1dfe34dd4c39c2dd861d5b58f08cecef22be3b74da256d25ea15d451f8 DIST pgbouncer-1.5.tar.gz 411488 RMD160 e7ba7eb3ee034191cbb1bab427e9eb1a5e4f6abb SHA1 bebb02b24d6083398c65877ddbc13b42eb326980 SHA256 408924d54794fcd63cd31284fa13a21266b2fc33c6b5e6be1eb1d91512261fee EBUILD pgbouncer-1.4.2.ebuild 1764 RMD160 57ad72d393c4ee82380ae73446b1ca731bf5a7ca SHA1 bc5c1701aadfe740707a12b2160c8db63313f1dc SHA256 b153f6f964a0ecad265df50cb8a4cd0286421857ad2606fde09ede3828d4dd2a EBUILD pgbouncer-1.5.1.ebuild 1767 RMD160 88679ba02c8575b6627c12d837434075054dd7c0 SHA1 d6bde4a0db79562e8c74f12e82db6435ce0d739f SHA256 4c68d965549e7b351a113f377c54ab59310ae6ceb29ece548ab7392f245f28c4 +EBUILD pgbouncer-1.5.2.ebuild 1767 RMD160 d93bd04de86908ea0b7d2f811fc05893e33ca93a SHA1 9e843779610bf5a584e664b9a79ee4f317f665f9 SHA256 ea561d4dd7a8be1e51059a5c66e9de79519bfc63a0c0684ecea0681995cc70ca EBUILD pgbouncer-1.5.ebuild 1765 RMD160 a5bd0510a8acfba34e2a7c5504e1743026a782d5 SHA1 b35782c53dce21e8c6297cce423361f079489076 SHA256 330402aa069080d5bd0b7b5fea07b501411f47c8cc111db487d080d2429548a7 -MISC ChangeLog 893 RMD160 7a2509a20f369a0d66c84808441f57ab4e5469e2 SHA1 b5bde90acea2d34bd48085fa1257d6a8cc9baa48 SHA256 4bb05968b627d06de7b13e2fb9c9b8cbec53bf75247bc5465c36f76cecfb8176 +MISC ChangeLog 1008 RMD160 159c1004bb616f728717499fb934f7fb93a2db4f SHA1 2baf30417d581b6c6b8cdf18ea9db26c3ba4477f SHA256 861f3b28416d29f1618ff4d1d6060abb578595c6d6d002272704e1e0ab5e1d1c MISC metadata.xml 420 RMD160 a9fa523e47ccc238079842bd43c081054c9a7b3d SHA1 5a3af08f491bbd0bfecadcc69a2664216769a461 SHA256 4a0159794fd372690f08474ea2955191b42b0f558def87ff02e77b04db13161a ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEARECAAYFAk/MWZkACgkQ/ejvha5XGaO4eACgrd2Pb8TRWb0HLGV6CjRzU5rZ -cGIAnRQ1S/CVluuFwGkSBra2/dx0JkON -=wYl4 ------END PGP SIGNATURE----- diff --git a/dev-db/pgbouncer/pgbouncer-1.5.2.ebuild b/dev-db/pgbouncer/pgbouncer-1.5.2.ebuild new file mode 100644 index 000000000000..bebd4334de42 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.5.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgbouncer/pgbouncer-1.5.2.ebuild,v 1.1 2012/06/18 07:53:26 patrick Exp $ + +EAPI="4" + +inherit eutils user + +RESTRICT="test" + +DESCRIPTION="Lightweight connection pooler for PostgreSQL" +HOMEPAGE="http://pgfoundry.org/projects/pgbouncer/" +SRC_URI="mirror://postgresql/projects/pgFoundry/${PN}/${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." + +} |