pkgsrc/databases/db5/Makefile
adam 0aa1103473 Changes 5.2.28:
* Replication Manager now manages Group Membership. This allows sites to be
  added to and removed from the replication group dynamically. Replication
  Manager also now automatically keeps track of the group size (nsites).
* Initial allocations for various non-pagebuffer (mpool) system resources may
  now be specified, as well as a total maximum of memory to use, rather than
  specifying a maximum value for each resource.
* Implemented Berkeley DB globalization support architecture to enable
  localized and stripped error and output messages.
* Added a new access method, DB_HEAP. Heap aims for efficient use (and re-use)
  of disk space. Keys in a heap database are automatically generated by BDB,
  it is recommended that one or more secondary indexes be used with a heap
  database. For full details on DB_HEAP, see the Programmer's Reference Guide.
* Added a compatible mode for 32bit and 64bit Windows environment.
* For the SQL API, concurrency between read and write transactions can now be
  enabled using "PRAGMA multiversion". Added several pragmas that can be used
  to configure the Berkeley DB datastore.
* Add several new pragmas to provide in-process support for replication in the
  SQL API.
* The Berkeley DB X/open compliant XA resource manager has been restored,
  including support for multi-threaded servers.
* Improved the ability to recover from an application crash on connections
  through the SQL API. Berkeley DB will try to automatically clean up locks,
  mutexes and transactions from the failed process.
* Add support for sequence usage in the SQL API using SQLite custom functions.
* Add a pragma in the SQL API to allow execution of a cache trickle command.
* Add a pragma in the SQL API to allow configuration of DB_SYSTEM_MEM
  environments.
* The new db_env_set_win_security(SECURITY_ATTRIBUTES *) function allows an
  application to specify the particular Microsoft Windows security attributes
  to be used by Berkeley DB. This helps support applications which reduce their
  privileges after opening the environment.
2011-06-15 20:56:04 +00:00

51 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2011/06/15 20:56:04 adam Exp $
#
# NOTE:
# When updating this package, a change in the minor (5.n -> 5.(n+1))
# usually incurs a shlib name change. Please make sure to update the
# ABI depends in buildlink3.mk and bump PKGREVISIONs for all dependencies.
# In particular, take care to include BDB_ACCEPTED=db5 packages.
DISTNAME= db-5.2.28
PKGNAME= ${DISTNAME:S/db/db5/}
CATEGORIES= databases
MASTER_SITES= http://download.oracle.com/berkeley-db/ \
http://download-uk.oracle.com/berkeley-db/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.oracle.com/database/berkeley-db/db/index.html
COMMENT= Berkeley DB version 5 from Oracle
LICENSE= modified-bsd
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= pax
GNU_CONFIGURE= yes
CONFIGURE_DIRS= build_unix
CONFIGURE_SCRIPT= ../dist/configure
CONFIGURE_ARGS+= --enable-compat185
CONFIGURE_ARGS+= --enable-cxx
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db5
CONFIGURE_ARGS+= --program-transform-name=s,db_,db5_,
OPSYSVARS+= LIBSO_LIBS
LIBSO_LIBS.SunOS+= -lnsl -lrt
CONFIGURE_ENV+= LIBSO_LIBS=${LIBSO_LIBS:Q}
CHECK_PORTABILITY_SKIP= test/xa/*/*.sh
# DB5 only want pthreads because it's really after POSIX 1003.1
# inter-process mutexes. In this case, we only care to use the native
# threads.
PTHREAD_OPTS+= native
.include "../../mk/pthread.buildlink3.mk"
INSTALLATION_DIRS= include/db5 lib share/doc/db5
post-install:
chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PREFIX}/share/doc/db5
.include "../../mk/bsd.pkg.mk"