summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheracles <heracles@localhost>2007-03-22 20:02:12 +0000
committerheracles <heracles@localhost>2007-03-22 20:02:12 +0000
commit789fdf397462915c86996643f85218783782d4e8 (patch)
tree09b9c0189e5bc4667d485a955d2eb78fd6155aa8 /app-admin
parentapp-admin/eselect-postgresql: fix for set-service not to reset anything else (diff)
downloadexperimental-789fdf397462915c86996643f85218783782d4e8.tar.gz
experimental-789fdf397462915c86996643f85218783782d4e8.tar.bz2
experimental-789fdf397462915c86996643f85218783782d4e8.zip
app-admin/eselect-postgresql: minor adjustments an enhancements to eselest
svn path=/experimental/; revision=242
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/eselect-postgresql/Manifest8
-rw-r--r--app-admin/eselect-postgresql/files/postgresql.eselect42
2 files changed, 43 insertions, 7 deletions
diff --git a/app-admin/eselect-postgresql/Manifest b/app-admin/eselect-postgresql/Manifest
index 55b41c0..bdbe591 100644
--- a/app-admin/eselect-postgresql/Manifest
+++ b/app-admin/eselect-postgresql/Manifest
@@ -2,10 +2,10 @@ AUX binwrapper 515 RMD160 774f14cc09d6534800e91845e2c4b40b9911af11 SHA1 b9598d62
MD5 5f952f5a5b44bdc6f6cbc4381f6eee86 files/binwrapper 515
RMD160 774f14cc09d6534800e91845e2c4b40b9911af11 files/binwrapper 515
SHA256 99d4774e841f0057fdbf141b9b123975939eac1e5ab6e711d08c44b4adc2b4d1 files/binwrapper 515
-AUX postgresql.eselect 7144 RMD160 bdde248678dadb6d8b33450653df8845dbfb66fc SHA1 d8ad54c7e99848d2ed6ef3a13578f5bf7b223e94 SHA256 3c4ec25d9d77d58a31510f4d92859ef737b64e4aff7b02411999468accf1c30d
-MD5 36bf38a29f9ec02bc118a3b5b121542a files/postgresql.eselect 7144
-RMD160 bdde248678dadb6d8b33450653df8845dbfb66fc files/postgresql.eselect 7144
-SHA256 3c4ec25d9d77d58a31510f4d92859ef737b64e4aff7b02411999468accf1c30d files/postgresql.eselect 7144
+AUX postgresql.eselect 7666 RMD160 18aab868f5e6cc198bffd67460c0fcfa4d33aeba SHA1 e594aad4206b77f69ceee09b178394c6f3a7fd8a SHA256 42f38a2d98765691dba2a714f07b8f93a31dbeb56cbe473dbac7d1440b670420
+MD5 e79cba5d07197088b59d9bfad7ee1430 files/postgresql.eselect 7666
+RMD160 18aab868f5e6cc198bffd67460c0fcfa4d33aeba files/postgresql.eselect 7666
+SHA256 42f38a2d98765691dba2a714f07b8f93a31dbeb56cbe473dbac7d1440b670420 files/postgresql.eselect 7666
EBUILD eselect-postgresql-0.1.ebuild 763 RMD160 335fbc42af875fd17a4c39a3b364a20624312aa7 SHA1 bca26b5746098990c80bfd80e525ca65a2a38446 SHA256 6d964c87ce7fa8809102f5e14034e81d024855d07b62b254a5ec306f19524f76
MD5 c462981b1c7320f45bc486d057fe1e14 eselect-postgresql-0.1.ebuild 763
RMD160 335fbc42af875fd17a4c39a3b364a20624312aa7 eselect-postgresql-0.1.ebuild 763
diff --git a/app-admin/eselect-postgresql/files/postgresql.eselect b/app-admin/eselect-postgresql/files/postgresql.eselect
index faa0b64..292905a 100644
--- a/app-admin/eselect-postgresql/files/postgresql.eselect
+++ b/app-admin/eselect-postgresql/files/postgresql.eselect
@@ -27,7 +27,7 @@ VERSION=$(svn_date_to_version "${SVN_DATE}" )
done
local kw="${slot}"
if [[ "$(canonicalise /etc/eselect/postgresql/active)" = "$(canonicalise ${s})" ]] ; then
- kw="$kw <-C"
+ kw="$kw <-*"
fi
if [[ "$(canonicalise /etc/eselect/postgresql/server)" = "$(canonicalise ${s})" ]] ; then
kw="$kw <-S"
@@ -41,7 +41,7 @@ VERSION=$(svn_date_to_version "${SVN_DATE}" )
## {{{
describe_show() {
- echo "Show current postgresql version"
+ echo "Show currently selected PostgreSQL installation"
}
do_show() {
if [[ -r "/etc/eselect/postgresql/active" ]] ; then
@@ -54,6 +54,18 @@ VERSION=$(svn_date_to_version "${SVN_DATE}" )
}
## }}}
+### show-all action
+
+## {{{
+ describe_show-all() {
+ echo "Show currently selected PostgreSQL service"
+ }
+ do_show-all() {
+ echo "Utilities: $(do_show)"
+ echo "Service: $(do_show-service)"
+ }
+## }}}
+
# show-service action
## {{{
@@ -148,6 +160,19 @@ VERSION=$(svn_date_to_version "${SVN_DATE}" )
}
## }}}
+### set-all action
+
+## {{{
+ describe_set-all() {
+ echo "Set both active postgresql and corresponding service"
+ }
+
+ do_set-all() {
+ do_set "$@"
+ do_set-service "$@"
+ }
+## }}}
+
### reset action
@@ -199,7 +224,6 @@ VERSION=$(svn_date_to_version "${SVN_DATE}" )
fi
done
fi
- rm -f /etc/eselect/postgresql/{active,active.links}
fi
}
## }}}
@@ -220,6 +244,18 @@ VERSION=$(svn_date_to_version "${SVN_DATE}" )
}
## }}}
+### reset-all action
+
+## {{{
+ describe_reset-all() {
+ echo "Reset both selected PostgreSQL and PostgreSQL serice"
+ }
+
+ do_reset-all() {
+ do_reset
+ do_reset-service
+ }
+## }}}
## {{{
describe_update() {