summaryrefslogtreecommitdiff
path: root/databases/postgresql83-client
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2009-12-16 14:23:13 +0000
committeradam <adam@pkgsrc.org>2009-12-16 14:23:13 +0000
commit16e1acc03e9ee9fff76b76c455368fef6c8bee0d (patch)
tree320810266a1c384279b8fd1aaf036d69d5a3557a /databases/postgresql83-client
parenta7b29a6d9c363ab5f32c4369e85d497a4e45142d (diff)
downloadpkgsrc-16e1acc03e9ee9fff76b76c455368fef6c8bee0d.tar.gz
Changes 8.3.9:
* Protect against indirect security threats caused by index functions changing session-local state * Reject SSL certificates containing an embedded null byte in the common name (CN) field * Fix possible crash during backend-startup-time cache initialization * Avoid crash on empty thesaurus dictionary * Prevent signals from interrupting VACUUM at unsafe times * Fix possible crash due to integer overflow in hash table size calculation * Fix very rare crash in inet/cidr comparisons * Ensure that shared tuple-level locks held by prepared transactions are not ignored * Fix premature drop of temporary files used for a cursor that is accessed within a subtransaction * Fix memory leak in syslogger process when rotating to a new CSV logfile * Fix Windows permission-downgrade logic * Fix incorrect logic for GiST index page splits, when the split depends on a non-first column of the index * Don't error out if recycling or removing an old WAL file fails at the end of checkpoint * Ensure WAL files aren't repeatedly archived on Windows * Fix PAM password processing to be more robust * Raise the maximum authentication token (Kerberos ticket) size in GSSAPI and SSPI authentication methods * More...
Diffstat (limited to 'databases/postgresql83-client')
-rw-r--r--databases/postgresql83-client/Makefile28
-rw-r--r--databases/postgresql83-client/PLIST18
2 files changed, 39 insertions, 7 deletions
diff --git a/databases/postgresql83-client/Makefile b/databases/postgresql83-client/Makefile
index c58c8ce7c70..2427e033215 100644
--- a/databases/postgresql83-client/Makefile
+++ b/databases/postgresql83-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2009/10/31 14:00:44 tnn Exp $
+# $NetBSD: Makefile,v 1.10 2009/12/16 14:23:13 adam Exp $
PKGNAME= postgresql83-client-${BASE_VERS}
COMMENT= PostgreSQL database client programs
@@ -7,7 +7,6 @@ PKG_DESTDIR_SUPPORT= user-destdir
.include "../../databases/postgresql83/Makefile.common"
-MAKE_JOBS_SAFE= no
USE_TOOLS+= gzip tar
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --with-openssl
@@ -59,9 +58,27 @@ USE_GNU_READLINE= yes
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
+SUBST_CLASSES+= pgxs
+SUBST_STAGE.pgxs= post-build
+SUBST_MESSAGE.pgxs= Fixing workdir tools references in pgxs Makefile
+SUBST_FILES.pgxs= src/Makefile.global
+SUBST_SED.pgxs= -e 's,${WRKDIR}/.tools,${PREFIX},'
+SUBST_SED.pgxs+= -e 's,${WRKDIR}/.wrapper,${PREFIX},'
+SUBST_SED.pgxs+= -e 's,${WRKSRC},/dev/null,'
+
+INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs
+INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs/config
+INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs/src
+INSTALLATION_DIRS+= ${PG_SUBPREFIX}lib/postgresql/pgxs/src/makefiles
+
+DEST_PG_PGXS= ${DESTDIR}${PG_PREFIX}/lib/postgresql/pgxs
+PG_PGXS_FILES= config/install-sh config/mkinstalldirs
+PG_PGXS_FILES+= src/makefiles/pgxs.mk src/Makefile.global
+PG_PGXS_FILES+= src/Makefile.port src/Makefile.shlib
+PG_PGXS_FILES+= src/nls-global.mk
+
# On Solaris, avoid conflicts between "${SSLBASE}/include/openssl/des.h"
# and "/usr/include/crypt.h" -- we want the definitions in the former.
-#
.if ${OPSYS} == "SunOS"
post-wrapper:
touch ${BUILDLINK_DIR}/include/crypt.h
@@ -80,7 +97,10 @@ post-install:
bug.template; \
do \
${INSTALL_DATA} $$file ${DESTDIR}${PG_DOC_DIR}/$$file; \
- done
+ done
+ for file in ${PG_PGXS_FILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$file ${DEST_PG_PGXS}/$$file;\
+ done
cp -R ${WRKSRC}/doc/TODO.detail ${DESTDIR}${PG_DOC_DIR}
chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PG_DOC_DIR}/TODO.detail
diff --git a/databases/postgresql83-client/PLIST b/databases/postgresql83-client/PLIST
index 09a86abc059..cad2f8d0f25 100644
--- a/databases/postgresql83-client/PLIST
+++ b/databases/postgresql83-client/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2009/09/10 10:07:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.11 2009/12/16 14:23:13 adam Exp $
${PG_SUBPREFIX}bin/clusterdb
${PG_SUBPREFIX}bin/createdb
${PG_SUBPREFIX}bin/createlang
@@ -472,6 +472,13 @@ ${PG_SUBPREFIX}lib/libecpg_compat.la
${PG_SUBPREFIX}lib/libpgport.a
${PG_SUBPREFIX}lib/libpgtypes.la
${PG_SUBPREFIX}lib/libpq.la
+${PG_SUBPREFIX}lib/postgresql/pgxs/config/install-sh
+${PG_SUBPREFIX}lib/postgresql/pgxs/config/mkinstalldirs
+${PG_SUBPREFIX}lib/postgresql/pgxs/src/Makefile.global
+${PG_SUBPREFIX}lib/postgresql/pgxs/src/Makefile.port
+${PG_SUBPREFIX}lib/postgresql/pgxs/src/Makefile.shlib
+${PG_SUBPREFIX}lib/postgresql/pgxs/src/makefiles/pgxs.mk
+${PG_SUBPREFIX}lib/postgresql/pgxs/src/nls-global.mk
${PG_SUBPREFIX}man/man1/clusterdb.1
${PG_SUBPREFIX}man/man1/createdb.1
${PG_SUBPREFIX}man/man1/createlang.1
@@ -1196,6 +1203,7 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-16.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-17.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-18.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-19.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-2.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-20.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-21.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-22.html
@@ -1203,7 +1211,7 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-23.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-24.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-25.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-26.html
-${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-27.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-3.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-4.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-7-4-5.html
@@ -1223,10 +1231,11 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-16.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-17.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-18.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-19.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-2.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-20.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-21.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-22.html
-${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-2.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-23.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-3.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-4.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-0-5.html
@@ -1245,6 +1254,7 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-15.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-16.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-17.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-18.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-19.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-2.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-3.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-1-4.html
@@ -1260,6 +1270,7 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-11.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-12.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-13.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-14.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-15.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-2.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-3.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-2-4.html
@@ -1277,6 +1288,7 @@ ${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-5.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-6.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-7.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-8.html
+${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3-9.html
${PG_SUBPREFIX}share/doc/postgresql/html/release-8-3.html
${PG_SUBPREFIX}share/doc/postgresql/html/release.html
${PG_SUBPREFIX}share/doc/postgresql/html/resources.html