From b4b6b1552bc2f8fd22de0a1a4cdbcba114d290b7 Mon Sep 17 00:00:00 2001 From: Karl Trygve Kalleberg Date: Wed, 22 Dec 2004 23:56:43 +0000 Subject: Initial import. Fixes #75228. --- dev-java/jtds/ChangeLog | 9 ++++ dev-java/jtds/Manifest | 5 ++ dev-java/jtds/files/buildxml-gentoo.patch | 78 +++++++++++++++++++++++++++++++ dev-java/jtds/files/digest-jtds-0.9.1 | 1 + dev-java/jtds/jtds-0.9.1.ebuild | 63 +++++++++++++++++++++++++ dev-java/jtds/metadata.xml | 18 +++++++ 6 files changed, 174 insertions(+) create mode 100644 dev-java/jtds/ChangeLog create mode 100644 dev-java/jtds/Manifest create mode 100644 dev-java/jtds/files/buildxml-gentoo.patch create mode 100644 dev-java/jtds/files/digest-jtds-0.9.1 create mode 100644 dev-java/jtds/jtds-0.9.1.ebuild create mode 100644 dev-java/jtds/metadata.xml diff --git a/dev-java/jtds/ChangeLog b/dev-java/jtds/ChangeLog new file mode 100644 index 000000000000..bbb6ff3c00b5 --- /dev/null +++ b/dev-java/jtds/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-java/jtds +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/ChangeLog,v 1.1 2004/12/22 23:56:43 karltk Exp $ + +*jtds-0.9.1 (23 Dec 2004) + + 23 Dec 2004; Karl Trygve Kalleberg jtds-0.9.1.ebuild: + Initial import. Ebuild submitted by the erupting ebuild vulcano Jan "Vesuvius" + Brinkmann . Fixes #75228. diff --git a/dev-java/jtds/Manifest b/dev-java/jtds/Manifest new file mode 100644 index 000000000000..9e277d06f14a --- /dev/null +++ b/dev-java/jtds/Manifest @@ -0,0 +1,5 @@ +MD5 af05ed7c5419e689026a83530378d3e8 jtds-0.9.1.ebuild 1291 +MD5 ee4249cd64f07224c491d62c234cc05a ChangeLog 263 +MD5 0637a933ecb6e8cedfc4ddfcf3491728 metadata.xml 310 +MD5 f3a1bea2ce8720ca91b3e2d813631ca9 files/buildxml-gentoo.patch 2919 +MD5 e398f91c59395f8848eca6db5330728a files/digest-jtds-0.9.1 64 diff --git a/dev-java/jtds/files/buildxml-gentoo.patch b/dev-java/jtds/files/buildxml-gentoo.patch new file mode 100644 index 000000000000..a9b5d9f35666 --- /dev/null +++ b/dev-java/jtds/files/buildxml-gentoo.patch @@ -0,0 +1,78 @@ +--- build.xml.orig 2004-12-21 17:30:09.560666880 +0100 ++++ build.xml 2004-12-21 17:35:21.167295472 +0100 +@@ -44,7 +44,7 @@ + + + +- ++ + + + +@@ -57,31 +57,12 @@ + + + +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- ++ + + ++ jarfile="${build}/${ant.project.name}.jar"> + + + +@@ -91,31 +72,6 @@ + + + +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- + +- ++ + diff --git a/dev-java/jtds/files/digest-jtds-0.9.1 b/dev-java/jtds/files/digest-jtds-0.9.1 new file mode 100644 index 000000000000..448204efe871 --- /dev/null +++ b/dev-java/jtds/files/digest-jtds-0.9.1 @@ -0,0 +1 @@ +MD5 f2950c240d9d7d3fb5d101b40eccddb8 jtds-0.9.1-src.zip 2736422 diff --git a/dev-java/jtds/jtds-0.9.1.ebuild b/dev-java/jtds/jtds-0.9.1.ebuild new file mode 100644 index 000000000000..814a1ae44900 --- /dev/null +++ b/dev-java/jtds/jtds-0.9.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/jtds-0.9.1.ebuild,v 1.1 2004/12/22 23:56:43 karltk Exp $ + +inherit eutils java-pkg + +DESCRIPTION="Open source JDBC 3.0 Type 4 driver for Microsoft SQL Server (6.5, +7.0, 2000 and 2005) and Sybase." +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" +HOMEPAGE="http://jtds.sourceforge.net" +LICENSE="LGPL-2.1" +SLOT="0.9" +KEYWORDS="~x86 ~amd64" +IUSE="doc jikes" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + jikes? ( >=dev-java/jikes-1.21 )" +RDEPEND=">=virtual/jre-1.4 + >=dev-java/ant-1.6.2 + >=dev-java/crimson-1.1.3 + >=dev-java/jcifs-1.1.5 + >=dev-java/jta-1.0.1 + >=dev-java/junit-3.8" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/buildxml-gentoo.patch + + cd ${S}/lib + rm -f * + + java-pkg_jar-from ant-core + java-pkg_jar-from ant-tasks ant-junit.jar + java-pkg_jar-from crimson-1 + java-pkg_jar-from jcifs-1.1 + java-pkg_jar-from jta + java-pkg_jar-from junit + +} + +src_compile() { + local antflags="jar" + if use doc; then + antflags="${antflags} javadoc" + fi + if use jikes; then + antflags="${antflags} -Dbuild.compiler=jikes" + fi + ant ${antflags} || die "failed to build" +} + +src_install() { + java-pkg_dojar build/${PN}.jar + + dodoc CHANGELOG README LICENSE + if use doc; then + java-pkg_dohtml -r build/doc/* + fi +} diff --git a/dev-java/jtds/metadata.xml b/dev-java/jtds/metadata.xml new file mode 100644 index 000000000000..368f4d5cf4e9 --- /dev/null +++ b/dev-java/jtds/metadata.xml @@ -0,0 +1,18 @@ + + + + +java + + + +jTDS is an open source 100% pure Java (type 4) JDBC 3.0 driver for Microsoft SQL +Server (6.5, 7, 2000 and 2005) and Sybase (10, 11, 12). jTDS is based on the +work of the FreeTDS project and is currently the fastest complete JDBC driver +for SQL Server and Sybase. Starting with release 0.9 jTDS is 100% JDBC 3.0 +compatible, supporting forward-only and scrollable/updateable ResultSets, +multiple concurrent (completely independent) Statements per Connection and +implementing all the DatabaseMetaData and ResultSetMetaData methods. + + + -- cgit v1.2.3-65-gdbad