| Port details |
- cdb Fast lookup database library & utilities
- 20251021 databases
=16 0.75_1Version of this port present on the latest quarterly branch. - Maintainer: mce@FreeBSD.org
 - Port Added: unknown
- Last Update: 2026-03-31 10:27:28
- Commit Hash: 824a384
- People watching this port, also watch:: unzip, python, gnupg, libiconv
- License: PD
- WWW:
- https://cdb.cr.yp.to/
- Description:
- cdb is a fast, reliable, lightweight package for creating and reading
constant databases. Its database structure provides several features:
* Fast lookups: A successful lookup in a large database normally
takes just two disk accesses. An unsuccessful lookup takes only one.
* Low overhead: A database uses 2048 bytes (or 4096 bytes for cdb64),
plus 24 bytes per record (or 48 bytes per record for cdb64), plus
the space for keys and data.
* No random limits: cdb can handle any database up to 4 gigabytes
(or up to an exabyte for cdb64). There are no other restrictions.
Records are streamed and don't have to fit into memory.
Databases are stored in a machine-independent format (one format for
cdb, one format for cdb64).
* Fast atomic database replacement: `cdbmake` rewrites an entire
database much more quickly than other hashing packages. Database
replacement is safe against system crashes. Readers don't pause
during a rewrite: they continue transparently using the old database
until the new database is in place.
* Fast database dumps: `cdbdump` prints the contents of a database in
cdbmake-compatible format.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- To install the port:
- cd /usr/ports/databases/cdb/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/cdb
- pkg install cdb
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: cdb
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1761534367
SHA256 (cdb-20251021.tar.gz) = 8e531d6390bcd7c9a4cbd16fed36326eee78e8b0e5c0783a8158a6a79437e3dd
SIZE (cdb-20251021.tar.gz) = 111952
Packages (timestamps in pop-ups are UTC):
- This port has no dependencies.
- This port is required by:
- for Build
-
- databases/p5-CDB_File-Generator
- for Fetch
-
Deleted ports which required this port:
- for Patch
-
- japanese/multiskkserv
- for Run
-
- databases/p5-CDB_File-Generator
Configuration Options:
- ===> The following configuration options are available for cdb-20251021:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- databases_cdb
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
20251021 31 Mar 2026 10:27:28
    |
Kousuke Kannagi (mce)  |
databases/cdb: Update to 20251021
Take maintainership.
Update MASTER_SITES, WWW and pkg-descr.
Add LICENSE and DOCS option.
Changelog: https://cdb.cr.yp.to/download.html#changelog
PR: 290686
Approved by: fluffy (mentor) |
0.75_1 30 Sep 2024 22:11:20
    |
Brooks Davis (brooks)  |
databases/cdb: include errno.h for errno
errno must be accessed by a macro from errno.h. |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.75 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.75 20 Jul 2022 14:21:07
    |
Tobias C. Berner (tcberner)  |
databases: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* "Mahdi Mokhtari <mokhi64@gmail.com>"
* "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
* <hvo.pm@xs4all.nl>
* <jsmith@resonatingmedia.com>
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Snelson <Alan@Wave2.org> (Only the first 15 lines of the commit message are shown above ) |
0.75 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.75 18 Feb 2021 21:06:56
  |
yuri  |
Maintainer reset for jlaffaye
Reason: Many bug reports (including bug#253256) related to jlaffaye's ports
timed out in the period from April 2020 to now.
PR: 253256
Approved by: jlaffaye (maintainer's timeout 14 days) |
0.75 06 Apr 2020 17:04:43
  |
adamw  |
Partially revert r530801
The maintainer reset rule was not applied correctly. jlaffaye's ports
are reassigned back to him, with the exception of lang/go where both
quantity and length of timeouts made the reset appropriate and
necessary.
With hat: portmgr |
0.75 05 Apr 2020 18:33:39
  |
yuri  |
Reset maintainer for ports maintaned by jlaffaye@.
As per policy, based on timeouts on
* www/py-scgi: bug#244982
* textproc/discount: bug#244981
* devel/py-python-gflags: bug#244965
* lang/go: bug#244783, https://reviews.freebsd.org/D24122
* news/py-yenc: bug#239309
* irc/libircclient: bug#221567 |
0.75 27 Dec 2013 11:12:03
  |
bapt  |
Use CFLAGS_amd64
While here support stage |
0.75 20 Sep 2013 16:13:49
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
databases) |
0.75 08 Jun 2011 16:52:32
 |
jlaffaye  |
Update my e-mail to my FreeBSD one.
While I am here, use GOOGLE_CODE instead of ${MASTER_SITE_GOOGLE_CODE}
Approved by: bapt (mentor) |
0.75 08 Jan 2011 17:37:22
 |
sunpoet  |
- Pass maintainership to submitter
- Remove obsolete MD5 checksum
PR: ports/153796
Submitted by: Julien Laffaye <kimelto@gmail.com> |
0.75 21 Feb 2006 07:55:35
 |
seanc  |
Unbork for non-slave builds. |
0.75 21 Feb 2006 07:29:43
 |
seanc  |
Update ruby-cdb to 0.5a and kill off patch now incorporated in upstream
repo. Also fix on amd64 by compiling subport, cdb, with -fPIC. Given
this is required for other amd64 ports that could potentially link against
cdb, fix this in databases/cdb instead of just ruby-cdb. |
0.75 24 Nov 2005 01:23:57
 |
pav  |
- Add SHA256 |
0.75 10 Apr 2004 17:11:02
 |
trevor  |
Cram into 80 columns by 24 rows. |
0.75 09 Mar 2004 00:22:28
 |
trevor  |
Unbreak by backing out my previous commit, which caused a "size
unknown" error. |
0.75 29 Jan 2004 07:24:56
 |
trevor  |
SIZEify. |
0.75 20 Feb 2003 17:00:26
 |
knu  |
De-pkg-comment. |
0.75 03 Feb 2003 14:38:18
 |
edwin  |
Remove old install-statement
Submitted by: Peter van Dijk <peter@dataloss.nl> |
0.75 03 Feb 2003 14:16:50
 |
edwin  |
databases/cdb port forgets uint32.h
Remove include/ and lib/ files from the package.
Add note to pkg-descr about this behaviour.
PR: ports/35364
Submitted by: Peter van Dijk <peter@dataloss.nl> |
29 Jan 2002 09:45:01
    |
knu  |
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; the ECHO
macro is set to "echo" by default, but it is set to "true" if make(1) is
invoked with the -s option while ECHO_CMD is always set to the echo command.
|
26 Nov 2000 15:10:07
    |
kevlo  |
Support install macros. |
08 Oct 2000 01:08:27
    |
asami  |
Convert category databases to new layout. |