1 |
commit: 96fb4f98f5c23f3454f501efae669f7584f98568 |
2 |
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 12 15:31:54 2017 +0000 |
4 |
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 17 15:40:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96fb4f98 |
7 |
|
8 |
app-eselect/eselect-postgresql: Bug Fixes and Enhancements |
9 |
|
10 |
Version 2.0 is capable of handling the upcoming change in versioning |
11 |
for PostgreSQL. |
12 |
|
13 |
Links to pkg-config files of the selected slot are now created and |
14 |
managed by this module. |
15 |
|
16 |
Links to the man pages for the selected slot are now created and |
17 |
managed by this module. Slot-specific man pages are handled by the |
18 |
ebuilds. |
19 |
|
20 |
This version is stateless. It does not need to store any files to |
21 |
determine which slots and links are in use. |
22 |
|
23 |
Bugs: 597564, 512236, 564512 |
24 |
|
25 |
Package-Manager: portage-2.3.0 |
26 |
|
27 |
app-eselect/eselect-postgresql/Manifest | 1 + |
28 |
.../eselect-postgresql-2.0.ebuild | 25 ++++++++++++++++++++++ |
29 |
2 files changed, 26 insertions(+) |
30 |
|
31 |
diff --git a/app-eselect/eselect-postgresql/Manifest b/app-eselect/eselect-postgresql/Manifest |
32 |
index 923db4ac704..fab7f53cfe0 100644 |
33 |
--- a/app-eselect/eselect-postgresql/Manifest |
34 |
+++ b/app-eselect/eselect-postgresql/Manifest |
35 |
@@ -1 +1,2 @@ |
36 |
DIST eselect-postgresql-1.2.1.tbz2 3645 SHA256 661ef3cbb1627798af3c8d6c526f4a6367620a5fef08c287a633e1babf43f938 SHA512 9b24cb7620dd3de979ef595c60ebf607cd9da5c7d3c4da19ebe242c25961883e2db54341f916690abb9fe7a76663d9f1ac73fc76c90389f72eff425aa6fb43e4 WHIRLPOOL e7ef4f3d250f4f345d28bccdd43fa1639b8ed80b9f6a4aabd4f7df5f4337845ee0f4ce653fde596209094b01fc0e5c624872affbfa042382f3963a49d600827f |
37 |
+DIST eselect-postgresql-2.0.tbz2 4326 SHA256 8f56309350f91abaa98eeead42dbd6b186b858f25f207010fe9d10271c754f55 SHA512 bc72d752bc4b2d8f3c255d446253143ff0036f6ca1a0c10eb19e23b8242bd5a912272298034279a6f9ca50c13fccbb6b89c79ed647f762a2ccb36f416060cd87 WHIRLPOOL 9fced29136ee861a78651905329d6a3156bfdbdf61427accc7aa5ac33e934c97e6f673d7a3f5b634d020be01ff0f0533218b8d9d3b83253963f32eae8d82f004 |
38 |
|
39 |
diff --git a/app-eselect/eselect-postgresql/eselect-postgresql-2.0.ebuild b/app-eselect/eselect-postgresql/eselect-postgresql-2.0.ebuild |
40 |
new file mode 100644 |
41 |
index 00000000000..78161c8e52d |
42 |
--- /dev/null |
43 |
+++ b/app-eselect/eselect-postgresql/eselect-postgresql-2.0.ebuild |
44 |
@@ -0,0 +1,25 @@ |
45 |
+# Copyright 1999-2017 Gentoo Foundation |
46 |
+# Distributed under the terms of the GNU General Public License v2 |
47 |
+ |
48 |
+EAPI="6" |
49 |
+ |
50 |
+DESCRIPTION="Utility to select the default PostgreSQL slot" |
51 |
+HOMEPAGE="http://www.gentoo.org/" |
52 |
+SRC_URI="http://dev.gentoo.org/~titanofold/${P}.tbz2" |
53 |
+LICENSE="GPL-2" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-macos ~x86-solaris" |
56 |
+IUSE="" |
57 |
+ |
58 |
+RDEPEND="app-admin/eselect" |
59 |
+ |
60 |
+src_install() { |
61 |
+ insinto /usr/share/eselect/modules |
62 |
+ doins postgresql.eselect |
63 |
+ |
64 |
+ dosym /usr/bin/eselect /usr/bin/postgresql-config |
65 |
+} |
66 |
+ |
67 |
+pkg_postinst() { |
68 |
+ postgresql-config update |
69 |
+} |