head	1.31;
access;
symbols
	pkgsrc-2013Q2:1.31.0.36
	pkgsrc-2013Q2-base:1.31
	pkgsrc-2012Q4:1.31.0.34
	pkgsrc-2012Q4-base:1.31
	pkgsrc-2011Q4:1.31.0.32
	pkgsrc-2011Q4-base:1.31
	pkgsrc-2011Q2:1.31.0.30
	pkgsrc-2011Q2-base:1.31
	pkgsrc-2009Q4:1.31.0.28
	pkgsrc-2009Q4-base:1.31
	pkgsrc-2008Q4:1.31.0.26
	pkgsrc-2008Q4-base:1.31
	pkgsrc-2008Q3:1.31.0.24
	pkgsrc-2008Q3-base:1.31
	cube-native-xorg:1.31.0.22
	cube-native-xorg-base:1.31
	pkgsrc-2008Q2:1.31.0.20
	pkgsrc-2008Q2-base:1.31
	pkgsrc-2008Q1:1.31.0.18
	pkgsrc-2008Q1-base:1.31
	pkgsrc-2007Q4:1.31.0.16
	pkgsrc-2007Q4-base:1.31
	pkgsrc-2007Q3:1.31.0.14
	pkgsrc-2007Q3-base:1.31
	pkgsrc-2007Q2:1.31.0.12
	pkgsrc-2007Q2-base:1.31
	pkgsrc-2007Q1:1.31.0.10
	pkgsrc-2007Q1-base:1.31
	pkgsrc-2006Q4:1.31.0.8
	pkgsrc-2006Q4-base:1.31
	pkgsrc-2006Q3:1.31.0.6
	pkgsrc-2006Q3-base:1.31
	pkgsrc-2006Q2:1.31.0.4
	pkgsrc-2006Q2-base:1.31
	pkgsrc-2006Q1:1.31.0.2
	pkgsrc-2006Q1-base:1.31
	pkgsrc-2005Q4:1.28.0.2
	pkgsrc-2005Q4-base:1.28
	pkgsrc-2005Q3:1.26.0.4
	pkgsrc-2005Q3-base:1.26
	pkgsrc-2005Q2:1.26.0.2
	pkgsrc-2005Q2-base:1.26
	pkgsrc-2005Q1:1.25.0.4
	pkgsrc-2005Q1-base:1.25
	pkgsrc-2004Q4:1.25.0.2
	pkgsrc-2004Q4-base:1.25
	pkgsrc-2004Q3:1.23.0.6
	pkgsrc-2004Q3-base:1.23
	pkgsrc-2004Q2:1.23.0.4
	pkgsrc-2004Q2-base:1.23
	pkgsrc-2004Q1:1.23.0.2
	pkgsrc-2004Q1-base:1.23
	pkgsrc-2003Q4:1.21.0.2
	pkgsrc-2003Q4-base:1.21
	netbsd-1-6-1:1.17.0.2
	netbsd-1-6-1-base:1.17
	netbsd-1-6:1.14.0.8
	netbsd-1-6-RELEASE-base:1.14
	pkgviews:1.14.0.4
	pkgviews-base:1.14
	buildlink2:1.14.0.2
	buildlink2-base:1.14
	netbsd-1-5-PATCH003:1.13
	netbsd-1-5-PATCH001:1.10
	netbsd-1-5-RELEASE:1.4
	netbsd-1-4-PATCH003:1.4
	netbsd-1-4-PATCH002:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.31
date	2006.02.27.14.52.08;	author abs;	state dead;
branches;
next	1.30;

1.30
date	2006.02.05.23.08.31;	author joerg;	state Exp;
branches;
next	1.29;

1.29
date	2006.01.04.04.29.06;	author schmonz;	state Exp;
branches;
next	1.28;

1.28
date	2005.12.26.23.39.31;	author schmonz;	state Exp;
branches;
next	1.27;

1.27
date	2005.12.09.20.34.08;	author wiz;	state Exp;
branches;
next	1.26;

1.26
date	2005.05.22.20.07.45;	author jlam;	state Exp;
branches;
next	1.25;

1.25
date	2004.10.25.17.40.01;	author jdolecek;	state Exp;
branches;
next	1.24;

1.24
date	2004.10.10.17.48.34;	author jdolecek;	state Exp;
branches;
next	1.23;

1.23
date	2004.01.22.08.02.15;	author grant;	state Exp;
branches
	1.23.6.1;
next	1.22;

1.22
date	2004.01.20.12.12.49;	author agc;	state Exp;
branches;
next	1.21;

1.21
date	2003.08.23.15.16.37;	author jschauma;	state Exp;
branches;
next	1.20;

1.20
date	2003.07.17.21.28.17;	author grant;	state Exp;
branches;
next	1.19;

1.19
date	2003.07.11.15.27.52;	author abs;	state Exp;
branches;
next	1.18;

1.18
date	2003.06.03.17.02.44;	author jschauma;	state Exp;
branches;
next	1.17;

1.17
date	2003.01.02.18.46.39;	author jlam;	state Exp;
branches;
next	1.16;

1.16
date	2002.12.31.15.44.28;	author jlam;	state Exp;
branches;
next	1.15;

1.15
date	2002.09.26.10.07.15;	author abs;	state Exp;
branches;
next	1.14;

1.14
date	2002.04.19.17.59.18;	author jwise;	state Exp;
branches;
next	1.13;

