summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-08-21 20:27:21 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-08-21 20:27:21 +0000
commitee5b7807594173acf42fa412d67f7cce3fee1167 (patch)
treef93a6708bc248338af39df3498f728bcadb91d7e
parentAdded sun-bcla-jdbc2 for dev-java/jdbc2-stdext (diff)
downloadhistorical-ee5b7807594173acf42fa412d67f7cce3fee1167.tar.gz
historical-ee5b7807594173acf42fa412d67f7cce3fee1167.tar.bz2
historical-ee5b7807594173acf42fa412d67f7cce3fee1167.zip
Migrated to new Java system, and now builds from source, thanks to Caster.
Package-Manager: portage-2.1.1_pre4-r4
-rw-r--r--dev-java/jdbc2-stdext/ChangeLog10
-rw-r--r--dev-java/jdbc2-stdext/Manifest35
-rw-r--r--dev-java/jdbc2-stdext/files/digest-jdbc2-stdext-2.0-r23
-rw-r--r--dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r2.ebuild62
4 files changed, 96 insertions, 14 deletions
diff --git a/dev-java/jdbc2-stdext/ChangeLog b/dev-java/jdbc2-stdext/ChangeLog
index aedbe1d2ac50..3760d5171405 100644
--- a/dev-java/jdbc2-stdext/ChangeLog
+++ b/dev-java/jdbc2-stdext/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jdbc2-stdext
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc2-stdext/ChangeLog,v 1.10 2005/08/12 17:07:28 gustavoz Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc2-stdext/ChangeLog,v 1.11 2006/08/21 20:27:21 nichoj Exp $
+
+*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:
diff --git a/dev-java/jdbc2-stdext/Manifest b/dev-java/jdbc2-stdext/Manifest
index cd2ff3318643..e0c676838dc4 100644
--- a/dev-java/jdbc2-stdext/Manifest
+++ b/dev-java/jdbc2-stdext/Manifest
@@ -1,14 +1,25 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+DIST jdbc2_0-stdext-src.zip 21642 RMD160 5f5d586f383e108a3be3ed96529f8b82b5569192 SHA1 cced6e30fd0553c3073c6e4644644841cb645087 SHA256 70470d9f3a2e1f4e29b909bf9c89005a9d2523825eb50cf70b2fa2957ff8b2aa
+DIST jdbc2_0-stdext.jar 6727
+DIST jdbc2_0_1-stdext-javadoc.zip 97402
+EBUILD jdbc2-stdext-2.0-r1.ebuild 1450 RMD160 56dd6773547146b95be2191d91d5acaf4ca1601f SHA1 132219d7d690763ce630a823e192ce446786f915 SHA256 88d8969c6881235c4ef910bdd721cead0ba6d3e5ea0a7ac089377cdc31288412
MD5 dcda9af4272981a0dbcb62006b25e0c1 jdbc2-stdext-2.0-r1.ebuild 1450
-MD5 bc58169dbd955bfd121f94b670eaf98a ChangeLog 1389
+RMD160 56dd6773547146b95be2191d91d5acaf4ca1601f jdbc2-stdext-2.0-r1.ebuild 1450
+SHA256 88d8969c6881235c4ef910bdd721cead0ba6d3e5ea0a7ac089377cdc31288412 jdbc2-stdext-2.0-r1.ebuild 1450
+EBUILD jdbc2-stdext-2.0-r2.ebuild 1504 RMD160 a366b37f2c8832e2eeb942b75a23f97fc0481a22 SHA1 907a3efb53230cbcc1ac33406a85b10d1baccec5 SHA256 df18c0954f3c6e1502694f6f4728c54f5651184230511745377a1854ad5c76b6
+MD5 00553702159f918a0ed195283b69cef2 jdbc2-stdext-2.0-r2.ebuild 1504
+RMD160 a366b37f2c8832e2eeb942b75a23f97fc0481a22 jdbc2-stdext-2.0-r2.ebuild 1504
+SHA256 df18c0954f3c6e1502694f6f4728c54f5651184230511745377a1854ad5c76b6 jdbc2-stdext-2.0-r2.ebuild 1504
+MISC ChangeLog 1582 RMD160 095fd4563cd52077f5a856ba2d3ef6629cf141a5 SHA1 8ca1990af63ca0bf80b6e18035c6d5688b86c7d4 SHA256 f9f3944bd405a6d0deec379be9e2eb1b83a1d050e14751694f67fb5cf43e7fc3
+MD5 b71f807efd9a59238931e7e1ca218e91 ChangeLog 1582
+RMD160 095fd4563cd52077f5a856ba2d3ef6629cf141a5 ChangeLog 1582
+SHA256 f9f3944bd405a6d0deec379be9e2eb1b83a1d050e14751694f67fb5cf43e7fc3 ChangeLog 1582
+MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
+SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata.xml 157
MD5 73087680fc277d629f6a9acdcf03eda6 files/digest-jdbc2-stdext-2.0-r1 133
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux)
-
-iD8DBQFC/NeEKRy60XGEcJIRAuUGAJ9bq3t2QtRISUNLVGjCYFmgNA5jsACfRKTh
-VLVii8PJjcCvuHrpeFAPWPE=
-=s5Lv
------END PGP SIGNATURE-----
+RMD160 72ef926aa2ae503de08f2b503875b4baa5fafa5f files/digest-jdbc2-stdext-2.0-r1 133
+SHA256 9586ce3b2fde5458ca27d579e528243966c72e7c67aebb86d085984fd660c30e files/digest-jdbc2-stdext-2.0-r1 133
+MD5 4e45b1264af8b2482492787de47ce614 files/digest-jdbc2-stdext-2.0-r2 244
+RMD160 9cb3dcd05bfa1249783c3e4496749d4fde58d660 files/digest-jdbc2-stdext-2.0-r2 244
+SHA256 6bc48a3fe9464839f53ee3ee41c2aa7d9c67144b4b4b8e85dadfe65fc9bc20db files/digest-jdbc2-stdext-2.0-r2 244
diff --git a/dev-java/jdbc2-stdext/files/digest-jdbc2-stdext-2.0-r2 b/dev-java/jdbc2-stdext/files/digest-jdbc2-stdext-2.0-r2
new file mode 100644
index 000000000000..82e28f7e92f7
--- /dev/null
+++ b/dev-java/jdbc2-stdext/files/digest-jdbc2-stdext-2.0-r2
@@ -0,0 +1,3 @@
+MD5 1e07819fada0482b16edc8628e0aa43e jdbc2_0-stdext-src.zip 21642
+RMD160 5f5d586f383e108a3be3ed96529f8b82b5569192 jdbc2_0-stdext-src.zip 21642
+SHA256 70470d9f3a2e1f4e29b909bf9c89005a9d2523825eb50cf70b2fa2957ff8b2aa jdbc2_0-stdext-src.zip 21642
diff --git a/dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r2.ebuild b/dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r2.ebuild
new file mode 100644
index 000000000000..f999865fa7c1
--- /dev/null
+++ b/dev-java/jdbc2-stdext/jdbc2-stdext-2.0-r2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2006 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-r2.ebuild,v 1.1 2006/08/21 20:27:21 nichoj Exp $
+
+inherit java-pkg-2
+
+stdext_src="jdbc2_0-stdext-src.zip"
+stdext_jar="jdbc2_0-stdext.jar"
+
+DESCRIPTION="A standard set of libs for Server-Side JDBC support"
+HOMEPAGE="http://java.sun.com/products/jdbc"
+SRC_URI="${stdext_src}"
+LICENSE="sun-bcla-jdbc2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc source"
+RESTRICT="fetch"
+DEPEND="app-arch/unzip
+ >=virtual/jdk-1.3
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.3"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+ einfo
+ einfo " Due to license restrictions, we cannot fetch the"
+ einfo " distributables automagically."
+ einfo
+ einfo " 1. Visit http://java.sun.com/products/jdbc/download.html#spec'"
+ einfo " 2. Select 'JDBC 2.0 Optional Package Source'"
+ 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
+ cd src
+ unpack ${A}
+}
+
+src_compile() {
+ mkdir classes
+ 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_dohtml -r api
+ use source && java-pkg_dosrc src/*
+}
+