macOS
brew install cdblocal Homebrew formula metadata
sudo port install cdbMacPorts ports tree · databases/cdb/Portfile · ソース: api.github.com
brew
cdb のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install cdblocal Homebrew formula metadata
sudo port install cdbMacPorts ports tree · databases/cdb/Portfile · ソース: api.github.com
nix profile install nixpkgs#cdbnixpkgs package indexes · pkgs/by-name/cd/cdb/package.nix · ソース: api.github.com
概要
Create and read constant databases
履歴
cdb is D. J. Bernstein's constant database package: a small file format and toolset for creating immutable key-value databases with fast lookups and atomic replacement. It is aimed at workloads where data is rebuilt wholesale and then read many times.
The official cdb site describes cdb as a fast, reliable, simple package for creating and reading constant databases, with successful lookups in large databases normally taking two disk accesses and unsuccessful lookups one. The official format page republishes Bernstein's original 19960914 document, 'A structure for constant databases,' which defines the core cdb file layout, hash tables, records, little-endian 32-bit quantities, and hash function.
The official download page records cdb-0.55 on 1996-09-22 as the first release, cdb-0.70 on 2000-02-17 as an almost complete API rewrite with mmap suggested by Ken Lalonde, cdb-0.75 on 2000-02-19 as a bug-fix and performance release, and a 2025-10-21 release adding cdb64 support, configure/make install support, and updated documentation.
cdb's adoption has been unusually long-lived for a tiny database format. The official site lists independent support packages and bindings in Perl, Ruby, Go, Rust, Python/Node wrappers through cdb64-rs, and TinyCDB wrappers. The Homebrew input also records cdb packages in Homebrew, MacPorts, and Nix.
cdb is used when a program needs a compact, immutable lookup table that can be regenerated atomically. The package includes cdbmake for building databases, cdbget for lookup, cdbdump for dumping records, cdbstats for inspection, and a C read API documented on the official site.
For package nerds, cdb is part of the D. J. Bernstein software lineage and a canonical example of a tiny, stable file format that escaped its original codebase. Its appeal is the combination of predictable lookup behavior, crash-safe replacement, public-domain-style licensing in packaged builds, and easy reimplementation in many languages.
セキュリティ状態
broad file, network, media, or database tool signal.
リスク blue · 信頼度 中 · tool
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
cdb64dump | cli | グローバル実行可能ファイル | |
cdb64get | cli | グローバル実行可能ファイル | |
cdb64make | cli | グローバル実行可能ファイル | |
cdb64make-12 | cli | グローバル実行可能ファイル | |
cdb64make-sv | cli | グローバル実行可能ファイル | |
cdb64stats | cli | グローバル実行可能ファイル | |
cdb64test | cli | グローバル実行可能ファイル | |
cdbdump | cli | グローバル実行可能ファイル | |
cdbget | cli | グローバル実行可能ファイル | |
cdbmake | cli | グローバル実行可能ファイル | |
cdbmake-12 | cli | グローバル実行可能ファイル | |
cdbmake-sv | cli | グローバル実行可能ファイル | |
cdbstats | cli | グローバル実行可能ファイル | |
cdbtest | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:cdb |
|---|---|
| バージョン | 20251021 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/cdb |
| ホームページ | https://cdb.cr.yp.to/ |
| 上流ドキュメント | https://cdb.cr.yp.to/ |
| ライセンス | LicenseRef-Homebrew-public-domain OR CC0-1.0 OR 0BSD OR MIT-0 OR MIT |
| ソースアーカイブ | https://cdb.cr.yp.to/cdb-20251021.tar.gz |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | cdb |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
cdb
nix profile install nixpkgs#cdbcdb
sudo port install cdbソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.