diff options
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/pgbouncer/ChangeLog | 61 | ||||
-rw-r--r-- | dev-db/pgbouncer/Manifest | 5 | ||||
-rw-r--r-- | dev-db/pgbouncer/files/pgbouncer.initd | 34 | ||||
-rw-r--r-- | dev-db/pgbouncer/metadata.xml | 5 | ||||
-rw-r--r-- | dev-db/pgbouncer/pgbouncer-1.4.2.ebuild | 71 |
5 files changed, 0 insertions, 176 deletions
diff --git a/dev-db/pgbouncer/ChangeLog b/dev-db/pgbouncer/ChangeLog deleted file mode 100644 index 514fdec44..000000000 --- a/dev-db/pgbouncer/ChangeLog +++ /dev/null @@ -1,61 +0,0 @@ -# ChangeLog for dev-db/pgbouncer -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 19 Jun 2011; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - -pgbouncer-1.4.1.ebuild, +pgbouncer-1.4.2.ebuild: - Version bump - - 14 Apr 2011; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - -pgbouncer-1.4.ebuild, +pgbouncer-1.4.1.ebuild, files/pgbouncer.initd: - Version bump. Add eutils and some minor fixes to init, config - - 05 Feb 2011; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - -pgbouncer-1.3.4.ebuild, +pgbouncer-1.4.ebuild, - -files/modify-config-paths.patch, files/pgbouncer.initd: - Version bump - minor fixes to init and ebuild as well as removing custom - patch for a simple sed (makes version bumps less painful) - - 13 Sep 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - -pgbouncer-1.3.3.ebuild, +pgbouncer-1.3.4.ebuild, - files/modify-config-paths.patch: - Version bump - - 18 Jun 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - pgbouncer-1.3.3.ebuild: - Migrating away from deprecated postgres virtuals - - 17 Jun 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - pgbouncer-1.3.3.ebuild: - RESTRICT test suite - - 11 May 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - -pgbouncer-1.3.2.ebuild, +pgbouncer-1.3.3.ebuild: - Version bump - - 23 Mar 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - pgbouncer-1.3.2.ebuild: - Fix broken doc IUSE, install docs in proper dir - - 21 Mar 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - pgbouncer-1.3.2.ebuild: - Only use IUSE=doc for extra docs - - 18 Mar 2010; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - -pgbouncer-1.3.1.ebuild, +pgbouncer-1.3.2.ebuild, files/pgbouncer.initd: - Version bump. Add doc IUSE, minor change to init and adapt to EAPI=2 - - 12 Jul 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - -pgbouncer-1.3-r1.ebuild, +pgbouncer-1.3.1.ebuild: - Version bump, minor fixes - - 17 May 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - -pgbouncer-1.3.ebuild, +pgbouncer-1.3-r1.ebuild, - +files/modify-config-paths.patch, files/pgbouncer.initd: - New init script and fixes to the ebuild to reflect this. Also remove a typo - in RDEPEND - - 11 May 2009; Johan Bergström (jbergstroem) <bugs@bergstroem.nu> - +pgbouncer-1.3.ebuild, +files/pgbouncer.initd, +metadata.xml: - New ebuild for bug 243232 - thanks to gentoo-sunrise for all help - diff --git a/dev-db/pgbouncer/Manifest b/dev-db/pgbouncer/Manifest deleted file mode 100644 index ae50f4146..000000000 --- a/dev-db/pgbouncer/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX pgbouncer.initd 648 RMD160 1e63be977969304d304825bd31fa1dc7e001901d SHA1 a339c622ae2504f6114818c9bdf04ec835101c2d SHA256 fb0acf00f748069eabdf988b1967c845939ff1f54688a5e0cc65b44ea20524b4 -DIST pgbouncer-1.4.2.tgz 283204 RMD160 055796e23dd7029d3f4a2c882cf24399a5481cb1 SHA1 610198c3f2186d70267275f554e23bd43598e4b5 SHA256 e9916f08621f8ad4134840049a41783fa93d056905d445942f8aa1d2e5aa1eae -EBUILD pgbouncer-1.4.2.ebuild 1820 RMD160 49092525b723d813885eeb32fc776a8e27eebfa0 SHA1 c661ca638d4d09598cbc34d1e522a9e120a2fa7b SHA256 0411d62671811df36e28351d5e327cfb4cf68685cc2ad3dc125b61333eb99887 -MISC ChangeLog 2440 RMD160 cbd5921cf8ce1d3780cfe048f9cafa14395df2bf SHA1 c24f15cfd5d6b6606cde33c2296c7f0254a60cee SHA256 ef59c128dbd1898182ac6682b206baace6d9e5d547ea2ea4140995a36fa3a0ee -MISC metadata.xml 208 RMD160 c18611400760e42bdd001905be0a63c2e963bcea SHA1 595816105cac477cb85792a182e15888029118a1 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82 diff --git a/dev-db/pgbouncer/files/pgbouncer.initd b/dev-db/pgbouncer/files/pgbouncer.initd deleted file mode 100644 index ca8b8c95b..000000000 --- a/dev-db/pgbouncer/files/pgbouncer.initd +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/runscript - -PIDFILE=/var/run/pgbouncer/pgbouncer.pid - -opts="start stop reload" - -depend() { - need net - after postgresql -} - -start() { - mkdir -p /var/run/pgbouncer - chown pgbouncer:pgbouncer /var/run/pgbouncer - - ebegin "Starting pgbouncer" - - start-stop-daemon --start --pidfile ${PIDFILE} \ - --exec /usr/bin/pgbouncer -- -q -d -u pgbouncer /etc/pgbouncer.conf - eend $? "Failed to start pgbouncer" -} - -stop() { - ebegin "Stopping pgbouncer" - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} - eend $? -} - -reload() { - ebegin "Gracefully reloading pgbouncer" - start-stop-daemon --stop --oknodo --signal HUP \ - --pidfile ${PIDFILE} - eend $? -} diff --git a/dev-db/pgbouncer/metadata.xml b/dev-db/pgbouncer/metadata.xml deleted file mode 100644 index 31dc017fa..000000000 --- a/dev-db/pgbouncer/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer> -</pkgmetadata> diff --git a/dev-db/pgbouncer/pgbouncer-1.4.2.ebuild b/dev-db/pgbouncer/pgbouncer-1.4.2.ebuild deleted file mode 100644 index b0dc8863d..000000000 --- a/dev-db/pgbouncer/pgbouncer-1.4.2.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="2" - -inherit eutils - -RESTRICT="test" - -DESCRIPTION="Lightweight connection pooler for PostgreSQL" -HOMEPAGE="http://pgfoundry.org/projects/pgbouncer/" -SRC_URI="http://pgfoundry.org/frs/download.php/3085/${P}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug doc" - -DEPEND="dev-db/postgresql-base - dev-libs/libevent" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup pgbouncer - enewuser pgbouncer -1 -1 -1 pgbouncer -} - -src_prepare() { - 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 = /var/run/${PN}/${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 || die "Install failed" - - insinto /etc - newins etc/pgbouncer.ini pgbouncer.conf || die "Install failed" - newinitd "${FILESDIR}"/pgbouncer.initd "${PN}" || die "Install failed" - - dodoc README NEWS AUTHORS || die "Install failed" - if use doc ; then - dodoc doc/*.txt || die "Install failed" - fi - - dodir /var/{run,log}/pgbouncer/ - fperms 0700 /var/{run,log}/pgbouncer/ - fowners pgbouncer:pgbouncer /var/{run,log}/pgbouncer/ -} - -pkg_postinst() { - einfo "Please read the config.txt for Configuration Directives" - einfo - einfo "See 'man pgbouncer' for Administration Commands" - einfo - einfo "By default, PgBouncer does not have access to any databases." - einfo "Create on with permissions needed for your application and" - einfo "make sure that it exists in pgbouncer's auth_file." -} |