diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-db/oracle-instantclient-jdbc | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-db/oracle-instantclient-jdbc')
6 files changed, 330 insertions, 0 deletions
diff --git a/dev-db/oracle-instantclient-jdbc/Manifest b/dev-db/oracle-instantclient-jdbc/Manifest new file mode 100644 index 000000000000..bd22d6d496c0 --- /dev/null +++ b/dev-db/oracle-instantclient-jdbc/Manifest @@ -0,0 +1,8 @@ +DIST instantclient-jdbc-linux-11.2.0.3.0.zip 1562543 SHA256 45f9b5ecfba90e3936418e8047660b7d2c90b276a78b5f51c70235abefc50acd +DIST instantclient-jdbc-linux-11.2.0.4.0.zip 1562440 SHA256 d933485f6f8a1d19b009ad9803ec4a7037bb6813a8b54668925534078df4cdd8 SHA512 0a92a6529642203d48846d3f22f3756ada22942ea5e7c36d779d220dc7195301d4016edd8ee5124f9e51429bb77d9890602c1a18884eec58ff40c2aed24e55f9 WHIRLPOOL a55b4a47f1f533d6a45932ea205b6ffeedd0cabc2e154269753759a28fdc93976792050bbec834a95e5057fb37a5aee593f8c2610be8a2a9de12048346686591 +DIST instantclient-jdbc-linux-x86-64-10.2.0.3-20070103.zip 1493549 SHA256 894a015af4105e2f65a415e597e62e6bd9702d6f75a99e27af74cd901f5e7ee9 +DIST instantclient-jdbc-linux-x86-64-11.2.0.2.0.zip 1563157 SHA256 07fcfbd61a183588813fb755dafd04c052a771959fcbc4ee89e2180337d6c537 +DIST instantclient-jdbc-linux.x64-11.2.0.3.0.zip 1562504 SHA256 cfbcaacd85cd2964dae8478337e9020312b9827284ce86140db3c5e310436df1 +DIST instantclient-jdbc-linux.x64-11.2.0.4.0.zip 1562474 SHA256 07df3f6fc76b0cba17534e1d79a4d14fca6e42a1fe803cc2f33edc6e5e2ab7ac SHA512 289a08bddc81687b73a42fb35ae6ea294dd8f536ae9d3e95142ab78ad72eeebf66947fa6f5585e48e35b7f92e65fe6a295fb564b8353d389e76bfecf35c48c18 WHIRLPOOL 6530de00fc8a2a30ed6f37a735355b65c068971f2e7f95b58a60a6d111161ce596715eeefc04dc7ee8d39deeaa2fb46bf3481e2dfe982e4696c4cd7d1fc2185d +DIST instantclient-jdbc-linux32-10.2.0.3-20061115.zip 1482939 SHA256 23536b1bf8113f231e2f197e1011b6ddf04a79c5ccedae542cb6100eae28a547 +DIST instantclient-jdbc-linux32-11.2.0.2.0.zip 1562555 SHA256 25b58a2a42407d665af6e913066de716d9fe16ebda140954b8f03b71056871cb diff --git a/dev-db/oracle-instantclient-jdbc/metadata.xml b/dev-db/oracle-instantclient-jdbc/metadata.xml new file mode 100644 index 000000000000..f189d943b5d8 --- /dev/null +++ b/dev-db/oracle-instantclient-jdbc/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>haubi@gentoo.org</email> +</maintainer> +<longdescription>Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications</longdescription> +</pkgmetadata> diff --git a/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-10.2.0.3.ebuild b/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-10.2.0.3.ebuild new file mode 100644 index 000000000000..624655954164 --- /dev/null +++ b/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-10.2.0.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib + +MY_P_x86="${PN/oracle-/}-linux32-${PV}-20061115" +MY_P_amd64="${PN/oracle-/}-linux-x86-64-${PV}-20070103" + +S=${WORKDIR} +DESCRIPTION="Oracle 10g client installation for Linux: JDBC supplement" +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 "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/$(get_libdir)/oracle/${PV}/client/lib + cd "${S}"/instantclient_10_2 + insinto /usr/$(get_libdir)/oracle/${PV}/client/lib + doins libheteroxa10.so orai18n.jar +} + +pkg_postinst() { + elog "The JDBC supplement package for Oracle 10g has been installed." + elog "You may wish to install the oracle-instantclient-sqlplus (for " + elog "running the SQL*Plus application) package as well." + 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-jdbc/oracle-instantclient-jdbc-11.2.0.2.ebuild b/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-11.2.0.2.ebuild new file mode 100644 index 000000000000..7adb159310f6 --- /dev/null +++ b/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-11.2.0.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib + +MY_P_x86="${PN/oracle-/}-linux32-${PV}.0" +MY_P_amd64="${PN/oracle-instantclient-/instantclient-}-linux-x86-64-${PV}.0" + +S="${WORKDIR}" +DESCRIPTION="Oracle 11g client installation for Linux: JDBC supplement" +HOMEPAGE="http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html" +SRC_URI="x86? ( ${MY_P_x86}.zip ) + amd64? ( ${MY_P_amd64}.zip )" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="~x86 ~amd64" +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/$(get_libdir)/oracle/${PV}/client/lib + cd "${S}"/instantclient_11_2 + insinto /usr/$(get_libdir)/oracle/${PV}/client/lib + doins libheteroxa11.so orai18n.jar +} + +pkg_postinst() { + elog "The JDBC supplement package for Oracle 11g has been installed." + elog "You may wish to install the oracle-instantclient-sqlplus (for " + elog "running the SQL*Plus application) package as well." +} diff --git a/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-11.2.0.3.ebuild b/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-11.2.0.3.ebuild new file mode 100644 index 000000000000..bf95264c5c80 --- /dev/null +++ b/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-11.2.0.3.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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: JDBC supplement" +HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html" +SRC_URI=" + x86? ( ${MY_A_x86} ) + amd64? ( ${MY_A_amd64} multilib? ( ${MY_A_x86} ) ) +" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="amd64 x86" +RESTRICT="fetch" +IUSE="multilib" + +DEPEND="app-arch/unzip" +RDEPEND="~dev-db/oracle-instantclient-basic-${PV}" + +S="${WORKDIR}" + +QA_PREBUILT="usr/lib*/oracle/${PV}/client/lib*/lib*" + +default_abi() { + [[ ${DEFAULT_ABI} == 'default' ]] && echo ${ARCH} || echo ${DEFAULT_ABI} +} + +abi_list() { + if use multilib; then + echo ${MULTILIB_ABIS} + else + default_abi + fi + return 0 +} + +set_abivars() { + local abi=$1 + # platform name + MY_PLAT=MY_PLAT_${abi} + MY_PLAT=${!MY_PLAT} + # runtime distfile + MY_A=MY_A_${abi} + MY_A=${!MY_A} + # abi sourcedir + MY_S="${S}/${abi}/instantclient_11_2" + # ABI might not need to be set at all + [[ -n ${ABI} ]] && MY_ABI=${abi} || MY_ABI= + # abi libdir + MY_LIBDIR=$(ABI=${MY_ABI} get_libdir) +} + +pkg_nofetch() { + eerror "Please go to" + eerror " ${HOMEPAGE%/*}/index-097480.html" + eerror " and download" + local abi + for abi in $(abi_list) + do + set_abivars ${abi} + eerror "Instant Client for ${MY_PLAT}" + eerror " JDBC: ${MY_A}" + done + eerror "After downloading, put them in:" + eerror " ${DISTDIR}/" +} + +src_unpack() { + local abi + for abi in $(abi_list) + do + set_abivars ${abi} + mkdir -p "${MY_S%/*}" || die + cd "${MY_S%/*}" || die + unpack ${MY_A} + done +} + +src_install() { + # all binaries go here + local oracle_home=/usr/$(get_libdir)/oracle/${PV}/client + into "${oracle_home}" + + local abi + for abi in $(abi_list) + do + set_abivars ${abi} + einfo "Installing runtime for ${MY_PLAT} ..." + + cd "${MY_S}" || die + + ABI=${MY_ABI} dolib.so lib*$(get_libname)* + + insinto "${oracle_home}"/${MY_LIBDIR} + doins *.jar + + eend $? + done +} diff --git a/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-11.2.0.4.ebuild b/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-11.2.0.4.ebuild new file mode 100644 index 000000000000..4b1d92a70726 --- /dev/null +++ b/dev-db/oracle-instantclient-jdbc/oracle-instantclient-jdbc-11.2.0.4.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="4" + +inherit eutils multilib-minimal + +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: JDBC supplement" +HOMEPAGE="http://www.oracle.com/technetwork/database/features/instant-client/index.html" +SRC_URI=" + abi_x86_32? ( ${MY_A_x86} ) + abi_x86_64? ( ${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}" + +QA_PREBUILT="usr/lib*/oracle/${PV}/client/lib*/lib*" + +set_my_abivars() { + MY_PLAT=MY_PLAT_${ABI}; MY_PLAT=${!MY_PLAT} # platform name + MY_A=MY_A_${ABI} ; MY_A=${!MY_A} # runtime distfile + # ABI sourcedir + MY_S="${S}/${ABI}/instantclient_11_2" + + [[ -n ${MY_PLAT} ]] +} + +pkg_nofetch() { + eerror "Please go to" + eerror " ${HOMEPAGE%/*}/index-097480.html" + eerror " and download" + local ABI + for ABI in $(multilib_get_enabled_abis) + do + set_my_abivars || continue + eerror "Instant Client for ${MY_PLAT}" + eerror " JDBC: ${MY_A}" + done + eerror "After downloading, put them in:" + eerror " ${DISTDIR}/" +} + +src_unpack() { + local ABI + for ABI in $(multilib_get_enabled_abis) + do + set_my_abivars || continue + mkdir -p "${MY_S%/*}" || die + cd "${MY_S%/*}" || die + unpack ${MY_A} + done +} + +src_install() { + # all binaries go here + local oracle_home=/usr/$(get_libdir)/oracle/${PV}/client + into "${oracle_home}" + + local ABI + for ABI in $(multilib_get_enabled_abis) + do + if ! set_my_abivars; then + elog "Skipping unsupported ABI ${ABI}." + continue + fi + einfo "Installing runtime for ${MY_PLAT} ..." + + cd "${MY_S}" || die + + dolib.so lib*$(get_libname)* + + insinto "${oracle_home}"/$(get_libdir) + doins *.jar + + eend $? + done +} |