diff options
author | Michael Haubenwallner <haubi@gentoo.org> | 2018-07-09 21:49:06 +0200 |
---|---|---|
committer | Michael Haubenwallner <haubi@gentoo.org> | 2018-07-09 21:51:58 +0200 |
commit | 031749e2097c979c0860d7d44f544cf8fae73e1e (patch) | |
tree | 22ebd7f425a6f0c03c66f3317a0c5fb04a85e7f0 /dev-db | |
parent | Revert "dev-db/oracle-instantclient-basic: cleanup old" (diff) | |
download | gentoo-031749e2097c979c0860d7d44f544cf8fae73e1e.tar.gz gentoo-031749e2097c979c0860d7d44f544cf8fae73e1e.tar.bz2 gentoo-031749e2097c979c0860d7d44f544cf8fae73e1e.zip |
Revert "dev-db/oracle-instantclient-sqlplus: cleanup old"
This reverts commit 81f2b535a3defef03329a38d529b28d480a78d9a.
There have been stable keywords around.
Diffstat (limited to 'dev-db')
4 files changed, 215 insertions, 0 deletions
diff --git a/dev-db/oracle-instantclient-sqlplus/Manifest b/dev-db/oracle-instantclient-sqlplus/Manifest new file mode 100644 index 000000000000..6a0c1821c8b1 --- /dev/null +++ b/dev-db/oracle-instantclient-sqlplus/Manifest @@ -0,0 +1,4 @@ +DIST instantclient-sqlplus-linux-11.2.0.3.0.zip 796570 BLAKE2B 0492185103d5fb36f3acb8f52e937fca35bb8b7308eb9317d43f25f4fbde39f15b8b6de0fc9065d04c809a94731c7c011dcac1daf4e734405d065d9959cf215f SHA512 241d812b3955b11efba7764f463417e79dd973ce7ad0624144e661403b71b1c4fb091c6e42d05759eaf74355dfe432970375064d4018cae9ae67cd1401095460 +DIST instantclient-sqlplus-linux-11.2.0.4.0.zip 792608 BLAKE2B c3e8f0843700df9f95428b01520400d95076df5e19169f2a79982293e54ce6cc74321de0f34a0e7865d5d29535e38b60bcca127be06343c979a40985bf349012 SHA512 8f5ff27043a036eab038080bbdc056325cc2c197e12de34e74a8da17bf69b44e4fd4200b638881d86fdf1dc1450d8e1d033daaa56386bd2c8784d556ba0093ce +DIST instantclient-sqlplus-linux.x64-11.2.0.3.0.zip 837574 BLAKE2B c1f123b68b60f211843af954e33922e46d05ff89ce68e8357a8839e7fce83cccc31ab3f16b87204343376657839fd582fb2c80be3148cc34f2340191ed261526 SHA512 55bbac5e8267a4de2c7f9f6750f0e38dcf7c775bccc2e1e05df7fda9e6ffa7d394776e605980d8b67176acf52ba88f2dcaa959934740a1ca6f91d10b12d14024 +DIST instantclient-sqlplus-linux.x64-11.2.0.4.0.zip 834491 BLAKE2B 487091d97c0f2ec383018c39a957c8a27b030c4c8754a6c2714237dc875b89b250b47dbd28ca228a98c6199323ddd031452e1cc90c60824fbcca536aa38bff1f SHA512 b7180b5667e604564cf379b9eb55a2fc8994b87cfb993e728b4c1bdd297cab134a55580018429bdbb2b101ebdf8a350bacc1ddf5a30e1cc419092054c79a108b 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 new file mode 100644 index 000000000000..2af3e70ae266 --- /dev/null +++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.3-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils multilib pax-utils + +MY_PLAT_x86="Linux x86" +MY_A_x86="${PN#oracle-}-linux-${PV}.0.zip" + +MY_PLAT_amd64="Linux x86-64" +MY_A_amd64="${PN#oracle-}-linux.x64-${PV}.0.zip" + +DESCRIPTION="Oracle 11g Instant Client: SQL*Plus" +HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html" +SRC_URI=" + x86? ( ${MY_A_x86} ) + amd64? ( ${MY_A_amd64} ) +" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="amd64 x86" +RESTRICT="fetch" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="~dev-db/oracle-instantclient-basic-${PV}" + +S="${WORKDIR}"/instantclient_11_2 + +QA_PREBUILT=" + usr/lib*/oracle/${PV}/client/lib*/lib* + usr/lib*/oracle/${PV}/client/bin/sqlplus +" + +my_arch() { + # platform name + MY_PLAT=MY_PLAT_${ARCH} + export MY_PLAT=${!MY_PLAT} + # distfile + MY_A=MY_A_${ARCH} + export MY_A=${!MY_A} +} + +pkg_nofetch() { + my_arch + eerror "Please go to" + eerror " ${HOMEPAGE%/*}/index-097480.html" + eerror " and download" + eerror "Instant Client for ${MY_PLAT}" + eerror " SQL*Plus: ${MY_A}" + eerror "After downloading, put it in:" + eerror " ${DISTDIR}/" +} + +src_install() { + # all binaries go here + local oracle_home=usr/$(get_libdir)/oracle/${PV}/client + into /"${oracle_home}" + + dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname) + dobin sqlplus + + insinto /"${oracle_home}"/sqlplus/admin + doins glogin.sql + + pax-mark -c "${ED}${oracle_home}"/bin/sqlplus || die + + dosym /"${oracle_home}"/bin/sqlplus /usr/bin/sqlplus +} 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 new file mode 100644 index 000000000000..6df81c9c2bec --- /dev/null +++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.3.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils multilib + +MY_PLAT_x86="Linux x86" +MY_A_x86="${PN#oracle-}-linux-${PV}.0.zip" + +MY_PLAT_amd64="Linux x86-64" +MY_A_amd64="${PN#oracle-}-linux.x64-${PV}.0.zip" + +DESCRIPTION="Oracle 11g Instant Client: SQL*Plus" +HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html" +SRC_URI=" + x86? ( ${MY_A_x86} ) + amd64? ( ${MY_A_amd64} ) +" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="amd64 x86" +RESTRICT="fetch" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="~dev-db/oracle-instantclient-basic-${PV}" + +S="${WORKDIR}"/instantclient_11_2 + +QA_PREBUILT=" + usr/lib*/oracle/${PV}/client/lib*/lib* + usr/lib*/oracle/${PV}/client/bin/sqlplus +" + +my_arch() { + # platform name + MY_PLAT=MY_PLAT_${ARCH} + export MY_PLAT=${!MY_PLAT} + # distfile + MY_A=MY_A_${ARCH} + export MY_A=${!MY_A} +} + +pkg_nofetch() { + my_arch + eerror "Please go to" + eerror " ${HOMEPAGE%/*}/index-097480.html" + eerror " and download" + eerror "Instant Client for ${MY_PLAT}" + eerror " SQL*Plus: ${MY_A}" + eerror "After downloading, put it in:" + eerror " ${DISTDIR}/" +} + +src_install() { + # all binaries go here + local oracle_home=/usr/$(get_libdir)/oracle/${PV}/client + into "${oracle_home}" + + dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname) + dobin sqlplus + + insinto "${oracle_home}"/sqlplus/admin + doins glogin.sql + + dosym "${oracle_home}"/bin/sqlplus /usr/bin/sqlplus +} 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 new file mode 100644 index 000000000000..8cb35bf91e1f --- /dev/null +++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.2.0.4.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit eutils pax-utils + +MY_PLAT_x86="Linux x86" +MY_A_x86="${PN#oracle-}-linux-${PV}.0.zip" + +MY_PLAT_amd64="Linux x86-64" +MY_A_amd64="${PN#oracle-}-linux.x64-${PV}.0.zip" + +DESCRIPTION="Oracle 11g Instant Client: SQL*Plus" +HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html" +SRC_URI=" + x86? ( ${MY_A_x86} ) + amd64? ( ${MY_A_amd64} ) +" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="amd64 x86" +RESTRICT="fetch splitdebug" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="~dev-db/oracle-instantclient-basic-${PV}" + +S="${WORKDIR}"/instantclient_11_2 + +QA_PREBUILT=" + usr/lib*/oracle/${PV}/client/lib*/lib* + usr/lib*/oracle/${PV}/client/bin/sqlplus +" + +my_arch() { + # platform name + MY_PLAT=MY_PLAT_${ARCH} + export MY_PLAT=${!MY_PLAT} + # distfile + MY_A=MY_A_${ARCH} + export MY_A=${!MY_A} +} + +pkg_nofetch() { + my_arch + eerror "Please go to" + eerror " ${HOMEPAGE%/*}/index-097480.html" + eerror " and download" + eerror "Instant Client for ${MY_PLAT}" + eerror " SQL*Plus: ${MY_A}" + eerror "After downloading, put it in:" + eerror " ${DISTDIR}/" +} + +src_install() { + # all binaries go here + local oracle_home=usr/$(get_libdir)/oracle/${PV}/client + into /"${oracle_home}" + + dolib.so libsqlplus$(get_libname) libsqlplusic$(get_libname) + dobin sqlplus + + insinto /"${oracle_home}"/sqlplus/admin + doins glogin.sql + + pax-mark -c "${ED}${oracle_home}"/bin/sqlplus || die + + dosym /"${oracle_home}"/bin/sqlplus /usr/bin/sqlplus +} |