Gentoo Archives: gentoo-commits

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/oracle-instantclient-sqlplus/
Date: Mon, 09 Jul 2018 19:52:54
Message-Id: 1531165918.031749e2097c979c0860d7d44f544cf8fae73e1e.haubi@gentoo
1 commit: 031749e2097c979c0860d7d44f544cf8fae73e1e
2 Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 9 19:49:06 2018 +0000
4 Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 9 19:51:58 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=031749e2
7
8 Revert "dev-db/oracle-instantclient-sqlplus: cleanup old"
9
10 This reverts commit 81f2b535a3defef03329a38d529b28d480a78d9a.
11
12 There have been stable keywords around.
13
14 dev-db/oracle-instantclient-sqlplus/Manifest | 4 ++
15 ...oracle-instantclient-sqlplus-11.2.0.3-r1.ebuild | 71 ++++++++++++++++++++++
16 .../oracle-instantclient-sqlplus-11.2.0.3.ebuild | 69 +++++++++++++++++++++
17 .../oracle-instantclient-sqlplus-11.2.0.4.ebuild | 71 ++++++++++++++++++++++
18 4 files changed, 215 insertions(+)
19
20 diff --git a/dev-db/oracle-instantclient-sqlplus/Manifest b/dev-db/oracle-instantclient-sqlplus/Manifest
21 new file mode 100644
22 index 00000000000..6a0c1821c8b
23 --- /dev/null
24 +++ b/dev-db/oracle-instantclient-sqlplus/Manifest
25 @@ -0,0 +1,4 @@
26 +DIST instantclient-sqlplus-linux-11.2.0.3.0.zip 796570 BLAKE2B 0492185103d5fb36f3acb8f52e937fca35bb8b7308eb9317d43f25f4fbde39f15b8b6de0fc9065d04c809a94731c7c011dcac1daf4e734405d065d9959cf215f SHA512 241d812b3955b11efba7764f463417e79dd973ce7ad0624144e661403b71b1c4fb091c6e42d05759eaf74355dfe432970375064d4018cae9ae67cd1401095460
27 +DIST instantclient-sqlplus-linux-11.2.0.4.0.zip 792608 BLAKE2B c3e8f0843700df9f95428b01520400d95076df5e19169f2a79982293e54ce6cc74321de0f34a0e7865d5d29535e38b60bcca127be06343c979a40985bf349012 SHA512 8f5ff27043a036eab038080bbdc056325cc2c197e12de34e74a8da17bf69b44e4fd4200b638881d86fdf1dc1450d8e1d033daaa56386bd2c8784d556ba0093ce
28 +DIST instantclient-sqlplus-linux.x64-11.2.0.3.0.zip 837574 BLAKE2B c1f123b68b60f211843af954e33922e46d05ff89ce68e8357a8839e7fce83cccc31ab3f16b87204343376657839fd582fb2c80be3148cc34f2340191ed261526 SHA512 55bbac5e8267a4de2c7f9f6750f0e38dcf7c775bccc2e1e05df7fda9e6ffa7d394776e605980d8b67176acf52ba88f2dcaa959934740a1ca6f91d10b12d14024
29 +DIST instantclient-sqlplus-linux.x64-11.2.0.4.0.zip 834491 BLAKE2B 487091d97c0f2ec383018c39a957c8a27b030c4c8754a6c2714237dc875b89b250b47dbd28ca228a98c6199323ddd031452e1cc90c60824fbcca536aa38bff1f SHA512 b7180b5667e604564cf379b9eb55a2fc8994b87cfb993e728b4c1bdd297cab134a55580018429bdbb2b101ebdf8a350bacc1ddf5a30e1cc419092054c79a108b
30
31 diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.3-r1.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.3-r1.ebuild
32 new file mode 100644
33 index 00000000000..2af3e70ae26
34 --- /dev/null
35 +++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.3-r1.ebuild
36 @@ -0,0 +1,71 @@
37 +# Copyright 1999-2013 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI="4"
41 +
42 +inherit eutils multilib pax-utils
43 +
44 +MY_PLAT_x86="Linux x86"
45 +MY_A_x86="${PN#oracle-}-linux-${PV}.0.zip"
46 +
47 +MY_PLAT_amd64="Linux x86-64"
48 +MY_A_amd64="${PN#oracle-}-linux.x64-${PV}.0.zip"
49 +
50 +DESCRIPTION="Oracle 11g Instant Client: SQL*Plus"
51 +HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
52 +SRC_URI="
53 + x86? ( ${MY_A_x86} )
54 + amd64? ( ${MY_A_amd64} )
55 +"
56 +
57 +LICENSE="OTN"
58 +SLOT="0"
59 +KEYWORDS="amd64 x86"
60 +RESTRICT="fetch"
61 +IUSE=""
62 +
63 +DEPEND="app-arch/unzip"
64 +RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
65 +
66 +S="${WORKDIR}"/instantclient_11_2
67 +
68 +QA_PREBUILT="
69 + usr/lib*/oracle/${PV}/client/lib*/lib*
70 + usr/lib*/oracle/${PV}/client/bin/sqlplus
71 +"
72 +
73 +my_arch() {
74 + # platform name
75 + MY_PLAT=MY_PLAT_${ARCH}
76 + export MY_PLAT=${!MY_PLAT}
77 + # distfile
78 + MY_A=MY_A_${ARCH}
79 + export MY_A=${!MY_A}
80 +}
81 +
82 +pkg_nofetch() {
83 + my_arch
84 + eerror "Please go to"
85 + eerror " ${HOMEPAGE%/*}/index-097480.html"
86 + eerror " and download"
87 + eerror "Instant Client for ${MY_PLAT}"
88 + eerror " SQL*Plus: ${MY_A}"
89 + eerror "After downloading, put it in:"
90 + eerror " ${DISTDIR}/"
91 +}
92 +
93 +src_install() {
94 + # all binaries go here
95 + local oracle_home=usr/$(get_libdir)/oracle/${PV}/client
96 + into /"${oracle_home}"
97 +
98 + dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname)
99 + dobin sqlplus
100 +
101 + insinto /"${oracle_home}"/sqlplus/admin
102 + doins glogin.sql
103 +
104 + pax-mark -c "${ED}${oracle_home}"/bin/sqlplus || die
105 +
106 + dosym /"${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
107 +}
108
109 diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.3.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.3.ebuild
110 new file mode 100644
111 index 00000000000..6df81c9c2be
112 --- /dev/null
113 +++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.3.ebuild
114 @@ -0,0 +1,69 @@
115 +# Copyright 1999-2012 Gentoo Foundation
116 +# Distributed under the terms of the GNU General Public License v2
117 +
118 +EAPI="4"
119 +
120 +inherit eutils multilib
121 +
122 +MY_PLAT_x86="Linux x86"
123 +MY_A_x86="${PN#oracle-}-linux-${PV}.0.zip"
124 +
125 +MY_PLAT_amd64="Linux x86-64"
126 +MY_A_amd64="${PN#oracle-}-linux.x64-${PV}.0.zip"
127 +
128 +DESCRIPTION="Oracle 11g Instant Client: SQL*Plus"
129 +HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
130 +SRC_URI="
131 + x86? ( ${MY_A_x86} )
132 + amd64? ( ${MY_A_amd64} )
133 +"
134 +
135 +LICENSE="OTN"
136 +SLOT="0"
137 +KEYWORDS="amd64 x86"
138 +RESTRICT="fetch"
139 +IUSE=""
140 +
141 +DEPEND="app-arch/unzip"
142 +RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
143 +
144 +S="${WORKDIR}"/instantclient_11_2
145 +
146 +QA_PREBUILT="
147 + usr/lib*/oracle/${PV}/client/lib*/lib*
148 + usr/lib*/oracle/${PV}/client/bin/sqlplus
149 +"
150 +
151 +my_arch() {
152 + # platform name
153 + MY_PLAT=MY_PLAT_${ARCH}
154 + export MY_PLAT=${!MY_PLAT}
155 + # distfile
156 + MY_A=MY_A_${ARCH}
157 + export MY_A=${!MY_A}
158 +}
159 +
160 +pkg_nofetch() {
161 + my_arch
162 + eerror "Please go to"
163 + eerror " ${HOMEPAGE%/*}/index-097480.html"
164 + eerror " and download"
165 + eerror "Instant Client for ${MY_PLAT}"
166 + eerror " SQL*Plus: ${MY_A}"
167 + eerror "After downloading, put it in:"
168 + eerror " ${DISTDIR}/"
169 +}
170 +
171 +src_install() {
172 + # all binaries go here
173 + local oracle_home=/usr/$(get_libdir)/oracle/${PV}/client
174 + into "${oracle_home}"
175 +
176 + dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname)
177 + dobin sqlplus
178 +
179 + insinto "${oracle_home}"/sqlplus/admin
180 + doins glogin.sql
181 +
182 + dosym "${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
183 +}
184
185 diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.4.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.4.ebuild
186 new file mode 100644
187 index 00000000000..8cb35bf91e1
188 --- /dev/null
189 +++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.4.ebuild
190 @@ -0,0 +1,71 @@
191 +# Copyright 1999-2015 Gentoo Foundation
192 +# Distributed under the terms of the GNU General Public License v2
193 +
194 +EAPI="4"
195 +
196 +inherit eutils pax-utils
197 +
198 +MY_PLAT_x86="Linux x86"
199 +MY_A_x86="${PN#oracle-}-linux-${PV}.0.zip"
200 +
201 +MY_PLAT_amd64="Linux x86-64"
202 +MY_A_amd64="${PN#oracle-}-linux.x64-${PV}.0.zip"
203 +
204 +DESCRIPTION="Oracle 11g Instant Client: SQL*Plus"
205 +HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html"
206 +SRC_URI="
207 + x86? ( ${MY_A_x86} )
208 + amd64? ( ${MY_A_amd64} )
209 +"
210 +
211 +LICENSE="OTN"
212 +SLOT="0"
213 +KEYWORDS="amd64 x86"
214 +RESTRICT="fetch splitdebug"
215 +IUSE=""
216 +
217 +DEPEND="app-arch/unzip"
218 +RDEPEND="~dev-db/oracle-instantclient-basic-${PV}"
219 +
220 +S="${WORKDIR}"/instantclient_11_2
221 +
222 +QA_PREBUILT="
223 + usr/lib*/oracle/${PV}/client/lib*/lib*
224 + usr/lib*/oracle/${PV}/client/bin/sqlplus
225 +"
226 +
227 +my_arch() {
228 + # platform name
229 + MY_PLAT=MY_PLAT_${ARCH}
230 + export MY_PLAT=${!MY_PLAT}
231 + # distfile
232 + MY_A=MY_A_${ARCH}
233 + export MY_A=${!MY_A}
234 +}
235 +
236 +pkg_nofetch() {
237 + my_arch
238 + eerror "Please go to"
239 + eerror " ${HOMEPAGE%/*}/index-097480.html"
240 + eerror " and download"
241 + eerror "Instant Client for ${MY_PLAT}"
242 + eerror " SQL*Plus: ${MY_A}"
243 + eerror "After downloading, put it in:"
244 + eerror " ${DISTDIR}/"
245 +}
246 +
247 +src_install() {
248 + # all binaries go here
249 + local oracle_home=usr/$(get_libdir)/oracle/${PV}/client
250 + into /"${oracle_home}"
251 +
252 + dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname)
253 + dobin sqlplus
254 +
255 + insinto /"${oracle_home}"/sqlplus/admin
256 + doins glogin.sql
257 +
258 + pax-mark -c "${ED}${oracle_home}"/bin/sqlplus || die
259 +
260 + dosym /"${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
261 +}