2004-02-04 02:39:18 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.68 2004/02/04 07:39:18 sturm Exp $
|
2001-02-22 21:41:00 -05:00
|
|
|
|
2001-04-13 03:00:44 -04:00
|
|
|
COMMENT= "PostgreSQL RDBMS"
|
2003-01-02 02:15:34 -05:00
|
|
|
COMMENT-tcl= "PostgreSQL RDBMS tcl libraries and utilities"
|
Upgrade to postgresql 7.1. ok'd espie@
* The package is now called `postgresql' and not `pgsql'.
* The default user that is suggested for the admin account is also
`postgresql'. This will work with OpenBSD-current with long username
support. If anything breaks please report to the maintainers.
* pgwrap is no longer shipped or supported
* Please note, you will HAVE TO BACKUP your old data if you are
upgrading from a previous release of postgresql. Do this before
removing the old pgsql package.
From the announcement last weekend:
Key New Features and Capabilities of Version 7.1 Include:
* Write-ahead Log (WAL) increases data integrity and processing
speed. To maintain database consistency in case of an operating
system crash, previous releases of PostgreSQL have forced all all
data modifications to disk before each transaction commit. With
WAL, only one log file must be flushed to disk, greatly improving
performance. (Tech note: can eliminate use of -F in to disable disk
flushes)
* TOAST (The Oversized-Attribute Storage Technique) Past releases
had compiled-in row length limit typically between 8Kb & 32Kb. This
restriction made storage of long text fields difficult, cumbersome
and slow. TOAST enables rows of any length while maintaing the high
performance PostgreSQL users have come to expect.
* SQL92 Outer Joins are now supported. (Tech note: eliminates the
UNION/NOT IN workaround)
* 64-bit C Language Function Manager support The previous C function
manager did not handle support 64-bit CPU's (e.g. Alpha, Sun,
Itanium). (Tech note: This change should not impact existing custom
functions developed for past versions, but performance will be
improved through rewriting to use the new call interface.)
* Complex Queries that are better, stronger and faster Many complex
queries were unsupported in previous releases. With v7.1 combinations
of views, aggregates, UNION, LIMIT, cursors, subqueries, and inherited
tables are enabled. Inherited tables are now accessed by default,
and subqueries in FROM are now supported.
2001-04-21 14:25:42 -04:00
|
|
|
COMMENT-clients="PostgreSQL RDBMS client libraries and utilities"
|
2001-07-25 04:16:46 -04:00
|
|
|
COMMENT-docs= "PostgreSQL RDBMS documentation"
|
2001-04-13 03:00:44 -04:00
|
|
|
|
2003-12-23 14:40:32 -05:00
|
|
|
VERSION= 7.3.5
|
2000-08-25 11:34:13 -04:00
|
|
|
DISTNAME= postgresql-${VERSION}
|
2003-12-23 14:40:32 -05:00
|
|
|
PKGNAME-clients=postgresql-clients-${VERSION}
|
|
|
|
PKGNAME-docs= postgresql-docs-${VERSION}
|
|
|
|
PKGNAME-tcl= postgresql-tcl-${VERSION}
|
1997-11-20 15:34:05 -05:00
|
|
|
CATEGORIES= databases
|
2000-08-25 11:34:13 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.postgresql.org/
|
|
|
|
|
2002-12-17 11:38:53 -05:00
|
|
|
MAINTAINER= Brandon Palmer <bpalmer@crimelabs.net>, \
|
|
|
|
Peter Galbavy <peter.galbavy@knowtion.net>
|
2000-05-23 12:31:41 -04:00
|
|
|
|
2003-12-23 14:40:32 -05:00
|
|
|
# BSD
|
2003-05-20 09:52:00 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= "without fee clause"
|
2000-08-25 11:34:13 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
2003-05-20 09:52:00 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= "without fee clause"
|
2000-08-25 11:34:13 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-05-23 12:31:41 -04:00
|
|
|
|
Upgrade to postgresql 7.1. ok'd espie@
* The package is now called `postgresql' and not `pgsql'.
* The default user that is suggested for the admin account is also
`postgresql'. This will work with OpenBSD-current with long username
support. If anything breaks please report to the maintainers.
* pgwrap is no longer shipped or supported
* Please note, you will HAVE TO BACKUP your old data if you are
upgrading from a previous release of postgresql. Do this before
removing the old pgsql package.
From the announcement last weekend:
Key New Features and Capabilities of Version 7.1 Include:
* Write-ahead Log (WAL) increases data integrity and processing
speed. To maintain database consistency in case of an operating
system crash, previous releases of PostgreSQL have forced all all
data modifications to disk before each transaction commit. With
WAL, only one log file must be flushed to disk, greatly improving
performance. (Tech note: can eliminate use of -F in to disable disk
flushes)
* TOAST (The Oversized-Attribute Storage Technique) Past releases
had compiled-in row length limit typically between 8Kb & 32Kb. This
restriction made storage of long text fields difficult, cumbersome
and slow. TOAST enables rows of any length while maintaing the high
performance PostgreSQL users have come to expect.
* SQL92 Outer Joins are now supported. (Tech note: eliminates the
UNION/NOT IN workaround)
* 64-bit C Language Function Manager support The previous C function
manager did not handle support 64-bit CPU's (e.g. Alpha, Sun,
Itanium). (Tech note: This change should not impact existing custom
functions developed for past versions, but performance will be
improved through rewriting to use the new call interface.)
* Complex Queries that are better, stronger and faster Many complex
queries were unsupported in previous releases. With v7.1 combinations
of views, aggregates, UNION, LIMIT, cursors, subqueries, and inherited
tables are enabled. Inherited tables are now accessed by default,
and subqueries in FROM are now supported.
2001-04-21 14:25:42 -04:00
|
|
|
MASTER_SITES= \
|
2002-12-17 11:38:53 -05:00
|
|
|
ftp://ftp.us.postgresql.org/source/v${VERSION}/ \
|
|
|
|
ftp://ftp.au.postgresql.org/pub/postgresql/source/v${VERSION}/ \
|
|
|
|
ftp://ftp.at.postgresql.org/db/www.postgresql.org/pub/source/v${VERSION}/ \
|
|
|
|
ftp://ftp.cl.postgresql.org/pub/GNU/pgsql/source/v${VERSION}/ \
|
|
|
|
ftp://ftp.cz.postgresql.org/pub/ftp.postgresql.org/source/v${VERSION}/ \
|
|
|
|
ftp://ftp.dk.postgresql.org/mirrors/postgresql/source/v${VERSION}/
|
2000-05-23 12:31:41 -04:00
|
|
|
|
2003-02-12 12:09:03 -05:00
|
|
|
PSEUDO_FLAVORS= tcl
|
2003-01-08 16:33:21 -05:00
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
MULTI_PACKAGES= -clients -docs
|
2000-08-25 11:34:13 -04:00
|
|
|
SUBPACKAGE?=
|
2001-02-22 14:28:12 -05:00
|
|
|
|
2001-09-03 19:24:37 -04:00
|
|
|
MAKE_FILE= GNUmakefile
|
|
|
|
|
|
|
|
SUBST_VARS= VERSION
|
|
|
|
|
Upgrade to postgresql 7.1. ok'd espie@
* The package is now called `postgresql' and not `pgsql'.
* The default user that is suggested for the admin account is also
`postgresql'. This will work with OpenBSD-current with long username
support. If anything breaks please report to the maintainers.
* pgwrap is no longer shipped or supported
* Please note, you will HAVE TO BACKUP your old data if you are
upgrading from a previous release of postgresql. Do this before
removing the old pgsql package.
From the announcement last weekend:
Key New Features and Capabilities of Version 7.1 Include:
* Write-ahead Log (WAL) increases data integrity and processing
speed. To maintain database consistency in case of an operating
system crash, previous releases of PostgreSQL have forced all all
data modifications to disk before each transaction commit. With
WAL, only one log file must be flushed to disk, greatly improving
performance. (Tech note: can eliminate use of -F in to disable disk
flushes)
* TOAST (The Oversized-Attribute Storage Technique) Past releases
had compiled-in row length limit typically between 8Kb & 32Kb. This
restriction made storage of long text fields difficult, cumbersome
and slow. TOAST enables rows of any length while maintaing the high
performance PostgreSQL users have come to expect.
* SQL92 Outer Joins are now supported. (Tech note: eliminates the
UNION/NOT IN workaround)
* 64-bit C Language Function Manager support The previous C function
manager did not handle support 64-bit CPU's (e.g. Alpha, Sun,
Itanium). (Tech note: This change should not impact existing custom
functions developed for past versions, but performance will be
improved through rewriting to use the new call interface.)
* Complex Queries that are better, stronger and faster Many complex
queries were unsupported in previous releases. With v7.1 combinations
of views, aggregates, UNION, LIMIT, cursors, subqueries, and inherited
tables are enabled. Inherited tables are now accessed by default,
and subqueries in FROM are now supported.
2001-04-21 14:25:42 -04:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
CONFIGURE_STYLE=gnu
|
2001-04-23 17:58:44 -04:00
|
|
|
CONFIGURE_ENV= LIBS=-lcurses
|
2002-12-17 11:38:53 -05:00
|
|
|
CONFIGURE_ARGS= --disable-rpath \
|
|
|
|
--enable-integer-datetimes \
|
|
|
|
--includedir="${PREFIX}/include/postgresql" \
|
2001-04-23 17:58:44 -04:00
|
|
|
--datadir="${PREFIX}/share/postgresql" \
|
Upgrade to postgresql 7.1. ok'd espie@
* The package is now called `postgresql' and not `pgsql'.
* The default user that is suggested for the admin account is also
`postgresql'. This will work with OpenBSD-current with long username
support. If anything breaks please report to the maintainers.
* pgwrap is no longer shipped or supported
* Please note, you will HAVE TO BACKUP your old data if you are
upgrading from a previous release of postgresql. Do this before
removing the old pgsql package.
From the announcement last weekend:
Key New Features and Capabilities of Version 7.1 Include:
* Write-ahead Log (WAL) increases data integrity and processing
speed. To maintain database consistency in case of an operating
system crash, previous releases of PostgreSQL have forced all all
data modifications to disk before each transaction commit. With
WAL, only one log file must be flushed to disk, greatly improving
performance. (Tech note: can eliminate use of -F in to disable disk
flushes)
* TOAST (The Oversized-Attribute Storage Technique) Past releases
had compiled-in row length limit typically between 8Kb & 32Kb. This
restriction made storage of long text fields difficult, cumbersome
and slow. TOAST enables rows of any length while maintaing the high
performance PostgreSQL users have come to expect.
* SQL92 Outer Joins are now supported. (Tech note: eliminates the
UNION/NOT IN workaround)
* 64-bit C Language Function Manager support The previous C function
manager did not handle support 64-bit CPU's (e.g. Alpha, Sun,
Itanium). (Tech note: This change should not impact existing custom
functions developed for past versions, but performance will be
improved through rewriting to use the new call interface.)
* Complex Queries that are better, stronger and faster Many complex
queries were unsupported in previous releases. With v7.1 combinations
of views, aggregates, UNION, LIMIT, cursors, subqueries, and inherited
tables are enabled. Inherited tables are now accessed by default,
and subqueries in FROM are now supported.
2001-04-21 14:25:42 -04:00
|
|
|
--docdir="${PREFIX}/share/doc/postgresql"
|
2000-08-25 11:34:13 -04:00
|
|
|
|
2002-12-17 11:38:53 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config
|
2000-11-30 14:23:14 -05:00
|
|
|
|
2002-12-18 00:13:15 -05:00
|
|
|
INSTALL_TARGET= install install-all-headers
|
|
|
|
|
2002-12-17 11:38:53 -05:00
|
|
|
# Regression tests must be done manually and not as root. Successful
|
|
|
|
# runs have been achieved on the i386 using the following:
|
|
|
|
#
|
|
|
|
# $ ulimit -p 128
|
|
|
|
# $ ulimit -n 1024
|
|
|
|
# $ make regress NO_REGRESS=No
|
|
|
|
#
|
|
|
|
# Note, you may also need to change a variety of SYSV IPC parameters.
|
|
|
|
# See files/README.OpenBSD for more details
|
|
|
|
NO_REGRESS= Yes
|
2000-08-25 11:34:13 -04:00
|
|
|
|
2002-12-17 11:38:53 -05:00
|
|
|
DOCS= ${WRKSRC}/COPYRIGHT ${WRKSRC}/HISTORY \
|
2001-09-03 19:24:37 -04:00
|
|
|
${WRKSRC}/INSTALL ${WRKSRC}/README \
|
2002-12-17 11:38:53 -05:00
|
|
|
${WRKSRC}/doc/README.mb.big5 ${WRKSRC}/doc/README.mb.jp \
|
2001-09-03 19:24:37 -04:00
|
|
|
${WRKSRC}/register.txt \
|
|
|
|
${WRKSRC}/doc/FAQ ${WRKSRC}/doc/FAQ_DEV ${WRKSRC}/doc/TODO
|
|
|
|
|
2003-01-02 02:15:34 -05:00
|
|
|
# For tcl
|
2003-02-12 12:09:03 -05:00
|
|
|
.if ${FLAVOR:L:Mtcl}
|
2003-01-08 16:33:21 -05:00
|
|
|
MULTI_PACKAGES+= -tcl
|
2003-01-02 02:15:34 -05:00
|
|
|
|
|
|
|
TCL_INCDIR= ${LOCALBASE}/include/tcl8.3
|
|
|
|
TK_INCDIR= ${LOCALBASE}/include/tk8.3
|
|
|
|
CONFIGURE_ENV+= WISH="${LOCALBASE}/bin/wish8.3"
|
|
|
|
CONFIGURE_ARGS+= --with-tcl \
|
|
|
|
--with-tclconfig="${LOCALBASE}/lib/tcl8.3 ${LOCALBASE}/lib/tk8.3" \
|
2003-01-08 16:33:21 -05:00
|
|
|
--with-includes="${TCL_INCDIR} ${TK_INCDIR} ${LOCALBASE}/include"
|
2003-01-02 09:48:23 -05:00
|
|
|
BUILD_DEPENDS+= tk83::x11/tk/8.3
|
2003-01-02 02:15:34 -05:00
|
|
|
|
2003-01-08 16:33:21 -05:00
|
|
|
. if defined(PACKAGING)
|
|
|
|
. if ${SUBPACKAGE} == "-tcl"
|
2003-01-02 02:15:34 -05:00
|
|
|
RUN_DEPENDS= ::databases/postgresql
|
|
|
|
LIB_DEPENDS+= tk83::x11/tk/8.3
|
2003-01-08 16:33:21 -05:00
|
|
|
. endif
|
2003-01-02 02:15:34 -05:00
|
|
|
. endif
|
2003-02-12 12:09:03 -05:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-tcl
|
2003-01-02 02:15:34 -05:00
|
|
|
.endif
|
2004-02-04 02:39:18 -05:00
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
|
|
|
PKG_ARCH= *
|
|
|
|
.endif
|
2003-01-02 02:15:34 -05:00
|
|
|
|
1999-11-10 21:24:29 -05:00
|
|
|
post-install:
|
Upgrade to postgresql 7.1. ok'd espie@
* The package is now called `postgresql' and not `pgsql'.
* The default user that is suggested for the admin account is also
`postgresql'. This will work with OpenBSD-current with long username
support. If anything breaks please report to the maintainers.
* pgwrap is no longer shipped or supported
* Please note, you will HAVE TO BACKUP your old data if you are
upgrading from a previous release of postgresql. Do this before
removing the old pgsql package.
From the announcement last weekend:
Key New Features and Capabilities of Version 7.1 Include:
* Write-ahead Log (WAL) increases data integrity and processing
speed. To maintain database consistency in case of an operating
system crash, previous releases of PostgreSQL have forced all all
data modifications to disk before each transaction commit. With
WAL, only one log file must be flushed to disk, greatly improving
performance. (Tech note: can eliminate use of -F in to disable disk
flushes)
* TOAST (The Oversized-Attribute Storage Technique) Past releases
had compiled-in row length limit typically between 8Kb & 32Kb. This
restriction made storage of long text fields difficult, cumbersome
and slow. TOAST enables rows of any length while maintaing the high
performance PostgreSQL users have come to expect.
* SQL92 Outer Joins are now supported. (Tech note: eliminates the
UNION/NOT IN workaround)
* 64-bit C Language Function Manager support The previous C function
manager did not handle support 64-bit CPU's (e.g. Alpha, Sun,
Itanium). (Tech note: This change should not impact existing custom
functions developed for past versions, but performance will be
improved through rewriting to use the new call interface.)
* Complex Queries that are better, stronger and faster Many complex
queries were unsupported in previous releases. With v7.1 combinations
of views, aggregates, UNION, LIMIT, cursors, subqueries, and inherited
tables are enabled. Inherited tables are now accessed by default,
and subqueries in FROM are now supported.
2001-04-21 14:25:42 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/postgresql
|
|
|
|
${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/postgresql
|
2001-03-10 14:27:15 -05:00
|
|
|
@sed -e s#!!PREFIX!!#${TRUEPREFIX}#g ${FILESDIR}/README.OpenBSD > \
|
|
|
|
${WRKBUILD}/README.OpenBSD
|
Upgrade to postgresql 7.1. ok'd espie@
* The package is now called `postgresql' and not `pgsql'.
* The default user that is suggested for the admin account is also
`postgresql'. This will work with OpenBSD-current with long username
support. If anything breaks please report to the maintainers.
* pgwrap is no longer shipped or supported
* Please note, you will HAVE TO BACKUP your old data if you are
upgrading from a previous release of postgresql. Do this before
removing the old pgsql package.
From the announcement last weekend:
Key New Features and Capabilities of Version 7.1 Include:
* Write-ahead Log (WAL) increases data integrity and processing
speed. To maintain database consistency in case of an operating
system crash, previous releases of PostgreSQL have forced all all
data modifications to disk before each transaction commit. With
WAL, only one log file must be flushed to disk, greatly improving
performance. (Tech note: can eliminate use of -F in to disable disk
flushes)
* TOAST (The Oversized-Attribute Storage Technique) Past releases
had compiled-in row length limit typically between 8Kb & 32Kb. This
restriction made storage of long text fields difficult, cumbersome
and slow. TOAST enables rows of any length while maintaing the high
performance PostgreSQL users have come to expect.
* SQL92 Outer Joins are now supported. (Tech note: eliminates the
UNION/NOT IN workaround)
* 64-bit C Language Function Manager support The previous C function
manager did not handle support 64-bit CPU's (e.g. Alpha, Sun,
Itanium). (Tech note: This change should not impact existing custom
functions developed for past versions, but performance will be
improved through rewriting to use the new call interface.)
* Complex Queries that are better, stronger and faster Many complex
queries were unsupported in previous releases. With v7.1 combinations
of views, aggregates, UNION, LIMIT, cursors, subqueries, and inherited
tables are enabled. Inherited tables are now accessed by default,
and subqueries in FROM are now supported.
2001-04-21 14:25:42 -04:00
|
|
|
${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD ${PREFIX}/share/doc/postgresql
|
1999-11-10 21:24:29 -05:00
|
|
|
|
1997-11-20 15:34:05 -05:00
|
|
|
.include <bsd.port.mk>
|