diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-db/oracle-instantclient-odbc |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-db/oracle-instantclient-odbc')
6 files changed, 319 insertions, 0 deletions
diff --git a/dev-db/oracle-instantclient-odbc/Manifest b/dev-db/oracle-instantclient-odbc/Manifest new file mode 100644 index 000000000000..b23723160a38 --- /dev/null +++ b/dev-db/oracle-instantclient-odbc/Manifest @@ -0,0 +1,13 @@ +DIST instantclient-odbc-linux-11.2.0.3.0.zip 273840 SHA256 e327fc2627d792a296085d15638eb79df85ce4fcc16ed5c7d304d406131d5d3b SHA512 4d928e9eb3deb26db7a95a0e5417bd9355e97956d9394dc2792752fd45002b0abc3463fbb7f337f4731084aa6006d1ff635443c5503f94c6bd97d1bae7245885 WHIRLPOOL 8987a7dc11e3282eabf26b7c1db3127a940c20d95bb9423b39db5a982660b4c8071ec7d00d84edee64f94cb9dcdb22edb5fc545f738ad1f242125a2b9678c69d +DIST instantclient-odbc-linux-11.2.0.4.0.zip 274999 SHA256 5d44811162df4647e67fceb9dfa48b8d96e30c9238e6c889dedb48b822251c74 SHA512 64d75c6f9aa4e5b74da12a2a293e6ee7017017a12a724596d51606d3a8d7a9d9653c158d389a5faeb02893ca6a6a93650605d71f885f9439427847583f5cc820 WHIRLPOOL bd2948f4b8076cb5c3381fb509d3b01c45d46b0f0571630c2196f98c710e403d3c8b2022fb11df6363f7d9ed04ba931b862028a51ff2361084a8f6f543a8de15 +DIST instantclient-odbc-linux-x86-64-11.2.0.2.0.zip 308445 SHA256 1d24d3f7b38a7d1cd1fa67c34a4c64aa556c0e4c93777bc7ceb0ee32e3504dc0 SHA512 05d38d08dca3a1ec3dab8cddfb3914c330fd0f737221005bd3c90aecda10117df08a592a8113feb397d9ea7ebb2cab05d427e278d5009b54ad25da7aed9c95b8 WHIRLPOOL a8f0e52a03f738120183f55866ed72a05a97898f346ced954cd7606d1d56e42b7a190238405fb0424e51ff7495a61f80d8c686bf0fdd4002756b9373ee6c7055 +DIST instantclient-odbc-linux.x64-11.2.0.3.0.zip 309061 SHA256 78584746ada1ed09e5587e3f39980e45c5c4d7c7fa4aaca3bd606be08c9f2e61 SHA512 a18c040fc780f893ea22fd6c79b3299d9327975a768a6518622a8ff522dd29a7019494ca7a1227483098f13afe1af1655611a32e06806bab94ab2fce2dc55e3a WHIRLPOOL 48a0c6d7cb6a892cbf492f62da8b1b0df5ffdcd0fd99012079c5fcae0e9b199fe68ed39160b50c12e4e6672ff7131c926f383709bb9853d7c9a33c195e792504 +DIST instantclient-odbc-linux.x64-11.2.0.4.0.zip 310560 SHA256 b6856d3bcc22715ba613cdf1b5d58b987bafcb0ee4fc79fa2106da118082c0f8 SHA512 19f999207e5ea2b5db18b40c0eb40c6ec1ea8a3117915a723338e5c423122b747c5e371446d631c00a5c01005453f85da1d2e680a2c1771a495dc0b68812df69 WHIRLPOOL ec813ad4736dc14fcd6073febf8559dc42a3612dec798e08ada972b53f4220ad76b4139cd74fc87547fd28ab24d9a21f4ffa2a4343e2f5e8e117063c64b044f5 +DIST instantclient-odbc-linux32-11.2.0.2.0.zip 273410 SHA256 a09d8c913bdb8d6afc84fe42b17505cceccac620077ce4a21c8db313773000a1 SHA512 eae68ebdd94f579761b0510fcac5e33b441833c0bdf957a9324e9d1c8146d7cea35419b18f72bb16730e95ad9e45a1c4c2d8085e252331e545f93657876a558f WHIRLPOOL 1548d56a9d51996b029dd44a462e20fcd1df7cd57b93f0ffbe392078d02f5d9cf902a55455cc9df7cfd66fe87467674dccfd17b6149685b2f63ef7bc6c9e3bfd +EBUILD oracle-instantclient-odbc-11.2.0.2-r1.ebuild 1546 SHA256 c9b26101e2abf14d315efc08797014cd5dcae3f3adb9e1fc9060d728e2603c94 SHA512 c2ecd0075b1b9807080f44fee19a05a4c2b03135fbf715fb41d53655a59775d6ed427a22a4864c3c4edb2ece613e04fed4d06b287d52b3275e56af5e8e2cf14b WHIRLPOOL 784dce0f9fa00323642002e729d10c0420b7039398268c514055c7c82689e64db2672a2ef04e936d4fa00bba3d6259b45eb32c86c2406ccf739aa3a3d0d98c5a +EBUILD oracle-instantclient-odbc-11.2.0.3.ebuild 2353 SHA256 3879dd7ffbb2889b4101a2aab1f5a57c7eddbfe4961ef6f833394ef2080c9707 SHA512 598894987ea0d942faf418f1041e0cd71929c748cb12e4f0039195cb06dff3de6a058ee59665b9981944c1565d0c4bb3face220f5f9c552804033053deac9f8f WHIRLPOOL 06abb2aed152d71f3b40e11d55faeea2913b3117a84fc6f1c9349654c17547bb2046dbae7c7f4db91529c7bf273b9451ce4eca1e176cf6399439b5e2ea87d428 +EBUILD oracle-instantclient-odbc-11.2.0.4.ebuild 2083 SHA256 6aab3d8833f033e9b598f15ccd00cb2d1efc29997de9571d16941e6dcf2e1cd7 SHA512 41b13fd6d264e51176e54496cbd149893649e6ffde2cf38098ee71adfb07b50eb20e00b840ec1f263910df0341d2ba33bd420ae51203102b93a2b3f1e1be3741 WHIRLPOOL f0544f10007553d2078b265214cdc18a03aac04f017fdcefe54dcb9e9ba1eb901c2d026d20997e1423be4ae5fa7ed06b2ce0dda939f23bfaf37a9eff8662e05e +EBUILD oracle-instantclient-odbc-12.ebuild 446 SHA256 f04b88b11ac5f7c38fae04e7bdc6425c620a4132ea544d941a09fec8439db5f9 SHA512 093eea8b2f3c0873ca091a2a353132d35eb73ee707cca22b6b59ccbf3bcca72617b4a9f2f7d08db3a86f034b6f9a849aba9c09bb966f6f96a3ef9c92aaccfcac WHIRLPOOL c1b780b79fcaf7a7b0cfd23d064cae8362a107fe42ca514202376536dc4ae06138bb05fc5ba12a34f17378adc28d4839471cb1e57e50114aa7abb4983928940e +MISC ChangeLog 2964 SHA256 e2d7c00c049a9e7e5af481c2a8e8d9db08bc12b325da53e0ca1626a48d9e80f1 SHA512 0f2c51fdd5d5500183946a7ad53e5fb579773597df5d792bb7abd3e36f7c548367cea564934b1bc68cb29b56984555510e7df348fc81a2572a8290522088865d WHIRLPOOL 3d12b3cdbaa8ab2a3d3096d73dd7ffdfb5e756903678f12cddd4749f6d607fd7df15957724b1c449e5e1e5305b28f19a12225c3c74b30b1530756226790fc86d +MISC ChangeLog-2015 2967 SHA256 d013ecf3ffb29d907021b549ab2468328b03c624608d925fcd64efc28f89fc79 SHA512 632ebbf9ff2cc172be35b83a1fa9d0a6d1eb2a3f5eced1744ed779bf3b5745ca7fa2d2d3bcee1741f338a67f57c70308b7c824117d639899d19a70c525efb4f3 WHIRLPOOL b02523a8a82cce00138b8665509456fdd421fcbd34c4e0bc6ea467507091eb3c1b71f2dfea69b74a8be1e789dc890c2bc346422bbe3f2452c5f28fe19b60e287 +MISC metadata.xml 290 SHA256 9b425fe7545d8624fd6ac6f5992ef4e46c33df0dfa21d51aec5e3dca621bf312 SHA512 2aadc171bc54a828cc74443808808b03df115c72f6589d254bbe408c87a10bbdf6cff4da820aff86a917b4fdc95818d605293651085afcb876c8e3063778287b WHIRLPOOL b9c01e40a50f7b371cc091f7f16c616fdb36a5ffce80e11aa56a3e8150fbf9026d1110fd694d1d4b017391d87485e90f3519054a3c0c29576660beefbcddbf95 diff --git a/dev-db/oracle-instantclient-odbc/metadata.xml b/dev-db/oracle-instantclient-odbc/metadata.xml new file mode 100644 index 000000000000..1e9748f0e268 --- /dev/null +++ b/dev-db/oracle-instantclient-odbc/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 type="person"> + <email>haubi@gentoo.org</email> +</maintainer> +<longdescription>Instant Client Package - ODBC Supplement</longdescription> +</pkgmetadata> diff --git a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.2-r1.ebuild b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.2-r1.ebuild new file mode 100644 index 000000000000..2c2fc96ba9b9 --- /dev/null +++ b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.2-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils multilib + +MY_P_x86="${PN/oracle-/}-linux32-${PV}.0" +MY_P_amd64="${PN/oracle-/}-linux-x86-64-${PV}.0" + +DESCRIPTION="Oracle 11g client installation ODBC supplement" +HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html" +SRC_URI="x86? ( ${MY_P_x86}.zip ) + amd64? ( ${MY_P_amd64}.zip )" + +LICENSE="OTN" +SLOT="0" +KEYWORDS="-* ~x86 ~amd64" +RESTRICT="fetch" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="dev-db/oracle-instantclient-basic" + +S="${WORKDIR}" + +my_arch() { + MY_P=MY_P_${ARCH} + export MY_P=${!MY_P} +} + +pkg_setup() { + my_arch +} + +pkg_nofetch() { + my_arch + eerror "Please go to:" + eerror " ${HOMEPAGE}" + eerror "select your platform and download the" + eerror "ODBC supplement, which is:" + eerror " ${MY_P}.zip" + eerror "Then after downloading put it in:" + eerror " ${DISTDIR}" +} + +src_unpack() { + unzip "${DISTDIR}"/${MY_P}.zip || die "unsuccesful unzip ${MY_P}.zip" +} + +src_install() { + # library + dodir /usr/$(get_libdir)/oracle/${PV}/client/lib + cd "${S}"/instantclient_11_2 + insinto /usr/$(get_libdir)/oracle/${PV}/client/lib + doins *.so.11.1 + + # fixes symlinks + dosym /usr/$(get_libdir)/oracle/${PV}/client/lib/libsqora.so.11.1 /usr/$(get_libdir)/oracle/${PV}/client/lib/libsqora.so + + # odbc_update_ini.sh + dodir /usr/$(get_libdir)/oracle/${PV}/client/bin + cd "${S}"/instantclient_11_2 + exeinto /usr/$(get_libdir)/oracle/${PV}/client/bin + doexe odbc_update_ini.sh + + # documentation + dodoc *htm* +} diff --git a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.3.ebuild b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.3.ebuild new file mode 100644 index 000000000000..e0fbfdf509ab --- /dev/null +++ b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.3.ebuild @@ -0,0 +1,116 @@ +# 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: ODBC 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 " ODBC: ${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 libsqora*$(get_libname)* + + # ensure to be linkable + [[ -e libsqora$(get_libname) ]] || + dosym libsqora$(get_libname 11.1) \ + "${oracle_home}"/${MY_LIBDIR}/libsqora$(get_libname) + + eend $? + done + + set_abivars $(default_abi) + cd "${MY_S}" || die + dobin odbc_update_ini.sh + dodoc *htm* +} diff --git a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.4.ebuild b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.4.ebuild new file mode 100644 index 000000000000..716c88d51cad --- /dev/null +++ b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.2.0.4.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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: ODBC 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 " ODBC: ${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 libsqora*$(get_libname)* + + # ensure to be linkable + [[ -e libsqora$(get_libname) ]] || + dosym libsqora$(get_libname 11.1) "${oracle_home}"/$(get_libdir)/libsqora$(get_libname) + + eend $? + done + + dobin odbc_update_ini.sh + dodoc *htm* +} diff --git a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-12.ebuild b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-12.ebuild new file mode 100644 index 000000000000..e6e33c8c69f7 --- /dev/null +++ b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-12.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Transition package moving to single ${CATEGORY}/oracle-instantclient package" +HOMEPAGE="https://bugs.gentoo.org/show_bug.cgi?id=524922#c12" +SRC_URI="" + +LICENSE="metapackage" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="" +RDEPEND=" + >=dev-db/oracle-instantclient-basic-12 + >=dev-db/oracle-instantclient-12[odbc] +" |