FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
db5 Oracle Berkeley DB, revision 5.3
5.3.28_4 databases on this many watch lists=27 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: mandree@FreeBSD.org search for ports maintained by this maintainer
Port Added: 25 Aug 2011 21:43:55
Also Listed In: java
License: not specified in port
Oracle Berkeley DB is a family of open source embeddable databases
that allows developers to incorporate within their applications a
fast, scalable, transactional database engine with industrial grade
reliability and availability. As a result, customers and end-users
will experience an application that simply works, reliably manages
data, can scale under extreme load, but requires no ongoing database
administration. As a developer, you can focus on your application and
be confident that Oracle Berkeley DB will manage your persistence
needs.

WWW: http://www.oracle.com/us/products/database/berkeley-db/db/
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/databases/db5/ && make install clean
To add the package: pkg install db5

PKGNAME: db5

distinfo:

SHA256 (bdb/db-5.3.28.tar.gz) = e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628
SIZE (bdb/db-5.3.28.tar.gz) = 35090431


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. gmake : devel/gmake

This port is required by:

for Libraries * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for db5-5.3.28_4:
     CRYPTO=on: Cryptography support
     DOCS=on: Build and/or install documentation
     JAVA=off: Java platform support
     L10N=off: Localization support (EXPERIMENTAL)
     SQL=off: Enable SQL API (EXPERIMENTAL)
     TCL=off: Tcl scripting language support
===> Use 'make config' to modify these settings

USES:
gmake libtool

Master Sites:
  1. http://download.oracle.com/berkeley-db/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2013-12-17
    Affects: users of databases/ruby-bdb or ports-mgmt/portupgrade and databases/db5 or databases/db6
    Author: mandree@FreeBSD.org
    Reason: 
      databases/db5 and databases/db6 have recently been updated to fix
      bugs. This changed their patchlevel version.
    
      However, ruby-bdb used to break during the db[56] upgrade due to a bug
      described in <http://www.freebsd.org/cgi/query-pr.cgi?pr=184921>.
    
      THEREFORE, YOU MUST MANUALLY UPGRADE databases/ruby-bdb INDIVIDUALLY
      TO 0.6.6_2 OR NEWER WHEN USING portupgrade AGAINST databases/db[56]
      PORTS. To achieve that, type:
    
      # portupgrade databases/ruby-bdb
      or
      # portmaster -x 'db*' databases/ruby-bdb
    
      before proceeding with other upgrades.
    
      Should you have corrupted the portupgrade databases, or if ruby-bdb
      refuses to work with the upgraded db* port with errors such as "DB
      needs compatible versions of libdb & db.h", then rebuild the ruby-bdb
      port manually, and fix the portupgrade databases:
    
      # make -C /usr/ports/databases/ruby-bdb all deinstall install clean
      # pkgdb -fu
      # portupgrade -f db5 db6
    
      This should return portupgrade to normal operation.
    
    
  • 2012-06-18
    Affects: users of databases/db5
    Author: mandree@FreeBSD.org
    Reason: 
      The databases/db5 port has been upgraded to BerkeleyDB 5.3.  This
      entails a shared library bump.
    
      Before upgrading this port, check if your applications use
      transactional data bases, and if they do, prepare them for a log file
      format upgrade.  YOU MUST DO THIS BEFORE YOU UPGRADE THE DB5 PORT!  See:
      http://docs.oracle.com/cd/E17076_02/html/upgrading/upgrade_process.html
    
      All packages that depend on db5 need to be rebuilt due to the shared
      library version change.  The full changelog is at
      http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html
    
      To upgrade the packages that need Berkeley DB 5, please
      issue one of the following commands (depending on your preferred tool):
    
      # portmaster -r db5-5
        or
      # portupgrade -fr databases/db5
    
    
Port Moves
  • port moved here from databases/db51 on 2011-08-26
    REASON: Removed: please use the newer databases/db5 instead

Number of commits found: 29

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
24 May 2016 21:26:12
Original commit files touched by this commit  5.3.28_4
Revision:415812
mandree search for other commits by this committer
Fix strncat() misuse, and enable TCL option.

PR:		209730
Submitted by:	gahr@
23 May 2016 22:07:24
Original commit files touched by this commit  5.3.28_4
Revision:415749
mandree search for other commits by this committer
Modernize Makefile and chase new requisites.

* Modernize Makefile [1].

