Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 69098 Details for
Bug 107023
Add amd64 support to oracle-instantclient-{basic,sqlplus}
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to dev-db/oracle-instantclient-basic-10.1.0.3.ebuild
oracle_basic.diff (text/plain), 1.69 KB, created by
Andy Lutomirski
on 2005-09-23 11:15:56 UTC
(
hide
)
Description:
Patch to dev-db/oracle-instantclient-basic-10.1.0.3.ebuild
Filename:
MIME Type:
Creator:
Andy Lutomirski
Created:
2005-09-23 11:15:56 UTC
Size:
1.69 KB
patch
obsolete
>--- oracle-instantclient-sqlplus-10.1.0.3.ebuild~amd64 2005-09-23 00:40:11.000000000 -0700 >+++ oracle-instantclient-sqlplus-10.1.0.3.ebuild 2005-09-23 01:00:16.000000000 -0700 >@@ -4,33 +4,49 @@ > > inherit eutils > >-MY_P="${P}-1.i386" >+x86file="${P}-1.i386.rpm" >+amd64file="instantclient-sqlplus-linux-x86-64-${PV}.zip" > > S=${WORKDIR} > DESCRIPTION="Oracle 10g client installation for Linux: SQL*Plus" > HOMEPAGE="http://otn.oracle.com/software/tech/oci/instantclient/htdocs/linuxsoft.html" >-SRC_URI="${MY_P}.rpm" >+SRC_URI="x86? ( $x86file ) amd64? ( $amd64file )" > > LICENSE="OTN" > SLOT="${KV}" >-KEYWORDS="~x86" >+KEYWORDS="~x86 ~amd64" > RESTRICT="fetch" > IUSE="" > >-DEPEND="app-arch/rpm2targz >+DEPEND="x86? ( app-arch/rpm2targz ) >+ amd64? ( app-arch/unzip ) > >=dev-db/oracle-instantclient-basic-${PV}" > > pkg_nofetch() { > eerror "Please go to:" >- eerror " ${HOMEPAGE}" >+ if use x86; then >+ eerror " ${HOMEPAGE}" >+ else >+ eerror >+ " http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxx86_64soft.html" >+ fi > eerror "and download the SQL*Plus package. Put it in:" > eerror " ${DISTDIR}" > eerror "after downloading it." > } > > src_unpack() { >- rpm2targz ${DISTDIR}/${MY_P}.rpm >- tar zxf ${WORKDIR}/${MY_P}.tar.gz 2>/dev/null >+ if use x86; then >+ rpm2targz ${DISTDIR}/${x86file} >+ tar zxf ${WORKDIR}/${x86file%.rpm}.tar.gz 2>/dev/null >+ else >+ unzip ${DISTDIR}/${amd64file} >+ mkdir -p usr/lib/oracle/${PV}/client/bin >+ mkdir -p usr/lib/oracle/${PV}/client/lib >+ mv instantclient10_1/glogin.sql usr/lib/oracle/${PV}/client/lib >+ mv instantclient10_1/libsqlplus.so usr/lib/oracle/${PV}/client/lib >+ mv instantclient10_1/sqlplus usr/lib/oracle/${PV}/client/bin >+ fi > } > > src_install() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 107023
: 69098 |
69099