pkgsrc/databases/db5/Makefile
adam 02b14f7596 Changes 5.1.19:
* Added Performance event monitoring support for DTrace and SystemTap which can
  be enabled during configuration. Static probes have been defined where
  statistics values are updated, where mutex or transactional consistency lock
  waits occur, and where some other potentially lengthy operations may be
  initiated.
* Added a new acknowledge policy - DB_REPMGR_ACKS_ALL_AVAILABLE.
* Added transactional bulk loading optimization for non-nested transactions.
* Added exclusive transaction support for the SQL API.
* Added support for bulk update and delete in C# API.
* Added a db_replicate utility.
* Added an implementation of the Online Backup API.
* Added support in Berkeley DB SQL for the vacuum and incremental vacuum
  pragmas.
* Added an option to automatically convert SQLite databases to Berkeley DB on
  opening.
* Added BDBSQL_SHARE_PRIVATE, an option to enable inter-process sharing of
  DB_PRIVATE environments using multiple-reader.
* Added database-level locking to optimize single-threaded operations and
  remove locking limitations for database load operations.
* Added support for DB_INIT_REP, DB_PRIVATE, DB_REGISTER and DB_THREAD in
  DB_CONFIG file.
* Added support for the BDBSQL_DEFAULT_PAGE_SIZE pragma to override Berkeley
  DB's choice of page size depending on the filesystem. Use
  SQLITE_DEFAULT_PAGE_SIZE rather than a hard-coded default.
* Added an extension that allows access to binary files stored outside of the
  database. What is stored in the database is a pointer to the binary file.
* Added .stat command to dbsql shell to print environment, table, and index
  statistics.
* Added enhancements to reduce the size of indexes in the SQL API by allowing
  duplicates in the index database and moving the rowid from the index key into
  the index data.
* Added a compile time flag BDBSQL_FILE_PER_TABLE that causes each table to be
  created in a separate file. This flag replaces the BDBSQL_SPLIT_META_TABLE
  flag.
* Added the handling of read only and read write open of the same database in
  BDB SQL.
* Added an encryption implementation to the SQL API.pkg
2010-09-16 07:53:32 +00:00

48 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2010/09/16 07:53:32 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.1.19
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
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}
# 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"