diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/jdbc-oracle-bin | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/jdbc-oracle-bin')
-rw-r--r-- | dev-java/jdbc-oracle-bin/Manifest | 26 | ||||
-rw-r--r-- | dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.1.0.5.ebuild | 123 | ||||
-rw-r--r-- | dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.2.0.3.ebuild | 126 | ||||
-rw-r--r-- | dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.2.0.4.ebuild | 125 | ||||
-rw-r--r-- | dev-java/jdbc-oracle-bin/jdbc-oracle-bin-9.2.0.8.ebuild | 82 | ||||
-rw-r--r-- | dev-java/jdbc-oracle-bin/metadata.xml | 9 |
6 files changed, 491 insertions, 0 deletions
diff --git a/dev-java/jdbc-oracle-bin/Manifest b/dev-java/jdbc-oracle-bin/Manifest new file mode 100644 index 000000000000..f2e210064bfa --- /dev/null +++ b/dev-java/jdbc-oracle-bin/Manifest @@ -0,0 +1,26 @@ +DIST jdbc-oracle-bin-10.1.0.5-demo.tar 532480 RMD160 17ce3eb29e3e21853fd6fa7a607e1690d19b0c63 SHA1 bc7e82acea0fdafcb9838629dbab5cce2cb7f10f SHA256 180320ec23785209d262c970b7911f47a07715ed3da6be93219e860f64a2892f +DIST jdbc-oracle-bin-10.1.0.5-javadoc.zip 6022949 RMD160 c6c44394e348645d83964246d3b1f1820212d077 SHA1 f78a6ccf02d976280e0f21c2e429082dccccd754 SHA256 fca8c01131d1b30e7e728128e9531dad55bb317ee05bb71dbe2ee3936d50b3d6 +DIST jdbc-oracle-bin-10.1.0.5-ocrs12.jar 55434 RMD160 8d9f29bac3a0ec48e93df3933b7f088ec5edbff6 SHA1 eff40abece165906acc7452f3216202f8aad70c9 SHA256 a1c05e06f68742bd5aa4d6083f7e1b5648d9f577e0202065c87d3d6384c5ebf6 +DIST jdbc-oracle-bin-10.1.0.5-ojdbc14.jar 1378346 RMD160 e49f1f0236ae202afeedcedbc8ae3ef0f9111eef SHA1 625a76a551491229201739ce7e80a3842b265b4c SHA256 8cdb4596f6b74ed57d81eccf3d55ddbf123c078f6cb73da43a9f56dd7f247484 +DIST jdbc-oracle-bin-10.1.0.5-ojdbc14_g.jar 1722779 RMD160 0316c4a9fd66a21fe815589b80c047ed9c1a89e0 SHA1 7b55a67f66a1b9863d1a45cf1f929a0caa1ce256 SHA256 113d346536ee96d453348aa362f2f5df415b6fa63f719d6c841ecca398c55b2e +DIST jdbc-oracle-bin-10.1.0.5-ojdbc14dms.jar 1385754 RMD160 7fc80a74e2e5f30714039b94fb74ded7cc363418 SHA1 004240ab0ea8314a4c6fe8dcc479bf8ed6a3029b SHA256 d43ad156c6be8c2b610fcd7e64f1c8c05871eb757c9f45f9b7c578855fbb658b +DIST jdbc-oracle-bin-10.1.0.5-ojdbc14dms_g.jar 1730818 RMD160 c23a64e3eb8512cf85c193c85963aaa50161348a SHA1 e0d81ab4201c463693313a296ca6e28dc195a499 SHA256 4b12a4337c6133682199016098180caa4cf7e1f401b47636906c563972b829b6 +DIST jdbc-oracle-bin-10.1.0.5-orai18n.jar 5110629 RMD160 67dbf3b48a2e5d237fe6f0745e13e24b3ac710a0 SHA1 64374a32ebba96d9b21dcab4a55fb8470c5ae9d4 SHA256 184c250eb91b7dfcf832d3c0309f27c509ec1df24a673c67cde3c867ce099ab4 +DIST jdbc-oracle-bin-10.2.0.1-javadoc.zip 4383404 RMD160 10e5bc9ec86ef6db9602c8b2c255ff817ec00bfb SHA1 4879d35e38fdca9c123b87ddc24c5aa11273be85 SHA256 058a94c351f7128e7c1ee61190ec9d88750bf065eeefd8aca421b4a80233c77e +DIST jdbc-oracle-bin-10.2.0.3-demo.tar 573440 RMD160 ea4dd0f85ef1403e1136a54ee1747c1429bdd123 SHA1 1f1fa55e872b10e9e2dc04ef947452b18b732e11 SHA256 8082525083733e9b61195b4cf7ad5052ab21bbe3eef6caa3c527e8e66dba5bc2 +DIST jdbc-oracle-bin-10.2.0.3-ojdbc14.jar 1545954 RMD160 29c778ee11b8a799eef0f7e9d678218819f03056 SHA1 c19f869a5b401bc526a5149bd4b6b6314a688be9 SHA256 58828dfbda5c7fbd08bca87de1d623dadcaedd409c07eaa4fc426b7388113a49 +DIST jdbc-oracle-bin-10.2.0.3-ojdbc14_g.jar 1938906 RMD160 5d29ec854a4288ffb17cac0ff8c9ff4c4bc38a7a SHA1 d87755a2d55c943a82258b120a225f4ac50f7c4f SHA256 c713ec8b0c643e624e1623c583890b56b328a28b08eaa221f9fe1c43eadc9a59 +DIST jdbc-oracle-bin-10.2.0.3-ojdbc14dms.jar 1553561 RMD160 08516d993307b4ba5b4671c3c346daf768cd1556 SHA1 ac425870d54ee92bcb5fd61ace0b602567f3857d SHA256 863650044e9be32969cad07582cb78ce6d827d477b80031e450e58a697dad0d4 +DIST jdbc-oracle-bin-10.2.0.3-ojdbc14dms_g.jar 1947136 RMD160 c78a475dd713a0d649a6984b4d796254273c07d9 SHA1 77054185fa34c9bc12db7609ca2c0e556363a571 SHA256 f6932195c87e462ceaeb2688e9a22f7b24371a5e76a2db2afbe3cf44f44e7c71 +DIST jdbc-oracle-bin-10.2.0.3-ons.jar 48492 RMD160 127eb1dc88bf48a19c0a14e5d8a8c2ef2d3259e5 SHA1 2d090de2c54102867af028a7f160d294a3d00f40 SHA256 24767407b08abce4f4d00f795a87639515fb22a317a5817dd35a21d559302d77 +DIST jdbc-oracle-bin-10.2.0.3-orai18n.jar 1645114 RMD160 6a405f60ab369576662f5a994c0b3e07645f95f7 SHA1 75b73408f5ced657ff05f737e5420c5618c1c483 SHA256 808f034fdf50d528771e808751e180a58f27f8b7f6a20875accafc2ec395e76e +DIST jdbc-oracle-bin-10.2.0.4-demo.tar 604160 RMD160 cc38181b1bc0bcc68a7d92bcbf27da373a76c5c6 SHA1 7fffadc6c6bc8f2d7e85ad235fa6a003088fcdc7 SHA256 a4361db75c29bf279fda05eccaf8cb6ed348eda47f3162e350559052f5c1bc89 +DIST jdbc-oracle-bin-10.2.0.4-ojdbc14.jar 1555682 RMD160 22b83916159db4b3d494d76404b2a39d03ba8be3 SHA1 02d09fd52e5496261dd7f72a17cdd496d0f9b045 SHA256 7ba80b6ee4f3433f88c8d878fb0dbc7d04fea736c2a6df8d34af1a4f970670a6 +DIST jdbc-oracle-bin-10.2.0.4-ojdbc14_g.jar 1950033 RMD160 a1930f1bd1e10e5f6e63b30804f591b161a26ed9 SHA1 a0cb43e971e200e08d3e24f2cb9273daf77ce914 SHA256 ad0750b6da73f3ed956e042182dbe0fd9e0b158f8e01b6838c98d6040c4c669b +DIST jdbc-oracle-bin-10.2.0.4-ojdbc14dms.jar 1563375 RMD160 de1719ff5e702f177bb5a138debeff0f734a3fbf SHA1 1d2c821fb336c328af6e3355d573996ba439bbba SHA256 3f8d5749c0bc9c5ac6ba4bdd82e2a47f02f7d23dbb87bfe12ee0d33ea8a201e0 +DIST jdbc-oracle-bin-10.2.0.4-ojdbc14dms_g.jar 1958237 RMD160 b7006940b48776ede3c3efa7a7216156a847febd SHA1 783ee523e02e313b4e1e305d1a53a94e9c774b36 SHA256 d6345c9b9e82db6998a3d1770c428032741ce8bdc756369e7f91323a7233da77 +DIST jdbc-oracle-bin-10.2.0.4-orai18n.jar 1646178 RMD160 004ebb0368a3d3ad140730b737532d18bcf93dc8 SHA1 0cca1b8a5e6a67ac453cfedc547269769049b840 SHA256 54821ffa7effd453f3b01cea5590bba248cb74df43fe760601474d4c6c53d8ab +DIST jdbc-oracle-bin-9.2.0.8-javadoc.tar 3619840 RMD160 2be8a7ec0e404c44027e8b4d29b732c3cf7aadcb SHA1 8c10073ed83143be64b6362c26dba02cb47634d0 SHA256 3e5090064a4e66aac7023caee7c2289e38829702c1f63722a3aab0192e479572 +DIST jdbc-oracle-bin-9.2.0.8-ocrs12.jar 37761 RMD160 fee7825956cccbfbf78e17e735b636dc347ed900 SHA1 a8f182e2e7db14fc17fde527c287362b335293e9 SHA256 861d7aba603bbde9b0b460eb423c38f05b0b32ab86989696875038e56069e57a +DIST jdbc-oracle-bin-9.2.0.8-ojdbc14.jar 1212964 RMD160 d331144b61f52d40736feb2d8c21e5b5996246f6 SHA1 4df82933396360211955b7414a43c5f72523a411 SHA256 2ce752c137d5ec18505abb4f4cc1093e15058c95cbddecbb4e0c296f71eeb632 +DIST jdbc-oracle-bin-9.2.0.8-ojdbc14_g.jar 1427311 RMD160 50c2c1ddf034a4689af315ea824d7effc53355a3 SHA1 baf9db85a022f789f24c1a6f28f5fd3114e9661a SHA256 e090b9f8f76fe1674a179566b3f51b07c1dd8e05e51f77aeff992043effc4fa0 diff --git a/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.1.0.5.ebuild b/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.1.0.5.ebuild new file mode 100644 index 000000000000..c6b0c37fe729 --- /dev/null +++ b/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.1.0.5.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit java-pkg-2 + +IUSE="debug dms doc examples nls" + +file_main_orig="ojdbc14.jar" +file_main_dms_orig="ojdbc14dms.jar" +file_main_debug_orig="ojdbc14_g.jar" +file_main_dms_debug_orig="ojdbc14dms_g.jar" +file_rowset_orig="ocrs12.jar" +file_doc_orig="javadoc.zip" +file_demo_orig="demo.tar" +file_nls_orig="orai18n.jar" + +file_main="${P}-${file_main_orig}" +file_main_dms="${P}-${file_main_dms_orig}" +file_main_debug="${P}-${file_main_debug_orig}" +file_main_dms_debug="${P}-${file_main_dms_debug_orig}" +file_rowset="${P}-${file_rowset_orig}" +file_doc="${P}-${file_doc_orig}" +file_demo="${P}-${file_demo_orig}" +file_nls="${P}-${file_nls_orig}" + +DESCRIPTION="JDBC 3.0 Drivers for Oracle" +HOMEPAGE="http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html" +DOWNLOAD_PAGE="http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc101040.html" +SRC_URI=" + !dms? ( + !debug? ( ${file_main} ) + debug? ( ${file_main_debug} ) + ) + dms? ( + !debug? ( ${file_main_dms} ) + debug? ( ${file_main_dms_debug} ) + ) + ${file_rowset} + doc? ( ${file_doc} ) + examples? ( ${file_demo} ) + nls? ( ${file_nls} )" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="oracle-jdbc" +SLOT="10.1" +DEPEND="doc? ( app-arch/unzip )" +RDEPEND=">=virtual/jre-1.4" +RESTRICT="fetch" + +S="${WORKDIR}" + +determine_files() { + if use dms; then + if use debug; then + file_main_used=${file_main_dms_debug} + file_main_used_orig=${file_main_dms_debug_orig} + else + file_main_used=${file_main_dms} + file_main_used_orig=${file_main_dms_orig} + fi + else + if use debug; then + file_main_used=${file_main_debug} + file_main_used_orig=${file_main_debug_orig} + else + file_main_used=${file_main} + file_main_used_orig=${file_main_orig} + fi + fi +} + +pkg_nofetch() { + determine_files + + einfo + einfo " Because of license terms and file name conventions, please:" + einfo + einfo " 1. Visit ${DOWNLOAD_PAGE}" + einfo " (you may need to create an account on Oracle's site)" + einfo " 2. Download the appropriate files:" + einfo " - ${file_main_used_orig}" + einfo " - ${file_rowset_orig}" + use doc && einfo " - ${file_doc_orig}" + use examples && einfo " - ${file_demo_orig}" + use nls && einfo " - ${file_nls_orig}" + einfo " 3. Rename the files:" + einfo " - ${file_main_used_orig} --> ${file_main_used}" + einfo " - ${file_rowset_orig} --> ${file_rowset}" + use doc && einfo " - ${file_doc_orig} --> ${file_doc}" + use examples && einfo " - ${file_demo_orig} --> ${file_demo}" + use nls && einfo " - ${file_nls_orig} --> ${file_nls}" + einfo " 4. Place the files in ${DISTDIR}" + einfo " 5. Resume the installation." + einfo +} + +src_unpack() { + determine_files + cp "${DISTDIR}/${file_main_used}" ${PN}.jar || die + cp "${DISTDIR}/${file_rowset}" ${file_rowset_orig} || die + + if use nls; then + cp "${DISTDIR}/${file_nls}" ${file_nls_orig} || die + fi + + if use doc; then + mkdir "${S}/javadoc" && cd "${S}/javadoc" + unpack ${file_doc} + fi + + if use examples; then + cd "${S}" + unpack ${file_demo} + mv Samples-Readme.txt samples/ || die + fi +} + +src_install() { + java-pkg_dojar *.jar + + use doc && java-pkg_dojavadoc javadoc + use examples && java-pkg_doexamples samples +} diff --git a/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.2.0.3.ebuild b/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.2.0.3.ebuild new file mode 100644 index 000000000000..0c64d700f549 --- /dev/null +++ b/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.2.0.3.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit java-pkg-2 + +IUSE="debug dms doc examples nls ons" + +file_main_orig="ojdbc14.jar" +file_main_dms_orig="ojdbc14dms.jar" +file_main_debug_orig="ojdbc14_g.jar" +file_main_dms_debug_orig="ojdbc14dms_g.jar" +file_doc_orig="javadoc.zip" +file_demo_orig="demo.tar" +file_nls_orig="orai18n.jar" +file_ons_orig="ons.jar" + +file_main="${P}-${file_main_orig}" +file_main_dms="${P}-${file_main_dms_orig}" +file_main_debug="${P}-${file_main_debug_orig}" +file_main_dms_debug="${P}-${file_main_dms_debug_orig}" +file_doc="${PN}-10.2.0.1-${file_doc_orig}" +file_demo="${P}-${file_demo_orig}" +file_nls="${P}-${file_nls_orig}" +file_ons="${P}-${file_ons_orig}" + +DESCRIPTION="JDBC 3.0 Drivers for Oracle" +HOMEPAGE="http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html" +DOWNLOAD_PAGE="http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html" +SRC_URI=" + !dms? ( + !debug? ( ${file_main} ) + debug? ( ${file_main_debug} ) + ) + dms? ( + !debug? ( ${file_main_dms} ) + debug? ( ${file_main_dms_debug} ) + ) + doc? ( ${file_doc} ) + examples? ( ${file_demo} ) + nls? ( ${file_nls} ) + ons? ( ${file_ons} )" +KEYWORDS="amd64 ppc x86" +LICENSE="oracle-jdbc" +SLOT="10.2" +DEPEND="doc? ( app-arch/unzip )" +RDEPEND=">=virtual/jre-1.4" +RESTRICT="fetch" + +S="${WORKDIR}" + +determine_files() { + if use dms; then + if use debug; then + file_main_used=${file_main_dms_debug} + file_main_used_orig=${file_main_dms_debug_orig} + else + file_main_used=${file_main_dms} + file_main_used_orig=${file_main_dms_orig} + fi + else + if use debug; then + file_main_used=${file_main_debug} + file_main_used_orig=${file_main_debug_orig} + else + file_main_used=${file_main} + file_main_used_orig=${file_main_orig} + fi + fi +} + +pkg_nofetch() { + determine_files + + einfo + einfo " Because of license terms and file name conventions, please:" + einfo + einfo " 1. Visit ${DOWNLOAD_PAGE}" + einfo " (you may need to create an account on Oracle's site)" + einfo " 2. Download the appropriate files:" + einfo " - ${file_main_used_orig}" + use doc && einfo " - ${file_doc_orig}" + use examples && einfo " - ${file_demo_orig}" + use nls && einfo " - ${file_nls_orig}" + use ons && einfo " - ${file_ons_orig}" + einfo " 3. Rename the files:" + einfo " - ${file_main_used_orig} --> ${file_main_used}" + use doc && einfo " - ${file_doc_orig} --> ${file_doc}" + use examples && einfo " - ${file_demo_orig} --> ${file_demo}" + use nls && einfo " - ${file_nls_orig} --> ${file_nls}" + use ons && einfo " - ${file_ons_orig} --> ${file_ons}" + einfo " 4. Place the files in ${DISTDIR}" + einfo " 5. Resume the installation." + einfo +} + +src_unpack() { + determine_files + cp "${DISTDIR}/${file_main_used}" ${PN}.jar || die + + if use nls; then + cp "${DISTDIR}/${file_nls}" ${file_nls_orig} || die + fi + + if use ons; then + cp "${DISTDIR}/${file_ons}" ${file_ons_orig} || die + fi + + if use doc; then + mkdir "${S}/javadoc" && cd "${S}/javadoc" + unpack ${file_doc} + fi + + if use examples; then + cd "${S}" + unpack ${file_demo} + mv Samples-Readme.txt samples/ || die + fi +} + +src_install() { + java-pkg_dojar *.jar + + use doc && java-pkg_dojavadoc javadoc + use examples && java-pkg_doexamples samples +} diff --git a/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.2.0.4.ebuild b/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.2.0.4.ebuild new file mode 100644 index 000000000000..ef3a07fbe42b --- /dev/null +++ b/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-10.2.0.4.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit java-pkg-2 + +IUSE="debug dms doc examples nls ons" + +file_main_orig="ojdbc14.jar" +file_main_dms_orig="ojdbc14dms.jar" +file_main_debug_orig="ojdbc14_g.jar" +file_main_dms_debug_orig="ojdbc14dms_g.jar" +file_doc_orig="javadoc.zip" +file_demo_orig="demo.tar" +file_nls_orig="orai18n.jar" +file_ons_orig="ons.jar" + +file_main="${P}-${file_main_orig}" +file_main_dms="${P}-${file_main_dms_orig}" +file_main_debug="${P}-${file_main_debug_orig}" +file_main_dms_debug="${P}-${file_main_dms_debug_orig}" +file_doc="${PN}-10.2.0.1-${file_doc_orig}" +file_demo="${P}-${file_demo_orig}" +file_nls="${P}-${file_nls_orig}" +file_ons="${PN}-10.2.0.3-${file_ons_orig}" + +DESCRIPTION="JDBC 3.0 Drivers for Oracle" +HOMEPAGE="http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html" +DOWNLOAD_PAGE="http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-10201-088211.html" +SRC_URI=" + !dms? ( + !debug? ( ${file_main} ) + debug? ( ${file_main_debug} ) + ) + dms? ( + !debug? ( ${file_main_dms} ) + debug? ( ${file_main_dms_debug} ) + ) + doc? ( ${file_doc} ) + examples? ( ${file_demo} ) + nls? ( ${file_nls} ) + ons? ( ${file_ons} )" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="oracle-jdbc" +SLOT="10.2" +DEPEND="doc? ( app-arch/unzip )" +RDEPEND=">=virtual/jre-1.4" +RESTRICT="fetch" + +S="${WORKDIR}" + +determine_files() { + if use dms; then + if use debug; then + file_main_used=${file_main_dms_debug} + file_main_used_orig=${file_main_dms_debug_orig} + else + file_main_used=${file_main_dms} + file_main_used_orig=${file_main_dms_orig} + fi + else + if use debug; then + file_main_used=${file_main_debug} + file_main_used_orig=${file_main_debug_orig} + else + file_main_used=${file_main} + file_main_used_orig=${file_main_orig} + fi + fi +} + +pkg_nofetch() { + determine_files + einfo + einfo " Because of license terms and file name conventions, please:" + einfo + einfo " 1. Visit ${DOWNLOAD_PAGE}" + einfo " (you may need to create an account on Oracle's site)" + einfo " 2. Download the appropriate files:" + einfo " - ${file_main_used_orig}" + use doc && einfo " - ${file_doc_orig}" + use examples && einfo " - ${file_demo_orig}" + use nls && einfo " - ${file_nls_orig}" + use ons && einfo " - ${file_ons_orig}" + einfo " 3. Rename the files:" + einfo " - ${file_main_used_orig} --> ${file_main_used}" + use doc && einfo " - ${file_doc_orig} --> ${file_doc}" + use examples && einfo " - ${file_demo_orig} --> ${file_demo}" + use nls && einfo " - ${file_nls_orig} --> ${file_nls}" + use ons && einfo " - ${file_ons_orig} --> ${file_ons}" + einfo " 4. Place the files in ${DISTDIR}" + einfo " 5. Resume the installation." + einfo +} + +src_unpack() { + determine_files + cp "${DISTDIR}/${file_main_used}" ${PN}.jar || die + + if use nls; then + cp "${DISTDIR}/${file_nls}" ${file_nls_orig} || die + fi + + if use ons; then + cp "${DISTDIR}/${file_ons}" ${file_ons_orig} || die + fi + + if use doc; then + mkdir "${S}/javadoc" && cd "${S}/javadoc" + unpack ${file_doc} + fi + + if use examples; then + cd "${S}" + unpack ${file_demo} + mv Samples-Readme.txt samples/ || die + fi +} + +src_install() { + java-pkg_dojar *.jar + + use doc && java-pkg_dojavadoc javadoc + use examples && java-pkg_doexamples samples +} diff --git a/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-9.2.0.8.ebuild b/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-9.2.0.8.ebuild new file mode 100644 index 000000000000..4c5b2d48af65 --- /dev/null +++ b/dev-java/jdbc-oracle-bin/jdbc-oracle-bin-9.2.0.8.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit java-pkg-2 + +IUSE="debug doc" + +file_main_orig=ojdbc14.jar +file_main_debug_orig=ojdbc14_g.jar +file_rowset_orig=ocrs12.jar +file_doc_orig=javadoc.tar + +file_main=${P}-${file_main_orig} +file_main_debug=${P}-${file_main_debug_orig} +file_rowset=${P}-${file_rowset_orig} +file_doc=${P}-${file_doc_orig} + +DESCRIPTION="JDBC 3.0 Drivers for Oracle" +HOMEPAGE="http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html" +DOWNLOAD_PAGE="http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc9201.html" +SRC_URI=" + !debug? ( ${file_main} ) + debug? ( ${file_main_debug} ) + ${file_rowset} + doc? ( ${file_doc} )" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="oracle-jdbc" +SLOT="9.2" +DEPEND="" +RDEPEND=">=virtual/jre-1.4" +RESTRICT="fetch" + +S="${WORKDIR}" + +determine_files() { + if use debug; then + file_main_used=${file_main_debug} + file_main_used_orig=${file_main_debug_orig} + else + file_main_used=${file_main} + file_main_used_orig=${file_main_orig} + fi +} + +pkg_nofetch() { + determine_files + + einfo + einfo " Because of license terms and file name conventions, please:" + einfo + einfo " 1. Visit ${DOWNLOAD_PAGE}" + einfo " (you may need to create an account on Oracle's site)" + einfo " 2. Download the appropriate files:" + einfo " - ${file_main_used_orig}" + einfo " - ${file_rowset_orig}" + use doc && einfo " - ${file_doc_orig}" + einfo " 3. Rename the files:" + einfo " - ${file_main_used_orig} --> ${file_main_used}" + einfo " - ${file_rowset_orig} --> ${file_rowset}" + use doc && einfo " - ${file_doc_orig} --> ${file_doc}" + einfo " 4. Place the files in ${DISTDIR}" + einfo " 5. Resume the installation." + einfo +} + +src_unpack() { + determine_files + cp "${DISTDIR}/${file_main_used}" ${PN}.jar || die + cp "${DISTDIR}/${file_rowset}" ${file_rowset_orig} || die + + if use doc; then + mkdir javadoc && cd javadoc + unpack ${file_doc} + fi +} + +src_install() { + java-pkg_dojar *.jar + + use doc && java-pkg_dojavadoc javadoc +} diff --git a/dev-java/jdbc-oracle-bin/metadata.xml b/dev-java/jdbc-oracle-bin/metadata.xml new file mode 100644 index 000000000000..48cc1ddff0e9 --- /dev/null +++ b/dev-java/jdbc-oracle-bin/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <use> + <flag name="dms">Enable support for the Oracle Dynamic Monitoring Service</flag> + <flag name="ons">Enable support for the Oracle Notification Services (ONS) deamon</flag> + </use> +</pkgmetadata> |