Bug 157544

Summary: Updates for databases/linux-oracle-instantclient-*
Product: Ports & Packages Reporter: Grzegorz Blach <magik>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed DUPLICATE    
Severity: Affects Only Me CC: JeanFrancois.Boeuf, cs, dbaio, eugen, pi
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198082
Attachments:
Description Flags
oracle.diff.txt
none
oracle.diff.txt
none
patch for update to 12.1.0.2.0 none

Description Grzegorz Blach 2011-06-02 22:10:09 UTC

Updated to 11.2.0.2.0:
databases/linux-oracle-instantclient-basic
databases/linux-oracle-instantclient-sdk
databases/linux-oracle-instantclient-sqlplus

This ports works not only on i386, but on amd64 too.

New port added emulators/linux-f10-libaio, on which instantclient depend.

And finally, added dependency record
for linux-libaio / linux-f10-libaio in Mk/bsd.linux-apps.mk
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-06-05 06:31:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nork

Over to maintainer.
Comment 2 nick 2011-12-21 13:58:51 UTC
The Fedora 10 RPM libaio-0.3.107-4.fc10.i386.rpm places the shared
libraries in /lib, not in /usr/lib as was the case in the Fedora 4 RPM
libaio-0.3.104-2.i386.rpm. Therefore the bsd.linux-apps.mk patch needs to
modified as follows:

--- orig/Mk/bsd.linux-apps.mk     2011-12-21 07:37:14.000000000 -0600
+++ new/Mk/bsd.linux-apps.mk  2011-12-21 07:37:24.000000000 -0600
@@ -238,5 +238,5 @@

 libaio_FILE=           ${LINUXBASE}/usr/lib/libaio.so.1.0.1
-libaio_f10_FILE=       ${LINUXBASE}/usr/lib/libaio.so.1.0.1
+libaio_f10_FILE=       ${LINUXBASE}/lib/libaio.so.1.0.1
 libaio_DETECT=         ${libaio${LINUX_DIST_SUFFIX:S/-/_/}_FILE}
 libaio_PORT=          
${PORTSDIR}/emulators/linux${LINUX_DIST_SUFFIX}-libaio

The distinfo file for emulators/linux-f10-libaio is also missing the
SIZE/SHA256 info for the source RPM, so should be modified as follows:

--- orig/emulators/linux-f10-libaio/distinfo.i386 2011-12-21
07:54:25.000000000 -0600
+++ new/emulators/linux-f10-libaio/distinfo.i386      2011-12-19
14:09:13.000000000 -0600
@@ -1,2 +1,4 @@
 SHA256 (rpm/i386/fedora/10/libaio-0.3.107-4.fc10.i386.rpm) =
8e2aa1dde4550bb00b0ef4b5fb93417c1e701bd8095a44191d10016fdcf349e1
 SIZE (rpm/i386/fedora/10/libaio-0.3.107-4.fc10.i386.rpm) = 19970
+SHA256 (rpm/i386/fedora/10/libaio-0.3.107-4.fc10.src.rpm) =
57dfdc58488ed84e1d4a85a73c91be9ba18809cee1b95df2f2c1f001f7bc420a
+SIZE (rpm/i386/fedora/10/libaio-0.3.107-4.fc10.src.rpm) = 61893

Thanks,

Nick Bertrand
Comment 3 Grzegorz Blach 2011-12-23 21:59:39 UTC
- databases/linux-oracle-instantclient-*: Updated to 11.2.0.3.0
- Mk/bsd.linux-apps.mk: Merged patch from nick@physics.umn.edu
- emulators/linux-f10-libaio: Merged patch from nick@physics.umn.edu, 
changed maintainer to me
Comment 4 Thomas Abthorpe freebsd_committer freebsd_triage 2012-08-15 20:31:26 UTC
Responsible Changed
From-To: nork->freebsd-ports-bugs

Reassign to the heap
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2013-02-19 14:40:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gblach

submitter is committer now.
Comment 6 Carlo Strub freebsd_committer freebsd_triage 2014-09-11 20:10:17 UTC
Is this PR still relevant?
Comment 7 Jean-François BOEUF 2014-10-08 12:31:56 UTC
(In reply to Carlo Strub from comment #6)
> Is this PR still relevant?
I take a look to include an earlier version (11.2.0.4 or 12.1.0.2) and to bring it up-to-date according to the latest linux binary compatibility evolution (c6 instead of f10).
Comment 8 Jean-François BOEUF 2014-10-11 20:13:35 UTC
Created attachment 148203 [details]
patch for update to 12.1.0.2.0

Please find attached a new patch:
- updated against the current port status
- updating the port from 10.2.0.3 to 12.1.0.2.0
- add a new libaio port on which earlier instant client depends
- take maintainer for those orphan ports
Comment 9 Grzegorz Blach freebsd_committer freebsd_triage 2015-09-07 18:20:32 UTC
I'm not using Oracle DB for long time, thus I don't have a possibility to review submitted patches.
Comment 10 Eugene Grosbein freebsd_committer freebsd_triage 2017-05-24 12:40:26 UTC
Submitter has abandoned the subject. Also, the PR is superseeded by newer one 198082.

*** This bug has been marked as a duplicate of bug 198082 ***