* The Tcl changes suggested in the PR [1] are applied but commented out
  because the code causes scary "warning: the value of the size argument
  in 'strncat' is too large, might lead to a buffer overflow
  [-Wstrncat-size]" in lang/tcl/tcl_*.c on FreeBSD 10.3 amd64.

* Other than what is suggested in the PR,
  refuse to add the TCL option, and leave --disable-tcl in.

* JAVA option: restrict to Java versions 1.6 and 1.7 because the port
  fails to compile with JAVA option enabled and openjdk8
  (IllegalArgument exception).

portlint cleanups:
* Set PATCH_WRKSRC, and refresh patches with "make makepatch".
* Use Space (not HTab) after WWW: tag in pkg-descr
* Drop "The" from COMMENT.

PR:		208740 [1]
Submitted by:	gahr@ [1]
23 May 2016 18:36:52
Original commit files touched by this commit  5.3.28_3
Revision:415738
amdmi3 search for other commits by this committer
Convert tab after WWW: in pkg-descrs to single space as per PHB

Approved by:	portmgr blanket
12 Apr 2016 07:49:27
Original commit files touched by this commit  5.3.28_3
Revision:413104
mandree search for other commits by this committer
Grab after bapt's initial clarification on 413096.
12 Apr 2016 05:54:18
Original commit files touched by this commit  5.3.28_3
Revision:413097
mandree search for other commits by this committer
Drop maintainership.

If portmgr@ needs to commit against better advise, two years after this was
first discussed without any motion of the upstream.

Drop a few more maintainerships along the way.
19 Dec 2015 11:03:36
Original commit files touched by this commit  5.3.28_3
Revision:404013
mandree search for other commits by this committer
Fix crash by using POSIX mutexes on all armv6* ARCHes not just armv6.

This is to fix illegal-instruction crashes on armv6hf.

PR:		205001
Submitted by:	dave@dogwood.com
Reviewed by:	mikael.urankar@gmail.com
MFH:		2015Q4
09 Nov 2015 09:29:07
Original commit files touched by this commit  5.3.28_2
Revision:401088
andrew search for other commits by this committer
As with armv6 we need to use POSIX mutexes. Without this the ports try to
use fcntl mutexes and fails as they are deprecated.

Approved by:	mandree (maintainer)
Differential Revision:	https://reviews.freebsd.org/D4107
07 May 2015 17:35:34
Original commit files touched by this commit  5.3.28_2
Revision:385644
sbruno search for other commits by this committer
enable posix-mutexes by default for armv6 targets as db will crash and burn
when using the internal mutex implementation via unsupported instructions.

PR:		197227
Submitted by:	andrew@
Approved by:	mandree@
20 Oct 2014 10:41:13
Original commit files touched by this commit  5.3.28_2
Revision:371255
bapt search for other commits by this committer
Cleanup plist
31 Aug 2014 10:32:16
Original commit files touched by this commit  5.3.28_2
Revision:366741
tijl search for other commits by this committer
Add USES=libtool
15 Jul 2014 15:06:46
Original commit files touched by this commit  5.3.28_1
Revision:361939
adamw search for other commits by this committer
Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS.
02 Jul 2014 20:59:24
Original commit files touched by this commit  5.3.28_1
Revision:360264
mandree search for other commits by this committer
Fix mutex code on powerpc64.

PR:		191453
Submitted by:	jhibbits@
16 Dec 2013 23:47:08
Original commit files touched by this commit  5.3.28
Revision:336679
mandree search for other commits by this committer
Update to 5.3.28, fixing nearly two dozen bugs.
While at it, re-enable the db185 compatibility interface that some ports use.
14 Dec 2013 09:57:03
Original commit files touched by this commit  5.3.21.0
Revision:336431
mandree search for other commits by this committer
Convert to staging.
Strip debug symbols for installed .so files unless WITH_DEBUG is set.
20 Sep 2013 16:13:49
Original commit files touched by this commit  5.3.21.0
Revision:327717
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
databases)
14 Aug 2013 22:35:54
Original commit files touched by this commit  5.3.21.0
Revision:324744  Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
24 Jul 2013 21:35:51
Original commit files touched by this commit  5.3.21.0
Revision:323621
mandree search for other commits by this committer
Fix C++11 compatibility by renaming atomic_init().

Modified version of dim's patch, where most of the stuff
moves into a REINPLACE_CMD called from post-patch.

