summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2011-03-19 21:58:13 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2011-03-19 21:58:13 +0000
commitf008e43ec923b5fa8efb1ec229d05ee5e1809af1 (patch)
tree91c4b82738d7f8471ab58f32e8d397f0f9fd1f09 /app-admin/eselect-postgresql
parentx86 stable per bug 357139 (diff)
downloadgentoo-2-f008e43ec923b5fa8efb1ec229d05ee5e1809af1.tar.gz
gentoo-2-f008e43ec923b5fa8efb1ec229d05ee5e1809af1.tar.bz2
gentoo-2-f008e43ec923b5fa8efb1ec229d05ee5e1809af1.zip
Adding eselect-postgresql-1.0.3.ebuild. Rewrite of module. Should fix bugs
292122, 327441, 352147, 359361. (Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'app-admin/eselect-postgresql')
-rw-r--r--app-admin/eselect-postgresql/ChangeLog11
-rw-r--r--app-admin/eselect-postgresql/eselect-postgresql-1.0.3.ebuild30
2 files changed, 39 insertions, 2 deletions
diff --git a/app-admin/eselect-postgresql/ChangeLog b/app-admin/eselect-postgresql/ChangeLog
index dbb78e90b391..55587d9a7804 100644
--- a/app-admin/eselect-postgresql/ChangeLog
+++ b/app-admin/eselect-postgresql/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/eselect-postgresql
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-postgresql/ChangeLog,v 1.11 2010/06/02 18:26:49 patrick Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-postgresql/ChangeLog,v 1.12 2011/03/19 21:58:13 titanofold Exp $
+
+*eselect-postgresql-1.0.3 (19 Mar 2011)
+
+ 19 Mar 2011; Mr. Aaron W. Swenson (TitanOfOld) <titanofold@gentoo.org>
+ +eselect-postgresql-1.0.3.ebuild:
+
+ Rewrite of module. Should fix bugs #292122, 327441, 352147, 359361.
*eselect-postgresql-0.4 (02 Jun 2010)
diff --git a/app-admin/eselect-postgresql/eselect-postgresql-1.0.3.ebuild b/app-admin/eselect-postgresql/eselect-postgresql-1.0.3.ebuild
new file mode 100644
index 000000000000..024a553d4574
--- /dev/null
+++ b/app-admin/eselect-postgresql/eselect-postgresql-1.0.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-postgresql/eselect-postgresql-1.0.3.ebuild,v 1.1 2011/03/19 21:58:13 titanofold Exp $
+
+EAPI="4"
+
+DESCRIPTION="Utility to select the default PostgreSQL slot"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="http://dev.gentoo.org/~titanofold/${P}.tbz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+RDEPEND="app-admin/eselect
+ !!dev-db/libpq"
+
+src_install() {
+ keepdir /etc/eselect/postgresql
+
+ insinto /usr/share/eselect/modules
+ doins postgresql.eselect
+
+ dosym /usr/bin/eselect /usr/bin/postgresql-config
+}
+
+pkg_postinst() {
+ elog "You need to set your default slot:"
+ elog " eselect postgresql set <slot>"
+}