pkgsrc/databases/postgresql80/options.mk

29 lines
789 B
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.4 2006/10/18 18:38:57 adam Exp $
Several changes to the postgresql80-* packages: * Become maintainer for the postgresql80-* packages (ok'd by recht) * Libtoolize postgresql80 build so that the shared libraries and loadable shared modules are built using libtool. This should make PostgreSQL 8.0.x in pkgsrc build correctly on more pkgsrc-supported platforms. This is accomplished with the Makefile.libtool file which replaces the Makefile.shlib file in the PostgreSQL distribution. * Add libltdl modifications from the postgresql74-* packages so that this can work on Interix (untested). * Fix some mismatches between static function declarations and their subsesquent definitions in the src/timezone module. Fixes provided by Georg Schwarz. * Convert PGSQL_USE_HIER into the PKG_OPTION "pgsql-hier-query", and teach both postgresql80-client and postgresql80-server to use it. * Use BUILDLINK_TRANSFORM's "rm" action to remove unwanted compiler flags. * Remove zlib/buildlink3.mk from postgresql80-client/buildlink3.mk as zlib is only used by the pg_dump client. * Convert some files in files/* into patches that can be fed back to the PostgreSQL team. * Install data and documentation files into share/postgresql instead of share/postgresql80 -- it's only possible to install one PostgreSQL version at a time in pkgsrc, and the new paths more closely match the rest of the installation paths. * Add more mirrors to the MASTER_SITES list, and add a new variable POSTGRESQL_MIRRORS_SORT that has the same syntax as MASTER_SORT that can help people pick a nearby mirror. * Nuke references to libpgtcl which is no longer distributed as part of a standard PostgreSQL installation as of version 8.0. * Provide better documentation for Makefile.custom. * Avoid linking in the pthread library in the correct way on NetBSD by setting DLOPEN_REQUIRE_PTHREADS=no. Also, provide better documentation on why we can't enable thread-safety in the PostgreSQL libraries on NetBSD (at least for now). * Preliminary support for installing postgresql80-* into a separate subdirectory under ${LOCALBASE} so possibly allow for multiple installations of PostgreSQL on the same machine. Note that THIS DOES NOT WORK YET. * Update the hierarchical-queries patch to "8.0.3-0.5.5" which fixes a bug which was crashing the backend when PRIOR was used in the target list. The _level_ column is no longer automatically added to target list. This makes it possible to use hierarchical queries as IN subqueries. To get _level_ back you just have to explicitly mention it in target list. Bump the following PKGREVISIONs: postgresql80-client -> 2 postgresql80-server -> 2 postgresql80 -> 1
2005-08-05 21:43:44 +02:00
PKG_SUPPORTED_OPTIONS+= pgsql-hier-query
Several changes to the postgresql80-* packages: * Become maintainer for the postgresql80-* packages (ok'd by recht) * Libtoolize postgresql80 build so that the shared libraries and loadable shared modules are built using libtool. This should make PostgreSQL 8.0.x in pkgsrc build correctly on more pkgsrc-supported platforms. This is accomplished with the Makefile.libtool file which replaces the Makefile.shlib file in the PostgreSQL distribution. * Add libltdl modifications from the postgresql74-* packages so that this can work on Interix (untested). * Fix some mismatches between static function declarations and their subsesquent definitions in the src/timezone module. Fixes provided by Georg Schwarz. * Convert PGSQL_USE_HIER into the PKG_OPTION "pgsql-hier-query", and teach both postgresql80-client and postgresql80-server to use it. * Use BUILDLINK_TRANSFORM's "rm" action to remove unwanted compiler flags. * Remove zlib/buildlink3.mk from postgresql80-client/buildlink3.mk as zlib is only used by the pg_dump client. * Convert some files in files/* into patches that can be fed back to the PostgreSQL team. * Install data and documentation files into share/postgresql instead of share/postgresql80 -- it's only possible to install one PostgreSQL version at a time in pkgsrc, and the new paths more closely match the rest of the installation paths. * Add more mirrors to the MASTER_SITES list, and add a new variable POSTGRESQL_MIRRORS_SORT that has the same syntax as MASTER_SORT that can help people pick a nearby mirror. * Nuke references to libpgtcl which is no longer distributed as part of a standard PostgreSQL installation as of version 8.0. * Provide better documentation for Makefile.custom. * Avoid linking in the pthread library in the correct way on NetBSD by setting DLOPEN_REQUIRE_PTHREADS=no. Also, provide better documentation on why we can't enable thread-safety in the PostgreSQL libraries on NetBSD (at least for now). * Preliminary support for installing postgresql80-* into a separate subdirectory under ${LOCALBASE} so possibly allow for multiple installations of PostgreSQL on the same machine. Note that THIS DOES NOT WORK YET. * Update the hierarchical-queries patch to "8.0.3-0.5.5" which fixes a bug which was crashing the backend when PRIOR was used in the target list. The _level_ column is no longer automatically added to target list. This makes it possible to use hierarchical queries as IN subqueries. To get _level_ back you just have to explicitly mention it in target list. Bump the following PKGREVISIONs: postgresql80-client -> 2 postgresql80-server -> 2 postgresql80 -> 1
2005-08-05 21:43:44 +02:00
.include "../../mk/bsd.options.mk"
###
### PAM authentication for the PostgreSQL backend.
###
.if !empty(PKG_OPTIONS:Mpam)
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --with-pam
Several changes to the postgresql80-* packages: * Become maintainer for the postgresql80-* packages (ok'd by recht) * Libtoolize postgresql80 build so that the shared libraries and loadable shared modules are built using libtool. This should make PostgreSQL 8.0.x in pkgsrc build correctly on more pkgsrc-supported platforms. This is accomplished with the Makefile.libtool file which replaces the Makefile.shlib file in the PostgreSQL distribution. * Add libltdl modifications from the postgresql74-* packages so that this can work on Interix (untested). * Fix some mismatches between static function declarations and their subsesquent definitions in the src/timezone module. Fixes provided by Georg Schwarz. * Convert PGSQL_USE_HIER into the PKG_OPTION "pgsql-hier-query", and teach both postgresql80-client and postgresql80-server to use it. * Use BUILDLINK_TRANSFORM's "rm" action to remove unwanted compiler flags. * Remove zlib/buildlink3.mk from postgresql80-client/buildlink3.mk as zlib is only used by the pg_dump client. * Convert some files in files/* into patches that can be fed back to the PostgreSQL team. * Install data and documentation files into share/postgresql instead of share/postgresql80 -- it's only possible to install one PostgreSQL version at a time in pkgsrc, and the new paths more closely match the rest of the installation paths. * Add more mirrors to the MASTER_SITES list, and add a new variable POSTGRESQL_MIRRORS_SORT that has the same syntax as MASTER_SORT that can help people pick a nearby mirror. * Nuke references to libpgtcl which is no longer distributed as part of a standard PostgreSQL installation as of version 8.0. * Provide better documentation for Makefile.custom. * Avoid linking in the pthread library in the correct way on NetBSD by setting DLOPEN_REQUIRE_PTHREADS=no. Also, provide better documentation on why we can't enable thread-safety in the PostgreSQL libraries on NetBSD (at least for now). * Preliminary support for installing postgresql80-* into a separate subdirectory under ${LOCALBASE} so possibly allow for multiple installations of PostgreSQL on the same machine. Note that THIS DOES NOT WORK YET. * Update the hierarchical-queries patch to "8.0.3-0.5.5" which fixes a bug which was crashing the backend when PRIOR was used in the target list. The _level_ column is no longer automatically added to target list. This makes it possible to use hierarchical queries as IN subqueries. To get _level_ back you just have to explicitly mention it in target list. Bump the following PKGREVISIONs: postgresql80-client -> 2 postgresql80-server -> 2 postgresql80 -> 1
2005-08-05 21:43:44 +02:00
.endif
###
### Support for hierarchical queries with Oracle-like CONNECT BY syntax.
Update postgresql80-related packages to 8.0.4. On updating from any previous 8.0.x release, no dump-and-restore is necessary. Changes from version 8.0.3 include: postgresql80-client: - Clarify comment for pgsql-hier-query option to note that it is considered buggy by PostgreSQL developers. * Make psql -f filename return a nonzero exit code when opening the file fails * Change pg_dump to handle inherited check constraints more reliably postgresql80-server: * Fix error that allowed "VACUUM" to remove ctid chains too soon, and add more checking in code that follows ctid links This fixes a long-standing problem that could cause crashes in very rare circumstances. * Fix CHAR() to properly pad spaces to the specified length when using a multiple-byte character set (Yoshiyuki Asaba) In prior releases, the padding of CHAR() was incorrect because it only padded to the specified number of bytes without considering how many characters were stored. * Force a checkpoint before committing "CREATE DATABASE" This should fix recent reports of "index is not a btree" failures when a crash occurs shortly after "CREATE DATABASE". * Fix the sense of the test for read-only transaction in "COPY" The code formerly prohibited "COPY TO", where it should prohibit "COPY FROM". * Handle consecutive embedded newlines in "COPY" CSV-mode input * Fix date_trunc(week) for dates near year end * Fix planning problem with outer-join ON clauses that reference only the inner-side relation * Further fixes for x FULL JOIN y ON true corner cases * Fix overenthusiastic optimization of x IN (SELECT DISTINCT ...) and related cases * Fix mis-planning of queries with small LIMIT values due to poorly thought out "fuzzy" cost comparison * Make array_in and array_recv more paranoid about validating their OID parameter * Fix missing rows in queries like UPDATE a=... WHERE a... with GiST index on column a * Improve robustness of datetime parsing * Improve checking for partially-written WAL pages * Improve robustness of signal handling when SSL is enabled * Improve MIPS and M68K spinlock code * Don't try to open more than max_files_per_process files during postmaster startup * Various memory leakage fixes * Various portability improvements * Update timezone data files * Fix PL/PgSQL to handle var := var correctly when the variable is of pass-by-reference type postgresql80-plperl: * Fix PL/Perl %_SHARED so it's actually shared
2005-10-23 22:16:52 +02:00
### See http://gppl.moonbone.ru/README.html for details. Note that use of
### this patch is discouraged by PostgreSQL developers because it is
### considered somewhat buggy and incomplete.
Several changes to the postgresql80-* packages: * Become maintainer for the postgresql80-* packages (ok'd by recht) * Libtoolize postgresql80 build so that the shared libraries and loadable shared modules are built using libtool. This should make PostgreSQL 8.0.x in pkgsrc build correctly on more pkgsrc-supported platforms. This is accomplished with the Makefile.libtool file which replaces the Makefile.shlib file in the PostgreSQL distribution. * Add libltdl modifications from the postgresql74-* packages so that this can work on Interix (untested). * Fix some mismatches between static function declarations and their subsesquent definitions in the src/timezone module. Fixes provided by Georg Schwarz. * Convert PGSQL_USE_HIER into the PKG_OPTION "pgsql-hier-query", and teach both postgresql80-client and postgresql80-server to use it. * Use BUILDLINK_TRANSFORM's "rm" action to remove unwanted compiler flags. * Remove zlib/buildlink3.mk from postgresql80-client/buildlink3.mk as zlib is only used by the pg_dump client. * Convert some files in files/* into patches that can be fed back to the PostgreSQL team. * Install data and documentation files into share/postgresql instead of share/postgresql80 -- it's only possible to install one PostgreSQL version at a time in pkgsrc, and the new paths more closely match the rest of the installation paths. * Add more mirrors to the MASTER_SITES list, and add a new variable POSTGRESQL_MIRRORS_SORT that has the same syntax as MASTER_SORT that can help people pick a nearby mirror. * Nuke references to libpgtcl which is no longer distributed as part of a standard PostgreSQL installation as of version 8.0. * Provide better documentation for Makefile.custom. * Avoid linking in the pthread library in the correct way on NetBSD by setting DLOPEN_REQUIRE_PTHREADS=no. Also, provide better documentation on why we can't enable thread-safety in the PostgreSQL libraries on NetBSD (at least for now). * Preliminary support for installing postgresql80-* into a separate subdirectory under ${LOCALBASE} so possibly allow for multiple installations of PostgreSQL on the same machine. Note that THIS DOES NOT WORK YET. * Update the hierarchical-queries patch to "8.0.3-0.5.5" which fixes a bug which was crashing the backend when PRIOR was used in the target list. The _level_ column is no longer automatically added to target list. This makes it possible to use hierarchical queries as IN subqueries. To get _level_ back you just have to explicitly mention it in target list. Bump the following PKGREVISIONs: postgresql80-client -> 2 postgresql80-server -> 2 postgresql80 -> 1
2005-08-05 21:43:44 +02:00
###
.if !empty(PKG_OPTIONS:Mpgsql-hier-query)
PATCH_SITES= http://gppl.moonbone.ru/
PATCHFILES= hier-Pg8.0.3-0.5.5.diff.gz
PATCH_DIST_STRIP= -p1
PLIST_SUBST+= PG_HIER=
.else
PLIST_SUBST+= PG_HIER="@comment "
.endif