summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/jdbc-jaybird/ChangeLog8
-rw-r--r--dev-java/jdbc-jaybird/Manifest32
-rw-r--r--dev-java/jdbc-jaybird/files/archive-xml-2.1.0.patch11
-rw-r--r--dev-java/jdbc-jaybird/files/compile-xml-2.1.0.patch20
-rw-r--r--dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.0.13
-rw-r--r--dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.1.03
-rw-r--r--dev-java/jdbc-jaybird/jdbc-jaybird-2.0.1.ebuild86
-rw-r--r--dev-java/jdbc-jaybird/jdbc-jaybird-2.1.0.ebuild95
-rw-r--r--dev-java/jdbc-jaybird/metadata.xml17
9 files changed, 275 insertions, 0 deletions
diff --git a/dev-java/jdbc-jaybird/ChangeLog b/dev-java/jdbc-jaybird/ChangeLog
new file mode 100644
index 000000000000..99a3b0d29778
--- /dev/null
+++ b/dev-java/jdbc-jaybird/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-java/jdbc-jaybird
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-jaybird/ChangeLog,v 1.1 2006/09/19 03:20:26 wltjr Exp $
+
+ 19 Sep 2006; William L. Thomson Jr. <wltjr@gentoo.org> ChangeLog:
+ ChangeLog Initial ebuilds for Jaybird JDBC driver for Firebird SQL databases
+ which will replace the existing jdbc(2-3)-firebird ebuilds.
+
diff --git a/dev-java/jdbc-jaybird/Manifest b/dev-java/jdbc-jaybird/Manifest
new file mode 100644
index 000000000000..0e327474c433
--- /dev/null
+++ b/dev-java/jdbc-jaybird/Manifest
@@ -0,0 +1,32 @@
+AUX archive-xml-2.1.0.patch 399 RMD160 b84c5992739ce8db698dbe6562e3cae2f8099d3c SHA1 5bdf1fef96ce163cc90a8c6836ac3c9fc9f33f14 SHA256 3e3e1f0d3bce0b6582a1ed7a5d14d55f8d51a6ef6a68a9ac4532d96323c6917a
+MD5 859aed28f3c78d3a70a3d8315e7ce5d0 files/archive-xml-2.1.0.patch 399
+RMD160 b84c5992739ce8db698dbe6562e3cae2f8099d3c files/archive-xml-2.1.0.patch 399
+SHA256 3e3e1f0d3bce0b6582a1ed7a5d14d55f8d51a6ef6a68a9ac4532d96323c6917a files/archive-xml-2.1.0.patch 399
+AUX compile-xml-2.1.0.patch 765 RMD160 6c05eda9ae904d06d8adb0cbaaf8c72a1881c736 SHA1 4259d97a0beab831c0fc3dc28038980bdec42b54 SHA256 f06048766fe9d9e3daf3824fd0c78a3e03cafc5de68e8a0c05d576170f499079
+MD5 cec3423ab0f8ebba0ce92a0048dd0985 files/compile-xml-2.1.0.patch 765
+RMD160 6c05eda9ae904d06d8adb0cbaaf8c72a1881c736 files/compile-xml-2.1.0.patch 765
+SHA256 f06048766fe9d9e3daf3824fd0c78a3e03cafc5de68e8a0c05d576170f499079 files/compile-xml-2.1.0.patch 765
+DIST JayBird-2.0.1-src.zip 4899770 RMD160 50e3fb99668ca08116fec3838892e1e6ff4b8e7d SHA1 21adf4a88660c10f7afb2daddec2c4826d068fd7 SHA256 ad3d6ad4199419752281c0e11f445fd109542499d162b5356e98e6eceb25a914
+DIST Jaybird-2.1.0-src.zip 5004088 RMD160 1066f39a393ff14812c907c38aeb094c407114da SHA1 a99c4b0ed90ff1252d6f5b076bfad8087eda6faf SHA256 a96cff648af0ef01b48e3471525d2447a76015e609bbf81a54c372d2963e0214
+EBUILD jdbc-jaybird-2.0.1.ebuild 2373 RMD160 ba2f77638806e7a8cad4e109cabdd1b8597e8e3c SHA1 f48b33857bb7390cf921f6ecc4004362edfbaa3b SHA256 e10151155855d45b8135964aca6f6d0a18fe835e16c7cfe07a827c07c902564c
+MD5 ce38ba7c51de62f1f34a0cb5b8b3dfe8 jdbc-jaybird-2.0.1.ebuild 2373
+RMD160 ba2f77638806e7a8cad4e109cabdd1b8597e8e3c jdbc-jaybird-2.0.1.ebuild 2373
+SHA256 e10151155855d45b8135964aca6f6d0a18fe835e16c7cfe07a827c07c902564c jdbc-jaybird-2.0.1.ebuild 2373
+EBUILD jdbc-jaybird-2.1.0.ebuild 2809 RMD160 605934f7b5fe13f35ed4aa19abe5a0782117fbeb SHA1 a3613941204093f4f83815c4cec7462f511172f6 SHA256 3f8951051bb23a4a6556d4624b930d5f70abc302bf6b51e9362125821887eeb4
+MD5 d8cc3d5a636bbc4883f9ac3d82ce74e3 jdbc-jaybird-2.1.0.ebuild 2809
+RMD160 605934f7b5fe13f35ed4aa19abe5a0782117fbeb jdbc-jaybird-2.1.0.ebuild 2809
+SHA256 3f8951051bb23a4a6556d4624b930d5f70abc302bf6b51e9362125821887eeb4 jdbc-jaybird-2.1.0.ebuild 2809
+MISC ChangeLog 332 RMD160 cb3ef686c0ba9f3a029aca1b418acc5f5bc2ffd0 SHA1 d54f17fee53fe18759846bdc5a95af9eca0bd749 SHA256 8d678ee02993f515bd4b2463c6b488b8cd35fc840faa4080092eac302e6681d5
+MD5 8fb4724d24c8c1890155ffed3c94cc0c ChangeLog 332
+RMD160 cb3ef686c0ba9f3a029aca1b418acc5f5bc2ffd0 ChangeLog 332
+SHA256 8d678ee02993f515bd4b2463c6b488b8cd35fc840faa4080092eac302e6681d5 ChangeLog 332
+MISC metadata.xml 436 RMD160 824e9083e20ae9d6f6ef15f7d93f9cb2e6d60877 SHA1 121db7d23040f789a09b1c433737759fc9d02917 SHA256 018127f870ab1c5e05f4da390c475e1cdcbb4634eaf4b6e361064b4e5d67a92d
+MD5 19790b183474368a06265d9c4ea251ea metadata.xml 436
+RMD160 824e9083e20ae9d6f6ef15f7d93f9cb2e6d60877 metadata.xml 436
+SHA256 018127f870ab1c5e05f4da390c475e1cdcbb4634eaf4b6e361064b4e5d67a92d metadata.xml 436
+MD5 6c6a365fa003e27aa057f1b60b09bc71 files/digest-jdbc-jaybird-2.0.1 247
+RMD160 954d1ce9745c47233fc59a5eb7d4241840051671 files/digest-jdbc-jaybird-2.0.1 247
+SHA256 daac132ade2347576fc4870f504610e430c89211b336bfbcf262ee81e7473869 files/digest-jdbc-jaybird-2.0.1 247
+MD5 2d275643a2fddc9000f8d416dd908e6b files/digest-jdbc-jaybird-2.1.0 247
+RMD160 de7d5a5a54a1076bf0dc82ccba145e2843dd2c89 files/digest-jdbc-jaybird-2.1.0 247
+SHA256 1bde00cf88acb3441873dada2c0efe24051a02bd5b35a0044ee28e169d516638 files/digest-jdbc-jaybird-2.1.0 247
diff --git a/dev-java/jdbc-jaybird/files/archive-xml-2.1.0.patch b/dev-java/jdbc-jaybird/files/archive-xml-2.1.0.patch
new file mode 100644
index 000000000000..a6d36de8a7db
--- /dev/null
+++ b/dev-java/jdbc-jaybird/files/archive-xml-2.1.0.patch
@@ -0,0 +1,11 @@
+--- client-java/build/archive.xml 2005-06-25 19:26:26.000000000 -0400
++++ build/archive.xml 2006-05-09 12:41:03.000000000 -0400
+@@ -57,7 +57,7 @@
+
+ </target>
+
+- <target name="jar-test" depends="compile">
++ <target name="jar-test" depends="compile" if="tests">
+
+ <mkdir dir="${build.lib}"/>
+ <jar jarfile="${build.lib}/${archive.name.test}" manifest="${build.etc}/default.mf">
diff --git a/dev-java/jdbc-jaybird/files/compile-xml-2.1.0.patch b/dev-java/jdbc-jaybird/files/compile-xml-2.1.0.patch
new file mode 100644
index 000000000000..8be350423ad9
--- /dev/null
+++ b/dev-java/jdbc-jaybird/files/compile-xml-2.1.0.patch
@@ -0,0 +1,20 @@
+--- client-java/build/compile.xml 2006-05-09 12:30:36.000000000 -0400
++++ build/compile.xml 2006-05-09 12:38:08.000000000 -0400
+@@ -13,7 +13,7 @@
+ <ant antfile="build_native.xml"/>
+ </target>
+
+- <target name="compile-examples">
++ <target name="compile-examples" if="examples">
+ <mkdir dir="${build.examples}"/>
+ <javac srcdir="${source.examples}"
+ destdir="${build.examples}"
+@@ -121,7 +121,7 @@
+ </path>
+ </target>
+
+- <target name="compile-tests" depends="compile-pool,set-jdbc-20-test,set-jdbc-30-test">
++ <target name="compile-tests" depends="compile-pool,set-jdbc-20-test,set-jdbc-30-test" if="tests">
+ <mkdir dir="${build.test}"/>
+ <javac srcdir="${source.test}"
+ destdir="${build.test}"
diff --git a/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.0.1 b/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.0.1
new file mode 100644
index 000000000000..284bfa8de430
--- /dev/null
+++ b/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.0.1
@@ -0,0 +1,3 @@
+MD5 fc2b2f24c0998d736bd68d0bd0e2059f JayBird-2.0.1-src.zip 4899770
+RMD160 50e3fb99668ca08116fec3838892e1e6ff4b8e7d JayBird-2.0.1-src.zip 4899770
+SHA256 ad3d6ad4199419752281c0e11f445fd109542499d162b5356e98e6eceb25a914 JayBird-2.0.1-src.zip 4899770
diff --git a/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.1.0 b/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.1.0
new file mode 100644
index 000000000000..acdd35a63695
--- /dev/null
+++ b/dev-java/jdbc-jaybird/files/digest-jdbc-jaybird-2.1.0
@@ -0,0 +1,3 @@
+MD5 a1b30781c7d0d9918ae599058e769f34 Jaybird-2.1.0-src.zip 5004088
+RMD160 1066f39a393ff14812c907c38aeb094c407114da Jaybird-2.1.0-src.zip 5004088
+SHA256 a96cff648af0ef01b48e3471525d2447a76015e609bbf81a54c372d2963e0214 Jaybird-2.1.0-src.zip 5004088
diff --git a/dev-java/jdbc-jaybird/jdbc-jaybird-2.0.1.ebuild b/dev-java/jdbc-jaybird/jdbc-jaybird-2.0.1.ebuild
new file mode 100644
index 000000000000..dfe53f47462f
--- /dev/null
+++ b/dev-java/jdbc-jaybird/jdbc-jaybird-2.0.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-jaybird/jdbc-jaybird-2.0.1.ebuild,v 1.1 2006/09/19 03:20:26 wltjr Exp $
+
+inherit java-pkg-2
+
+At="JayBird-${PV}-src"
+DESCRIPTION="JDBC Type 2 and 4 drivers for Firebird SQL server"
+HOMEPAGE="http://jaybirdwiki.firebirdsql.org/"
+SRC_URI="mirror://sourceforge/firebird/${At}.zip"
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples jikes source test"
+
+RDEPEND=">=virtual/jre-1.4*
+ dev-java/log4j"
+DEPEND=">=virtual/jdk-1.4*
+ app-arch/unzip
+ dev-java/ant-core
+ dev-java/cpptasks
+ ${RDEPEND}
+ jikes? ( dev-java/jikes )
+ test? ( dev-java/junit )
+ source? ( app-arch/zip )"
+
+S="${WORKDIR}/client-java"
+
+MY_PN="jaybird"
+
+src_unpack() {
+ unpack "${A}"
+ rm "${S}"/lib/*.jar
+ cd "${S}/src/lib/"
+ # the build.xml unpacks this and uses stuff
+ mv mini-j2ee.jar ${T} || die "Failed to move mini-j2ee.jar to ${T}"
+ rm *.jar
+ mv ${T}/mini-j2ee.jar . || die "Failed to move mini-j2ee.jar back from ${T}"
+
+ java-pkg_jar-from log4j log4j.jar log4j-core.jar
+}
+
+src_compile() {
+ local antflags="jars compile-native"
+ use doc && antflags="${antflags} javadocs"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "Building failed."
+}
+
+src_install() {
+ cd "${S}"/output/lib/
+ java-pkg_newjar ${MY_PN}-${PV}.jar ${PN}.jar
+
+ for jar in full pool test; do
+ java-pkg_newjar ${MY_PN}-${jar}-${PV}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
+ done
+
+ cd "${S}"/output/native
+ sodest="/usr/lib/"
+ java-pkg_doso libjaybird2.so || die "java-pkg_doso ${sodest}libjaybird2.so failed"
+
+ cd "${S}"
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/
+ doins -r examples || die "installing examples failed"
+ fi
+
+ use source && java-pkg_dosrc "${S}"/src/*/org
+
+ cd "${S}/output"
+ use doc && java-pkg_dohtml -r docs/
+ dodoc etc/{*.txt,default.mf}
+ dohtml etc/*.html
+}
+
+src_test() {
+ #
+ # Warning about timeouts without Firebird installed and running Locally
+ #
+ ewarn "You will experience long timeouts when running junit tests"
+ ewarn "without Firebird installed and running locally. The tests will"
+ ewarn "complete without Firebird, but network timeouts prolong the"
+ ewarn "testing phase considerably."
+ ant all-tests-pure-java || die "JUnit testing failed."
+}
diff --git a/dev-java/jdbc-jaybird/jdbc-jaybird-2.1.0.ebuild b/dev-java/jdbc-jaybird/jdbc-jaybird-2.1.0.ebuild
new file mode 100644
index 000000000000..48a743c5c445
--- /dev/null
+++ b/dev-java/jdbc-jaybird/jdbc-jaybird-2.1.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-jaybird/jdbc-jaybird-2.1.0.ebuild,v 1.1 2006/09/19 03:20:26 wltjr Exp $
+
+inherit eutils java-pkg-2
+
+At="Jaybird-${PV/_/}-src"
+DESCRIPTION="JDBC Type 2 and 4 drivers for Firebird SQL server"
+HOMEPAGE="http://jaybirdwiki.firebirdsql.org/"
+SRC_URI="mirror://sourceforge/firebird/${At}.zip"
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples jikes source test"
+
+RDEPEND=">=virtual/jre-1.4*
+ dev-java/log4j"
+DEPEND=">=virtual/jdk-1.4*
+ app-arch/unzip
+ dev-java/ant-core
+ dev-java/cpptasks
+ ${RDEPEND}
+ jikes? ( dev-java/jikes )
+ test? ( dev-java/junit )
+ source? ( app-arch/zip )"
+
+S="${WORKDIR}/client-java"
+
+MY_PN="jaybird"
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ echo "${S}"
+ epatch "${FILESDIR}/archive-xml-${PV}.patch"
+ epatch "${FILESDIR}/compile-xml-${PV}.patch"
+ rm "${S}"/lib/*.jar
+ cd "${S}/src/lib/"
+ # the build.xml unpacks this and uses stuff
+ mv mini-j2ee.jar ${T} || die "Failed to move mini-j2ee.jar to ${T}"
+ rm *.jar
+ mv ${T}/mini-j2ee.jar . || die "Failed to move mini-j2ee.jar back from ${T}"
+
+ java-pkg_jar-from log4j log4j.jar log4j-core.jar
+}
+
+src_compile() {
+ local antflags="jars compile-native"
+ use doc && antflags="${antflags} javadocs"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use examples && antflags="${antflags} -Dexamples=true"
+ use test && antflags="${antflags} -Dtests=true"
+ ant ${antflags} || die "Building failed."
+}
+
+src_install() {
+ cd "${S}"/output/lib/
+ java-pkg_newjar ${MY_PN}-${PV/_beta1}.jar ${PN}.jar || die "java-pkg_newjar ${MY_PN}.jar failed"
+
+ for jar in full pool; do
+ java-pkg_newjar ${MY_PN}-${jar}-${PV/_beta1}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
+ done
+ if use test; then
+ java-pkg_newjar ${MY_PN}-test-${PV/_beta1}.jar ${MY_PN}-${jar}.jar || die "java-pkg_newjar ${MY_PN}-${jar}.jar failed"
+ fi
+
+ cd "${S}"/output/native
+ sodest="/usr/lib/"
+ java-pkg_doso libjaybird21.so || die "java-pkg_doso ${sodest}libjaybird21.so failed"
+
+ cd "${S}"
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/
+ doins -r examples || die "installing examples failed"
+ fi
+
+ use source && java-pkg_dosrc "${S}"/src/*/org
+
+ cd "${S}/output"
+ use doc && java-pkg_dohtml -r docs/
+ dodoc etc/{*.txt,default.mf}
+ dohtml etc/*.html
+}
+
+src_test() {
+ #
+ # Warning about timeouts without Firebird installed and running Locally
+ #
+ ewarn "You will experience long timeouts when running junit tests"
+ ewarn "without Firebird installed and running locally. The tests will"
+ ewarn "complete without Firebird, but network timeouts prolong the"
+ ewarn "testing phase considerably."
+ ant all-tests-pure-java || die "JUnit testing failed."
+}
diff --git a/dev-java/jdbc-jaybird/metadata.xml b/dev-java/jdbc-jaybird/metadata.xml
new file mode 100644
index 000000000000..b02d7d2b4bcc
--- /dev/null
+++ b/dev-java/jdbc-jaybird/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+
+ <herd>java</herd>
+
+ <maintainer>
+ <email>wltjr@gentoo.org</email>
+ <name>William L. Thomson Jr.</name>
+ </maintainer>
+
+ <longdescription>
+ Jaybird is a JCA/JDBC driver suite for the Firebird database server.
+ This package includes both a type 2 and 4 JDBC driver.
+ </longdescription>
+
+</pkgmetadata>