diff options
author | Marco Scardovi <mscardovi@icloud.com> | 2022-12-28 23:56:34 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-01-20 15:31:08 +0200 |
commit | f2ed550c114e4c4ff5e35c7e26d51eaf23552890 (patch) | |
tree | 96192cfee2532d0c8953b21eedd05238cedc17e3 /dev-db/oracle-instantclient | |
parent | dev-db/opendbx: drop 1.4.5-r2, 1.4.6-r4 (diff) | |
download | gentoo-f2ed550c114e4c4ff5e35c7e26d51eaf23552890.tar.gz gentoo-f2ed550c114e4c4ff5e35c7e26d51eaf23552890.tar.bz2 gentoo-f2ed550c114e4c4ff5e35c7e26d51eaf23552890.zip |
dev-db/oracle-instantclient: drop 18.5.0.0
Signed-off-by: Marco Scardovi <mscardovi@icloud.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-db/oracle-instantclient')
-rw-r--r-- | dev-db/oracle-instantclient/Manifest | 7 | ||||
-rw-r--r-- | dev-db/oracle-instantclient/oracle-instantclient-18.5.0.0.ebuild | 365 |
2 files changed, 0 insertions, 372 deletions
diff --git a/dev-db/oracle-instantclient/Manifest b/dev-db/oracle-instantclient/Manifest index 42f900622c36..a06d0dbd82d1 100644 --- a/dev-db/oracle-instantclient/Manifest +++ b/dev-db/oracle-instantclient/Manifest @@ -1,35 +1,28 @@ DIST instantclient-basic-linux-19.11.0.0.0dbru.zip 70336706 BLAKE2B 061f6abc83bab7f2e6712e33274783f96caee3d97629d39cacd925af658f737a072207449468e05f89672bcfc7ff98f81d7d9c92a8f844664ce97b4c6afabf27 SHA512 da4db9c64c0f92c2b78cc6b26ff710e3330e937395d62942625921401042af27fdf80d25eb3748c97f4281442ddb72f3ddc5f68171a89ae289f3d2f492c56ef7 DIST instantclient-basic-linux-21.3.0.0.0.zip 74751697 BLAKE2B f9b29d1c98a55946670ce6a5c674f2c9e6a8d6152b0f4d335f41ad9479b0a2bcf9ba791aeba894161c64c5e088b458506c068d4ece386956158cb09f27f91b07 SHA512 b8599ebe0cf867336b1dfb4edb974b934ed29e96aa7b7a866b93c8d8271c8dfacc693b884a9e422272098e09b4c5a2d6badb11fffb57b43ca4eb15907878bb99 -DIST instantclient-basic-linux.x64-18.5.0.0.0dbru.zip 72902980 BLAKE2B 23fd9885309507183758cf817b0d68342633ad08eb627f4136b967cf38e1910cefa905f17ffea7c929fafe2232eca71ee66a15153f202eb0d03236a1b21cdc30 SHA512 10e6f91dfe07ee4788a5f70ce65affe141061e7b1d6ea0eab6583bd2aed47d7281824e91da2103c53f15e49f02b94add8c3d524494cd4eacded90b2d1cc8743b DIST instantclient-basic-linux.x64-19.11.0.0.0dbru.zip 75943090 BLAKE2B 6e081d22af1161d1505847c6918cc618f92810d7803f2bb13b3c58f2e8c5bb3aa70d2006fbd1fcc193d3719ecf224c3541f3dc5c5ccfc6105a10c54c51ddd2c9 SHA512 0f7242a1becb062b6c55202587360895529e7ec277b0e41e27466dc01caf4b97cf0a256d0ccb9b71fb86b4802d9c427e0428f0419260b609d94472f89f7f33e6 DIST instantclient-basic-linux.x64-21.3.0.0.0.zip 79375865 BLAKE2B 2215829c6f7df463d0cd1108755976eb5cc6d4fdf41201687236131151d2068a9e3c8762bfdac65ce2890c57cdb2fea6684e6012d836f232a8ff3cb93223deec SHA512 812dd6bb3a3c24b87e40a3df0c2a0dcfe1b5e27524b8e1622c533d8561cd4d674e9d90b8e66f571ee21bf3d1e152092ee986b6ff226d51674f1253f1ffb97ae4 DIST instantclient-jdbc-linux-19.11.0.0.0dbru.zip 1577534 BLAKE2B 954049186c80028567f5ec0bb30aa28f6d9092d8c8be7cfef67f94e397dc26b935cfbbf75bee3b32e56c3697fb5a7e3181f9948ef91177af68c648e102a7db77 SHA512 5717137a6ebf28669347dd6f03f61b7242a332b927b55502b9019d108714c77e3dd31894f6d5260df6553604b0255b657aed46b63262db9f2e7153c067387e0e DIST instantclient-jdbc-linux-21.3.0.0.0.zip 1578398 BLAKE2B 42fbcd9946ff87f438297751febcaef4d361d36ac9d6538bc52f988f98c51531efb3a2721ba5c3859bf7f8e9092667704c206cc373d6ad099c1e6048077b3662 SHA512 3bb62dbe0738f6800945858acf56780d8049af0d6c6466e926c7173deaecf3dcd277f9a7e57f3b89aef08e73a585b57eded7175809ddf8a53402523ba392c1d5 -DIST instantclient-jdbc-linux.x64-18.5.0.0.0dbru.zip 1578269 BLAKE2B 88047325934da02e81e907c9c4caee540cb06da7d7c08562e90781c2f6004940ba20131d971018fe237cc09cfef010fdf6f912b2309006396315ad67c17b10b6 SHA512 e46a4326f61863a63be333bd588571bc037edd2de1f2462b799e17c65ca8556aeaf42e2eed3a7226bf8c89479b4a723fc6cf6582a65b5ee8a827ffdad1c06bc8 DIST instantclient-jdbc-linux.x64-19.11.0.0.0dbru.zip 1578059 BLAKE2B f5db4ab8b4424d21bb685b43012f71a228fdf1444e055b44dcf029b3beeefcca96aaddc496ac5912d4b337ec5d2bbd959df6083c18f7921811e996a2d73e5af6 SHA512 b2f906ae887f0421ff2edb80a70d0ede1fa624792e45ebfd205ade3f24dcd3cbc596c3ee64c39d7143810a2a11fafc649ad46cb5549d519dd3a1ffb7476fb537 DIST instantclient-jdbc-linux.x64-21.3.0.0.0.zip 1578995 BLAKE2B 9913c62abe55d5c5ebe7e9feeb9051b7833d33e3a7bc8b96667336d2ecb8bd8766d268f2eef2f2de247b0edf1d3abb65c56316a3d11b14ebcf782a3c75ed332e SHA512 8d2b7344c99ec0744e147c899e252f34fd29b7dff49b2bbe5497836130fd8e9d01f874b33ddaf7a8cca442d62eb7da56ed547120ffd409bb4731a9b56166bb42 DIST instantclient-odbc-linux-19.11.0.0.0dbru.zip 600428 BLAKE2B b4bcb4131bab1fac2650bee8cf1db4f389e89bbf0e310f9df2a9f1ce29ebf35f8056e350175ceb406e82bd077825cb4e6ad405c5ec00929f2db2630e99630006 SHA512 9a21c2dc06b6e1c4ae7305ce248cbfe45e4ad830a48f3e088be11065471beda002fd5a6bcca71f5095ad70186d742bddffc82bdb79a4368e89c59bfd3f04af4b DIST instantclient-odbc-linux-21.3.0.0.0.zip 760101 BLAKE2B 68a96fa5e24f5d44f64eabfd142280d620423f15fff62b10094b4425b520a2a31ba54fe6bce2d723700d38ce5a579d31a1c49ef6928eb6f4e342c7c8d98a49aa SHA512 e2e4cf126652580bf2d8f8ace7694881382b745a7adfabbba0c3e6fddcbb9ca7e300b0d18b19c8da029ca8f33c5f8f95baa141da20659ba49c9a8e6f4848b2db -DIST instantclient-odbc-linux.x64-18.5.0.0.0dbru.zip 651470 BLAKE2B c5e7d794137fafb97ecb5fb647a640e59490270787c16f972882c03b34c4f404717f6f87e8501252f415a85b8d92031bba9910eb034c92c4f7fac37f66a3fe43 SHA512 b9e066af00b263b348f1e7a26dbf5672f01be79115bd75a47e2cff95f32fb412a8d03736e1c5ac663847a2d75ea5606cdb1fc27434f7690120c462f8eb15a6cf DIST instantclient-odbc-linux.x64-19.11.0.0.0dbru.zip 638686 BLAKE2B c9fa1b8988d85870bb4c2d9cb5c34c1572079c36a51da0ef726250f03ca0b53dbc19990582358011f099ca183d6148f8110cf80c1a17917549f6e38be503f706 SHA512 7d92ff08ea48de0e981cadad15a3c392749b3e20331b25f00f2f96ef7cc11a9802408f18dbfbf36366b0122d6c8fd256d43297c3bd87b4304b0479b1593e35fc DIST instantclient-odbc-linux.x64-21.3.0.0.0.zip 798599 BLAKE2B d020c68895dbb59e53e2e7ebc599e9016dee123dc03d3ce5f9263e721fa7664ecc6fc8b49b0b498a87b0d24bf74e79854edd66c2b2e7a9367be8e1e9c2cbe159 SHA512 0bf756458f3a856bbe6942d1f4bc30a7261ce3da7524ab8b71f77d9f367767ad75e8ed83e4de18bed1eb8d597f2aa0efe0c713a2e407e801e7ce3f83e152361b DIST instantclient-precomp-linux-19.11.0.0.0dbru.zip 5194893 BLAKE2B cbfda89f2f97728234aa3aa58d13289be66db0127f1e73675ea2fae348d8dff28e86b85b0a5a8f372dc155a07d6aa71f2096ef5b3cdc3082ca80c107fac06f4b SHA512 196ea51fc11d59212e274669e623d86cd91c6a8d7425cab5a08044d216b118ef2e4597e0c2a904579f35de87b5fb87f9d6a6eeab927af5878c3a7e1e504730b5 DIST instantclient-precomp-linux-21.3.0.0.0.zip 5290951 BLAKE2B 3df4c41019315119d63ec780b9ae23d48823ecb2b9aa61a923c87c3e1f30fd97266030bbbc898d59b402931e02e8b3dcedfb6b96bd41381b583da2b380526f5d SHA512 b1fb267c373410c3c24fbdc4102b3395beaf0609ec3439f730a31ba43c5f2e1b276ce6e7df04de0d542c211dfef3ecadfccfe33f1472653feb42fb25a9dc700a -DIST instantclient-precomp-linux.x64-18.5.0.0.0dbru.zip 6401804 BLAKE2B 9098fa6966023e4cc48e9c4fe60aef5e7c4d15a5200fcf92716fc224fa741cb6bd41bbe58a1820ab4c4c95b5be2faee8f0d85dcf6d5c0f14c51943fd67b32856 SHA512 e44ddacecbcc7311f59490116fe44f0d9b303c0a669d9ecf43926bb5627b0a767400bd51e8ec1162d088ff52022d2fa0d2f4e9d83e7efc0e40b0c02679c1b109 DIST instantclient-precomp-linux.x64-19.11.0.0.0dbru.zip 6254880 BLAKE2B 0035623721a12c096a38ee64bc41465682214763f123ce9c529c61b6081c6de54bd7835f8b4ef07dca5eafda5354a77fa589c7c54cde412e1bdd4f313e58b3bb SHA512 d322b7896992cef8e48cc48acc68a5730d2a04ba0af5130eafa6ada79b64b16a4bd8cfaa02a28587d0871713579a5215ff46162499cd1f422252ef8dab61b7ab DIST instantclient-precomp-linux.x64-21.3.0.0.0.zip 6386663 BLAKE2B fea4e0465330d4309791f9ca58ae169b1ff2cd1f17b003210aab1fe4faa92d6e48ee20bbf7d84f44f437bf5297c69c9c2b5a2e3cfb687c8010f8ba75bb928c9f SHA512 8235236175f35d4634005249ccbe0ea5dec4078fd795545184578cefbb8d45663731c507baac4a952fb9603272aa3ff58197eb23801894bbd240cf5736460d57 DIST instantclient-sdk-linux-19.11.0.0.0dbru.zip 933913 BLAKE2B 08cb6c94cd152f58fe9e52874b40dec56a6f7d3c9913122303b46f75ae2df0e13fff1a375136b6fffabe9ee7a7d844a2b95b1be380b6d957338b09a15c9fe83a SHA512 8d7aff3d066f423021a5babda86b1b378333966fd892146bf46a967495180fc099e9766deab27d81735fee845ab43ee48d8815fd96a73e3a235c4fde74952e40 DIST instantclient-sdk-linux-21.3.0.0.0.zip 1000869 BLAKE2B 3e3f01da8218dad9de699b587ecd37dc465bd5779c7d6919149bcd947e9e9575d35727fe7d1251db8df12214a399b665c62be9e790dbaeaa895b2442ffcdd8fd SHA512 dd88433810e5b72d96747e57b34f7880607fdd0250d04972afed9a9f20c27ce1b74d7030b4de60e03621f98117b7ee93062c6c750b5c2dd104668a0afd45cd47 -DIST instantclient-sdk-linux.x64-18.5.0.0.0dbru.zip 929988 BLAKE2B 942f99fbea74e253a0be1677cfe40d79a26cb7a6442631d626648a65aa4f20b730e4f1ff13effcce5c4befd2ce50ab038f88b61c6f05ccad262568b209b3048f SHA512 7adc9e315c7c8784e4648a97fa54e03eb26a05b7b35a1f5cf1105898701b31fdc22f0011b1ae192752adcf3ec9798ba635bb9a9a5d4bc768a9a519c3564a9375 DIST instantclient-sdk-linux.x64-19.11.0.0.0dbru.zip 933906 BLAKE2B 7d15f4c5a53708fd311ca75c35db5cf1241070217c21acf05f181ad07259135fd64eeb8f84582ce1faa6bbdd9c3fc29c07e44d82ff60fe1bbb9acaf7f70612c3 SHA512 d964612f0bb571c5c1fe78d14f861b2189d917d23e9be936faa637d5a2f8b530dc93a1ae0130346b70897bd1382f23953ff3e7f3163a580b7c6058675ac5fcf2 DIST instantclient-sdk-linux.x64-21.3.0.0.0.zip 1000777 BLAKE2B b593e3ef880a22d712a4e2b0c51f2f68e5d9ab6c3e4124b32de643eab7d3b41b6d5eb46f4ac98af743d90343d29975760048af5b7be0919c40a9b84217b31939 SHA512 5372c151a5b45bb2cdf80c47ea65b4d8ad849cc5a50818917484b952e03c344f2d7f1896a13d51ad9daf7fa9c43226aa011dca03161d6976375f239f782bdd23 DIST instantclient-sqlplus-linux-19.11.0.0.0dbru.zip 884155 BLAKE2B f681321cc43646af74eda4d6da102587123e0f3fb423d978066f014c4729ed046806f9c49cae6928704b4993459089e8d8c1ab4fb1aab912cd6fa7ee27382fe3 SHA512 1f4bc70b070c9a0597f1433913018021e87a7b059784a56e47842afd8a501039def6591f4e7a009f3f4598f23c45aa807578a74082174862ecb444b1855f7b22 DIST instantclient-sqlplus-linux-21.3.0.0.0.zip 909623 BLAKE2B 181da5e352dfea2ee1d87e138601f8b84ae2df278deb1c205bf25e5958a32da13252c8455a8aeb9941de2fc3752fd0510c53f196e8755bedae24e704cb4197a3 SHA512 e4417bccf0abbbfe16fce06b1a18c6e4f58ede1b87a1ab6407f74e3b926aa9d9b4d390c881bd578f95ed4fec6980e8b28cb9f624b8480e1ffac6dc599dcf49a7 -DIST instantclient-sqlplus-linux.x64-18.5.0.0.0dbru.zip 918469 BLAKE2B 14efa748e7a892334610fa7a615c56b07e25873d5761408b9cac642af11ae2d97062b8014e4c7dee06dc37676d7c9d1a409d80f50b9d162210e073c1c4ef67d5 SHA512 8c2866ad092893647086adc554c7fab3c9bdc5429c9e0715d68717065fe12f106d228a2f241fe76bdc677a4adfa6eb01b0d866fab2bebbb1491a087a4b9d4a50 DIST instantclient-sqlplus-linux.x64-19.11.0.0.0dbru.zip 911265 BLAKE2B 78215f683458147792be3182eaf9edfde5943e8e470a7bcbe09c82c298df709bc7cdf919e349a9130b8d6313f2f8a1d04ad9b5b3c5ad91d49802ad14c3f15515 SHA512 dd1343ae49917a031cbd8d757d11da46354f157f46dd651afcde09b4b74a9e02008c6370eabf6bd313190629944cc075d6fbd893b491ad3505b7a05dbeecd963 DIST instantclient-sqlplus-linux.x64-21.3.0.0.0.zip 936305 BLAKE2B b6021f3ab3badb282f1a13a93beee6caa093b905efe6a647cc8ec9ea84eb3f7de4d9885692fd8d965608ba89964d13b5427af0f8710711f673ec97c528a6063c SHA512 9c6e87b4d319fc2bc35b2bd492b9608023d0f90b6230a66c75d9cd4d9fdea9b5dab178751cd188f9d1368f639d40f342ef1c71773dc4f9e9d8a199f4b46deaee DIST instantclient-tools-linux-19.11.0.0.0dbru.zip 1020021 BLAKE2B e2a615e0ffb4608af05931a8b49406c85db5d549761319c7116395fae206fe6cc0cf56b49e6c3968419e63616f2d07ad6ec3ed70c862fb2394b8dc0ce9f6dbb0 SHA512 255593c1e62a11f41793619c856d316815d77fa83cc9efee1d5366dc86b32e9909b042f7ac81ad693aafb8c34cdcc8faa7eebf816a90d037d36ce461df33f469 DIST instantclient-tools-linux-21.3.0.0.0.zip 1083935 BLAKE2B e0caed4063d3322322beea599053fc40f1e08470d03c4bbe7cb5b46e5f4ba4759d313ea714806facd35d24924cb83e6d9d7d3a44bcf1da62c6c80d0321f33ce9 SHA512 301c126a3d2fefe36400c2287515ff6716a68a3273ae1450393d04509447d68e3bd2cc0412c5c078923421ff80534c3fa56123df61fbf92ea42965e3eed80bce -DIST instantclient-tools-linux.x64-18.5.0.0.0dbru.zip 1143747 BLAKE2B af5e70e1add6ca2042a213b5038a805ea3d6074703d5a677798684f60f681d6f7b642154d87a02fe973b5b12295ea9ef6f64c45836ceee66ce67d4e4498417b6 SHA512 7bbacdb1fa062c40b2389599ab522b02d63e68731d461fe45446685642b932ee741b8c9e0fde189d8f741db4131f6ac72c8124612e8668a00f90ed7c594fff50 DIST instantclient-tools-linux.x64-19.11.0.0.0dbru.zip 1085194 BLAKE2B 321e1cd7704f6a5ad33a9ca0eed35feb4d8e4a3ac2b5a5d11f992569f0024ae8ef5b8fb42b02d627ee4a81d2ae9170367ba7107e0f975f89d189c576eef45edd SHA512 d355b0a457ede28b20004b4709ada5bb2c2c8a72a20a19df07bc4fb8607f78ed4d24bbf07a9f2157873b544de7a43406faa27374a0f2d6a47d63f36478e97d3e DIST instantclient-tools-linux.x64-21.3.0.0.0.zip 1149632 BLAKE2B 3ad6ee973f813733e48c58f9a18d1dad321f9fb886d9460c2bc8f9d766d5a021722b34d9d9ea0ffb7a8466a38f5cf816bc55767b668e5cb5ee59b549fe4fc4ca SHA512 4c47b51f4801cab6d71a201c12ddb7a30616050584630107968a50457d4eca0e92f3344505bdd8f36481924a21a508d476c9f26ed111bad846f4a8feab98110d diff --git a/dev-db/oracle-instantclient/oracle-instantclient-18.5.0.0.ebuild b/dev-db/oracle-instantclient/oracle-instantclient-18.5.0.0.ebuild deleted file mode 100644 index 4bbd5242c42e..000000000000 --- a/dev-db/oracle-instantclient/oracle-instantclient-18.5.0.0.ebuild +++ /dev/null @@ -1,365 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit pax-utils multilib-minimal - -DESCRIPTION="Oracle 18c Instant Client with SDK" -HOMEPAGE="https://www.oracle.com/technetwork/database/database-technologies/instant-client/overview/index.html" - -MY_SOVER=18.1 # the library soname found in the zip files - -IUSE="jdbc odbc precomp +sdk +sqlplus tools" -REQUIRED_USE="precomp? ( sdk )" - -MY_PVM=$(ver_cut 1-2) -MY_P="instantclient_$(ver_rs 1 _ ${MY_PVM})" - -MY_PV=$(ver_cut 1-4) -MY_PVP=$(ver_cut 5) # p2 - -MY_PLAT_x86="Linux x86" -MY_BITS_x86=32 -MY_A_x86="${PN/oracle-/}-basic-linux-${MY_PV}.0dbru.zip" -MY_A_x86_jdbc="${MY_A_x86/basic/jdbc}" -MY_A_x86_odbc="${MY_A_x86/basic/odbc}" -MY_A_x86_precomp="${MY_A_x86/basic/precomp}" -MY_A_x86_sdk="${MY_A_x86/basic/sdk}" -MY_A_x86_sqlplus="${MY_A_x86/basic/sqlplus}" -MY_A_x86_tools="${MY_A_x86/basic/tools}" - -MY_PLAT_amd64="Linux x86-64" -MY_BITS_amd64=64 -MY_A_amd64="${PN/oracle-}-basic-linux.x64-${MY_PV}.0dbru.zip" -MY_A_amd64_jdbc="${MY_A_amd64/basic/jdbc}" -MY_A_amd64_odbc="${MY_A_amd64/basic/odbc}" -MY_A_amd64_precomp="${MY_A_amd64/basic/precomp}" -MY_A_amd64_sdk="${MY_A_amd64/basic/sdk}" -MY_A_amd64_sqlplus="${MY_A_amd64/basic/sqlplus}" -MY_A_amd64_tools="${MY_A_amd64/basic/tools}" - -if [[ ${MY_PVP} == p* ]] -then - MY_PVP=-${MY_PVP#p} - # Updated 9/22/2017: instantclient-odbc-linux-12.2.0.1.0-2.zip - MY_A_x86_odbc="${MY_A_x86_odbc%.zip}${MY_PVP}.zip" - MY_A_amd64_odbc="${MY_A_amd64_odbc%.zip}${MY_PVP}.zip" -fi - -SRC_URI=" - abi_x86_64? ( - ${MY_A_amd64} - jdbc? ( ${MY_A_amd64_jdbc} ) - odbc? ( ${MY_A_amd64_odbc} ) - precomp? ( ${MY_A_amd64_precomp} ) - sdk? ( ${MY_A_amd64_sdk} ) - sqlplus? ( ${MY_A_amd64_sqlplus} ) - tools? ( ${MY_A_amd64_tools} ) - ) -" - -LICENSE="OTN" -SLOT="0/${MY_SOVER}" -KEYWORDS="~amd64" -RESTRICT="fetch splitdebug" - -DEPEND="app-arch/unzip" -RDEPEND=" - >=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}] - sys-libs/glibc -" - -S="${WORKDIR}/${MY_P}" - -QA_PREBUILT="usr/lib*/oracle/client/*/*" - -set_my_abivars() { - if multilib_is_native_abi; then - MY_WORKDIR="${WORKDIR}" - MY_S="${S}" - else - MY_WORKDIR="${WORKDIR}/${ABI}" - MY_S="${MY_WORKDIR}/${MY_P}" - fi - - local abi=${ABI} - [[ ${abi} == 'default' ]] && abi=${ARCH} - MY_PLAT=MY_PLAT_${abi} ; MY_PLAT=${!MY_PLAT} # platform name - MY_BITS=MY_BITS_${abi} ; MY_BITS=${!MY_BITS} # platform bitwidth - MY_A=MY_A_${abi} ; MY_A=${!MY_A} # runtime distfile - MY_A_jdbc=MY_A_${abi}_jdbc ; MY_A_jdbc=${!MY_A_jdbc} # jdbc distfile - MY_A_odbc=MY_A_${abi}_odbc ; MY_A_odbc=${!MY_A_odbc} # odbc distfile - MY_A_precomp=MY_A_${abi}_precomp; MY_A_precomp=${!MY_A_precomp} # precomp distfile - MY_A_sdk=MY_A_${abi}_sdk ; MY_A_sdk=${!MY_A_sdk} # sdk distfile - MY_A_sqlplus=MY_A_${abi}_sqlplus; MY_A_sqlplus=${!MY_A_sqlplus} # sqlplus distfile - MY_A_tools=MY_A_${abi}_tools ; MY_A_tools=${!MY_A_tools} # tools distfile - - [[ -n ${MY_PLAT} ]] -} - -oic_distfile_status() { - : # We must not access DISTDIR in pkg_* phase, bug#612966. -# Not removing this lines yet, we may eventually specify this feature. -# if [[ -r ${DISTDIR}/${1} ]]; then -# echo "already here" -# else -# echo "still absent" -# fi -} - -pkg_nofetch() { - eerror "Please go to" - eerror " ${HOMEPAGE//overview/downloads}" - eerror " and download" - local ABI - for ABI in $(multilib_get_enabled_abis) - do - set_my_abivars || continue - eerror "Instant Client for ${MY_PLAT}" - # convenient ordering like Linux x86-64 download site - eerror " Basic: $(oic_distfile_status ${MY_A}) ${MY_A}" - use sqlplus && multilib_is_native_abi && - eerror " SQL*Plus: $(oic_distfile_status ${MY_A_sqlplus}) ${MY_A_sqlplus}" - use tools && multilib_is_native_abi && - eerror " Tools: $(oic_distfile_status ${MY_A_tools}) ${MY_A_tools}" - use sdk && multilib_is_native_abi && - eerror " SDK: $(oic_distfile_status ${MY_A_sdk}) ${MY_A_sdk}" - use jdbc && - eerror " JDBC: $(oic_distfile_status ${MY_A_jdbc}) ${MY_A_jdbc}" - use odbc && - eerror " ODBC: $(oic_distfile_status ${MY_A_odbc}) ${MY_A_odbc}" - use precomp && - eerror " Precompiler: $(oic_distfile_status ${MY_A_precomp}) ${MY_A_precomp}" - done - eerror "After downloading these files (for *all* shown architectures)," - eerror "put them in your DISTDIR filesystem directory." -} - -src_unpack() { - local ABI - for ABI in $(multilib_get_enabled_abis) - do - set_my_abivars || continue - mkdir -p "${MY_WORKDIR}" || die - cd "${MY_WORKDIR}" || die - unpack ${MY_A} - use jdbc && unpack ${MY_A_jdbc} - use odbc && unpack ${MY_A_odbc} - use precomp && unpack ${MY_A_precomp} - if multilib_is_native_abi; then - use sdk && unpack ${MY_A_sdk} - use sqlplus && unpack ${MY_A_sqlplus} - use tools && unpack ${MY_A_tools} - fi - done -} - -src_prepare() { - local PATCHES=() - if use precomp; then - PATCHES+=( "${FILESDIR}"/18.3.0.0-proc-makefile.patch ) - # Not supporting COBOL for now - rm -f sdk/demo/*procob* - fi - if use sdk; then - PATCHES+=( "${FILESDIR}"/18.3.0.0-makefile.patch ) - rm sdk/include/ldap.h || die #299562 - fi - default -} - -# silence configure&compile messages from multilib-minimal -src_configure() { :; } -src_compile() { :; } - -src_install() { - # all content goes here without version number, bug#578402 - local oracle_home=/usr/$(get_libdir)/oracle/client - local oracle_home_to_root=../../../.. # for dosym - local ldpath= - - local ABI - for ABI in $(multilib_get_enabled_abis) # last iteration is final ABI - do - if ! set_my_abivars; then - elog "Skipping unsupported ABI ${ABI}." - continue - fi - ebegin "Installing runtime for ${MY_PLAT}" - - cd "${MY_S}" || die - - # shared libraries - into "${oracle_home}" - dolib.so lib*$(get_libname)* - use precomp && dolib.a cobsqlintf.o - - # ensure to be linkable - [[ -e libocci$(get_libname) ]] || - dosym libocci$(get_libname ${MY_SOVER}) \ - "${oracle_home}"/$(get_libdir)/libocci$(get_libname) - [[ -e libclntsh$(get_libname) ]] || - dosym libclntsh$(get_libname ${MY_SOVER}) \ - "${oracle_home}"/$(get_libdir)/libclntsh$(get_libname) - - # java archives - insinto "${oracle_home}"/$(get_libdir) - doins *.jar - - # runtime library path - ldpath+=${ldpath:+:}${oracle_home}/$(get_libdir) - - # Vanilla filesystem layout does not support multilib - # installation, so we need to move the libs into the - # ABI specific libdir. However, ruby-oci8 build system - # detects an instantclient along the shared libraries, - # and does expect the sdk right there. - use sdk && dosym ../sdk "${oracle_home}"/$(get_libdir)/sdk - - eend $? - done - - local DOCS=( BASIC_README ) - local HTML_DOCS=() - local paxbins=( adrci genezi uidrvci ) - local scripts=() - - if use jdbc; then - DOCS+=( JDBC_README ) - fi - if use odbc; then - DOCS+=( ODBC_README ) - HTML_DOCS+=( help ) - scripts+=( odbc_update_ini.sh ) - fi - if use precomp; then - DOCS+=( PRECOMP_README ) - paxbins+=( sdk/proc ) - # Install pcscfg.cfg into /etc/oracle, as the user probably - # wants to add the include path for the compiler headers - # here and we do not want this to be overwritten. - insinto /etc/oracle - doins precomp/admin/pcscfg.cfg - sed -i -e "s%^sys_include=.*%sys_include=(${oracle_home}/include,${EPREFIX}/usr/include)%" \ - "${ED}"/etc/oracle/pcscfg.cfg || die - dosym ../../${oracle_home_to_root}/etc/oracle/pcscfg.cfg "${oracle_home}/precomp/admin/pcscfg.cfg" - dosym ../.."${oracle_home}"/bin/proc /usr/bin/proc - # Not supporting COBOL for now - # paxbins+=( sdk/{procob,rtsora} ) - # doins precomp/admin/pcbcfg.cfg - fi - if use sdk; then - ebegin "Installing SDK" - DOCS+=( SDK_README ) - scripts+=( sdk/ott ) - insinto "${oracle_home}"/$(get_libdir) - doins sdk/ottclasses.zip - insinto "${oracle_home}"/sdk - doins -r sdk/{admin,demo,include} - # Some build systems simply expect ORACLE_HOME/include. - dosym sdk/include "${oracle_home}"/include - # Some build systems do not know the instant client, - # expecting headers in rdbms/public, see bug#669316. - # Additionally, some (probably older ruby-oci8) do - # require rdbms/public to be a real directory. - insinto "${oracle_home}"/rdbms/public - doins -r sdk/include/* - # Others (like the DBD::Oracle perl module) know the Oracle - # eXpress Edition's client, parsing an rdbms/demo/demo_xe.mk. - dosym ../../sdk/demo/demo.mk "${oracle_home}"/rdbms/demo/demo_xe.mk - # And some do expect /usr/include/oracle/<ver>/client/include, - # querying 'sqlplus' for the version number, also see bug#652096. - dosym ../../../.."${oracle_home}"/sdk/include /usr/include/oracle/${MY_PVM}/client - eend $? - fi - if use sqlplus; then - DOCS+=( SQLPLUS_README ) - paxbins+=( sqlplus ) - insinto "${oracle_home}"/sqlplus/admin - doins glogin.sql - dosym ../.."${oracle_home}"/bin/sqlplus /usr/bin/sqlplus - fi - if use tools; then - DOCS+=( TOOLS_README ) - paxbins+=( exp expdp imp impdp sqlldr wrc ) - fi - - ebegin "Installing binaries for ${MY_PLAT}" - into "${oracle_home}" - dobin ${paxbins[*]} ${scripts[*]} - pushd "${ED}${oracle_home}/bin" >/dev/null || die - pax-mark -c ${paxbins[*]#*/} || die - popd >/dev/null || die - eend $? - - einstalldocs - - # create path for tnsnames.ora - insinto /etc/oracle - doins "${FILESDIR}"/tnsnames.ora.sample - - # Add OCI libs to library path - { - echo "# ${EPREFIX}/etc/env.d/50${PN}" - echo "# Do not edit this file, but 99${PN} instead" - echo - echo "ORACLE_HOME=${EPREFIX}${oracle_home}" - echo "LDPATH=${ldpath}" - echo "TNS_ADMIN=${EPREFIX}/etc/oracle/" - } > "${T}"/50${PN} - - doenvd "${T}"/50${PN} - - # ensure ORACLE_HOME/lib exists - [[ -e ${ED}${oracle_home}/lib/. ]] || - dosym $(get_libdir) "${oracle_home#/}"/lib -} - -pkg_preinst() { - if [[ -r ${EROOT}/etc/env.d/99${PN} ]]; then - cp "${EROOT}/etc/env.d/99${PN}" "${ED}/etc/env.d/" || die - else - { - echo "# ${EPREFIX}/etc/env.d/99${PN}" - echo "# Configure system-wide defaults for your Oracle Instant Client here" - echo - echo "#$(grep '^ORACLE_HOME=' "${ED}/etc/env.d/50${PN}")" - echo "#$(grep '^TNS_ADMIN=' "${ED}/etc/env.d/50${PN}")" - echo "#NLS_LANG=" - } > "${ED}/etc/env.d/99${PN}" - fi -} - -pkg_postinst() { - elog "${P} does not provide an sqlnet.ora" - elog "configuration file, redirecting oracle diagnostics for database-" - elog "and network-issues into ~USER/oradiag_USER/ instead." - elog "It should be safe to ignore this message in sqlnet.log there:" - elog " Directory does not exist for read/write [ORACLE_HOME/client/log] []" - elog "See https://bugs.gentoo.org/show_bug.cgi?id=465252 for reference." - elog "If you want to directly analyse low-level debug info or don't want" - elog "to see it at all, so you really need an sqlnet.ora file, please" - elog "consult http://search.oracle.com/search/search?q=sqlnet.ora" - elog "" - elog "TNS_ADMIN has been set to ${EPREFIX}/etc/oracle by default," - elog "put your tnsnames.ora there or configure TNS_ADMIN" - elog "to point to your user specific configuration." - if use precomp; then - elog "" - elog "The proc precompiler uses the system library headers, which in" - elog "turn include the headers of the used compiler." - elog "To make proc work, please add the compiler header path of your" - elog "preferred compiler to sys_include in:" - elog " ${EPREFIX}/etc/oracle/pcscfg.cfg" - elog "Remember to update this setting when you switch or update the" - elog "compiler." - elog "For gcc, the headers are usually found in a path matching the" - elog "following pattern:" - elog " ${EPREFIX}/usr/lib/gcc/*/*/include" - elog "The exact details depend on the architecture and the version of" - elog "the compiler to be used." - fi - ewarn "Please re-source your shell settings for ORACLE_HOME" - ewarn " changes, such as: source ${EPREFIX}/etc/profile" -} |