summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-10-24 20:05:13 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-10-24 20:05:13 +0000
commit7bb06e8232e6051628ef819ecb93cba8e97d2abe (patch)
tree831b8c073020583484a596a74b96c8fd6d46667b /dev-java
parentAdded "Fixes bug #488496, reported by Michel Boaventura." to ChangeLog. (diff)
downloadgentoo-2-7bb06e8232e6051628ef819ecb93cba8e97d2abe.tar.gz
gentoo-2-7bb06e8232e6051628ef819ecb93cba8e97d2abe.tar.bz2
gentoo-2-7bb06e8232e6051628ef819ecb93cba8e97d2abe.zip
New package for dev-java/jdbc2-stdext, a standard set of libs for Server-Side JDBC support; ebuild written by user Greg Bowyer (bg115) as well as Gentoo Developrs dertobi123, corsair, gustavoz, nichoj, luckyduck, absinthe, SeJo, dholm, zx and Java herd developers in the Java overlay. Dependency of dev-java/hibernate-annotations which is a dependency of dev-java/spring-context, needed to fix dev-java/struts-xwork.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jdbc2-stdext/ChangeLog71
-rw-r--r--dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r3.ebuild71
-rw-r--r--dev-java/jdbc2-stdext/metadata.xml5
3 files changed, 147 insertions, 0 deletions
diff --git a/dev-java/jdbc2-stdext/ChangeLog b/dev-java/jdbc2-stdext/ChangeLog
new file mode 100644
index 000000000000..dc66a655fc11
--- /dev/null
+++ b/dev-java/jdbc2-stdext/ChangeLog
@@ -0,0 +1,71 @@
+# ChangeLog for dev-java/jdbc2-stdext
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc2-stdext/ChangeLog,v 1.16 2013/10/24 20:05:13 tomwij Exp $
+
+*jdbc2-stdext-2.0-r3 (13 Jan 2013)
+
+ 13 Jan 2013; Ralph Sennhauser <sera@gentoo.org> -jdbc2-stdext-2.0-r2.ebuild,
+ +jdbc2-stdext-2.0-r3.ebuild:
+ sun2oracle - hompage, url, license, thanks to Victor Orozco
+ <tuxtor@shekalug.org>. #450918 #294406
+
+ 04 Sep 2008; Miroslav Šulc <fordfrog@gentoo.org>
+ jdbc2-stdext-2.0-r2.ebuild:
+ Renamed target jar jdbc2_0-stdext.jar to jdbc2-stdext.jar as otherwise
+ portage complains about installing versioned jar
+
+ 06 May 2007; Tobias Scherbaum <dertobi123@gentoo.org>
+ jdbc2-stdext-2.0-r2.ebuild:
+ ppc stable
+
+ 11 Jan 2007; Markus Rothe <corsair@gentoo.org> jdbc2-stdext-2.0-r2.ebuild:
+ Stable on ppc64
+
+ 05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+ jdbc2-stdext-2.0-r1.ebuild, jdbc2-stdext-2.0-r2.ebuild:
+ Dropping sparc keywords, see #96229
+
+*jdbc2-stdext-2.0-r2 (21 Aug 2006)
+
+ 21 Aug 2006; Joshua Nichols <nichoj@gentoo.org>
+ +jdbc2-stdext-2.0-r2.ebuild:
+ Migrated to new Java system, and now builds from source, thanks to Caster.
+
+ 12 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+ jdbc2-stdext-2.0-r1.ebuild:
+ Stable on sparc
+
+ 15 Jul 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+ jdbc2-stdext-2.0-r1.ebuild:
+ To ~sparc
+
+ 18 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ -jdbc2-stdext-2.0.ebuild, jdbc2-stdext-2.0-r1.ebuild:
+ stable on amd64, ppc and x86
+
+ 08 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ jdbc2-stdext-2.0-r1.ebuild:
+ made documentation optional. fixes bug #77117.
+
+*jdbc2-stdext-2.0-r1 (20 Oct 2004)
+
+ 20 Oct 2004; Dylan Carlson <absinthe@gentoo.org>
+ +jdbc2-stdext-2.0-r1.ebuild, jdbc2-stdext-2.0.ebuild:
+ Fixed so javadocs can be installed with USE=doc. Added ~amd64 keywords.
+
+ 06 Jul 2004; <SeJo@gentoo.org> jdbc2-stdext-2.0.ebuild:
+ added ~ppc keyword
+
+ 23 Mar 2004; David Holm <dholm@gentoo.org> jdbc2-stdext-2.0.ebuild:
+ Backed out of ~ppc.
+
+ 22 Mar 2004; David Holm <dholm@gentoo.org> jdbc2-stdext-2.0.ebuild:
+ Added to ~ppc.
+
+*jdbc2-stdext-2.0 (27 Feb 2004)
+
+ 27 Feb 2004; Chris Aniszczyk <zx@gentoo.org> jdbc2-stdext-2.0.ebuild,
+ metadata.xml:
+ Initial Import.
+ Thanks to Greg Bowyer <bg115@gre.ac.uk> for the initial ebuild. Closes #37932
+
diff --git a/dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r3.ebuild b/dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r3.ebuild
new file mode 100644
index 000000000000..406493c1afcf
--- /dev/null
+++ b/dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r3.ebuild,v 1.1 2013/10/24 20:05:13 tomwij Exp $
+
+EAPI="5"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2
+
+stdext_src="jdbc2_0-stdext-src.zip"
+stdext_jar="jdbc2-stdext.jar"
+
+DESCRIPTION="A standard set of libs for Server-Side JDBC support"
+HOMEPAGE="http://www.oracle.com/technetwork/java/index.html"
+SRC_URI="${stdext_src}"
+
+LICENSE="Oracle-BCLA-JavaSE"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RESTRICT="fetch"
+
+RDEPEND="
+ >=virtual/jre-1.4"
+
+DEPEND="
+ >=virtual/jdk-1.4
+ app-arch/unzip"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+ local download_url="http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-database-419422.html#7099-jdbc-2.0-src-oth-JPR"
+
+ einfo
+ einfo " Due to license restrictions, we cannot fetch the"
+ einfo " distributables automagically."
+ einfo
+ einfo " 1. Visit ${download_url}"
+ einfo " 2. Select 'JDBC Standard Extension Source 2.0'"
+ einfo " 3. Download ${stdext_src}"
+ einfo " 4. Move to ${DISTDIR}"
+ einfo
+ einfo " Run emerge on this package again to complete"
+ einfo
+}
+
+src_unpack() {
+ mkdir src || die
+ cd src || die
+ unpack ${A}
+}
+
+src_compile() {
+ mkdir classes || die
+ ejavac -d classes src/javax/sql/*.java
+ jar cf "${stdext_jar}" -C classes/ . || die "jar failed"
+
+ if use doc; then
+ javadoc -d api -source $(java-pkg_get-source) -sourcepath src/ \
+ javax.sql || die "javadoc failed"
+ fi
+}
+
+src_install() {
+ java-pkg_dojar "${stdext_jar}"
+
+ use doc && java-pkg_dojavadoc api
+ use source && java-pkg_dosrc src/*
+}
diff --git a/dev-java/jdbc2-stdext/metadata.xml b/dev-java/jdbc2-stdext/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/jdbc2-stdext/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>