openbsd-ports/databases/postgresql/Makefile

135 lines
4.3 KiB
Makefile
Raw Normal View History

2002-05-19 19:39:57 -04:00
# $OpenBSD: Makefile,v 1.57 2002/05/19 23:39:57 brad Exp $
COMMENT= "PostgreSQL RDBMS"
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"
COMMENT-docs= "PostgreSQL RDBMS documentation"
VERSION= 7.1.3
DISTNAME= postgresql-${VERSION}
PKGNAME-clients=postgresql-clients-${VERSION}
FULLPKGNAME-docs=postgresql-docs-${VERSION}
CATEGORIES= databases
NEED_VERSION= 1.435
HOMEPAGE= http://www.postgresql.org/
2001-09-07 18:48:47 -04:00
MAINTAINER= Brandon Palmer <bpalmer@crimelabs.net>, Peter Galbavy <peter.galbavy@knowtion.net>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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= \
ftp://ftp.digex.net/pub/packages/database/postgresql/v${VERSION}/ \
ftp://postgresql.readysetnet.com/pub/postgresql/v${VERSION}/ \
ftp://ftp.crimelabs.net/pub/postgresql/v${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
ftp://www.ndesign.com.ua/pub/psql/v${VERSION}/ \
ftp://looking-glass.usask.ca/pub/postgresql/v${VERSION}/ \
ftp://ftp.iodynamics.com/pub/mirror/postgresql/v${VERSION}/ \
ftp://postgresql.rmplc.co.uk/pub/postgresql/v${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
ftp://ftp.fhl.net/pub/postgresql/v${VERSION}/ \
ftp://ftp.sunet.se/pub/unix/databases/relational/postgresql/v${VERSION}/ \
ftp://postgresql.godzone.net.nz/postgresql/v${VERSION}/ \
ftp://linux.sarang.net/mirror/database/postgresql/v${VERSION}/ \
ftp://ring.asahi-net.or.jp/pub/misc/db/postgresql/v${VERSION}/ \
ftp://ftp.postgreSQL.uli.it/pub/v${VERSION}/ \
ftp://ftp.fr.postgresql.org/pub/v${VERSION}/ \
ftp://postgresql.matrix.fi/pub/v${VERSION}/
FLAVORS= tcl odbc no_locale no_ssl # perl
FLAVOR?=
2001-02-22 14:28:12 -05:00
MULTI_PACKAGES= -clients -docs
SUBPACKAGE?=
2001-02-22 14:28:12 -05: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
CONFIGURE_ENV= LIBS=-lcurses
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
CONFIGURE_ARGS= --enable-syslog \
--disable-rpath \
--with-CXX \
--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"
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/config
.if ${FLAVOR:L:Mtcl}
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
LIB_DEPENDS+= tk83::x11/tk/8.3
TCL_INCDIR= ${LOCALBASE}/include/tcl8.3
TK_INCDIR= ${LOCALBASE}/include/tk8.3
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
CONFIGURE_ENV+= WISH="${LOCALBASE}/bin/wish8.3"
CONFIGURE_ARGS+= --with-tcl \
2001-02-22 14:28:12 -05:00
--with-tclconfig="${LOCALBASE}/lib/tcl8.3 ${LOCALBASE}/lib/tk8.3" \
--with-includes="${LOCALBASE}/include ${TCL_INCDIR} ${TK_INCDIR}"
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
.endif
.if ${FLAVOR:L:Modbc}
LIB_DEPENDS+= iodbc::databases/iodbc
CONFIGURE_ARGS+=--enable-odbc --with-odbcinst="${SYSCONFDIR}"
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
.endif
# This does not work yet. The Pg module Makefile do not follow the fake
# install scheme properly. The best bet if you need this is to go with
# either a direct install of the Pg modules from CPAN, look out for a
# p5-Pg package or use the DBI interface - Peter
.if ${FLAVOR:L:Mperl}
CONFIGURE_ARGS+= --with-perl
1998-05-06 12:55:37 -04:00
.endif
.if ${FLAVOR:L:Mno_ssl}
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
CONFIGURE_ARGS+= --without-openssl
.else
CONFIGURE_ARGS+= --with-openssl="/usr"
2000-11-30 14:23:14 -05:00
.endif
.if ${FLAVOR:L:Mno_locale}
CONFIGURE_ARGS+= --disable-locale --disable-recode
.else
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
CONFIGURE_ARGS+= --enable-locale --enable-recode
DOCS+= ${WRKSRC}/doc/README.mb.big5 ${WRKSRC}/doc/README.mb.jp
.endif
.if ${FLAVOR:L:Mtcl}
post-patch:
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
@mv ${WRKSRC}/src/bin/pgaccess/main.tcl \
${WRKSRC}/src/bin/pgaccess/main.tcl.orig
@sed -e "s=wish=${LOCALBASE}/bin/wish8.3=" \
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
${WRKSRC}/src/bin/pgaccess/main.tcl.orig \
> ${WRKSRC}/src/bin/pgaccess/main.tcl
.endif
2002-03-24 22:18:20 -05:00
INSTALL_TARGET= install install-all-headers
DOCS+= ${WRKSRC}/COPYRIGHT ${WRKSRC}/HISTORY \
${WRKSRC}/INSTALL ${WRKSRC}/README \
${WRKSRC}/register.txt \
${WRKSRC}/doc/FAQ ${WRKSRC}/doc/FAQ_DEV ${WRKSRC}/doc/TODO
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
.include <bsd.port.mk>
.if ${FLAVOR:L:Mtcl} && !defined(NO_SHARED_LIBS)
SED_PLIST+=-e '/%%SHARED-tcl%%/r${PKGDIR}/PFRAG.tcl.shared' -e '//d'
.elif ${FLAVOR:L:Mtcl} && defined(NO_SHARED_LIBS) && \
${NO_SHARED_LIBS:L} == "yes"
SED_PLIST+=-e '/%%SHARED-tcl%%/d'
.endif
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
2001-02-22 14:28:12 -05:00
.if ${FLAVOR:L:Modbc} && !defined(NO_SHARED_LIBS)
SED_PLIST+=-e '/%%SHARED-odbc%%/r${PKGDIR}/PFRAG.odbc.shared' -e '//d'
.elif ${FLAVOR:L:Modbc} && defined(NO_SHARED_LIBS) && \
${NO_SHARED_LIBS:L} == "yes"
2001-02-22 14:28:12 -05:00
SED_PLIST+=-e '/%%SHARED-odbc%%/d'
.endif