* [gentoo-commits] gentoo-x86 commit in dev-db/pgbouncer: pgbouncer-1.5.ebuild ChangeLog
@ 2012-03-29 2:16 Aaron Swenson (titanofold)
0 siblings, 0 replies; only message in thread
From: Aaron Swenson (titanofold) @ 2012-03-29 2:16 UTC (permalink / raw
To: gentoo-commits
titanofold 12/03/29 02:16:04
Modified: ChangeLog
Added: pgbouncer-1.5.ebuild
Log:
Version bump. Fixes bug 405225.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Revision Changes Path
1.2 dev-db/pgbouncer/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgbouncer/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgbouncer/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgbouncer/ChangeLog?r1=1.1&r2=1.2
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/pgbouncer/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog 16 Nov 2011 04:17:36 -0000 1.1
+++ ChangeLog 29 Mar 2012 02:16:04 -0000 1.2
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/pgbouncer
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/pgbouncer/ChangeLog,v 1.1 2011/11/16 04:17:36 titanofold Exp $
+# 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 $
+
+*pgbouncer-1.5 (29 Mar 2012)
+
+ 29 Mar 2012; Aaron W. Swenson <titanofold@gentoo.org> +pgbouncer-1.5.ebuild:
+ Version bump. Fixes bug 405225.
*pgbouncer-1.4.2 (16 Nov 2011)
1.1 dev-db/pgbouncer/pgbouncer-1.5.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgbouncer/pgbouncer-1.5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/pgbouncer/pgbouncer-1.5.ebuild?rev=1.1&content-type=text/plain
Index: pgbouncer-1.5.ebuild
===================================================================
# 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.ebuild,v 1.1 2012/03/29 02:16:02 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."
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-29 2:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-29 2:16 [gentoo-commits] gentoo-x86 commit in dev-db/pgbouncer: pgbouncer-1.5.ebuild ChangeLog Aaron Swenson (titanofold)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox