summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron W. Swenson <titanofold@gentoo.org>2011-09-07 12:54:21 +0000
committerAaron W. Swenson <titanofold@gentoo.org>2011-09-07 12:54:21 +0000
commit8b47081a620683e2f6d1212a3e4e7c7e09cd50fc (patch)
treeafc97256cd9de504abd8e2c102ae77167a243f41 /app-admin
parentRemoved older versions (diff)
downloadgentoo-2-8b47081a620683e2f6d1212a3e4e7c7e09cd50fc.tar.gz
gentoo-2-8b47081a620683e2f6d1212a3e4e7c7e09cd50fc.tar.bz2
gentoo-2-8b47081a620683e2f6d1212a3e4e7c7e09cd50fc.zip
Removed outdated as they don't work as they should.
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/eselect-postgresql/ChangeLog7
-rw-r--r--app-admin/eselect-postgresql/eselect-postgresql-0.3.ebuild74
-rw-r--r--app-admin/eselect-postgresql/eselect-postgresql-0.4.ebuild77
-rw-r--r--app-admin/eselect-postgresql/files/50postgresql-eselect1
4 files changed, 6 insertions, 153 deletions
diff --git a/app-admin/eselect-postgresql/ChangeLog b/app-admin/eselect-postgresql/ChangeLog
index 74de465ac85b..4051a88bb385 100644
--- a/app-admin/eselect-postgresql/ChangeLog
+++ b/app-admin/eselect-postgresql/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/eselect-postgresql
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-postgresql/ChangeLog,v 1.26 2011/08/07 15:44:47 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-postgresql/ChangeLog,v 1.27 2011/09/07 12:54:21 titanofold Exp $
+
+ 07 Sep 2011; Aaron W. Swenson <titanofold@gentoo.org>
+ -files/50postgresql-eselect, -eselect-postgresql-0.3.ebuild,
+ -eselect-postgresql-0.4.ebuild:
+ Removed outdated as they don't work as they should.
07 Aug 2011; Jeroen Roovers <jer@gentoo.org>
eselect-postgresql-1.0.10.ebuild:
diff --git a/app-admin/eselect-postgresql/eselect-postgresql-0.3.ebuild b/app-admin/eselect-postgresql/eselect-postgresql-0.3.ebuild
deleted file mode 100644
index 8d9063d13788..000000000000
--- a/app-admin/eselect-postgresql/eselect-postgresql-0.3.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-postgresql/eselect-postgresql-0.3.ebuild,v 1.11 2010/04/25 19:55:00 armin76 Exp $
-
-inherit multilib
-
-DESCRIPTION="Utility to change the default postgresql installation"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI="mirror://gentoo/${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
- doenvd "${FILESDIR}/50postgresql-eselect"
-
- insinto /usr/share/eselect/modules
- doins postgresql.eselect
- sed -i \
- -e "s|/usr/lib/|/usr/$(get_libdir)/|g" \
- "${D}/usr/share/eselect/modules/postgresql.eselect"
-
- exeinto /usr/$(get_libdir)/${PN}
- doexe "binwrapper"
-
- dodir /usr/bin
- dosym /usr/bin/eselect /usr/bin/postgresql-config
-}
-
-pkg_preinst() {
- local ff=""
- for f in "${ROOT}"/usr/include/{postgresql,libpq-fe.h,libpq,postgres_ext.h} ; do
- [[ -e "${f}" ]] || continue
- [[ -L "${f}" ]] && continue
- if [[ -d "${f}" ]] ; then
- if [[ -z "$(find \"${f}\" -not \( -type l -or -type d \))" ]] ; then
- rm -rf "${f}"
- else
- ff="$ff $f"
- fi
- else
- ff="$ff $f"
- fi
- done
- if [[ ! -z "$ff" ]] ; then
- eerror "You have leftovers from previous postgresql installations that"
- eerror "can't be dealt with automatically. The proper way to treat"
- eerror "files is:"
- eerror ""
- eerror "rm -rf ${ff}"
- eerror ""
- die "Please, remove the files manually"
- fi
-}
-
-pkg_postinst() {
- elog "This eselect module can be used to define which PostgreSQL version is being used"
- elog "to link against and which (major) version of PostgreSQL is being started by the init-system"
- elog "when an init.d file lists 'need postgresql' or 'use postgresql' in its dependencies."
- elog
- elog "For users of the 'postgresql' overlay:"
- elog "In case you have dev-db/postgresql-{base,server} installed but 'eselect postgresql list'"
- elog "doesn't anything, please re-install dev-db/postgresql-{base,server} since we had to move"
- elog "around some stuff. Sorry for the inconvenience."
- elog
- elog "Please make sure that you use the new postgresql ebuilds (dev-db/postgresql-{base,server})."
- elog "This eselect module won't list the old dev-db/{postgresql,libpq} installations as available"
- elog "libraries or services."
-}
diff --git a/app-admin/eselect-postgresql/eselect-postgresql-0.4.ebuild b/app-admin/eselect-postgresql/eselect-postgresql-0.4.ebuild
deleted file mode 100644
index 6c4fc2f90439..000000000000
--- a/app-admin/eselect-postgresql/eselect-postgresql-0.4.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-postgresql/eselect-postgresql-0.4.ebuild,v 1.1 2010/06/02 18:26:49 patrick Exp $
-
-EAPI=2
-
-inherit multilib
-
-DESCRIPTION="Utility to change the default postgresql installation"
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI="http://gentooexperimental.org/~patrick/${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
- doenvd "${FILESDIR}/50postgresql-eselect"
-
- insinto /usr/share/eselect/modules
- doins postgresql.eselect
- sed -i \
- -e "s|/usr/lib/|/usr/$(get_libdir)/|g" \
- "${D}/usr/share/eselect/modules/postgresql.eselect"
-
- exeinto /usr/$(get_libdir)/${PN}
- doexe "binwrapper"
-
- dodir /usr/bin
- dosym /usr/bin/eselect /usr/bin/postgresql-config
-}
-
-pkg_preinst() {
- local ff=""
- for f in "${ROOT}"/usr/include/{postgresql,libpq-fe.h,libpq,postgres_ext.h,pg_config_manual.h} ; do
- [[ -e "${f}" ]] || continue
- [[ -L "${f}" ]] && continue
- if [[ -d "${f}" ]] ; then
- if [[ -z "$(find \"${f}\" -not \( -type l -or -type d \))" ]] ; then
- rm -rf "${f}"
- else
- ff="$ff $f"
- fi
- else
- ff="$ff $f"
- fi
- done
- if [[ ! -z "$ff" ]] ; then
- eerror "You have leftovers from previous postgresql installations that"
- eerror "can't be dealt with automatically. The proper way to treat"
- eerror "files is:"
- eerror ""
- eerror "rm -rf ${ff}"
- eerror ""
- die "Please, remove the files manually"
- fi
-}
-
-pkg_postinst() {
- elog "This eselect module can be used to define which PostgreSQL version is being used"
- elog "to link against and which (major) version of PostgreSQL is being started by the"
- elog "init-system when an init.d file lists 'need postgresql' or 'use postgresql' in"
- elog "its dependencies."
- elog
- elog "For users of the 'postgresql' overlay: In case you have"
- elog "dev-db/postgresql-{base,server} installed but 'eselect postgresql list' doesn't"
- elog "anything, please re-install dev-db/postgresql-{base,server} since we had to move"
- elog "around some stuff. Sorry for the inconvenience."
- elog
- elog "Please make sure that you use the new postgresql ebuilds"
- elog "(dev-db/postgresql-{base,server}). This eselect module won't list the old"
- elog "dev-db/{postgresql,libpq} installations as available libraries or services."
-}
diff --git a/app-admin/eselect-postgresql/files/50postgresql-eselect b/app-admin/eselect-postgresql/files/50postgresql-eselect
deleted file mode 100644
index 05f9b9d08185..000000000000
--- a/app-admin/eselect-postgresql/files/50postgresql-eselect
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_PROTECT_MASK="/etc/eselect/postgresql"