From 4b35aacf3de7743c1130839775454d60e6d572f8 Mon Sep 17 00:00:00 2001 From: "dan.goodliffe" Date: Wed, 5 Nov 2008 14:40:03 +0000 Subject: Oracle SQLPLUS v11 --- dev-db/oracle-instantclient-sqlplus/Manifest | 12 +--- .../oracle-instantclient-sqlplus-10.2.0.3.ebuild | 68 ---------------------- .../oracle-instantclient-sqlplus-11.1.0.6.ebuild | 65 +++++++++++++++++++++ 3 files changed, 68 insertions(+), 77 deletions(-) delete mode 100644 dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.3.ebuild create mode 100644 dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.1.0.6.ebuild diff --git a/dev-db/oracle-instantclient-sqlplus/Manifest b/dev-db/oracle-instantclient-sqlplus/Manifest index 7ccb234..7a351df 100644 --- a/dev-db/oracle-instantclient-sqlplus/Manifest +++ b/dev-db/oracle-instantclient-sqlplus/Manifest @@ -1,9 +1,3 @@ -DIST instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip 789884 RMD160 0f483aed1a64f22b1a46d05942e51213c2ba7234 SHA1 bf99c65de7483fa8bd60a7a1531529fcc3922eeb SHA256 8dcc95e3bf5723a7b1d6deccce049490bc70d99c0b9ac6ef13320b6b426303f6 -DIST instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699 RMD160 31e5346bbc6f597d69d6449bca8292c78c049ad0 SHA1 646a9bc3170ccac26048978ee94e7a6e33937652 SHA256 aad12fd25a234fec76d672f7993911b9f267732b7bf244d76f44bc212edbd76a -EBUILD oracle-instantclient-sqlplus-10.2.0.3.ebuild 2012 RMD160 13d12b4b384fca7561b6cab1201f4548702cf45e SHA1 d84661afeab55d817fe46a5e574071fe067ee74b SHA256 14ddb46ec4501e1e9881ec179233c8c449d0f4282a4e167a3cd60a7af542acff -MD5 9289ae9a1af0c048de836dea515da9e3 oracle-instantclient-sqlplus-10.2.0.3.ebuild 2012 -RMD160 13d12b4b384fca7561b6cab1201f4548702cf45e oracle-instantclient-sqlplus-10.2.0.3.ebuild 2012 -SHA256 14ddb46ec4501e1e9881ec179233c8c449d0f4282a4e167a3cd60a7af542acff oracle-instantclient-sqlplus-10.2.0.3.ebuild 2012 -MD5 3c1b7abdfc361d9684ef097f8e628f29 files/digest-oracle-instantclient-sqlplus-10.2.0.3 683 -RMD160 ab566669134c43b29830d05b3d90c516f589e492 files/digest-oracle-instantclient-sqlplus-10.2.0.3 683 -SHA256 4892479984b6ea67f073d9e7821830d041ff219ff8b5792863e85b720d32b02a files/digest-oracle-instantclient-sqlplus-10.2.0.3 683 +DIST instantclient-sqlplus-linux-x86-64-11.1.0.6.zip 857192 RMD160 0dbf51f9468d6a4a9ced19e6d50bf8fa187c7ee2 SHA1 0af9ce7c2ead360f7dc7b911819012d4c2e53401 SHA256 62a239dc74b29c929ec0fe0ba8ed0154029fc24f87bcd69f43ed54d49d4f972c +DIST instantclient-sqlplus-linux32-11.1.0.6.zip 784417 RMD160 06b4fb23323c1d712c3e5aa26812095c38536662 SHA1 343ae1c0dda0eb62bc3e0394e12c1ef1784567ea SHA256 cbdd8df154271836ce4a46a0596addae07425b03e1c019bec54de5ca0bc8d8f3 +EBUILD oracle-instantclient-sqlplus-11.1.0.6.ebuild 1747 RMD160 47f79e21186902c8e0e1f8dcf453bc8ee58cd561 SHA1 8866d60b5b9305e2ec43de13e120ce7a6b2362c6 SHA256 99ae34eac252bf74c6daa29806d47cdcc99b9afe178aa56b9c8828986c98e189 diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.3.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.3.ebuild deleted file mode 100644 index fd15852..0000000 --- a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.3.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvs/lportage/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.3.ebuild,v 1.1 2008-01-08 19:53:42 randomdan Exp $ - -inherit eutils - -MY_P_x86="http://portage.develop.web.dot/${PN/oracle-/}-linux32-${PV}-20061115" -MY_P_amd64="http://portage.develop.web.dot/${PN/oracle-/}-linux-x86-64-${PV}-20070103" - -S=${WORKDIR} -DESCRIPTION="Oracle 10g client installation for Linux: SQL*Plus" -HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html" -SRC_URI="amd64? ( ${MY_P_amd64}.zip ) - x86? ( ${MY_P_x86}.zip )" - -LICENSE="OTN" -SLOT="0" -KEYWORDS="-* ~amd64 x86" -IUSE="" - -RDEPEND=">=dev-db/oracle-instantclient-basic-${PV}" -DEPEND="${RDEPEND} - app-arch/unzip" - -pkg_setup() { - MY_P=MY_P_${ARCH} - export MY_P=${!MY_P} -} - -pkg_nofetch() { - eerror "Please go to:" - eerror " ${HOMEPAGE}" - eerror "select your platform and download the" - eerror "SQL*Plus package. Put it in:" - eerror " ${DISTDIR}" - eerror "after downloading it." -} - -src_unpack() { - unzip ${DISTDIR}/${MY_P}.zip -} - -src_install() { - dodir /usr/lib/oracle/${PV}/client/lib - cd ${S}/instantclient_10_2 - insinto /usr/lib/oracle/${PV}/client/lib - doins glogin.sql libsqlplus.so libsqlplusic.so - - dodir /usr/lib/oracle/${PV}/client/bin - cd ${S}/instantclient_10_2 - exeinto /usr/lib/oracle/${PV}/client/bin - doexe sqlplus - - dodir /usr/bin - dosym ${D}/usr/lib/oracle/${PV}/client/bin/sqlplus /usr/bin/sqlplus -} - -pkg_postinst() { - elog "The SQL*Plus package for Oracle 10g has been installed." - elog "You may wish to install the oracle-instantclient-jdbc (for" - elog "the supplemental JDBC functionality) package as well." - elog - elog "If you have any questions, be sure to read the README:" - elog "http://otn.oracle.com/docs/tech/sql_plus/10102/readme_ic.htm" - elog - elog "oracle-instantclient-* packages aren't installed in different" - elog "SLOTs any longer. You may want to uninstall older versions." -} diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.1.0.6.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.1.0.6.ebuild new file mode 100644 index 0000000..5d0cf03 --- /dev/null +++ b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.1.0.6.ebuild @@ -0,0 +1,65 @@ +inherit eutils + +MY_P_x86="${PN/oracle-/}-linux32-${PV}" +MY_P_amd64="${PN/oracle-/}-linux-x86-64-${PV}" + +S=${WORKDIR} +DESCRIPTION="Oracle 11g client installation for Linux: SQL*Plus" +HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html" +SRC_URI="amd64? ( ${MY_P_amd64}.zip ) + x86? ( ${MY_P_x86}.zip )" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="-* amd64 x86" +RESTRICT="fetch" +IUSE="" + +RDEPEND=">=dev-db/oracle-instantclient-basic-${PV}" +DEPEND="${RDEPEND} + app-arch/unzip" + +pkg_setup() { + MY_P=MY_P_${ARCH} + export MY_P=${!MY_P} +} + +pkg_nofetch() { + eerror "Please go to:" + eerror " ${HOMEPAGE}" + eerror "select your platform and download the" + eerror "SQL*Plus package. Put it in:" + eerror " ${DISTDIR}" + eerror "after downloading it." +} + +src_unpack() { + unzip "${DISTDIR}"/${MY_P}.zip +} + +src_install() { + dodir /usr/$(get_libdir)/oracle/${PV}/client/lib + cd "${S}"/instantclient_11_1 + insinto /usr/$(get_libdir)/oracle/${PV}/client/lib + doins glogin.sql libsqlplus.so libsqlplusic.so + + dodir /usr/$(get_libdir)/oracle/${PV}/client/bin + cd "${S}"/instantclient_11_1 + exeinto /usr/$(get_libdir)/oracle/${PV}/client/bin + doexe sqlplus + + dodir /usr/bin + dosym "${D}"/usr/$(get_libdir)/oracle/${PV}/client/bin/sqlplus /usr/bin/sqlplus +} + +pkg_postinst() { + elog "The SQL*Plus package for Oracle 11g has been installed." + elog "You may wish to install the oracle-instantclient-jdbc (for" + elog "the supplemental JDBC functionality) package as well." + elog + elog "If you have any questions, be sure to read the README:" + elog "http://otn.oracle.com/docs/tech/sql_plus/11106/readme_ic.htm" + elog + elog "oracle-instantclient-* packages aren't installed in different" + elog "SLOTs any longer. You may want to uninstall older versions." +} -- cgit v1.2.3