# ChangeLog for dev-db/oracle-instantclient-basic
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/ChangeLog,v 1.18 2006/07/23 11:08:48 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/ChangeLog,v 1.19 2006/12/26 17:53:50 dertobi123 Exp $
+
+*oracle-instantclient-basic-10.2.0.3 (26 Dec 2006)
+
+ 26 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ +oracle-instantclient-basic-10.2.0.3.ebuild:
+ Version bump, 10.2.0.3 is only available for x86 as of now.
*oracle-instantclient-basic-10.1.0.5 (23 Jul 2006)
--- /dev/null
+MD5 5cb04ec2693923ce5bfd21636522274b instantclient-basic-linux32-10.2.0.3-20061115.zip 34556803
+RMD160 12ac6ca9f94a255ca27de44a2feea6e49c3a4547 instantclient-basic-linux32-10.2.0.3-20061115.zip 34556803
+SHA256 11fce485c405afa4a30f34eba36ad0d566a599617f80dfc565bd08d8c421e1ae instantclient-basic-linux32-10.2.0.3-20061115.zip 34556803
+MD5 ceddd3932ba7ebdc1f1b4a9724b92877 instantclient-sdk-linux32-10.2.0.3-20061115.zip 602897
+RMD160 06ce90ef1fb7c61e920e3a3e37578f54b3d2db0f instantclient-sdk-linux32-10.2.0.3-20061115.zip 602897
+SHA256 6893a784e1802e18300230dcac1ed2ecd6dc68a7060c02717f73bf268d43f6a5 instantclient-sdk-linux32-10.2.0.3-20061115.zip 602897
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild,v 1.1 2006/12/26 17:53:50 dertobi123 Exp $
+
+inherit eutils
+
+MY_P_x86="${PN/oracle-/}-linux32-${PV}-20061115"
+MY_PSDK_x86="${MY_P_x86/basic/sdk}"
+
+S=${WORKDIR}
+DESCRIPTION="Oracle 10g client installation for Linux with SDK"
+HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html"
+SRC_URI="x86? ( ${MY_P_x86}.zip ${MY_PSDK_x86}.zip )"
+
+LICENSE="OTN"
+SLOT="0"
+KEYWORDS="-* ~x86"
+RESTRICT="fetch"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="|| ( =sys-libs/libstdc++-v3-3.3* =sys-devel/gcc-3.3* )"
+
+my_arch() {
+ MY_P=MY_P_${ARCH}
+ export MY_P=${!MY_P}
+ MY_PSDK=MY_PSDK_${ARCH}
+ export MY_PSDK=${!MY_PSDK}
+}
+
+pkg_setup() {
+ my_arch
+}
+
+pkg_nofetch() {
+ my_arch
+ eerror "Please go to:"
+ eerror " ${HOMEPAGE}"
+ eerror "and download the Basic client package with SDK, which are:"
+ eerror " ${MY_P}.zip"
+ eerror " ${MY_PSDK}.zip"
+ eerror "Then after downloading put them in:"
+ eerror " ${DISTDIR}"
+}
+
+src_unpack() {
+ unzip ${DISTDIR}/${MY_P}.zip || die "unsuccesful unzip ${MY_P}.zip"
+ unzip ${DISTDIR}/${MY_PSDK}.zip || die "unsuccesful unzip ${MY_PSDK}.zip"
+}
+
+src_install() {
+ # library
+ dodir /usr/lib/oracle/${PV}/client/lib
+ cd ${S}/instantclient_10_2
+ insinto /usr/lib/oracle/${PV}/client/lib
+ doins *.jar *.so *.so.10.1
+
+ # fixes symlinks
+ dosym /usr/lib/oracle/${PV}/client/lib/libocci.so.10.1 /usr/lib/oracle/${PV}/client/lib/libocci.so
+ dosym /usr/lib/oracle/${PV}/client/lib/libclntsh.so.10.1 /usr/lib/oracle/${PV}/client/lib/libclntsh.so
+
+ # includes
+ dodir /usr/lib/oracle/${PV}/client/include
+ insinto /usr/lib/oracle/${PV}/client/include
+ cd ${S}/instantclient_10_2/sdk/include
+ doins *.h
+ # link to original location
+ dodir /usr/include/oracle/${PV}/
+ ln -s ${D}/usr/lib/oracle/${PV}/client/include ${D}/usr/include/oracle/${PV}/client
+
+ # share info
+ cd ${S}/instantclient_10_2/sdk/demo
+ dodoc *
+
+ # Add OCI libs to library path
+ dodir /etc/env.d
+ echo "ORACLE_HOME=/usr/lib/oracle/${PV}/client" >> ${D}/etc/env.d/50oracle-instantclient-basic
+ echo "LDPATH=/usr/lib/oracle/${PV}/client/lib" >> ${D}/etc/env.d/50oracle-instantclient-basic
+ echo "C_INCLUDE_PATH=/usr/lib/oracle/${PV}/client/include" >> ${D}/etc/env.d/50oracle-instantclient-basic
+}
+
+pkg_postinst() {
+ einfo "The Basic client page for Oracle 10g has been installed."
+ einfo "You may also wish to install the oracle-instantclient-jdbc (for"
+ einfo "supplemental JDBC functionality with Oracle) and the"
+ einfo "oracle-instantclient-sqlplus (for running the SQL*Plus application)"
+ einfo "packages as well."
+ einfo
+ einfo "Examples are located in /usr/share/doc/${PF}/"
+ einfo
+ einfo "oracle-instantclient-* packages aren't installed in different"
+ einfo "SLOTs any longer. You may want to uninstall older versions."
+}
# ChangeLog for dev-db/oracle-instantclient-jdbc
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-jdbc/ChangeLog,v 1.14 2006/07/23 11:11:07 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-jdbc/ChangeLog,v 1.15 2006/12/26 17:59:03 dertobi123 Exp $
+
+*oracle-instantclient-jdbc-10.2.0.3 (26 Dec 2006)
+
+ 26 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ +oracle-instantclient-jdbc-10.2.0.3.ebuild:
+ Version bump, 10.2.0.3 is only available for x86 as of now.
*oracle-instantclient-jdbc-10.1.0.5 (23 Jul 2006)
--- /dev/null
+MD5 9ca3d5bd05d233a225ac8dcc49040e60 instantclient-jdbc-linux32-10.2.0.3-20061115.zip 1482939
+RMD160 d24857fc78238634a9e1af21a28906ff5d576c4c instantclient-jdbc-linux32-10.2.0.3-20061115.zip 1482939
+SHA256 23536b1bf8113f231e2f197e1011b6ddf04a79c5ccedae542cb6100eae28a547 instantclient-jdbc-linux32-10.2.0.3-20061115.zip 1482939
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-10.2.0.3.ebuild,v 1.1 2006/12/26 17:59:03 dertobi123 Exp $
+
+inherit eutils
+
+MY_P_x86="${PN/oracle-/}-linux32-${PV}-20061115"
+
+
+S=${WORKDIR}
+DESCRIPTION="Oracle 10g client installation for Linux: JDBC supplement"
+HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html"
+SRC_URI="x86? ( ${MY_P_x86}.zip )"
+
+LICENSE="OTN"
+SLOT="0"
+KEYWORDS="-* ~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 "and download the JDBC supplemental 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 libheteroxa10.so orai18n.jar
+}
+
+pkg_postinst() {
+ einfo "The JDBC supplement package for Oracle 10g has been installed."
+ einfo "You may wish to install the oracle-instantclient-sqlplus (for "
+ einfo "running the SQL*Plus application) package as well."
+ einfo
+ einfo "oracle-instantclient-* packages aren't installed in different"
+ einfo "SLOTs any longer. You may want to uninstall older versions."
+}
# ChangeLog for dev-db/oracle-instantclient-sqlplus
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-sqlplus/ChangeLog,v 1.14 2006/07/23 11:12:37 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-sqlplus/ChangeLog,v 1.15 2006/12/26 17:57:06 dertobi123 Exp $
+
+*oracle-instantclient-sqlplus-10.2.0.3 (26 Dec 2006)
+
+ 26 Dec 2006; Tobias Scherbaum <dertobi123@gentoo.org>
+ +oracle-instantclient-sqlplus-10.2.0.3.ebuild:
+ Version bump, 10.2.0.3 is only available for x86 as of now.
*oracle-instantclient-sqlplus-10.1.0.5 (23 Jul 2006)
--- /dev/null
+MD5 f71e87b5434ea952d159cb888ea8efb5 instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699
+RMD160 31e5346bbc6f597d69d6449bca8292c78c049ad0 instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699
+SHA256 aad12fd25a234fec76d672f7993911b9f267732b7bf244d76f44bc212edbd76a instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-10.2.0.3.ebuild,v 1.1 2006/12/26 17:57:06 dertobi123 Exp $
+
+inherit eutils
+
+MY_P_x86="${PN/oracle-/}-linux32-${PV}-20061115"
+
+S=${WORKDIR}
+DESCRIPTION="Oracle 10g client installation for Linux: SQL*Plus"
+HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html"
+SRC_URI="x86? ( ${MY_P_x86}.zip )"
+
+LICENSE="OTN"
+SLOT="0"
+KEYWORDS="-* ~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 "and download the 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() {
+ einfo "The SQL*Plus package for Oracle 10g has been installed."
+ einfo "You may wish to install the oracle-instantclient-jdbc (for"
+ einfo "the supplemental JDBC functionality) package as well."
+ einfo
+ einfo "If you have any questions, be sure to read the README:"
+ einfo "http://otn.oracle.com/docs/tech/sql_plus/10102/readme_ic.htm"
+ einfo
+ einfo "oracle-instantclient-* packages aren't installed in different"
+ einfo "SLOTs any longer. You may want to uninstall older versions."
+}