Version 4.2 of the Berkeley Data Base library which offers (key/value) storage
with optional concurrent access or transactions interface.
Utilities are included in the distribution to convert v1.85 databases to v4.2
databases, and a backwards compatible API is provided to maintain
compatibility with programs using the v1.85 interface.
Note that this port has a different layout than the 3.3, 4.0 and 4.1 ports,
it does not rename libraries.
For details on compatibility with other DB versions, see:
http://www.sleepycat.com/download/patchlogs.shtml
WWW: http://www.oracle.com/us/products/database/berkeley-db/db/
Berkeley DB cleanup, remove versions 4.0 ... 4.7.
- Mk/bsd.database.mk rewrite, new default to db5.
- db6 is eligible by default only if installed on the system.
- Bump PORTREVISION of all ports that directly depend on BerkeleyDB or
where USE_BDB is found in the port's directory
- Patch a few ports such that they will pick up or work with newer
versions.
- Add UPDATING entry
- Drive-by format fix for pks
- Drop BerkeleyDB option from mail/popular for now, requires more work.
- Exp-run logs linked from the PR below.
- Ports that do not build (IGNORE, BROKEN, etc.) have pro-forma changes
for new Berkeley DB, but are untested.
NOTE: please read UPDATING and the Wiki page before proceeding!
Announcement: http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-August/000090.html
Wiki reference: https://wiki.freebsd.org/Ports/BerkeleyDBCleanup
PR: 192690
Approved by: portmgr (implicit, PORTREVISION bump on unstaged ports)
- 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)
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.
It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.
With help: marcus and kwm
Pointyhat-exp: a few times by pav
Tested by: pgollucci, "Romain Tartière" <romain@blogreen.org>, and
a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by: marcus
Approved by: portmgr
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.
Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.
Preliminary documentation can be found at:
http://people.FreeBSD.org/~ade/autotools.txt
which is in the process of being SGMLized before introduction into the
Porters Handbook.
Light blue touch-paper. Run.
Add two SleepyCat patches to fix:
- log sequence error and missing data when transactional database is walked
with a cursor after being loaded non-transactionally
- memory leak when repeatedly opening/closing database environments
PR: 79842
Submitted by: maintainer
Add an advisory variable that mark this port as not being a slave port.
For whatever reason, the default assignments of this variable is wrong.
This only affects FreshPorts and portsmon.
Approved by: maintainer
This patch is a convenience patch to allow broken port tools to continue
to go about their rotten business. It is issued without acknowledgment
of any obligation, in response to ports/64393.
The patch does NOT bump PORTREVISION as the change is invisible for the
port's or package's users. $FreeBSD$ is sufficient.
I also refute any "bug" with respect to the the porter's handbook's
pages referenced in ports/64393, my port has not written anything after
bsd.port.mk and portlint has nothing to complain about (only that it
can't figure "patch" is legal in a PATCHFILES variable).
Informational: tools that assume .include <bsd.port.[post.]mk> was the
last line in a port's makefile are broken. They should be comparing
the output of realpath $(make -V MASTERDIR) against the output of
(Only the first 15 lines of the commit message are shown above )
Revert previous commit. Local changes here masked the fact that this
change would break the port for other users.
Noticed by: Rolandas Naujikas <rolnas@takas.lt>
Pointy hat to: linimon@FreeBSD.org
- Install libdb-4.2.so and libdb_cxx-4.2.so so that gcc -ldb-4.2
works. These are symlinks to libdb*-4.2.so.2 (the SONAME).
- Bump PORTREVISION
PR: 61283
Submitted by: maintainer
Add Berkeley DB 4.2.52 after repocopy from db41.
Note to other porters who want their port to depend on this one: Use
LIB_DEPENDS=db-4.2.2:${PORTSDIR}/databases/db42-nocrypto
Usually, setting
CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include/db42"
LDFLAGS="-L${LOCALBASE}/lib/db42" LIBS="-ldb-4.2"
will then work to get the right DB library. At run time, the proper
library will be looked up by its SONAME, which is "libdb-4.2.so.2" and
resides in /usr/local/lib.
PR: ports/60943
Submitted by: Matthias Andree <matthias.andree@gmx.de>