summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-db/oracle-instantclient-basic/Manifest20
-rw-r--r--dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild107
-rw-r--r--dev-db/oracle-instantclient-basic/oracle-instantclient-basic-11.1.0.6.ebuild111
3 files changed, 116 insertions, 122 deletions
diff --git a/dev-db/oracle-instantclient-basic/Manifest b/dev-db/oracle-instantclient-basic/Manifest
index 7f9c870..0aafa48 100644
--- a/dev-db/oracle-instantclient-basic/Manifest
+++ b/dev-db/oracle-instantclient-basic/Manifest
@@ -1,15 +1,5 @@
-DIST instantclient-basic-linux-x86-64-10.2.0.3-20070103.zip 36454483 RMD160 fa431168723c9c2fe2182c9e480606db4b88932d SHA1 fd28349cedf225c16a5399362cb4919b7fc3a5e1 SHA256 9195ab13e59365bfef6b2b43732a652d77d7ef8b93019f31104bc13832c6a491
-DIST instantclient-basic-linux32-10.2.0.3-20061115.zip 34556803 RMD160 12ac6ca9f94a255ca27de44a2feea6e49c3a4547 SHA1 08092f796c1c362254d18e73c955fd0bff9db78b SHA256 11fce485c405afa4a30f34eba36ad0d566a599617f80dfc565bd08d8c421e1ae
-DIST instantclient-sdk-linux-x86-64-10.2.0.3-20070103.zip 603137 RMD160 323d6407c664e9fdbc8a7b829e93deffa7871925 SHA1 d3486539a5b9a4721b7a57fd61c7694be4e2c6f1 SHA256 d9da1494a9d19e96bff79c3ff77d079633d18c7d9b462a37eacc9a2a40641912
-DIST instantclient-sdk-linux32-10.2.0.3-20061115.zip 602897 RMD160 06ce90ef1fb7c61e920e3a3e37578f54b3d2db0f SHA1 cb70884b44150f5048c4876e41c58fec8d252705 SHA256 6893a784e1802e18300230dcac1ed2ecd6dc68a7060c02717f73bf268d43f6a5
-EBUILD oracle-instantclient-basic-10.2.0.3.ebuild 3402 RMD160 e0585ee5349afa506e6f15dae7d7baf2d832e9d5 SHA1 edc081a7f7c46e2fd8a6c7ecb473443e6c1eba01 SHA256 b8ef3f5faba475c7aa39b0aa7d2c81aa70e97df450b9e98c72e0327c0c31ed53
-MD5 de5089ab5d52dea1104571e10bbf2c9d oracle-instantclient-basic-10.2.0.3.ebuild 3402
-RMD160 e0585ee5349afa506e6f15dae7d7baf2d832e9d5 oracle-instantclient-basic-10.2.0.3.ebuild 3402
-SHA256 b8ef3f5faba475c7aa39b0aa7d2c81aa70e97df450b9e98c72e0327c0c31ed53 oracle-instantclient-basic-10.2.0.3.ebuild 3402
-MISC .oracle-instantclient-basic-10.2.0.3.ebuild.swp 12288 RMD160 0b89a262b323851343b60b62fd5615a378008036 SHA1 7a20c21cf85f57d82de3b0bdd69c1962263c54cc SHA256 2b62384292de5b2c587b1ea07c878097f18bb3a329753ca03acf42fcfd73532f
-MD5 76a406e918dc797414b707562d827851 .oracle-instantclient-basic-10.2.0.3.ebuild.swp 12288
-RMD160 0b89a262b323851343b60b62fd5615a378008036 .oracle-instantclient-basic-10.2.0.3.ebuild.swp 12288
-SHA256 2b62384292de5b2c587b1ea07c878097f18bb3a329753ca03acf42fcfd73532f .oracle-instantclient-basic-10.2.0.3.ebuild.swp 12288
-MD5 eb3ae79b2597367a0855060278250657 files/digest-oracle-instantclient-basic-10.2.0.3 1342
-RMD160 f3bdfa7558efdc12c1ad5ef22ce948f3de3bf8d3 files/digest-oracle-instantclient-basic-10.2.0.3 1342
-SHA256 5d8a0943e316b1c0214ee9b64e3a010c7edae9e944ecb255ffb7fc6bec5145f1 files/digest-oracle-instantclient-basic-10.2.0.3 1342
+DIST instantclient-basic-linux-x86-64-11.1.0.6.zip 44800163 RMD160 de48a2ffed5cfb7d6f645dfcae5bb4d0c11b8a6d SHA1 5e1423c53af6f685b0e9c23bbe0d37b1ef31827c SHA256 aa8f8a9a3711c163a59670a74f55b7d11cfde95535c0f1de122bacfc9b0bfd74
+DIST instantclient-basic-linux32-11.1.0.6.zip 42285643 RMD160 a7f6bdc5cfc35aa04d9eddda1da7ba6d7172c1da SHA1 7a52de834293de95f3decba068584d0f5c89b77e SHA256 1be3423e8e2a39db5b2f28c5e4f9bd93af6ab99f379f6f569162c94e63360d7d
+DIST instantclient-sdk-linux-x86-64-11.1.0.6.zip 607175 RMD160 70760ca522be598db938ae692d72f2821ac5bf73 SHA1 913992c2ec58a2e050ba745b3193e33cccc50b39 SHA256 c28ad244e849c5099e3367ac09a3762d08961c3bb630bc0c3b4cea4d54195bce
+DIST instantclient-sdk-linux32-11.1.0.6.zip 607017 RMD160 61c9463a832b283f5b48207817a55d83de075371 SHA1 aee757eb0f0e898aeb088b7b5ae117bc77a65fc3 SHA256 f94fd197cd0cdc889b65e46839227650afd0e07d9137ec5d328b64d67f961209
+EBUILD oracle-instantclient-basic-11.1.0.6.ebuild 3620 RMD160 db7b54c48af19ef6e1c69907d9879ef2b633eca0 SHA1 4114cdcff635cb582e62949713cd6032ea0ab591 SHA256 cd9e1ad05783e5e1b79411ba43f138ec713fa5c185cc11e21da38ad90e455081
diff --git a/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild b/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild
deleted file mode 100644
index 978c958..0000000
--- a/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-10.2.0.3.ebuild
+++ /dev/null
@@ -1,107 +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-basic/oracle-instantclient-basic-10.2.0.3.ebuild,v 1.1 2008-01-09 12:13:08 randomdan Exp $
-
-inherit eutils
-
-MY_P_x86="http://portage.develop.web.dot/${PN/oracle-/}-linux32-${PV}-20061115"
-MY_PSDK_x86="${MY_P_x86/basic/sdk}"
-
-MY_P_amd64="http://portage.develop.web.dot/${PN/oracle-/}-linux-x86-64-${PV}-20070103"
-MY_PSDK_amd64="${MY_P_amd64/basic/sdk}"
-
-S=${WORKDIR}
-DESCRIPTION="Oracle 10g client installation for Linux with SDK"
-HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html"
-SRC_URI="amd64? ( ${MY_P_amd64}.zip ${MY_PSDK_amd64}.zip )
- x86? ( ${MY_P_x86}.zip ${MY_PSDK_x86}.zip )"
-
-LICENSE="OTN"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-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 "select your platform and download the"
- eerror "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() {
- # Patch the SDK makefile
- epatch ${FILESDIR}/${P}-makefile.patch
-
- # SDK makefile
- dodir /usr/lib/oracle/${PV}/client/rdbms/demo
- cd ${S}/instantclient_10_2/sdk/demo
- mv demo.mk demo_xe.mk
- insinto /usr/lib/oracle/${PV}/client/rdbms/demo
- doins demo_xe.mk
-
- # 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() {
- elog "The Basic client page for Oracle 10g has been installed."
- elog "You may also wish to install the oracle-instantclient-jdbc (for"
- elog "supplemental JDBC functionality with Oracle) and the"
- elog "oracle-instantclient-sqlplus (for running the SQL*Plus application)"
- elog "packages as well."
- elog
- elog "Examples are located in /usr/share/doc/${PF}/"
- 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-basic/oracle-instantclient-basic-11.1.0.6.ebuild b/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-11.1.0.6.ebuild
new file mode 100644
index 0000000..51faa56
--- /dev/null
+++ b/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-11.1.0.6.ebuild
@@ -0,0 +1,111 @@
+inherit eutils
+
+MY_P_x86="${PN/oracle-/}-linux32-${PV}"
+MY_PSDK_x86="${MY_P_x86/basic/sdk}"
+
+MY_P_amd64="${PN/oracle-/}-linux-x86-64-${PV}"
+MY_PSDK_amd64="${MY_P_amd64/basic/sdk}"
+
+S=${WORKDIR}
+DESCRIPTION="Oracle 11g client installation for Linux with SDK"
+HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html"
+SRC_URI="amd64? ( ${MY_P_amd64}.zip ${MY_PSDK_amd64}.zip )
+ x86? ( ${MY_P_x86}.zip ${MY_PSDK_x86}.zip )"
+
+LICENSE="OTN"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+RESTRICT="fetch"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="|| ( =sys-libs/libstdc++-v3-3.3* =sys-devel/gcc-3.3* )
+ dev-libs/libaio "
+
+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 "select your platform and download the"
+ eerror "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() {
+ # SDK makefile
+ dodir /usr/$(get_libdir)/oracle/${PV}/client/rdbms/demo
+ cd "${S}"/instantclient_11_1/sdk/demo
+ mv demo.mk demo_xe.mk
+ insinto /usr/$(get_libdir)/oracle/${PV}/client/rdbms/demo
+ doins demo_xe.mk
+
+ # library
+ dodir /usr/$(get_libdir)/oracle/${PV}/client/lib
+ cd "${S}"/instantclient_11_1
+ insinto /usr/$(get_libdir)/oracle/${PV}/client/lib
+ doins *.jar *.so *.so.11.1
+
+ # fixes symlinks
+ dosym /usr/$(get_libdir)/oracle/${PV}/client/lib/libocci.so.11.1 /usr/$(get_libdir)/oracle/${PV}/client/lib/libocci.so
+ dosym /usr/$(get_libdir)/oracle/${PV}/client/lib/libclntsh.so.11.1 /usr/$(get_libdir)/oracle/${PV}/client/lib/libclntsh.so
+ dosym /usr/$(get_libdir)/oracle/${PV}/client/include /usr/$(get_libdir)/oracle/${PV}/client/rdbms/public
+
+ # includes
+ dodir /usr/$(get_libdir)/oracle/${PV}/client/include
+ insinto /usr/$(get_libdir)/oracle/${PV}/client/include
+ cd "${S}"/instantclient_11_1/sdk/include
+ doins *.h
+ # link to original location
+ dodir /usr/include/oracle/${PV}/
+ ln -s "${D}"/usr/$(get_libdir)/oracle/${PV}/client/include "${D}"/usr/include/oracle/${PV}/client
+
+ # share info
+ cd "${S}"/instantclient_11_1/sdk/demo
+ dodoc *
+
+ # Add OCI libs to library path
+ dodir /etc/env.d
+ echo "ORACLE_HOME=/usr/$(get_libdir)/oracle/${PV}/client" >> "${D}"/etc/env.d/50oracle-instantclient-basic
+ echo "LDPATH=/usr/$(get_libdir)/oracle/${PV}/client/lib" >> "${D}"/etc/env.d/50oracle-instantclient-basic
+ echo "C_INCLUDE_PATH=/usr/$(get_libdir)/oracle/${PV}/client/include" >> "${D}"/etc/env.d/50oracle-instantclient-basic
+ echo "TNS_ADMIN=/etc/oracle/" >> "${D}"/etc/env.d/50oracle-instantclient-basic
+
+ # create path for tnsnames.ora
+ dodir /etc/oracle
+}
+
+pkg_postinst() {
+ elog "The Basic client page for Oracle 11g has been installed."
+ elog "You may also wish to install the oracle-instantclient-jdbc (for"
+ elog "supplemental JDBC functionality with Oracle) and the"
+ elog "oracle-instantclient-sqlplus (for running the SQL*Plus application)"
+ elog "packages as well."
+ elog
+ elog "Examples are located in /usr/share/doc/${PF}/"
+ elog
+ elog "oracle-instantclient-* packages aren't installed in different"
+ elog "SLOTs any longer. You may want to uninstall older versions."
+ elog
+ elog "TNS_ADMIN has been set to "${ROOT}"etc/oracle by default, put your"
+ elog "tnsnames.ora there or configure TNS_ADMIN to point to"
+ elog "your user specific configuration."
+}