diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-22 23:56:43 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-22 23:56:43 +0000 |
commit | b4b6b1552bc2f8fd22de0a1a4cdbcba114d290b7 (patch) | |
tree | 0a2107efcd1e692e18ba34bf5556b4eaaa30edb7 /dev-java/jtds | |
parent | mark galeon-1.3.18 stable x86 (Manifest recommit) (diff) | |
download | gentoo-2-b4b6b1552bc2f8fd22de0a1a4cdbcba114d290b7.tar.gz gentoo-2-b4b6b1552bc2f8fd22de0a1a4cdbcba114d290b7.tar.bz2 gentoo-2-b4b6b1552bc2f8fd22de0a1a4cdbcba114d290b7.zip |
Initial import. Fixes #75228.
Diffstat (limited to 'dev-java/jtds')
-rw-r--r-- | dev-java/jtds/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jtds/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jtds/files/buildxml-gentoo.patch | 78 | ||||
-rw-r--r-- | dev-java/jtds/files/digest-jtds-0.9.1 | 1 | ||||
-rw-r--r-- | dev-java/jtds/jtds-0.9.1.ebuild | 63 | ||||
-rw-r--r-- | dev-java/jtds/metadata.xml | 18 |
6 files changed, 174 insertions, 0 deletions
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 <karltk@gentoo.org> jtds-0.9.1.ebuild: + Initial import. Ebuild submitted by the erupting ebuild vulcano Jan "Vesuvius" + Brinkmann <lucky@the-luckyduck.de>. 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 @@ + </target> + + <target name="compile" depends="init,prepare"> +- <javac destdir="${build}/classes" srcdir="${build}/src" classpathref="libs" debug="${javac.debug}" optimize="${javac.optimize}" /> ++ <javac destdir="${build}/classes" srcdir="${build}/src" classpathref="libs" debug="${javac.debug}" optimize="${javac.optimize}" source="1.4" target="1.4"/> + </target> + + <target name="javadoc" depends="prepare"> +@@ -57,31 +57,12 @@ + </javadoc> + </target> + +- <target name="test" depends="compile"> +- <taskdef name="junit" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"/> +- +- <junit fork="no" haltonfailure="no" printsummary="yes"> +- <classpath> +- <pathelement location="build/classes"/> +- <path refid="libs"/> +- </classpath> +- <formatter type="plain"/> +- <batchtest> +- <fileset dir="${build}/src"> +- <include name="**/*Test.java"/> +- <exclude name="**/AllTests.java"/> +- </fileset> +- </batchtest> +- </junit> +- </target> +- +- <target name="dist" depends="clean,compile,javadoc"> +- <mkdir dir="${dist}"/> ++ <target name="jar" depends="compile"> + <!-- Runtime jar --> + <jar basedir="${build}/classes" + excludes="net/sourceforge/jtds/test/*.class" + includes="**/*" +- jarfile="${build}/${ant.project.name}-${version}.jar"> ++ jarfile="${build}/${ant.project.name}.jar"> + <manifest> + <attribute name="Implementation-Title" value="jTDS JDBC Driver"/> + <attribute name="Implementation-Version" value="${version}"/> +@@ -91,31 +72,6 @@ + <attribute name="Class-Path" value="jcifs.jar" /> + </manifest> + </jar> +- +- <!-- Source package --> +- <copy todir="${dist}/tmp/doc"> +- <fileset dir="${build}/doc" includes="**/*"/> +- </copy> +- <mkdir dir="${dist}/tmp"/> +- <copy todir="${dist}/tmp"> +- <fileset dir="." includes="README,README.XA,CHANGELOG,LICENSE,*.bat,*.sh,*.xml,src/**/*,lib/**/*,html/**/*,conf/**/*"/> +- </copy> +- <zip basedir="${dist}/tmp" includes="**/*" zipfile="${dist}/${ant.project.name}-${version}-src.zip"/> +- <delete dir="${dist}/tmp"/> +- +- <!-- Binary package --> +- <mkdir dir="${dist}/tmp"/> +- <copy todir="${dist}/tmp"> +- <fileset dir="." includes="README,README.XA,CHANGELOG,LICENSE,conf/**/*.xml,html/**/*"/> +- <fileset dir="${build}" includes="*.jar"/> +- </copy> +- <mkdir dir="${dist}/tmp/XA"/> +- <copy todir="${dist}/tmp/XA"> +- <fileset dir="lib" includes="*.dll"/> +- <fileset dir="src/XA" includes="*.sql"/> +- </copy> +- <zip basedir="${dist}/tmp" includes="**/*" zipfile="${dist}/${ant.project.name}-${version}-dist.zip"/> +- <delete dir="${dist}/tmp"/> + </target> +- ++ + </project> 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> +<herd>java </herd> + +<longdescription> + +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. + +</longdescription> +</pkgmetadata> |