summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-01-04 00:12:56 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-01-04 00:12:56 +0000
commitc09ef75470266c9ebd8a084c96d1aa5b987112c8 (patch)
treecb04e4861dd8cc20a995ae241422c823a3cceb3b /dev-java/jtds
parentsh love (diff)
downloadgentoo-2-c09ef75470266c9ebd8a084c96d1aa5b987112c8.tar.gz
gentoo-2-c09ef75470266c9ebd8a084c96d1aa5b987112c8.tar.bz2
gentoo-2-c09ef75470266c9ebd8a084c96d1aa5b987112c8.zip
Version bump. Fixes bugs #98106 and #114867. Put the new ebuild in SLOT 1.2 because japitools werent happy about API compatibility.t happy about API compatibility.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-java/jtds')
-rw-r--r--dev-java/jtds/ChangeLog10
-rw-r--r--dev-java/jtds/Manifest26
-rw-r--r--dev-java/jtds/files/digest-jtds-1.21
-rw-r--r--dev-java/jtds/jtds-1.2.ebuild55
4 files changed, 73 insertions, 19 deletions
diff --git a/dev-java/jtds/ChangeLog b/dev-java/jtds/ChangeLog
index c67145b3705b..b95862fed383 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.5 2005/05/14 21:55:53 luckyduck Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/ChangeLog,v 1.6 2006/01/04 00:12:56 betelgeuse Exp $
+
+*jtds-1.2 (03 Jan 2006)
+
+ 03 Jan 2006; Petteri Räty <betelgeuse@gentoo.org> +jtds-1.2.ebuild:
+ Version bump. Fixes bugs #98106 and #114867. Put the new ebuild in
+ SLOT 1.2 because japitools weren't happy about API compatibility.
14 May 2005; Jan Brinkmann <luckyduck@gentoo.org> jtds-0.9.1.ebuild:
added ~ppc to KEYWORDS
diff --git a/dev-java/jtds/Manifest b/dev-java/jtds/Manifest
index aaba75d570cf..7689ad2cb5aa 100644
--- a/dev-java/jtds/Manifest
+++ b/dev-java/jtds/Manifest
@@ -1,21 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 cf5f873ff771d3b7af0dbbf865dc6165 jtds-0.9.1.ebuild 1381
-MD5 050b500864d72d1f71af69a787615ccf jtds-1.0.3.ebuild 1412
-MD5 f9918f0559760524d91eaa7cc7ca487d jtds-1.0.2.ebuild 1447
-MD5 aa964e4e3df211e68f9f497f03de27ef ChangeLog 1035
-MD5 5160ef2dd424a31e8938c7080a66d496 metadata.xml 734
+MD5 0e40f52e9c2eea752249c65d8260bc35 ChangeLog 1269
+MD5 8e7fbdf02cfe16bde704f6ea7a76f60d files/1.0.2-buildxml.patch 1293
+MD5 791c11d2de983b6e6a4cf3694cf0106f files/1.0.3-buildxml.patch 1043
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)
-
-iD8DBQFChnPw06ebR+OMO78RAkAeAJ9VKcPlZWEQP0aUSrzNMQAvXOrG2QCfUtr1
-zAteHTSO/H5+PeevkS82YpQ=
-=sxUp
------END PGP SIGNATURE-----
+MD5 afc67626cf82dce3a20bd8c91315460f files/digest-jtds-1.2 62
+MD5 cf5f873ff771d3b7af0dbbf865dc6165 jtds-0.9.1.ebuild 1381
+MD5 f9918f0559760524d91eaa7cc7ca487d jtds-1.0.2.ebuild 1447
+MD5 050b500864d72d1f71af69a787615ccf jtds-1.0.3.ebuild 1412
+MD5 cce6fc12270dfcc05b6aacd49f307866 jtds-1.2.ebuild 1301
+MD5 5160ef2dd424a31e8938c7080a66d496 metadata.xml 734
diff --git a/dev-java/jtds/files/digest-jtds-1.2 b/dev-java/jtds/files/digest-jtds-1.2
new file mode 100644
index 000000000000..eeafb2441e33
--- /dev/null
+++ b/dev-java/jtds/files/digest-jtds-1.2
@@ -0,0 +1 @@
+MD5 900ebcbf2eaa502f85dc7e2d44abfc94 jtds-1.2-src.zip 3489215
diff --git a/dev-java/jtds/jtds-1.2.ebuild b/dev-java/jtds/jtds-1.2.ebuild
new file mode 100644
index 000000000000..a55abd9da97a
--- /dev/null
+++ b/dev-java/jtds/jtds-1.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jtds/jtds-1.2.ebuild,v 1.1 2006/01/04 00:12:56 betelgeuse Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="jTDS - SQL Server and Sybase JDBC driver"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+HOMEPAGE="http://jtds.sourceforge.net"
+LICENSE="LGPL-2.1"
+SLOT="1.2"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc jikes source"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.6.2
+ app-arch/unzip
+ jikes? ( >=dev-java/jikes-1.21 )
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/jcifs-1.1*
+ >=dev-java/junit-3.8"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/1.0.3-buildxml.patch
+
+ cd ${S}/lib
+ rm -f *.jar
+
+ java-pkg_jar-from jcifs-1.1
+ 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"
+
+ if use doc; then
+ mv build/doc build/api || die "Failed to rename doc."
+ fi
+}
+
+src_install() {
+ java-pkg_dojar build/*.jar
+
+ dodoc CHANGELOG README* || die "Failed to install docs."
+ use doc && java-pkg_dohtml -r build/api
+ use source && java-pkg_dosrc ${S}/src/main/*
+}