# 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:
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX 50postgresql-eselect 46 RMD160 d7cdbde94df59d4ef758015304654a879fef6e72 SHA1 ac56ae31172f4916107c289c47463f6ddcc80d41 SHA256 3aa6dd48312eb63e181c46012a918e7744365949d58f76a73823592e32de06fc
-DIST eselect-postgresql-0.3.tbz2 2410 RMD160 d806bbdc730f74163135a3d5249bdb92b333893a SHA1 5d41e82b63c9b02d2b9f9c0cc5c5af761b4acb49 SHA256 1e3ab1d0a2c2612c32d7d5ea80720d0fd1e0440ef5e6bf4f86f7dcc1abf1109e
-DIST eselect-postgresql-0.4.tbz2 2370 RMD160 eb868b5aa999899883e5989f0035a037b9d4db1d SHA1 d5e00bb35a697ffe006d8b16203f99a96eee8e22 SHA256 a75eb5b86444f3200d7b99193c5a61eda310cb9f87cba4d01ecbcf658576c375
DIST eselect-postgresql-1.0.10.tbz2 3323 RMD160 d9cfe51547afa518448635ca4bfd8a1270ed2367 SHA1 9454d5851fb9ece727ea93eb00b44a779105b2e5 SHA256 9772bd58942fbabb77f3884c9ebcd669347c052be388d15b58d2b1c9b2fb8139
-EBUILD eselect-postgresql-0.3.ebuild 2441 RMD160 ffc741ae41c128c0cd87369685825213f9a24340 SHA1 66aba18d96824d73f41b1d691b8454aa612dd4b7 SHA256 bdb2b42fa258739a7c25192b1748c172647e57750b7d28fd732bd158bc807fae
-EBUILD eselect-postgresql-0.4.ebuild 2511 RMD160 09ab1a450b0c603cd1b3d1bce4e400a68f00239e SHA1 6fc360dc0b20fee2abc004ea5882ee87d8bcb9b0 SHA256 c263d57ab38daaf56fd8912afbc4eb53287ad203eaf663d811c1a732abdfd76f
EBUILD eselect-postgresql-1.0.10.ebuild 1110 RMD160 f55db8e4c12a06c77777ff19127a5914aaaa44fb SHA1 69564bc4d2cc4689baea57c155b958e1cb360757 SHA256 8b4f0bcdc408312c74c0aee97f008047e79d3685f53b7cbc94057bfb1688f9be
-MISC ChangeLog 4989 RMD160 7c7a7bcd6c56bf8e0895f462cf04dbce7d60c42c SHA1 d25e5f9a2755b8de6cdd0c21f94dfd88cca12593 SHA256 d692637a6ae90d8839871fa1884d3862483c2c8b58997a1ae24fec0dca60c550
+MISC ChangeLog 5204 RMD160 6cef7f5db95da3d7f0e9c2e4f6bead04bee01a70 SHA1 0005acd2cea19fc08b96b175fc0525a581c35cfe SHA256 0096307f5c65e62d06e083741ed9ba7e473341ab338d150dad245dcd008a13cf
MISC metadata.xml 316 RMD160 4d61de0feb9717f2eaced030848f38e5f4bacfc5 SHA1 063accdd5f46535776fa5c1fdeb6c756fb862103 SHA256 0dc4feca2d41c1c3890800c58698965555560d51c15418a0637463065e9e1696
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4+svQACgkQVWmRsqeSphNuTQCfRI/T11Zj6wIG6aiMW3rWNmFu
-KVAAnAvvV57omubv2ALTl1h9NBBBEvf9
-=8lUK
+iF4EAREIAAYFAk5naYIACgkQCOhwUhu5AEk5BQEAm7GXqJd5PQwULG2rUbfb1Zr9
+RxEH+8D8ZMU/NbAz3/cA/3q+Qu6Gs0A9btMM24C+WRrQCFBrx9DhKEsFw0vfX2FM
+=feLe
-----END PGP SIGNATURE-----
+++ /dev/null
-# 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."
-}
+++ /dev/null
-# 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."
-}
+++ /dev/null
-CONFIG_PROTECT_MASK="/etc/eselect/postgresql"