summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2008-02-06 18:14:45 +0000
committerMiroslav Šulc <fordfrog@gentoo.org>2008-02-06 18:14:45 +0000
commit747bdcd38c8a994d129f127ab96d698f3271596b (patch)
tree9e4cc0b41951e22e81405bd196331b7c59663793 /dev-java/jdbc-postgresql
parentstable on ppc wrt bug #206684 (diff)
downloadhistorical-747bdcd38c8a994d129f127ab96d698f3271596b.tar.gz
historical-747bdcd38c8a994d129f127ab96d698f3271596b.tar.bz2
historical-747bdcd38c8a994d129f127ab96d698f3271596b.zip
Version bump
Package-Manager: portage-2.1.4.1
Diffstat (limited to 'dev-java/jdbc-postgresql')
-rw-r--r--dev-java/jdbc-postgresql/ChangeLog10
-rw-r--r--dev-java/jdbc-postgresql/Manifest4
-rw-r--r--dev-java/jdbc-postgresql/jdbc-postgresql-8.3_p603.ebuild81
3 files changed, 92 insertions, 3 deletions
diff --git a/dev-java/jdbc-postgresql/ChangeLog b/dev-java/jdbc-postgresql/ChangeLog
index aedcde94cb49..76dbe754a40f 100644
--- a/dev-java/jdbc-postgresql/ChangeLog
+++ b/dev-java/jdbc-postgresql/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jdbc-postgresql
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/ChangeLog,v 1.16 2007/11/14 15:10:31 beandog Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/ChangeLog,v 1.17 2008/02/06 18:14:45 fordfrog Exp $
+
+*jdbc-postgresql-8.3_p603 (06 Feb 2008)
+
+ 06 Feb 2008; Miroslav Šulc <fordfrog@gentoo.org>
+ +jdbc-postgresql-8.3_p603.ebuild:
+ Version bump
14 Nov 2007; Steve Dibb <beandog@gentoo.org>
jdbc-postgresql-8.2_p505.ebuild:
diff --git a/dev-java/jdbc-postgresql/Manifest b/dev-java/jdbc-postgresql/Manifest
index 72126d511827..00cafc48e57d 100644
--- a/dev-java/jdbc-postgresql/Manifest
+++ b/dev-java/jdbc-postgresql/Manifest
@@ -5,10 +5,12 @@ DIST postgresql-jdbc-8.1-410.src.tar.gz 488493 RMD160 90d73dc7b0451d39dc3aeae795
DIST postgresql-jdbc-8.2-504.src.tar.gz 482124 RMD160 5c47ee886bb1e7b056ee83d9eb59826cffb7bd47 SHA1 5be1fc49fb0990f2bff6919c4f88827de9d5b791 SHA256 a432864026e6018bc7871f5042456ac280895719fb07ce92a9ffa64564517fba
DIST postgresql-jdbc-8.2-505.src.tar.gz 498495 RMD160 2ad97701cd481d76c6ec4339524037b99738a351 SHA1 082c5135ff98b46cd2b089ca0f04fb66a4ee9ffb SHA256 76bf2aa5ead0d043d81df1c31db9f654e6eb9d80fa9e8a97fb7432950a8197b6
DIST postgresql-jdbc-8.2-506.src.tar.gz 501821 RMD160 abdff521a24d3e065031eebfcbfa9fd0fd399442 SHA1 54a8c67ddf689fa4b91d8af731e5938e243bc9d3 SHA256 9c3c930cb4f32830b2fc543ade6d5f89f91df971d21da0c50c05d709245eae1a
+DIST postgresql-jdbc-8.3-603.src.tar.gz 521517 RMD160 3cebe6aab292d8dbbf003f6ef1036938a991f1a1 SHA1 3d0e17b3bb21c91e62ae7370a95e7f70ea1f062d SHA256 d7fa28a6f059887ae8d692c0e8a8befac688b3755ac6f46ab07e2119018e4f2d
EBUILD jdbc-postgresql-8.0_p320.ebuild 2400 RMD160 cb5fda79dab17ba3ce4b5c668a6b8f2b4400235c SHA1 3f7189043b4a51f6226f1bcc7be0928eed60c304 SHA256 c3846979a227aeb63d28a7d674a23c553bc8f02378f5b8261b46182a0419700a
EBUILD jdbc-postgresql-8.1_p410.ebuild 2400 RMD160 27abf36c1e3b3a7a7b293bf9a3d3315daa7b0073 SHA1 ff1abe27a9cd5e4ee308a54951fd0818c546926c SHA256 78fc992ea018be17e14fdcd7490632307165a32ef8f36b2b07f6c4811258b2e2
EBUILD jdbc-postgresql-8.2_p504.ebuild 2551 RMD160 112bbbe4119fd62462fcc2fb3973d3d9d9ae52d2 SHA1 44d60f08b4ab85cccd9ad9ab07923e0f62ed2911 SHA256 68289bccb4c5d35e9d58bed3cf2454c047fb16b5fd01ad4c870a17df498aa7bf
EBUILD jdbc-postgresql-8.2_p505.ebuild 2539 RMD160 c6997507f64e5c087b71ae764f7ddc5c8cc86af3 SHA1 9dd13e7a94835f1428062f67e06fd20e307aa1f8 SHA256 3dce28ccd155432858c0862a3e6bf5408b987ddc56c7bb02b2beb47e0ea207f5
EBUILD jdbc-postgresql-8.2_p506.ebuild 2206 RMD160 e4019c6a714faff916ec596b4c7a8fed73c7d4a3 SHA1 1ff3e68bc87ff85a4c2d4d260f530df0911a3cdf SHA256 677adf97c17aaaa5e69265a16a1d15f288b453006ad32e1f2c1295547af07b39
-MISC ChangeLog 3072 RMD160 03edcd64cb09732180cee6fb28e4b231f00b9f17 SHA1 6d8169f952607906514dbdda21f80fbcb3275bd5 SHA256 c1ed800711746494a63de4082523baccf59b7b60506e113d6ba44d247fff443c
+EBUILD jdbc-postgresql-8.3_p603.ebuild 2214 RMD160 381cf23f609a44fef6b7e9e55b519bd4173b2704 SHA1 80fe7905736be727c99172f25d38a01e92bb5b5b SHA256 6e53be8ad1d7cccc12964d45661d80fd33fdb89ee3388734da1bcefa52534cf2
+MISC ChangeLog 3218 RMD160 18859d41da23ec621eb9cb4944fb7a04f6668e49 SHA1 d27f13e3164cd76df91a92ed4907c878fbe40066 SHA256 434330097bda702557cd3e095272519c198d1a3cda01c557bc801b87e4ee470f
MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
diff --git a/dev-java/jdbc-postgresql/jdbc-postgresql-8.3_p603.ebuild b/dev-java/jdbc-postgresql/jdbc-postgresql-8.3_p603.ebuild
new file mode 100644
index 000000000000..b88307dc61d2
--- /dev/null
+++ b/dev-java/jdbc-postgresql/jdbc-postgresql-8.3_p603.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbc-postgresql/jdbc-postgresql-8.3_p603.ebuild,v 1.1 2008/02/06 18:14:45 fordfrog Exp $
+
+JAVA_PKG_IUSE="doc source"
+inherit java-pkg-2 java-ant-2
+
+MY_PN="postgresql-jdbc"
+MY_PV="${PV/_p/-}"
+MY_P="${MY_PN}-${MY_PV}.src"
+
+DESCRIPTION="JDBC Driver for PostgreSQL"
+SRC_URI="http://jdbc.postgresql.org/download/${MY_P}.tar.gz"
+HOMEPAGE="http://jdbc.postgresql.org/"
+
+LICENSE="POSTGRESQL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="java5 test"
+
+DEPEND=">=dev-java/java-config-2.0.31
+ !java5? ( =virtual/jdk-1.4* )
+ java5? ( =virtual/jdk-1.5* )
+ doc? (
+ dev-libs/libxslt
+ app-text/docbook-xsl-stylesheets
+ )
+ !test? ( >=dev-java/ant-core-1.6 )
+ test? (
+ =dev-java/junit-3.8*
+ >=dev-java/ant-1.6
+ dev-java/ant-junit
+ dev-db/postgresql
+ )"
+RDEPEND="!java5? ( >=virtual/jre-1.4 )
+ java5? ( >=virtual/jre-1.5 )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ java-ant_rewrite-classpath
+}
+
+src_compile() {
+ eant jar $(use_doc publicapi)
+
+ # There is a task that creates this doc but I didn't find a way how to use system catalog
+ # to lookup the stylesheet so the 'doc' target is rewritten here to use system call instead.
+ if use doc; then
+ mkdir -p "${S}/build/doc"
+ xsltproc -o "${S}/build/doc/pgjdbc.html" http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl \
+ "${S}/doc/pgjdbc.xml"
+ fi
+}
+
+src_test() {
+ einfo "In order to run the tests successfully, you have to have:"
+ einfo "1) PostgreSQL server running"
+ einfo "2) database 'test' defined with user 'test' with password 'password'"
+ einfo " as owner of the database"
+ einfo "3) plpgsql support in the 'test' database"
+ einfo
+ einfo "You can find a general info on how to perform these steps at"
+ einfo "http://gentoo-wiki.com/HOWTO_Configure_Postgresql"
+
+ ANT_TASKS="ant-junit" eant test -Dgentoo.classpath=$(java-pkg_getjars --build-only junit)
+}
+
+src_install() {
+ java-pkg_newjar jars/postgresql.jar jdbc-postgresql.jar
+
+ if use doc ; then
+ java-pkg_dojavadoc build/publicapi
+ dohtml build/doc/pgjdbc.html
+ fi
+
+ use source && java-pkg_dosrc org
+}