diff options
| author | Michael Haubenwallner <haubi@gentoo.org> | 2018-07-09 21:48:34 +0200 |
|---|---|---|
| committer | Michael Haubenwallner <haubi@gentoo.org> | 2018-07-09 21:51:46 +0200 |
| commit | 68fcf11d4db5454e85386e9f666235aa4fbf6d74 (patch) | |
| tree | 8594c5570b383f74b2f31694883a615c28744ec6 /dev-db/oracle-instantclient-basic/files | |
| parent | a09f7cff4a3e928fa5519cd9048075a02fd04cb1 (diff) | |
| download | gentoo-68fcf11d4db5454e85386e9f666235aa4fbf6d74.tar.gz gentoo-68fcf11d4db5454e85386e9f666235aa4fbf6d74.tar.bz2 gentoo-68fcf11d4db5454e85386e9f666235aa4fbf6d74.zip | |
Revert "dev-db/oracle-instantclient-basic: cleanup old"
This reverts commit 5719cacb8b4d4f2b0d40e92e667a7c940de1b319.
There have been stable keywords around.
Diffstat (limited to 'dev-db/oracle-instantclient-basic/files')
| -rw-r--r-- | dev-db/oracle-instantclient-basic/files/11.2.0.3-makefile.patch | 57 | ||||
| -rw-r--r-- | dev-db/oracle-instantclient-basic/files/tnsnames.ora.sample | 93 |
2 files changed, 150 insertions, 0 deletions
diff --git a/dev-db/oracle-instantclient-basic/files/11.2.0.3-makefile.patch b/dev-db/oracle-instantclient-basic/files/11.2.0.3-makefile.patch new file mode 100644 index 000000000000..efcc2c6fac7c --- /dev/null +++ b/dev-db/oracle-instantclient-basic/files/11.2.0.3-makefile.patch @@ -0,0 +1,57 @@ +Fake demo_xe.mk found in Oracle eXpress Edition, +known by CPAN DBD::Oracle (bug#165834). +This provides absolute paths for headers and libraries. + +Paranoia drops those REMOVE lines. +--- sdk/demo/demo.mk.orig 2012-03-06 17:11:57.636990449 +0100 ++++ sdk/demo/demo.mk 2012-03-06 17:19:37.985324293 +0100 +@@ -28,8 +28,9 @@ + CC=/opt/SunProd/SUNWspro6.1/bin/CC + cc=/opt/SunProd/SUNWspro6.1/bin/cc + +-ICINCHOME=../ +-ICLIBHOME=../../ ++LIBDIR=lib ++ICINCHOME=$(ORACLE_HOME)/ ++ICLIBHOME=$(ORACLE_HOME)/$(LIBDIR) + ICLIBPATH=-L$(ICLIBHOME) + THREADLIBS=-lthread + CCLIB=$(ICLIBPATH) -locci -lclntsh $(THREADLIBS) +@@ -64,18 +64,18 @@ + all: clean buildoci $(OCCIDEMO) $(OCCIOBJDEMO) + + buildoci: $(CLNCACHE) $(LIBCLNT) $(CDEMOOBJS) +- $(MKLINK) $(ICLIBHOME)libclntsh$(SO_EXT).11.1 $(ICLIBHOME)libclntsh$(SO_EXT) +- $(MKLINK) $(ICLIBHOME)libocci$(SO_EXT).11.1 $(ICLIBHOME)libocci$(SO_EXT) ++# $(MKLINK) $(ICLIBHOME)libclntsh$(SO_EXT).11.1 $(ICLIBHOME)libclntsh$(SO_EXT) ++# $(MKLINK) $(ICLIBHOME)libocci$(SO_EXT).11.1 $(ICLIBHOME)libocci$(SO_EXT) + $(CC) -o $(CDEMOEXE) $(LDFLAGS) $(CDEMOOBJS) $(CCLIB) +- $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT) +- $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT) ++# $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT) ++# $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT) + + buildocci: $(CLNCACHE) $(LIBCLNT) $(OBJS) +- $(MKLINK) $(ICLIBHOME)libclntsh$(SO_EXT).11.1 $(ICLIBHOME)libclntsh$(SO_EXT) +- $(MKLINK) $(ICLIBHOME)libocci$(SO_EXT).11.1 $(ICLIBHOME)libocci$(SO_EXT) ++# $(MKLINK) $(ICLIBHOME)libclntsh$(SO_EXT).11.1 $(ICLIBHOME)libclntsh$(SO_EXT) ++# $(MKLINK) $(ICLIBHOME)libocci$(SO_EXT).11.1 $(ICLIBHOME)libocci$(SO_EXT) + $(CC) -o $(EXE) $(LDFLAGS) $(OBJS) $(CCLIB) +- $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT) +- $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT) ++# $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT) ++# $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT) + + $(OCCIDEMO): + $(MAKE) -f $(MAKEFILE) buildocci OBJS=$@.o EXE=$@ +@@ -93,8 +93,8 @@ + + cleancache: + $(REMOVE) $(CACHEDIR) +- $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT) +- $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT) ++# $(REMOVE) $(ICLIBHOME)libclntsh$(SO_EXT) ++# $(REMOVE) $(ICLIBHOME)libocci$(SO_EXT) + + clean: $(CLNCACHE) + $(REMOVE) cdemo81 cdemo81.o occidml occidml.o occiobj occiobj.o occiobjo* occiobjm* occiobj.h occiobjout.type diff --git a/dev-db/oracle-instantclient-basic/files/tnsnames.ora.sample b/dev-db/oracle-instantclient-basic/files/tnsnames.ora.sample new file mode 100644 index 000000000000..f0524f5993cd --- /dev/null +++ b/dev-db/oracle-instantclient-basic/files/tnsnames.ora.sample @@ -0,0 +1,93 @@ +# This file contains the syntax information for +# the entries to be put in any tnsnames.ora file +# The entries in this file are need based. +# There are no defaults for entries in this file +# that Sqlnet/Net3 use that need to be overridden +# +# Typically you could have two tnsnames.ora files +# in the system, one that is set for the entire system +# and is called the system tnsnames.ora file, and a +# second file that is used by each user locally so that +# he can override the definitions dictated by the system +# tnsnames.ora file. + +# The entries in tnsnames.ora are an alternative to using +# the names server with the onames adapter. +# They are a collection of aliases for the addresses that +# the listener(s) is(are) listening for a database or +# several databases. + +# The following is the general syntax for any entry in +# a tnsnames.ora file. There could be several such entries +# tailored to the user's needs. + +<alias>= [ (DESCRIPTION_LIST = # Optional depending on whether u have + # one or more descriptions + # If there is just one description, unnecessary ] + (DESCRIPTION= + [ (SDU=2048) ] # Optional, defaults to 2048 + # Can take values between 512 and 32K + [ (ADDRESS_LIST= # Optional depending on whether u have + # one or more addresses + # If there is just one address, unnecessary ] + (ADDRESS= + [ (COMMUNITY=<community_name>) ] + (PROTOCOL=tcp) + (HOST=<hostname>) + (PORT=<portnumber (1521 is a standard port used)>) + ) + [ (ADDRESS= + (PROTOCOL=ipc) + (KEY=<ipckey (PNPKEY is a standard key used)>) + ) + ] + [ (ADDRESS= + [ (COMMUNITY=<community_name>) ] + (PROTOCOL=decnet) + (NODE=<nodename>) + (OBJECT=<objectname>) + ) + ] + ... # More addresses + [ ) ] # Optional depending on whether ADDRESS_LIST is used or not + [ (CONNECT_DATA= + (SID=<oracle_sid>) + [ (GLOBAL_NAME=<global_database_name>) ] + ) + ] + [ (SOURCE_ROUTE=yes) ] + ) + (DESCRIPTION= + [ (SDU=2048) ] # Optional, defaults to 2048 + # Can take values between 512 and 32K + [ (ADDRESS_LIST= ] # Optional depending on whether u have more + # than one address or not + # If there is just one address, unnecessary + (ADDRESS + [ (COMMUNITY=<community_name>) ] + (PROTOCOL=tcp) + (HOST=<hostname>) + (PORT=<portnumber (1521 is a standard port used)>) + ) + [ (ADDRESS= + (PROTOCOL=ipc) + (KEY=<ipckey (PNPKEY is a standard key used)>) + ) + ] + ... # More addresses + [ ) ] # Optional depending on whether ADDRESS_LIST + # is being used + [ (CONNECT_DATA= + (SID=<oracle_sid>) + [ (GLOBAL_NAME=<global_database_name>) ] + ) + ] + [ (SOURCE_ROUTE=yes) ] + ) + [ (CONNECT_DATA= + (SID=<oracle_sid>) + [ (GLOBAL_NAME=<global_database_name>) ] + ) + ] + ... # More descriptions + [ ) ] # Optional depending on whether DESCRIPTION_LIST is used or not |
