summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-04-24 19:21:26 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-04-24 19:21:26 +0000
commit518fa594e4864e63d08ddaff2bfab9c25e0289f0 (patch)
treef09112506bd2bd61fd27cfea3077598d0c426d49 /dev-java/jtds
parentAdded eclipse to the multilib-strict exceptions. (diff)
downloadgentoo-2-518fa594e4864e63d08ddaff2bfab9c25e0289f0.tar.gz
gentoo-2-518fa594e4864e63d08ddaff2bfab9c25e0289f0.tar.bz2
gentoo-2-518fa594e4864e63d08ddaff2bfab9c25e0289f0.zip
new upstream version, fixes #90172
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/jtds')
-rw-r--r--dev-java/jtds/ChangeLog8
-rw-r--r--dev-java/jtds/Manifest15
-rw-r--r--dev-java/jtds/files/1.0.3-buildxml.patch29
-rw-r--r--dev-java/jtds/files/digest-jtds-1.0.31
-rw-r--r--dev-java/jtds/jtds-1.0.3.ebuild59
5 files changed, 100 insertions, 12 deletions
diff --git a/dev-java/jtds/ChangeLog b/dev-java/jtds/ChangeLog
index 8c7c36b94d8f..aaf7e7f26959 100644
--- a/dev-java/jtds/ChangeLog
+++ b/dev-java/jtds/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jtds
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/ChangeLog,v 1.3 2005/03/16 17:10:21 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/ChangeLog,v 1.4 2005/04/24 19:21:26 luckyduck Exp $
+
+*jtds-1.0.3 (24 Apr 2005)
+
+ 24 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ +files/1.0.3-buildxml.patch, +jtds-1.0.3.ebuild:
+ new upstream version, fixes #90172
16 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> jtds-1.0.2.ebuild:
jtds now makes use of java-pkg_dosrc
diff --git a/dev-java/jtds/Manifest b/dev-java/jtds/Manifest
index 925cd7f0fdd6..86234d4d61c2 100644
--- a/dev-java/jtds/Manifest
+++ b/dev-java/jtds/Manifest
@@ -1,18 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 c996fa3a4324f0925a303ed4ffc3e328 jtds-0.9.1.ebuild 1376
+MD5 39f765f2977a8f04137c211384138eb8 jtds-1.0.3.ebuild 1412
MD5 f9918f0559760524d91eaa7cc7ca487d jtds-1.0.2.ebuild 1447
-MD5 cb6cdfb94de346643ac3d6ba365c39d9 ChangeLog 770
+MD5 551efd8d92e5787570df30dbf3c6f338 ChangeLog 938
MD5 5160ef2dd424a31e8938c7080a66d496 metadata.xml 734
MD5 f3a1bea2ce8720ca91b3e2d813631ca9 files/buildxml-gentoo.patch 2919
MD5 e398f91c59395f8848eca6db5330728a files/digest-jtds-0.9.1 64
MD5 c3136450faa4cd0106afbac594c31902 files/digest-jtds-1.0.2 64
+MD5 646ca291fc054bb6b531e4b08a8af603 files/digest-jtds-1.0.3 64
+MD5 791c11d2de983b6e6a4cf3694cf0106f files/1.0.3-buildxml.patch 1043
MD5 8e7fbdf02cfe16bde704f6ea7a76f60d files/1.0.2-buildxml.patch 1293
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFCOGiC06ebR+OMO78RAg3EAJ9L1HDqcplZfoz2btzQeaoemdCbTgCfenbV
-3YfsRIsNfOF9Kgf1rcJ6sbM=
-=jC7L
------END PGP SIGNATURE-----
diff --git a/dev-java/jtds/files/1.0.3-buildxml.patch b/dev-java/jtds/files/1.0.3-buildxml.patch
new file mode 100644
index 000000000000..0c026ddf3434
--- /dev/null
+++ b/dev-java/jtds/files/1.0.3-buildxml.patch
@@ -0,0 +1,29 @@
+--- build.xml.orig 2005-04-24 21:16:37.000000000 +0200
++++ build.xml 2005-04-24 21:19:55.000000000 +0200
+@@ -75,13 +75,13 @@
+ </junit>
+ </target>
+
+- <target name="dist" depends="clean,compile,javadoc">
++ <target name="jar" depends="compile">
+ <mkdir dir="${dist}"/>
+ <!-- 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}"/>
+@@ -92,7 +92,9 @@
+ <attribute name="Main-Class" value="net.sourceforge.jtds.jdbc.Driver"/>
+ </manifest>
+ </jar>
+-
++ </target>
++
++ <target name="dist" depends="jar,clean,compile">
+ <!-- Source package -->
+ <copy todir="${dist}/tmp/doc">
+ <fileset dir="${build}/doc" includes="**/*"/>
diff --git a/dev-java/jtds/files/digest-jtds-1.0.3 b/dev-java/jtds/files/digest-jtds-1.0.3
new file mode 100644
index 000000000000..af4ed80a7ebd
--- /dev/null
+++ b/dev-java/jtds/files/digest-jtds-1.0.3
@@ -0,0 +1 @@
+MD5 7d664ec0236a622d067cb5b5d955d14a jtds-1.0.3-src.zip 3411524
diff --git a/dev-java/jtds/jtds-1.0.3.ebuild b/dev-java/jtds/jtds-1.0.3.ebuild
new file mode 100644
index 000000000000..6789f491fd18
--- /dev/null
+++ b/dev-java/jtds/jtds-1.0.3.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/jtds-1.0.3.ebuild,v 1.1 2005/04/24 19:21:26 luckyduck 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 source"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ jikes? ( >=dev-java/jikes-1.21 )
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/ant-1.6.2
+ =dev-java/crimson-1.1*
+ =dev-java/jcifs-1.1*
+ >=dev-java/jta-1.0.1
+ >=dev-java/junit-3.8"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-buildxml.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"
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "failed to build"
+}
+
+src_install() {
+ java-pkg_dojar build/${PN}.jar
+
+ dodoc CHANGELOG README
+ use doc && java-pkg_dohtml -r build/doc/*
+ use source && java-pkg_dosrc ${S}/src/main/*
+}