Diff oracle-instantclient-19.11.0.0.0 with a oracle-instantclient-21.3.0.0.0

/usr/portage/dev-db/oracle-instantclient/oracle-instantclient-21.3.0.0.0.ebuild 2023-10-09 14:52:29.328368346 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI="7"
......
8 8
DESCRIPTION="Oracle 18c Instant Client with SDK"
9 9
HOMEPAGE="https://www.oracle.com/database/technologies/instant-client.html"
10 10

  
11
MY_SOVER=19.1 # the library soname found in the zip files
11
MY_SOVER=21.1 # the library soname found in the zip files
12 12

  
13 13
IUSE="jdbc odbc precomp +sdk +sqlplus tools"
14 14
REQUIRED_USE="precomp? ( sdk )"
......
16 16
MY_PVM=$(ver_cut 1-2)
17 17
MY_P="instantclient_$(ver_rs 1 _ ${MY_PVM})"
18 18

  
19
MY_PV=$(ver_cut 1-4)
20 19
MY_PVP=$(ver_cut 5) # p2
21 20

  
22 21
MY_URI="https://download.oracle.com/otn_software/linux/instantclient/$(ver_rs 1-5 '' $(ver_cut 1-5))"
23 22
MY_PLAT_x86="Linux x86"
24 23
MY_BITS_x86=32
25
MY_A_x86="${MY_URI}/${PN/oracle-/}-basic-linux-${MY_PV}.0dbru.zip"
24
MY_A_x86="${MY_URI}/${PN/oracle-/}-basic-linux-${PV}.zip"
26 25
MY_A_x86_jdbc="${MY_A_x86/basic/jdbc}"
27 26
MY_A_x86_odbc="${MY_A_x86/basic/odbc}"
28 27
MY_A_x86_precomp="${MY_A_x86/basic/precomp}"
......
32 31

  
33 32
MY_PLAT_amd64="Linux x86-64"
34 33
MY_BITS_amd64=64
35
MY_A_amd64="${MY_URI}/${PN/oracle-}-basic-linux.x64-${MY_PV}.0dbru.zip"
34
MY_A_amd64="${MY_URI}/${PN/oracle-}-basic-linux.x64-${PV}.zip"
36 35
MY_A_amd64_jdbc="${MY_A_amd64/basic/jdbc}"
37 36
MY_A_amd64_odbc="${MY_A_amd64/basic/odbc}"
38 37
MY_A_amd64_precomp="${MY_A_amd64/basic/precomp}"
......
132 131
src_prepare() {
133 132
	local PATCHES=()
134 133
	if use precomp; then
135
		PATCHES+=( "${FILESDIR}"/18.3.0.0-proc-makefile.patch )
136 134
		# Not supporting COBOL for now
137 135
		rm -f sdk/demo/*procob*
138 136
	fi
139 137
	if use sdk; then
140
		PATCHES+=( "${FILESDIR}"/18.3.0.0-makefile.patch )
138
		PATCHES+=( "${FILESDIR}"/21.3.0.0.0-makefile.patch )
141 139
		rm sdk/include/ldap.h || die #299562
142 140
	fi
143 141
	default
Thank you!