From f9878aaef44ce9ff007e40cabb8978cd29a068ed Mon Sep 17 00:00:00 2001 From: Tiziano Müller Date: Thu, 10 Apr 2008 13:13:06 +0000 Subject: app-admin/eselect-postgresql: Added some instructions. Added an env.d file to mask /etc/eselect/postgresql. Fixed some multilib bugs (forgotten ${D}). Create relative symlinks instead of absolute ones. Keep slot-files in /etc/eselect/postgresql/slots instead of /usr to avoid problems with having /usr on a separate volume. svn path=/experimental/; revision=359 --- app-admin/eselect-postgresql/ChangeLog | 9 +++ app-admin/eselect-postgresql/Manifest | 7 +- .../eselect-postgresql-0.2.ebuild | 57 ----------------- .../eselect-postgresql-0.3.ebuild | 74 ++++++++++++++++++++++ .../eselect-postgresql/files/50postgresql-eselect | 1 + .../eselect-postgresql/files/postgresql.eselect | 15 ++--- 6 files changed, 95 insertions(+), 68 deletions(-) delete mode 100644 app-admin/eselect-postgresql/eselect-postgresql-0.2.ebuild create mode 100644 app-admin/eselect-postgresql/eselect-postgresql-0.3.ebuild create mode 100644 app-admin/eselect-postgresql/files/50postgresql-eselect diff --git a/app-admin/eselect-postgresql/ChangeLog b/app-admin/eselect-postgresql/ChangeLog index 4e27866..ff89175 100644 --- a/app-admin/eselect-postgresql/ChangeLog +++ b/app-admin/eselect-postgresql/ChangeLog @@ -2,6 +2,15 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 10 Apr 2008; Tiziano Müller + +files/50postgresql-eselect, -eselect-postgresql-0.2.ebuild, + +eselect-postgresql-0.3.ebuild, files/postgresql.eselect: + Added some instructions. Added an env.d file to mask + /etc/eselect/postgresql. Fixed some multilib bugs (forgotten ${D}). Create + relative symlinks instead of absolute ones. Keep slot-files in + /etc/eselect/postgresql/slots instead of /usr to avoid problems with having + /usr on a separate volume. + 19 Mar 2008; Tiziano Müller eselect-postgresql-0.2.ebuild: Added quotes diff --git a/app-admin/eselect-postgresql/Manifest b/app-admin/eselect-postgresql/Manifest index fad0191..15b90e0 100644 --- a/app-admin/eselect-postgresql/Manifest +++ b/app-admin/eselect-postgresql/Manifest @@ -1,4 +1,5 @@ +AUX 50postgresql-eselect 46 RMD160 d7cdbde94df59d4ef758015304654a879fef6e72 SHA1 ac56ae31172f4916107c289c47463f6ddcc80d41 SHA256 3aa6dd48312eb63e181c46012a918e7744365949d58f76a73823592e32de06fc AUX binwrapper 515 RMD160 774f14cc09d6534800e91845e2c4b40b9911af11 SHA1 b9598d625312383768236571a72bf9b0dddf498b SHA256 99d4774e841f0057fdbf141b9b123975939eac1e5ab6e711d08c44b4adc2b4d1 -AUX postgresql.eselect 7058 RMD160 e9b2af5facf429ce03789a6c90daf6b04ede558d SHA1 04b614f2020d0c286acc3d6f1e9fc59b5eec80ff SHA256 d80099016728799cc23445019b623505834c899a91bca4695d38d888bfaed11f -EBUILD eselect-postgresql-0.2.ebuild 1436 RMD160 4bfb011083d8020986e8245a4aacf699de7086a7 SHA1 4d3ae15ad697a24d476bc16f653594b8b8ead2ff SHA256 3d180ed81aea764b76121ecec2f45287ed5b608ff34cb41c6acbc4b81e14d958 -MISC ChangeLog 231 RMD160 366afe6ba8effbb8ccc0cc000379dc18207d3bde SHA1 c388a1c619ea00fd45cc4f962db1fa70c05ab9ca SHA256 48951655cadf9916b0763e44d2fafa897ff0c08bae11d42b7f17be86872e74ee +AUX postgresql.eselect 7001 RMD160 16f49bf9577d85b89f200a90eaddcbc911929b6c SHA1 c3a1b7b0f3684c55e8799366d397fb517b3b4503 SHA256 9c287e5119806c58355c356b14667ea37d1b2e4e0263fbbe79bcf7978d719946 +EBUILD eselect-postgresql-0.3.ebuild 2340 RMD160 94448ec91ca17fc77c3b4fcc58d6b48921dc2586 SHA1 f48d4888195fd8c0bfa6755edd1b8becc40441d8 SHA256 6593d32b584bc6086df4d19fcab6d961adbfc50d8f9791861e16c1b040554ba8 +MISC ChangeLog 712 RMD160 779d3e4df6bfdff85128a496a03c8f2085a10439 SHA1 fff24c635dfe0d0ad48ce0a809001f8217d6a470 SHA256 fb529eb35f247e3572cbf1166fc0d790f5c74d95e402840d88bf4f12bb4e4e9c diff --git a/app-admin/eselect-postgresql/eselect-postgresql-0.2.ebuild b/app-admin/eselect-postgresql/eselect-postgresql-0.2.ebuild deleted file mode 100644 index abcb951..0000000 --- a/app-admin/eselect-postgresql/eselect-postgresql-0.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit multilib - -DESCRIPTION="Utility to change the default postgresql installation" -HOMEPAGE="http://www.gentoo.org/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" -IUSE="" - -RDEPEND="app-admin/eselect - !/dev/null || die "Failed to create /etc/eselect/postgresql" exec 9>/etc/eselect/postgresql/active.links || die "Failed to store list of links" - rm -f /etc/eselect/postgresql/active - ln -s "${slotdir}" /etc/eselect/postgresql/active + ln -sf slots/${1} /etc/eselect/postgresql/active for (( i=0;i/dev/null || die "Failed to create /etc/eselect/postgresql" rm -f /etc/eselect/postgresql/service - ln -s "${slotdir}" /etc/eselect/postgresql/service + ln -sf slots/${1} /etc/eselect/postgresql/service touch /etc/conf.d/${p_service} } ## }}} @@ -239,7 +238,7 @@ VERSION=$(svn_date_to_version "${SVN_DATE}" ) do_update() { # collect all binaries names local binaries="$(( - for s in /usr/lib/eselect-postgresql/slots/* ; do + for s in /etc/eselect/postgresql/slots/* ; do [[ -d "$s" ]] || continue; local slot=$(basename $s) for src in ${s}/* ; do -- cgit v1.2.3-65-gdbad