1.13
date	2001.10.15.17.13.57;	author jwise;	state Exp;
branches;
next	1.12;

1.12
date	2001.09.27.23.17.53;	author jlam;	state Exp;
branches;
next	1.11;

1.11
date	2001.09.09.23.35.39;	author jwise;	state Exp;
branches;
next	1.10;

1.10
date	2001.04.21.13.42.38;	author wiz;	state Exp;
branches;
next	1.9;

1.9
date	2001.03.28.20.58.03;	author jwise;	state Exp;
branches;
next	1.8;

1.8
date	2001.03.07.15.52.01;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	2001.02.25.04.17.40;	author hubertf;	state Exp;
branches;
next	1.6;

1.6
date	2001.02.16.14.17.27;	author wiz;	state Exp;
branches;
next	1.5;

1.5
date	2000.12.27.23.10.47;	author jwise;	state Exp;
branches;
next	1.4;

1.4
date	2000.07.14.17.25.54;	author jwise;	state Exp;
branches;
next	1.3;

1.3
date	2000.06.07.14.58.57;	author jwise;	state Exp;
branches;
next	1.2;

1.2
date	2000.05.09.18.30.12;	author jwise;	state Exp;
branches;
next	1.1;

1.1
date	2000.01.19.05.36.13;	author jwise;	state Exp;
branches
	1.1.1.1;
next	;

1.23.6.1
date	2004.11.08.16.43.29;	author salo;	state Exp;
branches;
next	;

1.1.1.1
date	2000.01.19.05.36.13;	author jwise;	state Exp;
branches;
next	;


desc
@@


1.31
log
@Updated jdbc-postgresql74 to 216
Updated jdbc-postgresql80 to 315
Updated jdbc-postgresql81 to 405
	No change logs found.

Removed jdbc-postgresql (has been re-imported as jdbc-postgresql73)
@
text
@# $NetBSD: Makefile,v 1.30 2006/02/05 23:08:31 joerg Exp $
#

DISTNAME=		postgresql-${DIST_VERS}
PKGNAME=		jdbc-${DISTNAME}
PKGREVISION=		1
CATEGORIES=		databases java
MASTER_SITES?=		http://www.postgresql.org/ftp/source/OLD/v${DIST_VERS}/ \
			ftp://ftp.postgresql.org/pub/source/OLD/v${DIST_VERS}/ \
			ftp://ftp.de.postgresql.org/pub/source/OLD/v${DIST_VERS}/ \
			ftp://ch.postgresql.org/mirror/postgresql/source/OLD/v${DIST_VERS}/ \
			ftp://gd.tuwien.ac.at/db/www.postgresql.org/pub/source/OLD/v${DIST_VERS}/ \
			ftp://looking-glass.usask.ca/pub/postgresql/source/OLD/v${DIST_VERS}/ \
			ftp://ftp.sunsite.auc.dk/mirrors/postgresql/source/OLD/v${DIST_VERS}/ \
			ftp://ftp.jaist.ac.jp/pub/dbms/postgres95/source/OLD/v${DIST_VERS}/

DIST_VERS=		7.3.8
MAINTAINER=		jwise@@NetBSD.org
HOMEPAGE=		http://www.postgresql.org/
COMMENT=		100% Java JDBC driver for PostgreSQL

BROKEN_IN=		pkgsrc-2005Q4

# No, we don't depend on postgresql.  This code base stands alone.
BUILD_DEPENDS+=		apache-ant-[0-9]*:../../devel/apache-ant

EXTRACT_ELEMENTS=	${DISTNAME}/src/interfaces/jdbc

WRKSRC=			${WRKDIR}/${DISTNAME}/src/interfaces/jdbc
USE_TOOLS+=		gmake

EXAMPLEDIR=		${PREFIX}/share/examples/java/jdbc-postgresql
DOCDIR=			${PREFIX}/share/doc/java/jdbc-postgresql

do-configure:
	( ${ECHO} "VERSION=		${DIST_VERS}";			\
	  ${ECHO} "ANT=			${LOCALBASE}/bin/ant";		\
	  ${ECHO} "DEF_PGPORT=		5432";				\
	  ${ECHO} "srcdir=		.";				\
	) > ${WRKSRC}/../../../src/Makefile.global

