The fix for locales and plperl in 7.4.11 might make an REINDEX necessary. Changes from 7.4.8 to 7.4.9: - Fix error that allowed VACUUM to remove ctid chains too soon, and add more checking in code that follows ctid links - Fix CHAR() to properly pad spaces to the specified length when using a multiple-byte character set (Yoshiyuki Asaba) - Fix the sense of the test for read-only transaction in COPY - 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 - 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 - Don't try to open more than max_files_per_process files during postmaster startup - Various memory leakage fixes - Various portability improvements - Fix PL/PgSQL to handle var := var correctly when the variable is of pass-by-reference type - Update contrib/tsearch2 to use current Snowball code Changes from 7.4.9 to 7.4.10: - Fix race condition in transaction log management - Prevent failure if client sends Bind protocol message when current transaction is already aborted - /contrib/ltree fixes (Teodor) - AIX and HPUX compile fixes (Tom) - Fix longstanding planning error for outer joins - Prevent core dump in pg_autovacuum when a table has been dropped Changes from 7.4.10 to 7.4.11: - Fix for protocol-level Describe messages issued outside a transaction or in a failed transaction (Tom) - Fix character string comparison for locales that consider different character combinations as equal, such as Hungarian (Tom) - Set locale environment variables during postmaster startup to ensure that plperl won't change the locale later - Fix longstanding bug in strpos() and regular expression handling in certain rarely used Asian multi-byte character sets (Tatsuo) - Fix bug in /contrib/pgcrypto gen_salt, which caused it not to use all available salt space for MD5 and XDES algorithms (Marko Kreen, Solar Designer) - Fix /contrib/dblink to throw an error, rather than crashing, when the number of columns specified is different from what's actually returned by the query (Joe) Changes from 7.4.11 to 7.4.12: - Fix potential crash in SET SESSION AUTHORIZATION (CVE-2006-0553) - Fix bug with row visibility logic in self-inserted rows (Tom) - Fix race condition that could lead to "file already exists" errors during pg_clog file creation (Tom) - Properly check DOMAIN constraints for UNKNOWN parameters in prepared statements (Neil) - Fix to allow restoring dumps that have cross-schema references to custom operators (Tom) - Portability fix for testing presence of finite and isinf during configure (Tom)
65 lines
1.9 KiB
Makefile
65 lines
1.9 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2006/02/21 20:23:49 joerg Exp $
|
|
|
|
PKGNAME= postgresql74-lib-${BASE_VERS}
|
|
SVR4_PKGNAME= pstgl
|
|
COMMENT= PostgreSQL database headers and libraries
|
|
|
|
.include "../../databases/postgresql74/Makefile.common"
|
|
|
|
USE_TOOLS+= tar
|
|
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DIRS+= ${WRKSRC}/src/include
|
|
BUILD_DIRS+= ${WRKSRC}/src/interfaces
|
|
BUILD_DIRS+= ${WRKSRC}/src/bin/pg_config
|
|
|
|
# without this the Darwin build fails
|
|
# (-bundle_loader related)
|
|
BUILD_DIRS+= ${WRKSRC}/src/backend
|
|
|
|
BUILD_DIRS+= ${WRKSRC}/src/pl
|
|
|
|
# As told by Josh Berkus
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "native" \
|
|
&& ${OPSYS} != "NetBSD" && ${OPSYS} != "DragonFly"
|
|
CONFIGURE_ARGS+= --enable-thread-safety
|
|
.endif
|
|
|
|
# handle additional headers installed by hierarchical queries patch
|
|
.if defined(PGSQL_USE_HIER) && !empty(PGSQL_USE_HIER:M[yY][eE][sS])
|
|
PLIST_SUBST+= PG_HIER=
|
|
.else
|
|
PLIST_SUBST+= PG_HIER="@comment "
|
|
.endif
|
|
|
|
post-wrapper:
|
|
#
|
|
# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and
|
|
# "/usr/include/crypt.h" -- we want the definitions in the former.
|
|
#
|
|
.if (${OPSYS} == "SunOS")
|
|
${TOUCH} ${BUILDLINK_DIR}/include/crypt.h
|
|
.endif
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} -C src/include install
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} -C src/interfaces install
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} -C src/bin/pg_config install
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} -C src/pl install
|
|
cd ${WRKSRC}/src/include && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE_PROGRAM} install-all-headers
|
|
|
|
post-install:
|
|
${EGREP} -v "^#" ${FILESDIR}/man.lib > ${WRKDIR}/man_tar
|
|
cd ${PREFIX}/man && ${TAR} -zxm -T ${WRKDIR}/man_tar \
|
|
-f ${WRKSRC}/doc/man.tar.gz
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|