pkgsrc/databases/db6/Makefile
adam e04a2692f9 Changes 6.1.26:
A 'salvage' (db_dump -r) no longer hangs on a corrupt database which contains a loop in an overflow item's chain of pages.

Remove +u1 compiler flag from the HP-UX build and fixed related alignment issue.

Fixed DB_RUNRECOVERY errors caused by pthreads-based mutexes.

Allow the failchk process to call __env_refresh when necessary.

DB->open() now detects invalid pagesizes sooner, avoiding a potential floating point exception when a purported database file has a pagesize of 0. Added a pre-verify step to the db_dump utility.

Fixed a bug that can cause DBcursor->get to return incorrect data when DB_GET_BOTH_RANGE flag is used.

Added support for Java 8.

Aborting a transaction no longer panics if a deadlock error occurs while freeing up the transaction's cursors.

Fixed a crash which could occur when multiple BDB SQL processes repeatedly open a database file.

Fixed a bug where db_printlog improperly handled a "No such file or directory" error condition.

Fixed a bug that could cause a master crash in the following cases: an unencrypted client attempts to join an encrypted replication group, or an encrypted client attempts to join an unencrypted replication group.

Fixed a bug that can cause a crash when DB_ENV->memp_stat() is called.

Added support for arm64.

Reduced the minimum hash table size.

Fixed a bug where file names were not displayed correctly when a file failed to open during backup.

Enabled cross compiling the JDBC driver.

Fixed a crash when writing to a SQL BLOB while txn_bulk is enabled.

DB->open() now detects invalid bt_minkey better, avoiding a potential floating point excetpion.

Removed EnvironmentConfig.setTxnNotDurable() and Environment.getTxnNotDurable() from the Java API. This flag cannot be set on environments.
2015-09-14 10:52:57 +00:00

53 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.2 2015/09/14 10:52:57 adam Exp $
#
# NOTE:
# When updating this package, a change in the minor (6.n -> 6.(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=db6 packages.
DISTNAME= db-6.1.26
PKGNAME= ${DISTNAME:S/db/db6/}
CATEGORIES= databases
MASTER_SITES= http://download.oracle.com/berkeley-db/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/overview/index.html
COMMENT= Berkeley DB version 6 from Oracle
LICENSE= gnu-agpl-v3
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/db6
CONFIGURE_ARGS+= --program-transform-name=s,db_,db6_,
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"
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= shlib
.if ${OPSYS} != "MirBSD"
PLIST.shlib= yes
.endif
post-install:
chown -R ${DOCOWN}:${DOCGRP} ${DESTDIR}${PREFIX}/share/doc/db6
.include "../../mk/bsd.pkg.mk"