do-install:
	${INSTALL_DATA_DIR} ${PREFIX}/lib/java
	${INSTALL_DATA} ${WRKSRC}/jars/postgresql.jar ${PREFIX}/lib/java
	${INSTALL_DATA_DIR} ${EXAMPLEDIR}
	${INSTALL_DATA} ${WRKSRC}/example/*.java ${EXAMPLEDIR}
	${INSTALL_DATA} ${WRKSRC}/jars/postgresql-examples.jar ${EXAMPLEDIR}
	${INSTALL_DATA_DIR} ${DOCDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}

.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"
@


1.30
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2006/01/04 04:29:06 schmonz Exp $
@


1.29
log
@Express these packages' brokenness with BROKEN_IN=pkgsrc-2005Q4
rather than PKG_FAIL_REASON, so that they provide useful error
messages in build logs, and so that they continue to work on platforms
where they aren't broken.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2005/12/26 23:39:31 schmonz Exp $
d6 1
@


1.28
log
@Mark packages for pkgsrc-2005Q4 that don't build on NetBSD/i386
3.0. If one of these is important to you, please fix it in time
for pkgsrc-2006Q1, or it may be removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2005/12/09 20:34:08 wiz Exp $
d21 1
a21 2
PKG_FAIL_REASON+=	"Broken on NetBSD/i386 3.0 in pkgsrc-2005Q4"
PKG_FAIL_REASON+=	"Will be removed in pkgsrc-2006Q1 unless fixed"
@


1.27
log
@Fix path on MASTER_SITES (packages use too old version which got moved
into OLD/ subdir).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2005/05/22 20:07:45 jlam Exp $
d21 3
@


1.26
log
@Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:

	USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2004/10/25 17:40:01 jdolecek Exp $
d7 8
a14 8
MASTER_SITES?=		http://www.postgresql.org/ftpsite/source/v${DIST_VERS}/ \
			ftp://ftp.postgresql.org/pub/source/v${DIST_VERS}/ \
			ftp://ftp.de.postgresql.org/pub/source/v${DIST_VERS}/ \
			ftp://ch.postgresql.org/mirror/postgresql/source/v${DIST_VERS}/ \
			ftp://gd.tuwien.ac.at/db/www.postgresql.org/pub/source/v${DIST_VERS}/ \
			ftp://looking-glass.usask.ca/pub/postgresql/source/v${DIST_VERS}/ \
			ftp://ftp.sunsite.auc.dk/mirrors/postgresql/source/v${DIST_VERS}/ \
			ftp://ftp.jaist.ac.jp/pub/dbms/postgres95/source/v${DIST_VERS}/
@


1.25
log
@Update all postgresql73 packages to 7.3.8. This fixes following two issues:

* A vulnerability exists due to the insecure creation of temporary files,
  which could possibly let a malicious user overwrite arbitrary files

* Repair possible failure to update hint bits on disk
  Under rare circumstances this oversight could lead to "could not access
  transaction status" failures, which qualifies it as a potential-data-loss bug.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2004/10/10 17:48:34 jdolecek Exp $
d27 1
a27 1
USE_GNU_TOOLS+=		make
@


1.24
log
@Update to JDBC driver included with PostgreSQL 7.3.7.

Notable change in 7.3.5:
     * Remove  ability  to bind a list of values to a single parameter in
       JDBC (prevents possible SQL-injection attacks)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2004/01/22 08:02:15 grant Exp $
d16 1
a16 1
DIST_VERS=		7.3.7
@


1.23
log
@replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2004/01/20 12:12:49 agc Exp $
d16 1
a16 1
DIST_VERS=		7.3.3
@


1.23.6.1
log
@Pullup ticket 126 - requested by Havard Eidnes
security and bug fixes for postgresql73

        Module Name:    pkgsrc
        Committed By:   jdolecek
        Date:           Sun Oct 10 15:58:03 UTC 2004

        Modified Files:
                pkgsrc/databases/postgresql73-client: Makefile

        Log Message:
        kill -O pax argument - it's not portable, and it's not needed here
        in first place

        fixes PR pkg/23829 by Michal Pasternak
---
        Module Name:    pkgsrc
        Committed By:   jdolecek
        Date:           Sun Oct 10 17:27:43 UTC 2004

        Modified Files:
                pkgsrc/databases/postgresql73: Makefile.common
        Added Files:
                pkgsrc/databases/postgresql73/files: netbsd.c netbsd.h

        Log Message:
        Update the NetBSD dynloader wrapper code to use straigh dl*() calls on all
        archs. This fixes support for dynamic loading on mips and also improves
        error reporting.

        Fixes PR pkg/25473 by Byron Servies.

        PKGREVISION not bumped, will ride update to 7.3.7
---
        Module Name:    pkgsrc
        Committed By:   jdolecek
        Date:           Sun Oct 10 17:46:07 UTC 2004

        Modified Files:
                pkgsrc/databases/postgresql73: Makefile.common distinfo
                pkgsrc/databases/postgresql73-client: Makefile
                pkgsrc/databases/postgresql73-lib: Makefile
                pkgsrc/databases/postgresql73-pltcl: Makefile
                pkgsrc/databases/postgresql73-server: Makefile
                pkgsrc/doc: CHANGES

        Log Message:
        Update to PostgreSQL 7.3.7.

        Changes:
             * Prevent possible loss of committed transactions during crash
               Due to insufficient interlocking between transaction commit and
               checkpointing, it was possible for transactions committed just
               before the most recent checkpoint to be lost, in whole or in part,
               following a database crash and restart. This is a serious bug that
               has existed since PostgreSQL 7.1.
             * Remove asymmetrical word processing in tsearch (Teodor)
             * Properly schema-qualify function names when pg_dump'ing a CAST
---
        Module Name:    pkgsrc
        Committed By:   jdolecek
        Date:           Sun Oct 10 17:48:34 UTC 2004

        Modified Files:
                pkgsrc/databases/jdbc-postgresql: Makefile distinfo
                pkgsrc/doc: CHANGES

        Log Message:
        Update to JDBC driver included with PostgreSQL 7.3.7.

        Notable change in 7.3.5:
             * Remove  ability  to bind a list of values to a single parameter in
               JDBC (prevents possible SQL-injection attacks)
---
        Module Name:    pkgsrc
        Committed By:   kristerw
        Date:           Thu Oct 14 17:58:43 UTC 2004

        Modified Files:
                pkgsrc/databases/postgresql73-docs: Makefile PLIST

        Log Message:
        Correct PLIST.
        Bump PKGREVISION.
---
        Module Name:    pkgsrc
        Committed By:   jdolecek
        Date:           Sun Oct 10 18:26:00 UTC 2004

        Modified Files:
                pkgsrc/databases/postgresql73: distinfo
                pkgsrc/databases/postgresql73/patches: patch-ad
        Added Files:
                pkgsrc/databases/postgresql73/patches: patch-aj

        Log Message:
        add patches to make it possible to compile PL/Python
---
        Module Name:    pkgsrc
        Committed By:   jdolecek
        Date:           Mon Oct 25 17:40:01 UTC 2004

        Modified Files:
                pkgsrc/databases/jdbc-postgresql: Makefile distinfo
                pkgsrc/databases/postgresql73: Makefile.common distinfo
                pkgsrc/databases/postgresql73-docs: Makefile
                pkgsrc/doc: CHANGES

        Log Message:
        Update all postgresql73 packages to 7.3.8. This fixes following two issues:

        * A vulnerability exists due to the insecure creation of temporary files,
          which could possibly let a malicious user overwrite arbitrary files

        * Repair possible failure to update hint bits on disk
          Under rare circumstances this oversight could lead to "could not access
          transaction status" failures, which qualifies it as a potential-data-loss bug.
---
        Module Name:    pkgsrc
        Committed By:   he
        Date:           Mon Nov  1 22:32:26 UTC 2004

        Modified Files:
                pkgsrc/databases/postgresql73-docs: PLIST

        Log Message:
        Correct PLIST after upgrade to postgresql 7.3.8.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2004/10/25 17:40:01 jdolecek Exp $
d16 1
a16 1
DIST_VERS=		7.3.8
@


1.22
log
@Move WRKSRC definition away from the first paragraph in a Makefile.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2003/08/23 15:16:37 jschauma Exp $
d27 1
a27 1
USE_GMAKE=		YES
@


1.21
log
@Add pseudo-category 'java'.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2003/07/17 21:28:17 grant Exp $
a5 1
WRKSRC=			${WRKDIR}/${DISTNAME}/src/interfaces/jdbc
d26 1
@


1.20
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2003/07/11 15:27:52 abs Exp $
d7 1
a7 1
CATEGORIES=		databases
@


1.19
log
@Update jdbc-postgresql to 7.3.3 from 7.3.1
	No changelog available
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2003/06/03 17:02:44 jschauma Exp $
d18 1
a18 1
MAINTAINER=		jwise@@netbsd.org
@


1.18
log
@Change dependency of jakarta-ant into apache-ant, as it's now known.
All build fine with the new version of ant.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2003/01/02 18:46:39 jlam Exp $
d17 1
a17 1
DIST_VERS=		7.3.1
@


1.17
log
@Updated databases/jdbc-postgresql to 7.3.1.  Changes from version 7.2.3
include:

   Allow JDBC to compile with JDK 1.4
   Add JDBC 3 support
   Allows JDBC to set loglevel by adding ?loglevel=X to the connection URL
   Add Driver.info
   Add updateable result sets
   Add support for callable statements
   Add query cancel capability
   Add refresh row
   Fix MD5 encryption handling for multibyte servers
   Add support for prepared statements

Approved by jwise@@netbsd.org.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2002/12/31 15:44:28 jlam Exp $
d23 1
a23 1
BUILD_DEPENDS+=		jakarta-ant-[0-9]*:../../devel/jakarta-ant
@


1.16
log
@Mechanical conversion to use java-vm.mk.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2002/09/26 10:07:15 abs Exp $
d4 1
a4 1
DISTNAME=		postgresql-${VERSION}
d8 8
a15 3
MASTER_SITES=		ftp://ftp.PostgreSQL.org/pub/ \
			ftp://ftp.sunsite.auc.dk/mirrors/www.postgresql.org/pub/ \
			ftp://ftp.jaist.ac.jp/pub/dbms/postgres95/
d17 1
a17 1
VERSION=		7.2.2
d19 1
a19 1
HOMEPAGE=		http://www.PostgreSQL.ORG/
d27 1
a27 1
.include "../../mk/bsd.prefs.mk"
d29 2
a30 2
USE_GMAKE=
NO_CONFIGURE=
d32 6
a37 7
HELP_FILES=		README Implementation CHANGELOG

pre-build:
	${ECHO} "VERSION=${VERSION}" > ${WRKSRC}/../../../src/Makefile.global
	${ECHO} "ANT=${LOCALBASE}/bin/ant" >> ${WRKSRC}/../../../src/Makefile.global
	${ECHO} "srcdir=." >> ${WRKSRC}/../../../src/Makefile.global
	${ECHO} "DEF_PGPORT=5432" >> ${WRKSRC}/../../../src/Makefile.global
d42 5
a46 7
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/java/jdbc-postgresql
	${INSTALL_DATA} ${WRKSRC}/example/*.java ${PREFIX}/share/examples/java/jdbc-postgresql
	${INSTALL_DATA} ${WRKSRC}/jars/postgresql-examples.jar ${PREFIX}/share/examples/java/jdbc-postgresql
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/jdbc-postgresql
.for X in ${HELP_FILES}
	${INSTALL_DATA} ${WRKSRC}/${X} ${PREFIX}/share/doc/java/jdbc-postgresql
.endfor
@


1.15
log
@Update jdbc-postgresql to 7.2.2
	No changes found in CHANGELOG - just updating distfile to current
	postgresql package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2002/04/19 17:59:18 jwise Exp $
a24 1
USE_JAVA=
a25 1
CLASSPATH:=		${CLASSPATH}:.
d46 1
@


1.14
log
@Update jdbc-postgresql to the version shipped with PostgreSQL 7.2.1.

Only documented change since previous pkgsrc revision is creation of
a sepearate jar file with compiled versions of the examples.  Other
changes may exist.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2001/10/15 17:13:57 jwise Exp $
d4 1
a4 1
DISTNAME=		postgresql-7.2.1
d12 1
d32 1
a32 1
	${ECHO} "VERSION=7.2.1" > ${WRKSRC}/../../../src/Makefile.global
@


1.13
log
@Update this to the version of the jdbc driver which ships with postgresql-7.1.3.

No documented code changes since the version which shipped with 7.1.2.  Build
infrastructure now allows the default port to use to access the postmaster to be
changed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2001/09/27 23:17:53 jlam Exp $
d4 1
a4 1
DISTNAME=		postgresql-7.1.3
d17 1
a17 1
DEPENDS+=		jakarta-ant-[0-9]*:../../devel/jakarta-ant
d31 1
a31 1
	${ECHO} "VERSION=7.1.3" > ${WRKSRC}/../../../src/Makefile.global
d33 1
a33 1
	${ECHO} "top_srcdir=." >> ${WRKSRC}/../../../src/Makefile.global
d41 1
@


1.12
log
@Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2001/09/09 23:35:39 jwise Exp $
d4 1
a4 1
DISTNAME=		postgresql-7.1.2
d31 1
a31 1
	${ECHO} "VERSION=7.1.2" > ${WRKSRC}/../../../src/Makefile.global
d34 1
a41 1
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/java/jdbc-postgresql/api
@


1.11
log
@Update to the version of the PostgreSQL JDBC support which comes with
postgresql-7.1.2.

Most visible changes are that the authors now use jakarta-ant to build
this package, and that the authors have removed support for building
javadoc documentation for this package.  This latter is rather unfortunate,
and may need to be addressed within the package.

Also, at some point this week, I will try to rework this package to use
the postgresql Makefile.common, as the original package now fits a little
more closely into the postgresql build hierarchy.

This package also adds one to the number of jakarta-ant using packages in
pkgsrc.  At some point soonish I will code up a USE_ANT flag in bsd.pkg.mk
to cut out the duplication of effort...

Other changes include:


Tue Mar 06 12:05:00 GMT 2001 peter@@retep.org.uk
        - Removed org.postgresql.xa.Test from the JDBC EE driver as it's an old
          test class and prevented it from compiling.

Fri Mar 02 10:00:00 GMT 2001 peter@@retep.org.uk
        - Fixed build.xml so that PGclob is not built in the JDBC1.2 driver


Fri Feb 17 18:25:00 GMT 2001 peter@@retep.org.uk
        - Removed the last deprecation warnings from the Java2 driver. Now only
          the old examples give deprecation warnings.
        - Added a new class into core that (JDK1.3+) ensures all connections are
          closed when the VM terminates.

Fri Feb 17 15:11:00 GMT 2001 peter@@retep.org.uk
        - Reduced the object overhead in PreparedStatement by reusing the same
          StringBuffer object throughout. Similarly SimpleDateStamp's are alse
          reused in a thread save manner.
        - Implemented in PreparedStatement: setNull(), setDate/Time/Timestamp
          using Calendar, setBlob(), setCharacterStream()
        - Clob's are now implemented in ResultSet & PreparedStatement!
        - Implemented a lot of DatabaseMetaData & ResultSetMetaData methods.
          We have about 18 unimplemented methods left in JDBC2 at the current
          time.

Web Feb 14 17:29:00 GMT 2001 peter@@retep.org.uk
        - Fixed bug in LargeObject & BlobOutputStream where the stream's output
          was not flushed when either the stream or the blob were closed.
        - Fixed PreparedStatement.setBinaryStream() where it ignored the length

Tue Feb 13 16:33:00 GMT 2001 peter@@retep.org.uk
        - More TestCases implemented. Refined the test suite api's.
        - Removed need for SimpleDateFormat in ResultSet.getDate() improving
          performance.
        - Rewrote ResultSet.getTime() so that it uses JDK api's better.

Tue Feb 13 10:25:00 GMT 2001 peter@@retep.org.uk
        - Added MiscTest to hold reported problems from users.
        - Fixed PGMoney.
        - JBuilder4/JDBCExplorer now works with Money fields. Patched Field &
          ResultSet (lots of methods) for this one. Also changed cash/money to
          return type DOUBLE not DECIMAL. This broke JBuilder as zero scale
          BigDecimal's can't have decimal places!
        - When a Statement is reused, the previous ResultSet is now closed.
        - Removed deprecated call in ResultSet.getTime()

Thu Feb 08 18:53:00 GMT 2001 peter@@retep.org.uk
        - Changed a couple of settings in DatabaseMetaData where 7.1 now
          supports those features
        - Implemented the DatabaseMetaData TestCase.

Wed Feb 07 18:06:00 GMT 2001 peter@@retep.org.uk
        - Added comment to Connection.isClosed() explaining why we deviate from
          the JDBC2 specification.
        - Fixed bug where the Isolation Level is lost while in autocommit mode.
        - Fixed bug where several calls to getTransactionIsolationLevel()
          returned the first call's result.

Tue Feb 06 19:00:00 GMT 2001 peter@@retep.org.uk
        - Completed first two TestCase's for the test suite. JUnit is now
          recognised by ant.

Wed Jan 31 08:46:00 GMT 2001 peter@@retep.org.uk
        - Some minor additions to Statement to make our own extensions more
          portable.
        - Statement.close() will now call ResultSet.close() rather than just
          dissasociating with it.

Tue Jan 30 22:24:00 GMT 2001 peter@@retep.org.uk
        - Fixed bug where Statement.setMaxRows() was a global setting. Now
          limited to just itself.
        - Changed LargeObject.read(byte[],int,int) to return the actual number
          of bytes read (used to be void).
        - LargeObject now supports InputStream's!
        - PreparedStatement.setBinaryStream() now works!
        - ResultSet.getBinaryStream() now returns an InputStream that doesn't
          copy the blob into memory first!
        - Connection.isClosed() now tests to see if the connection is still alive
          rather than if it thinks it's alive.
Thu Jan 25 09:11:00 GMT 2001 peter@@retep.org.uk
        - Added an alternative constructor to PGSQLException so that debugging
          some more osteric bugs is easier. If only 1 arg is supplied and it's
          of type Exception, then that Exception's stacktrace is now included.

Wed Jan 24 09:18:00 GMT 2001 peter@@retep.org.uk
	- Removed the 8k limit by setting it to 64k

Fri Jan 19 08:47:00 GMT 2001 peter@@retep.org.uk
        - Applied patch submitted by John Schutz <schutz@@austin.rr.com> that
          fixed a bug with ANT's SQL functions (not needed for building but nice
          to have fixed).

Thu Jan 18 17:30:00 GMT 2001 peter@@retep.org.uk
        - Added new error message into errors.properties "postgresql.notsensitive"
          This is used by jdbc2.ResultSet when a method is called that should
          fetch the current value of a row from the database refreshRow() for
          example.
        - These methods no longer throw the not implemented but the new noupdate
          error. This is in preparation for the Updateable ResultSet support
          which will overide these methods by extending the existing class to
          implement that functionality, but needed to show something other than
          notimplemented:
            moveToCurrentRow()
            moveToInsertRow()
            rowDeleted()
            rowInserted()
            all update*() methods, except those that took the column as a String
            as they were already implemented to convert the String to an int.
        - getFetchDirection() and setFetchDirection() now throws
          "postgresql.notimp" as we only support one direction.
          The CursorResultSet will overide this when its implemented.
        - Created a new class under jdbc2 UpdateableResultSet which extends
          ResultSet and overides the relevent update methods.
          This allows us to implement them easily at a later date.
        - In jdbc2.Connection, the following methods are now implemented:
            createStatement(type,concurrency);
            getTypeMap();
            setTypeMap(Map);
        - The JDBC2 type mapping scheme almost complete, just needs SQLInput &
          SQLOutput to be implemented.
        - Removed some Statement methods that somehow appeared in Connection.
        - In jdbc2.Statement()
            getResultSetConcurrency()
            getResultSetType()
            setResultSetConcurrency()
            setResultSetType()
        - Finally removed the old 6.5.x driver.

Thu Jan 18 12:24:00 GMT 2001 peter@@retep.org.uk
        - These methods in org.postgresql.jdbc2.ResultSet are now implemented:
            getBigDecimal(int) ie: without a scale (why did this get missed?)
            getBlob(int)
            getCharacterStream(int)
            getConcurrency()
            getDate(int,Calendar)
            getFetchDirection()
            getFetchSize()
            getTime(int,Calendar)
            getTimestamp(int,Calendar)
            getType()
          NB: Where int represents the column name, the associated version
              taking a String were already implemented by calling the int
              version.
        - These methods no longer throw the not implemented but the new noupdate
          error. This is in preparation for the Updateable ResultSet support
          which will overide these methods by extending the existing class to
          implement that functionality, but needed to show something other than
          notimplemented:
            cancelRowUpdates()
            deleteRow()
        - Added new error message into errors.properties "postgresql.noupdate"
          This is used by jdbc2.ResultSet when an update method is called and
          the ResultSet is not updateable. A new method notUpdateable() has been
          added to that class to throw this exception, keeping the binary size
          down.
        - Added new error message into errors.properties "postgresql.psqlnotimp"
          This is used instead of unimplemented when it's a feature in the
          backend that is preventing this method from being implemented.
        - Removed getKeysetSize() as its not part of the ResultSet API

Thu Jan 18 09:46:00 GMT 2001 peter@@retep.org.uk
        - Applied modified patch from Richard Bullington-McGuire
          <rbulling@@microstate.com>. I had to modify it as some of the code
          patched now exists in different classes, and some of it actually
          patched obsolete code.

Wed Jan 17 10:19:00 GMT 2001 peter@@retep.org.uk
        - Updated Implementation to include both ANT & JBuilder
        - Updated README to reflect the changes since 7.0
	- Created jdbc.jpr file which allows JBuilder to be used to edit the
          source. JBuilder _CAN_NOT_ be used to compile. You must use ANT for
          that. It's only to allow JBuilders syntax checking to improve the
          drivers source. Refer to Implementation for more details

Wed Dec 20 16:19:00 GMT 2000 peter@@retep.org.uk
	- Finished build.xml and updated Driver.java.in and buildDriver to
	  match how Makefile and ANT operate.

Tue Dec 19 17:30:00 GMT 2000 peter@@retep.org.uk
	- Finally created ant build.xml file

Mon Nov 20 08:12:00 GMT 2000 peter@@retep.org.uk
	- Encoding patch to Connection by wrobell@@posexperts.com.pl

Tue Oct 17 15:35:00 BST 2000 petermount@@maidstone.gov.uk
	- Changed getTimestamp() again. This time Michael Stephenson's
	  <mstephenson@@tirin.openworld.co.uk> solution looked far better
	  than the original solution put in June.

Tue Oct 10 13:12:00 BST 2000 peter@@retep.org.uk
	- DatabaseMetaData.supportsAlterTableWithDropColumn() as psql doesn't
	  support dropping of individual columns
	- Merged in some last patches. Only 1 left, which may not be compatible
	  with jdbc1
	- Merged in my old retepsql project. Makefile now includes it.

Mon Oct 02 12:30:00 BST 2000 peter@@retep.org.uk
	- Merged in byte[] array allocation changes submitted by Gunnar R|nning
	  <gunnar@@candleweb.no>

Mon Sep 25 14:22:00 BST 2000 peter@@retep.org.uk
	- Removed the DriverClass kludge. Now the org.postgresql.Driver class
	  is compiled from a template file, and now has both the connection
	  class (ie jdbc1/jdbc2) and the current version's from Makefile.global

Thu Jul 20 16:30:00 BST 2000 petermount@@it.maidstone.gov.uk
	- Fixed DatabaseMetaData.getTableTypes()
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2001/04/21 13:42:38 wiz Exp $
d17 1
a17 1
DEPENDS+=		jakarta-ant-*:../../devel/jakarta-ant
@


1.10
log
@Drop remaining uses of DIGEST_FILE (which were bogus, anyway)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2001/03/28 20:58:03 jwise Exp $
d4 1
a4 1
DISTNAME=		postgresql-7.0.3
d17 1
a25 1
ALL_TARGET=		jdbc1 doc
d28 6
a33 1
HELP_FILES=		README README_6.3 Implementation CHANGELOG
d37 1
a37 1
	${INSTALL_DATA} ${WRKSRC}/postgresql.jar ${PREFIX}/lib/java
a44 1
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/java/jdbc-postgresql/api
@


1.9
log
@So _that's_ how to do that! :-)

Use ${EXTRACT_ELEMENTS} instead of adding to ${EXTRACT_CMD} by hand.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2001/03/07 15:52:01 wiz Exp $
a17 2
# checksum shared distfile, since we need not have built postgresql
DIGEST_FILE=		${PKGSRCDIR}/databases/postgresql/files/md5
@


1.8
log
@${MD5_FILE} -> ${DIGEST_FILE}
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2001/02/25 04:17:40 hubertf Exp $
d20 1
a44 2

EXTRACT_CMD += ${DISTNAME}/src/interfaces/jdbc
@


1.7
log
@Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2001/02/16 14:17:27 wiz Exp $
d19 1
a19 1
MD5_FILE=		${PKGSRCDIR}/databases/postgresql/files/md5
@


1.6
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2000/12/27 23:10:47 jwise Exp $
d32 1
a32 1
	${MKDIR} ${PREFIX}/lib/java
d34 1
a34 1
	${MKDIR} ${PREFIX}/share/examples/java/jdbc-postgresql
d36 2
a37 2
	${MKDIR} ${PREFIX}/share/doc/java/jdbc-postgresql
	${MKDIR} ${PREFIX}/share/doc/java/jdbc-postgresql/api
@


1.5
log
@Update jdbc-postgresql to version 7.0.3.  Changes since 7.0.2 include:

Tue Jun 06 12:00:00 BST 2000 petermount@@it.maidstone.gov.uk
	- Added org/postgresql/DriverClass.java to the list of files removed
	  by make clean (it's dynamically built)
	- Fixed Statement, so that the update count is valid when an SQL
	  DELETE operation is done.
	- While fixing the update count, made it easier to get the OID of
	  the last insert as well. Example is in example/basic.java

Tue Jun 06 08:37:00 BST 2000 petermount@@it.maidstone.gov.uk
	- Removed a hardwired 8K limit on query strings
	- Added some missing org.'s in Connection that prevented
	  the use of the geometric types.

Thu Jun 01 07:26:00 BST 2000 petermount@@it.maidstone.gov.uk
	- Removed timezone in getTimestamp() methods in ResultSet.

Mon May 15 22:30:00 BST 2000 peter@@retep.org.uk
	- Fixed the message Makefile produces after compiling. It still said
	  about the old Driver class, not the new package. Spotted by
	  Joseph Shraibman <jks@@p1.selectacast.net>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2000/07/14 17:25:54 jwise Exp $
d14 1
@


1.4
log
@Update to the version which ships with postgresql-7.0.2

Changes since the version shipped with postgresql-7.0:

Mon May 15 22:30:00 BST 2000 peter@@retep.org.uk
	- Fixed the message Makefile produces after compiling. It still said
	  about the old Driver class, not the new package. Spotted by
	  Joseph Shraibman <jks@@p1.selectacast.net>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2000/06/07 14:58:57 jwise Exp $
d4 1
a4 1
DISTNAME=		postgresql-7.0.2
@


1.3
log
@Update jdbc-postgresql to the version shipped with postgresql-7.0.


Thu May 04 11:38:00 BST 2000 petermount@@it.maidstone.gov.uk
	- Corrected incorrect date in CHANGELOG
	- Fixed the ImageViewer example

Wed May 03 16:47:00 BST 2000 petermount@@it.maidstone.gov.uk
	- Fixed the Makefile so that postgresql.jar is built everytime
	  the jdbc1 or jdbc2 rules are called.
	- Fixed the threadsafe example. It had problems with autocommit

Wed May 03 14:32:00 BST 2000 petermount@@it.maidstone.gov.uk
	- Rewrote the README file (the old one was 18 months old!)
	- Added @@deprecated tags to org.postgresql.jdbc2.ResultSet
	  to clear some warnings issued during compilation.

Wed Apr 12 22:14:00 BST 2000 peter@@retep.org.uk
	- Implemented the JDBC2 Blob interface, and ResultSet.getBlob().

Wed Apr 12 20:20:00 BST 2000 peter@@retep.org.uk
	- Fixed bug in ResultSet.absolute(). Negative rows are now supported.
	- Implemented ResultSet.relative(), afterLast().

Tue Feb  1 21:40:00 GMT 2000 peter@@retep.org.uk
	- Finally imported the contributed javax extensions by Assaf Arkin
	  arkin@@exoffice.com

Mon Jan 24 21:00:00 GMT 2000 peter@@retep.org.uk
	- Finally introduced the 7.0 additions to the core CVS repository.
	- All source files are now under the org.postgresql package (previously
	  they were under postgresql). The package lines now changed
	  accordingly.
	- The Makefile was rewritten so it should now work on machines that
	  can't handle the $( ) syntax.
	- Dutch translation by Arnout Kuiper (ajkuiper@@wxs.nl)

Mon Sep 13 23:56:00 BST 1999 peter@@retep.org.uk
	- PG_Stream.SendChar() optimised, increased default buffer size of
	  output stream to 8k, and introduced an 8k buffer on the input stream
	  Sverre H Huseby <sverrehu@@online.no>
	- Added a finalize() method to Connection class in both drivers so that
	  the connection to the backend is really closed.
	- Due to many JVM's not returning a meaningful value for java.version
	  the decision for building the JDBC1.2 or JDBC2 driver is now a
	  compile time option.
	- Replaced $$(cmd...) with `cmd...` in the Makefile. This should allow
	  the driver to compile when using shells other than Bash.

Thu Sep  9 01:18:39 MEST 1999 jens@@jens.de
	- fixed bug in handling of DECIMAL type

Wed Aug  4 00:25:18 CEST 1999 jens@@jens.de
	- updated ResultSetMetaData.getColumnDisplaySize() to return
	  the actual display size
	- updated driver to use postgresql FE/BE-protocol version 2

Mon Aug  2 03:29:35 CEST 1999 jens@@jens.de
         - fixed bug in DatabaseMetaData.getPrimaryKeys()

Sun Aug  1 18:05:42 CEST 1999 jens@@jens.de
        - added support for getTransactionIsolation and setTransactionIsolation
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2000/05/09 18:30:12 jwise Exp $
d4 1
a4 1
DISTNAME=		postgresql-7.0
@


1.2
log
@Begin unification of install paths for java based packages.  Scheme is:

      * binaries which are not JVM dependent go in ${PREFIX}/bin

      * jar/zip/etc files for use by java programs go in
	${PREFIX}/lib/java

      * examples for java packages go in ${PREFIX}/share/examples/java

      * documentation for java packages go in ${PREFIX}/share/doc/java

JVMs go in their own directories, right now ${PREFIX}/{java,kaffe}, which
is necessary so that multiple JVMs can be installed concurrently, and so
that the miriad packages which count on ${JAVA_HOME} pointing to a JVM
install will DTRT.

Most java packages already use something similar or can be adapted easily.
Java packages such as Jakarta with large amounts of private java will need
to be addressed separately.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2000/01/19 05:36:13 jwise Exp $
d4 1
a4 1
DISTNAME=		postgresql-6.5.3
a24 1
NO_PATCH=
d26 1
a26 1
MAKE_ENV+=		CLASSPATH=${CLASSPATH}:.
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d32 6
a37 5
	${INSTALL_DATA} ${WRKSRC}/postgresql.jar ${PREFIX}/lib
	${MKDIR} ${PREFIX}/share/examples/jdbc-postgresql
	${INSTALL_DATA} ${WRKSRC}/example/*.java ${PREFIX}/share/examples/jdbc-postgresql
	${MKDIR} ${PREFIX}/share/doc/jdbc-postgresql
	${MKDIR} ${PREFIX}/share/doc/jdbc-postgresql/api
d39 1
a39 1
	${INSTALL_DATA} ${WRKSRC}/${X} ${PREFIX}/share/doc/jdbc-postgresql
d41 1
a41 1
	${INSTALL_DATA} ${WRKSRC}/*.html ${PREFIX}/share/doc/jdbc-postgresql/api
@


1.1.1.1
log
@Initial import of jdbc-postgresql-6.5.3, a type 4 JDBC driver for PostgreSQL.

This shares a distfile and a checksum file with the postgresql package.  It uses
a different workaround for the postgres jdbc Makefile than in that package's
patch-an, but I am leaving that patch there for documentation purposes.  (That way
`cd pkgsrcs/databases/postgresql ; make patch' DTRT for people looking at the
sources).
@
text
@@
