diff options
author | Aaron Swenson <titanofold@gentoo.org> | 2012-04-18 20:02:44 +0000 |
---|---|---|
committer | Aaron Swenson <titanofold@gentoo.org> | 2012-04-18 20:02:44 +0000 |
commit | 6ca3611746551dc1ab07a1508a108f5b8381ed69 (patch) | |
tree | a6015c03792af02dcbcf65a2400430700c8402dd /dev-db/pgbouncer | |
parent | Stable for amd64, wrt bug #412381 (diff) | |
download | historical-6ca3611746551dc1ab07a1508a108f5b8381ed69.tar.gz historical-6ca3611746551dc1ab07a1508a108f5b8381ed69.tar.bz2 historical-6ca3611746551dc1ab07a1508a108f5b8381ed69.zip |
Version Bump
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-db/pgbouncer')
-rw-r--r-- | dev-db/pgbouncer/ChangeLog | 8 | ||||
-rw-r--r-- | dev-db/pgbouncer/Manifest | 10 | ||||
-rw-r--r-- | dev-db/pgbouncer/pgbouncer-1.5.1.ebuild | 71 |
3 files changed, 84 insertions, 5 deletions
diff --git a/dev-db/pgbouncer/ChangeLog b/dev-db/pgbouncer/ChangeLog index 1a61e8424d0a..a6cd4543fe5b 100644 --- a/dev-db/pgbouncer/ChangeLog +++ b/dev-db/pgbouncer/ChangeLog @@ -1,6 +1,12 @@ # 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.2 2012/03/29 02:16:04 titanofold Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgbouncer/ChangeLog,v 1.3 2012/04/18 20:02:44 titanofold Exp $ + +*pgbouncer-1.5.1 (18 Apr 2012) + + 18 Apr 2012; Aaron W. Swenson <titanofold@gentoo.org> + +pgbouncer-1.5.1.ebuild: + Version Bump *pgbouncer-1.5 (29 Mar 2012) diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest index 391359697d5f..0b86ad5559ea 100644 --- a/dev-db/pgbouncer/Manifest +++ b/dev-db/pgbouncer/Manifest @@ -3,15 +3,17 @@ Hash: SHA256 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.tar.gz 411488 RMD160 e7ba7eb3ee034191cbb1bab427e9eb1a5e4f6abb SHA1 bebb02b24d6083398c65877ddbc13b42eb326980 SHA256 408924d54794fcd63cd31284fa13a21266b2fc33c6b5e6be1eb1d91512261fee EBUILD pgbouncer-1.4.2.ebuild 1762 RMD160 c734c9a76b1badde767838116aa95c54d81835b8 SHA1 67feed0971ed3a1045bbc4d1d1c9b2a12b23fb90 SHA256 c352e171045cb38644be32f0bf4f1afab7ba152dd08d99943fe1245bec0394b8 +EBUILD pgbouncer-1.5.1.ebuild 1765 RMD160 924346d5e43920578f087336fb7a5ef45ca9b2c1 SHA1 a8717f1efbfdaa3fbf8de678f977d6726d74f77a SHA256 ff7e86373d8d7f079c4cfbccf1f6742038baedd25489df28ff8eeba30be8e5ec EBUILD pgbouncer-1.5.ebuild 1763 RMD160 1d564c69179c78ac429eae2a194a8070d77295ca SHA1 2f9da49b588ebe2c49dfed1c485fda4c4c4f99a3 SHA256 48122848a958d3d4e856f049246aac96bf8014806bd66d794ee70e6382e41c69 -MISC ChangeLog 603 RMD160 0c13d5b5f1386c8a8c7a07bfae001be4ea3e1df7 SHA1 4c046976a8f165822f62afd7932ab1968fc3d81a SHA256 62788c72282d104987558dfb90c65d722741db791d70752db8e1ace6cc319e54 +MISC ChangeLog 734 RMD160 d55238d4241a30f5308bea8593dc28f397c2a5e0 SHA1 ba2c3b33415c2842b0d23ab388bb0e58e0e16e42 SHA256 e4c36d93193e426bdc4f0b8ab42f8047ba7d355d56ea751c16bf1209f2fc8809 MISC metadata.xml 420 RMD160 a9fa523e47ccc238079842bd43c081054c9a7b3d SHA1 5a3af08f491bbd0bfecadcc69a2664216769a461 SHA256 4a0159794fd372690f08474ea2955191b42b0f558def87ff02e77b04db13161a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk9zxecACgkQVxOqA9G7/aDFZAD/SEiLxaF/YeTbM0U4ba8zWthq -hBYhuRyjdtU04Jsj3WQA/intIi+7gVPJkYbcx+75aFSlt0+/jD5GkJ3kfsBAi+J2 -=ZGwJ +iF4EAREIAAYFAk+PHd0ACgkQVxOqA9G7/aDjTwD/egnNsguqVx+Ax40Vsc0XR0Vl +ozkJRFnEIlpgnB/mDA0A/iiEsSB8xSdP3v8hhXP7lkCoWWGF18QL5jfXd2XNLyrG +=8BYb -----END PGP SIGNATURE----- diff --git a/dev-db/pgbouncer/pgbouncer-1.5.1.ebuild b/dev-db/pgbouncer/pgbouncer-1.5.1.ebuild new file mode 100644 index 000000000000..de7218cbfbc0 --- /dev/null +++ b/dev-db/pgbouncer/pgbouncer-1.5.1.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.1.ebuild,v 1.1 2012/04/18 20:02:44 titanofold Exp $ + +EAPI="4" + +inherit eutils + +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." + +} |