pkgsrc/databases/jdbc-postgresql83/Makefile
abs 5ec46ea84d Updated databases/jdbc-postgresql83 to 605
Version 8.3-605 (2009-07-01)

    * fix The Statement and Connection proxies used for connection pooling code relied on the underlying real connection and statement code for equals and hashcode support. When the proxies are closed we discard the references to the real objects, so we can't rely on them for this support because we'll get a NullPointerException. (jurka) Thanks to Radu Buzila.
    * fix DatabaseMetaData.getColumns was broken for the JDBC 3 and 4 drivers when running against 7.2 or older servers. (jurka)
    * fix Retrieve columns' default values from pg_attrdef.adbin rather than adsrc because adsrc can get out of date when dependent objects are renamed while adbin stays up to date. (jurka) Thanks to Dickson Guedes, Tom Lane.
    * fix Fix parsing of integer and long data. Some malformed inputs (only a negative sign) got treated as valid data. (jurka) Thanks to Heiiki Linnakangas.
    * fix Initialize BatchUpdateExceptions with the SQLState of the SQLException that they are wrapping. Code that inspects the SQLStates of SQLExceptions, but doesn't unwrap the nested exception will not understand the underlying cause and may make incorrect decisions about the severity of the error. (jurka) Thanks to Fujii Masao.


Version 8.3-605 (2009-07-01)

    * fix The Statement and Connection proxies used for connection pooling code relied on the underlying real connection and statement code for equals and hashcode support. When the proxies are closed we discard the references to the real objects, so we can't rely on them for this support because we'll get a NullPointerException. (jurka) Thanks to Radu Buzila.
    * fix DatabaseMetaData.getColumns was broken for the JDBC 3 and 4 drivers when running against 7.2 or older servers. (jurka)
    * fix Retrieve columns' default values from pg_attrdef.adbin rather than adsrc because adsrc can get out of date when dependent objects are renamed while adbin stays up to date. (jurka) Thanks to Dickson Guedes, Tom Lane.
    * fix Fix parsing of integer and long data. Some malformed inputs (only a negative sign) got treated as valid data. (jurka) Thanks to Heiiki Linnakangas.
    * fix Initialize BatchUpdateExceptions with the SQLState of the SQLException that they are wrapping. Code that inspects the SQLStates of SQLExceptions, but doesn't unwrap the nested exception will not understand the underlying cause and may make incorrect decisions about the severity of the error. (jurka) Thanks to Fujii Masao.
2009-10-20 11:02:55 +00:00

36 lines
970 B
Makefile

# $NetBSD: Makefile,v 1.3 2009/10/20 11:02:55 abs Exp $
#
DISTNAME= postgresql-jdbc-8.3-${PGBUILD}.src
PKGNAME= jdbc-postgresql83-${PGBUILD}
DISTFILES+= ${DISTNAME}.tar.gz ${JARDIST}
CATEGORIES= databases
MASTER_SITES= http://jdbc.postgresql.org/download/
MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://jdbc.postgresql.org/
COMMENT= PostgreSQL 8.3 JDBC3 driver
PGBUILD= 605
JARDIST= postgresql-8.3-${PGBUILD}.jdbc3.jar
JARFILE= postgresql83.jar
EXTRACT_ONLY= ${DISTFILES:N*.jar}
PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= lib/java ${DOCDIR}
USE_JAVA= run
USE_JAVA2= 1.4
NO_BUILD= YES
DOCDIR= share/doc/java/${PKGBASE}
PLIST_SUBST+= JARFILE=${JARFILE:Q}
PLIST_SUBST+= DOCDIR=${DOCDIR:Q}
do-install:
${INSTALL_DATA} ${DISTDIR}/${JARDIST} \
${DESTDIR}${PREFIX}/lib/java/${JARFILE}
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/${DOCDIR}
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"