diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-18 16:01:57 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-18 16:01:57 +0000 |
commit | 447aaa79dc211f8ff35ca9b07a5f6f653987ec3a (patch) | |
tree | cc6318616c1956117b27626dc72f225f43e6ca94 /dev-java | |
parent | use.mask for emboss on sparc and mips for now, bug #82428 (diff) | |
download | gentoo-2-447aaa79dc211f8ff35ca9b07a5f6f653987ec3a.tar.gz gentoo-2-447aaa79dc211f8ff35ca9b07a5f6f653987ec3a.tar.bz2 gentoo-2-447aaa79dc211f8ff35ca9b07a5f6f653987ec3a.zip |
marked old version stable, added new upstream release. fixes #82373
(Portage version: 2.0.51.16)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jtds/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jtds/Manifest | 4 | ||||
-rw-r--r-- | dev-java/jtds/files/1.0.2-buildxml.patch | 39 | ||||
-rw-r--r-- | dev-java/jtds/files/digest-jtds-1.0.2 | 1 | ||||
-rw-r--r-- | dev-java/jtds/jtds-0.9.1.ebuild | 6 | ||||
-rw-r--r-- | dev-java/jtds/jtds-1.0.2.ebuild | 66 |
6 files changed, 120 insertions, 6 deletions
diff --git a/dev-java/jtds/ChangeLog b/dev-java/jtds/ChangeLog index bbb6ff3c00b5..95146ae6a508 100644 --- a/dev-java/jtds/ChangeLog +++ b/dev-java/jtds/ChangeLog @@ -1,6 +1,12 @@ # 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 $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/ChangeLog,v 1.2 2005/02/18 16:01:57 luckyduck Exp $ + +*jtds-1.0.2 (18 Feb 2005) + + 18 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> + +files/1.0.2-buildxml.patch, jtds-0.9.1.ebuild, +jtds-1.0.2.ebuild: + marked old version stable, added new upstream release. fixes #82373 *jtds-0.9.1 (23 Dec 2004) diff --git a/dev-java/jtds/Manifest b/dev-java/jtds/Manifest index c587b2d6c705..f5c9b5e2cb87 100644 --- a/dev-java/jtds/Manifest +++ b/dev-java/jtds/Manifest @@ -1,5 +1,7 @@ -MD5 6fa59c81ee3a95f680a539dbac1fd260 jtds-0.9.1.ebuild 1375 +MD5 5d4616d657d990568c91f2bc1b3f7d1a jtds-0.9.1.ebuild 1373 +MD5 6fa59c81ee3a95f680a539dbac1fd260 jtds-1.0.2.ebuild 1375 MD5 bea8cb019961b3ed5728f2ebf0864da2 ChangeLog 436 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 diff --git a/dev-java/jtds/files/1.0.2-buildxml.patch b/dev-java/jtds/files/1.0.2-buildxml.patch new file mode 100644 index 000000000000..71e1c8e80dc1 --- /dev/null +++ b/dev-java/jtds/files/1.0.2-buildxml.patch @@ -0,0 +1,39 @@ +--- build.xml.orig 2005-02-18 16:47:01.193090848 +0100 ++++ build.xml 2005-02-18 16:55:06.447320992 +0100 +@@ -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}"/> +@@ -91,6 +91,9 @@ + <attribute name="Class-Path" value="jcifs.jar" /> + </manifest> + </jar> ++ </target> ++ ++ <target name="dist" depends="jar,clean,javadoc"> + + <!-- Source package --> + <copy todir="${dist}/tmp/doc"> +@@ -122,4 +125,10 @@ + <delete dir="${dist}/tmp"/> + </target> + ++ <!-- zip the sources --> ++ <target name="sourcezip"> ++ <zip destfile="${dist}/${ant.project.name}-src.zip"> ++ <zipfileset dir="${src}/main" /> ++ </zip> ++ </target> + </project> diff --git a/dev-java/jtds/files/digest-jtds-1.0.2 b/dev-java/jtds/files/digest-jtds-1.0.2 new file mode 100644 index 000000000000..4b537e60460e --- /dev/null +++ b/dev-java/jtds/files/digest-jtds-1.0.2 @@ -0,0 +1 @@ +MD5 230b53ea8e8b59a56de3201562011024 jtds-1.0.2-src.zip 3398792 diff --git a/dev-java/jtds/jtds-0.9.1.ebuild b/dev-java/jtds/jtds-0.9.1.ebuild index 88a0951b79e6..dfbb2255bc9f 100644 --- a/dev-java/jtds/jtds-0.9.1.ebuild +++ b/dev-java/jtds/jtds-0.9.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# 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-0.9.1.ebuild,v 1.2 2004/12/22 23:57:51 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/jtds-0.9.1.ebuild,v 1.3 2005/02/18 16:01:57 luckyduck Exp $ inherit eutils java-pkg @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" HOMEPAGE="http://jtds.sourceforge.net" LICENSE="LGPL-2.1" SLOT="0.9" -KEYWORDS="~x86 ~amd64" +KEYWORDS="x86 amd64" IUSE="doc jikes" DEPEND=">=virtual/jdk-1.4 app-arch/unzip diff --git a/dev-java/jtds/jtds-1.0.2.ebuild b/dev-java/jtds/jtds-1.0.2.ebuild new file mode 100644 index 000000000000..c0bac2d6742d --- /dev/null +++ b/dev-java/jtds/jtds-1.0.2.ebuild @@ -0,0 +1,66 @@ +# 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.2.ebuild,v 1.1 2005/02/18 16:01:57 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" + use source && antflags="${antflags} sourcezip" + 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 + + if use source; then + dodir /usr/share/doc/${PF}/source + cp dist/${PN}-src.zip ${D}usr/share/doc/${PF}/source + fi +} |