diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-06-10 17:32:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-06-10 17:32:18 +0000 |
commit | 7bd46b3090309c79572725d50e4cdda15c365fbc (patch) | |
tree | 8116de48c3d0c2243274cba8a1cc0fb805d3a093 | |
parent | Adding upstream version 21.6.0.0.0. (diff) | |
download | oracle-instantclient-basic-progress-linux.tar.xz oracle-instantclient-basic-progress-linux.zip |
Adding progress-linux version 21.6.0.0.0-0progress6+u1.HEADprogress-linux/21.6.0.0.0-0progress6+u1progress-linux
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/control | 42 | ||||
-rw-r--r-- | debian/copyright | 144 | ||||
-rwxr-xr-x | debian/local/bin.sh | 12 | ||||
-rw-r--r-- | debian/oracle-instantclient-basic.README.Debian | 13 | ||||
-rw-r--r-- | debian/oracle-instantclient-basic.TODO | 1 | ||||
-rwxr-xr-x | debian/rules | 50 | ||||
-rw-r--r-- | debian/source/format | 1 |
8 files changed, 268 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..76f4bbd --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +oracle-instantclient-basic (21.6.0.0.0-0progress6+u1) fuchur-backports-extras; urgency=low + + * Initial upload to fuchur-backports-extras. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 10 Jun 2022 19:30:12 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d60f00b --- /dev/null +++ b/debian/control @@ -0,0 +1,42 @@ +Source: oracle-instantclient-basic +Section: restricted/admin +Priority: optional +Maintainer: Progress Linux Maintainers <maintainers@lists.progress-linux.org> +XSBC-Uploaders: Daniel Baumann <daniel.baumann@progress-linux.org> +Bugs: mailto:maintainers@lists.progress-linux.org +Build-Depends: + debhelper-compat (= 13), + libaio-dev, + unzip, +Rules-Requires-Root: no +Standards-Version: 4.6.1 +Homepage: https://www.oracle.com/database/technologies/instant-client.html +Vcs-Browser: https://git.progress-linux.org/packages/fuchur-backports-extras/oracle-instantclient-basic +Vcs-Git: https://git.progress-linux.org/packages/fuchur-backports-extras/oracle-instantclient-basic + +Package: oracle-instantclient-basic +Section: restricted/admin +Architecture: amd64 +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Conflicts: + oracle-instantclient, +Replaces: + oracle-instantclient, +Provides: + oracle-instantclient, +Description: Oracle Instant Client - Basic + Oracle Instant Client enables connecting to Oracle Database, either on-premise + or in the Cloud. The Instant Client libraries provide the necessary network + connectivity and features to make full use of Oracle Database. + . + The libraries are used by the Oracle APIs of popular languages and environments + including Python, Node.js, Go, PHP and Ruby, as well as providing access for + Oracle Call Interface (OCI), Oracle C++ Call Interface (OCCI), JDBC OCI, ODBC + and Pro*C applications. Tools included in Instant Client, such as SQL*Plus, + SQL*Loader and Oracle Data Pump, provide quick and convenient data access. + . + This package contains the Basic variant, the larger version of the Basic Light + package, with all files required to run OCI, OCCI, and JDBC OCI applications + for Oracle Database. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..882300d --- /dev/null +++ b/debian/copyright @@ -0,0 +1,144 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Oracle Instant Client Basic Light +Upstream-Contact: n/a +Source: https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html + +Files: * +Copyright: Oracle America, Inc. +License: Oracle Free Use Terms and Conditions + +Files: debian/* +Copyright: 2010-2022 Daniel Baumann <daniel.baumann@progress-linux.org> +License: PD + +License: Oracle Free Use Terms and Conditions + Oracle Free Use Terms and Conditions + . + Definitions + . + "Oracle" refers to Oracle America, Inc. "You" and "Your" refers to (a) + a company or organization (each an "Entity") accessing the Programs, + if use of the Programs will be on behalf of such Entity; or (b) an + individual accessing the Programs, if use of the Programs will not be + on behalf of an Entity. "Program(s)" refers to Oracle software + provided by Oracle pursuant to the following terms and any updates, + error corrections, and/or Program Documentation provided by + Oracle. "Program Documentation" refers to Program user manuals and + Program installation manuals, if any. If available, Program + Documentation may be delivered with the Programs and/or may be + accessed from www.oracle.com/documentation. "Separate Terms" refers to + separate license terms that are specified in the Program + Documentation, readmes or notice files and that apply to Separately + Licensed Technology. "Separately Licensed Technology" refers to Oracle + or third party technology that is licensed under Separate Terms and + not under the terms of this license. + . + Separately Licensed Technology + . + Oracle may provide certain notices to You in Program Documentation, + readmes or notice files in connection with Oracle or third party + technology provided as or with the Programs. If specified in the + Program Documentation, readmes or notice files, such technology will + be licensed to You under Separate Terms. Your rights to use Separately + Licensed Technology under Separate Terms are not restricted in any way + by the terms herein. For clarity, notwithstanding the existence of a + notice, third party technology that is not Separately Licensed + Technology shall be deemed part of the Programs licensed to You under + the terms of this license. + . + Source Code for Open Source Software + . + For software that You receive from Oracle in binary form that is + licensed under an open source license that gives You the right to + receive the source code for that binary, You can obtain a copy of the + applicable source code from https://oss.oracle.com/sources/ or + http://www.oracle.com/goto/opensourcecode. If the source code for such + software was not provided to You with the binary, You can also receive + a copy of the source code on physical media by submitting a written + request pursuant to the instructions in the "Written Offer for Source + Code" section of the latter website. + . + ------------------------------------------------------------------------------- + . + The following license terms apply to those Programs that are not + provided to You under Separate Terms. + . + License Rights and Restrictions + . + Oracle grants to You, as a recipient of this Program, a nonexclusive, + nontransferable, limited license to, subject to the conditions stated + herein, (a) internally use the unmodified Programs for the purposes of + developing, testing, prototyping and demonstrating your applications, + and running the Programs for your own internal business operations; + and (b) redistribute unmodified Programs and Programs Documentation, + under the terms of this License, provided that You do not charge Your + end users any additional fees for the use of the Programs. You may + make copies of the Programs to the extent reasonably necessary for + exercising the license rights granted herein and for backup + purposes. You are granted the right to use the Programs to provide + third party training in the use of the Programs and associated + Separately Licensed Technology only if there is express authorization + of such use by Oracle on the Program's download page or in the Program + Documentation. + . + Your license is contingent on Your compliance with the following conditions: + . + - You include a copy of this license with any distribution by You + of the Programs; + . + - You do not remove markings or notices of either Oracle's or a + licensor's proprietary rights from the Programs or Program + Documentation; + . + - You comply with all U.S. and applicable export control and + economic sanctions laws and regulations that govern Your use of + the Programs (including technical data); + . + - You do not cause or permit reverse engineering, disassembly or + decompilation of the Programs (except as allowed by law) by You + nor allow an associated party to do so. + . + For clarity, any source code that may be included in the distribution + with the Programs is provided solely for reference purposes and may + not be modified, unless such source code is under Separate Terms + permitting modification. + . + Ownership + . + Oracle or its licensors retain all ownership and intellectual property + rights to the Programs. + . + Information Collection + . + The Programs' installation and/or auto-update processes, if any, may + transmit a limited amount of data to Oracle or its service provider + about those processes to help Oracle understand and optimize + them. Oracle does not associate the data with personally identifiable + information. Refer to Oracle's Privacy Policy at + www.oracle.com/privacy. + . + Disclaimer of Warranties; Limitation of Liability + . + THE PROGRAMS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ORACLE + FURTHER DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING + WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS + FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. + . + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL ORACLE BE LIABLE TO + YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR + CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE + PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING + RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A + FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF + SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH + DAMAGES. + . + Last updated: 8 October 2018 + +License: PD + This program is free software: you have unlimited permission + to copy, distribute and modify it. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/debian/local/bin.sh b/debian/local/bin.sh new file mode 100755 index 0000000..c9cbad0 --- /dev/null +++ b/debian/local/bin.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +PROGRAM="$(basename ${0})" + +LD_LIBRARY_PATH="/usr/lib/oracle-instantclient:${LD_LIBRARY_PATH}" +ORACLE_HOME="/usr/lib/oracle-instantclient" +TNS_ADMIN="/etc/oracle-instantclient" +export LD_LIBRARY_PATH ORACLE_HOME TNS_ADMIN + +/usr/lib/oracle-instantclient/${PROGRAM} ${@} diff --git a/debian/oracle-instantclient-basic.README.Debian b/debian/oracle-instantclient-basic.README.Debian new file mode 100644 index 0000000..b155d49 --- /dev/null +++ b/debian/oracle-instantclient-basic.README.Debian @@ -0,0 +1,13 @@ +Oracle Instant Client for Debian +================================ + +1. Configuration files +---------------------- + +The default configuration directory for the Oracle Client has been set to: + + /etc/oracle-instantclient + +e.g. tnsnames.ora, sqlnet.ora, and oraaccess.xml can be put there. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 10 Jun 2022 14:40:22 +0200 diff --git a/debian/oracle-instantclient-basic.TODO b/debian/oracle-instantclient-basic.TODO new file mode 100644 index 0000000..c66a166 --- /dev/null +++ b/debian/oracle-instantclient-basic.TODO @@ -0,0 +1 @@ +* update-alternatives diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..50f0e38 --- /dev/null +++ b/debian/rules @@ -0,0 +1,50 @@ +#!/usr/bin/make -f + +PACKAGE = oracle-instantclient-basic + +SHELL := sh -e + +%: + dh ${@} + +execute_after_dh_auto_clean: + rm -rf build + +override_dh_auto_build: + mkdir -p build + unzip instantclient*.zip -d build + +override_dh_auto_install: + mkdir -p debian/$(PACKAGE)/usr/lib/oracle-instantclient + cp -a build/instantclient*/* debian/$(PACKAGE)/usr/lib/oracle-instantclient + + # removing unused files + rm -f debian/$(PACKAGE)/usr/lib/oracle-instantclient/*_LICENSE + + # moving etc + mkdir -p debian/$(PACKAGE)/etc + mv debian/$(PACKAGE)/usr/lib/oracle-instantclient/network/admin debian/$(PACKAGE)/etc/oracle-instantclient + rmdir debian/$(PACKAGE)/usr/lib/oracle-instantclient/network + + # moving doc + mkdir -p debian/$(PACKAGE)/usr/share/doc/$(PACKAGE) + mv debian/$(PACKAGE)/usr/lib/oracle-instantclient/*_README debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/README.txt + + # adding bin + mkdir -p debian/$(PACKAGE)/usr/bin + for BIN in adrci genezi uidrvci; \ + do \ + cp debian/local/bin.sh debian/$(PACKAGE)/usr/bin/$${BIN}; \ + done + +override_dh_dwz: + # disabled + +override_dh_shlibdeps: + dh_shlibdeps -l$(CURDIR)/debian/$(PACKAGE)/usr/lib/oracle-instantclient + +override_dh_strip: + # disabled + +override_dh_strip_nondeterminism: + # disabled diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) |