Submitted by:	dim
06 Feb 2013 20:21:23
Original commit files touched by this commit  5.3.21.0
Revision:311794
mandree search for other commits by this committer
Convert one more NOPORTDOCS occasion to port optionsNG framework.

PR:		ports/175878
Submitted by:	Takefu
10 Dec 2012 13:18:29
Original commit files touched by this commit  5.3.21.0
Revision:308604
bapt search for other commits by this committer
Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (part2)
18 Jun 2012 23:28:16
Original commit files touched by this commit  5.3.21.0
mandree search for other commits by this committer
Forced commit to note correct URL for ChangeLog in CVS (missing l in .html):
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.html
18 Jun 2012 23:23:18
Original commit files touched by this commit  5.3.21.0
mandree search for other commits by this committer
- Update to new upstream release 5.3.21. Please see UPDATING!
  http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_3.htm
- Convert to OptionsNG.

Sunpoet, relative to the PR, there were more Makefile and pkg-plist changes,
as well as an update of Mk/bsd.database.mk and UPDATING.

Port and pkg-plist updates based on
PR:           ports/165574
Submitted by: sunpoet@
14 Jun 2012 23:34:42
Original commit files touched by this commit  5.2.42.0
mandree search for other commits by this committer
Fix compilation with clang, patch taken from
http://lists.freebsd.org/pipermail/freebsd-current/2012-May/033615.html

Reported by: Mel Flynn
Patch by:    Dimitry Andric
13 Mar 2012 21:52:41
Original commit files touched by this commit  5.2.42.0
mandree search for other commits by this committer
Update to upstream bug-fix patchlevel release [11.2.]5.2.42.
ChangeLog:   
<http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_2.html#idp580848>
Feature safe: yes
16 Feb 2012 07:21:10
Original commit files touched by this commit  5.2.36.0_1
mandree search for other commits by this committer
Fix broken symbolic links in libdb*-5.so.0 files.

Reported and patch
Submitted by: Herbert J. Skuhra
22 Jan 2012 15:42:43
Original commit files touched by this commit  5.2.36.0
beat search for other commits by this committer
- Remove manual fix for FreeBSD 10.x as the FreeBSD 10.x workaround in
  bsd.port.mk also handles configure script outside of WRKSRC.

Exp-runs by:    miwi
29 Oct 2011 11:45:20
Original commit files touched by this commit  5.2.36.0
beat search for other commits by this committer
- Fix build on FreeBSD 10. Apply manual fix as the configure script is
  outside of WRKSRC and the WITH_FBSD10_FIX knob doesn't work in this
  case.

Approved by:    portmgr (miwi)
23 Sep 2011 18:48:34
Original commit files touched by this commit  5.2.36.0
mandree search for other commits by this committer
Update to new upstream bugfix release. ChangeLog:
http://download.oracle.com/otndocs/products/berkeleydb/html/changelog_5_2.html
25 Aug 2011 23:17:17
Original commit files touched by this commit  5.2.28.0
mandree search for other commits by this committer
- Update databases/db5 to new upstream release 5.2.28.0. ChangeLog:
 
http://download.oracle.com/docs/cd/E17076_02/html/installation/changelog_5_2.html

- Remove databases/db51 (no hard dependencies), users having set db51
  manually for their ports need to set db5 and rebuild dependent ports.

- Add OPTIONS for localization (default off) and crypto (default on).

- Install libdb*-5.so symlinks into $PREFIX/lib

- If WITH_DEBUG is set, pass --enable-umrw to pacify valgrind, and
  --enable-debug.
25 Aug 2011 21:43:34
Original commit files touched by this commit  5.1.25.0_1
mandree search for other commits by this committer
Forced commit to note repocopy from ports/databases/db51.

PR: ports/159700

Number of commits found: 29

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
chromiumJul 22
krb5-114Jul 21
mariadb100-server*Jul 21
mariadb101-server*Jul 21
mariadb55-server*Jul 21
mysql55-server*Jul 21
mysql56-server*Jul 21
mysql57-server*Jul 21
openoffice-4Jul 21
openoffice-develJul 21
percona55-server*Jul 21
typo3Jul 18
typo3-ltsJul 18
atutorJul 16
atutorJul 16

18 vulnerabilities affecting 35 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26063
Broken 81
Deprecated 122
Ignore 352
Forbidden 0
Restricted 201
No CDROM 83
Vulnerable 73
Expired 10
Set to expire 109
Interactive 0
new 24 hours 2
new 48 hours4
new 7 days22
new fortnight76
new month159

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.