summaryrefslogtreecommitdiff
path: root/databases/py-postgresql
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-04-04 14:36:42 +0000
committerjlam <jlam@pkgsrc.org>2002-04-04 14:36:42 +0000
commitcd7f18796833a146b4ebd98bc261d230e3460d80 (patch)
treeda7dc63a989c9717d98a0e05ef4560c6d109ec7d /databases/py-postgresql
parent9165b4364cc1ea7f3a57a13712c84bcccc585700 (diff)
downloadpkgsrc-cd7f18796833a146b4ebd98bc261d230e3460d80.tar.gz
Update postgresql and related packages to 7.2. Thanks to Michael Graff
<explorer@flame.org> for most of the work on this update. Pkgsrc changes from the previous version include removing Makefile.ssl and some patches that have been integrated into this release of PostgreSQL. We leave open the question of when to byte-compile the Python modules for the PyGreSQL interface and just do it as before, although we should consider doing the compilation as a post-install step to ensure that the timestamps are correct. We also reorder some lines in the Makefile to include Makefile.common below certain definitions (GNU_CONFIGURE, USE_BUILDLINK_ONLY) as they may possibly trigger different portions of Makefile.common. *** Please note that a dump/restore is required to migrate an existing *** *** PostgreSQL installation to 7.2. *** Major changes from version 7.1.3 are geared toward improving use in high-volume applications and include: VACUUM Vacuuming no longer locks tables, thus allowing normal user access during the vacuum. A new "VACUUM FULL" command does old-style vacuum by locking the table and shrinking the on-disk copy of the table. Transactions There is no longer a problem with installations that exceed four billion transactions. OID's OID's are now optional. Users can now create tables without OID's for cases where OID usage is excessive. Optimizer The system now computes histogram column statistics during "ANALYZE", allowing much better optimizer choices. Security A new MD5 encryption option allows more secure storage and transfer of passwords. A new Unix-domain socket authentication option is available on Linux and BSD systems. PAM authentication is also available. Statistics Administrators can use the new table access statistics module to get fine-grained information about table and index usage.
Diffstat (limited to 'databases/py-postgresql')
-rw-r--r--databases/py-postgresql/Makefile17
-rw-r--r--databases/py-postgresql/PLIST14
2 files changed, 14 insertions, 17 deletions
diff --git a/databases/py-postgresql/Makefile b/databases/py-postgresql/Makefile
index b795d0a569d..65a8f6536f6 100644
--- a/databases/py-postgresql/Makefile
+++ b/databases/py-postgresql/Makefile
@@ -1,26 +1,23 @@
-# $NetBSD: Makefile,v 1.18 2002/01/19 16:13:00 drochner Exp $
-
-.include "../../databases/postgresql/Makefile.common"
-.include "../../databases/postgresql/Makefile.ssl"
+# $NetBSD: Makefile,v 1.19 2002/04/04 14:36:42 jlam Exp $
PKGNAME= ${PYPKGPREFIX}-postgresql-3.2
COMMENT= Python interface to PostgreSQL
-
MAINTAINER= darcy@netbsd.org
-USE_BUILDLINK_ONLY= # defined
-BUILDLINK_DEPENDS.postgresql-lib= postgresql-lib>=${PG_BASE_VERS}
+USE_BUILDLINK_ONLY= YES
+
+.include "../../databases/postgresql/Makefile.common"
MAKEFLAGS+= PYTHON_VERSION="${PYVERSSUFFIX}"
PLIST_SUBST+= PYTHON_LIBDIR=${PYLIB}
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
-MAKE_ENV+= INSTALLED_LIBPQ=1
-
+CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_DIR}
CONFIGURE_ARGS+= --with-python
CONFIGURE_ARGS+= --with-python-compile
CONFIGURE_ENV+= PYTHON="${PYTHONBIN}"
+MAKE_ENV+= INSTALLED_LIBPQ=1
DIRS_TO_BUILD= src/interfaces/python
DOCDIR= ${PREFIX}/share/doc/${PYPKGPREFIX}-postgresql
@@ -44,7 +41,7 @@ post-install:
${INSTALL_DATA} $${file} ${DOCDIR}/tutorial; \
done
+.include "../../databases/postgresql-lib/buildlink.mk"
.include "../../lang/python/extension.buildlink.mk"
.include "../../time/py-mxDateTime/buildlink.mk"
-.include "../../databases/postgresql-lib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-postgresql/PLIST b/databases/py-postgresql/PLIST
index edb68c810ff..a7459bca6e4 100644
--- a/databases/py-postgresql/PLIST
+++ b/databases/py-postgresql/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2002/01/19 16:13:01 drochner Exp $
+@comment $NetBSD: PLIST,v 1.3 2002/04/04 14:36:42 jlam Exp $
${PYTHON_LIBDIR}/site-packages/_pgmodule.so
-${PYTHON_LIBDIR}/pg.py
-${PYTHON_LIBDIR}/pg.pyc
-${PYTHON_LIBDIR}/pg.pyo
-${PYTHON_LIBDIR}/pgdb.py
-${PYTHON_LIBDIR}/pgdb.pyc
-${PYTHON_LIBDIR}/pgdb.pyo
+${PYTHON_LIBDIR}/site-packages/pg.py
+${PYTHON_LIBDIR}/site-packages/pg.pyc
+${PYTHON_LIBDIR}/site-packages/pg.pyo
+${PYTHON_LIBDIR}/site-packages/pgdb.py
+${PYTHON_LIBDIR}/site-packages/pgdb.pyc
+${PYTHON_LIBDIR}/site-packages/pgdb.pyo
share/doc/${PYPKGPREFIX}-postgresql/README
share/doc/${PYPKGPREFIX}-postgresql/tutorial/advanced.py
share/doc/${PYPKGPREFIX}-postgresql/tutorial/basics.py