diff options
author | adam <adam@pkgsrc.org> | 2009-07-29 06:26:17 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2009-07-29 06:26:17 +0000 |
commit | eb96381589f7a1eefa37deddd215970018438825 (patch) | |
tree | 3d8deebace809e8bf3bcce76bf966506c0a86294 /databases/postgresql84-server/Makefile | |
parent | 893ec2a407d193134ed0f0d8bd639efa33d674eb (diff) | |
download | pkgsrc-eb96381589f7a1eefa37deddd215970018438825.tar.gz |
Many of the changes in PostgreSQL 8.4 are new or improved administration and
monitoring tools and commands. Each user has their own favorite features which
will make day-to-day work with PostgreSQL easier and more productive for them.
Among the most popular enhancements are:
* Parallel Database Restore, speeding up recovery from backup up to 8 times
* Per-Column Permissions, allowing more granular control of sensitive data
* Per-database Collation Support, making PostgreSQL more useful in
multi-lingual environments
* In-place Upgrades through pg_migrator (beta), enabling upgrades from 8.3 to
8.4 without extensive downtime
* New Query Monitoring Tools, giving administrators more insight into query
activity
* Greatly Reduced VACUUM Overhead through the Visibility Map
* New Monitoring Tools for current queries, query load and deadlocks
Version 8.4 also makes data analysis easier through the advanced ANSI SQL2003
features of windowing functions, common table expressions and recursive queries.
Enhancements to stored procedures, such as default parameters and variadic
parameters, make database server programming simpler and more compact.
Of course, there are also performance improvements included in this version.
Diffstat (limited to 'databases/postgresql84-server/Makefile')
-rw-r--r-- | databases/postgresql84-server/Makefile | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile new file mode 100644 index 00000000000..c110f970845 --- /dev/null +++ b/databases/postgresql84-server/Makefile @@ -0,0 +1,91 @@ +# $NetBSD: Makefile,v 1.1.1.1 2009/07/29 06:29:01 adam Exp $ + +PKGNAME= postgresql84-server-${BASE_VERS} +COMMENT= PostgreSQL database server programs + +PKG_DESTDIR_SUPPORT= user-destdir + +# mips has no TAS implementation +NOT_FOR_PLATFORM= *-*-mips + +.include "../../databases/postgresql84/Makefile.common" + +# Use shlibtool (invoked as "$(LIBTOOL)") to build modules. +USE_LIBTOOL= yes +PKG_LIBTOOL= ${PKG_SHLIBTOOL} + +MESSAGE_SRC= ${.CURDIR}/MESSAGE + +CONFIGURE_ARGS+= --with-openssl + +BUILD_DIRS= src/backend +BUILD_DIRS+= src/backend/utils/mb/conversion_procs +BUILD_DIRS+= src/backend/snowball +BUILD_DIRS+= src/timezone +BUILD_DIRS+= src/pl + +# PostgreSQL has loadable server-side language modules. +# +# Explicitly set DLOPEN_REQUIRE_PTHREADS to "no" on NetBSD as NetBSD-2.x +# had problems with mixing dlopen() and pthreads, which blows up in +# PostgreSQL's backend (pkg/28729). This works on older and newer +# versions of NetBSD as well since they don't have the bad interaction +# between dlopen() and pthreads. +# +.if ${OPSYS} == "NetBSD" +DLOPEN_REQUIRE_PTHREADS= no +.endif +.include "../../mk/dlopen.buildlink3.mk" + +# If we're using libltdl to provide "dlopen" functionality, then add the +# dependency and make sure that we link against -lltdl. +# +.if !empty(USE_LIBLTDL:M[yY][eE][sS]) +DL_LIBS+= -lltdl +. include "../../devel/libltdl/buildlink3.mk" +.endif + +PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql84-server +PKG_SUPPORTED_OPTIONS= pam +.include "../../databases/postgresql84/options.mk" + +# PGUSER username of the database administrator +# PGGROUP group of the database administrator +# PGHOME home directory of the database administrator and location of +# the databases +# +PGUSER?= pgsql +PGGROUP?= pgsql +PGHOME?= ${PREFIX}/${PGUSER} +FILES_SUBST+= PGUSER=${PGUSER} +FILES_SUBST+= PGGROUP=${PGGROUP} +FILES_SUBST+= PGHOME=${PGHOME} +BUILD_DEFS+= PGHOME + +PKG_GROUPS_VARS+= PGGROUP +PKG_USERS_VARS+= PGUSER + +PKG_GROUPS= ${PGGROUP} +PKG_USERS= ${PGUSER}:${PGGROUP} +PKG_GECOS.${PGUSER}= PostgreSQL database administrator +PKG_HOME.${PGUSER}= ${PGHOME} +PKG_SHELL.${PGUSER}= ${SH} + +RCD_SCRIPTS= pgsql + +.include "../../databases/postgresql84-client/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" + +# Avoid conflict between "${SSLBASE}/include/openssl/des.h" and +# "/usr/include/crypt.h" -- we want the definitions in the former. +post-wrapper: +.if ${OPSYS} == "SunOS" + touch ${BUILDLINK_DIR}/include/crypt.h +.endif + +pre-build: + ${RUN}${_ULIMIT_CMD} \ + cd ${WRKSRC}/src/port && \ + env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} + +.include "../../mk/bsd.pkg.mk" |