Automic VaultAutomic Vault

brew

cdb を Homebrew, MacPorts, Nix でインストール

cdb のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install cdb

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install cdb

MacPorts ports tree · databases/cdb/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#cdb

nixpkgs package indexes · pkgs/by-name/cd/cdb/package.nix · ソース: api.github.com

概要

パッケージ概要

Create and read constant databases

コマンドとエイリアス

  • cdb64dump
  • cdb64get
  • cdb64make
  • cdb64make-12
  • cdb64make-sv
  • cdb64stats
  • cdb64test
  • cdbdump
  • cdbget
  • cdbmake
  • cdbmake-12
  • cdbmake-sv
  • cdbstats
  • cdbtest

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 1996-09-14: Original cdb format document date on the official format page.
  • 1996-09-22: cdb-0.55 first release on the official download page.
  • 2000-02-17: cdb-0.70 rewrote almost everything from scratch and incorporated mmap.
  • 2000-02-19: cdb-0.75 fixed a database creation bug and improved cdbmake performance.
  • 2025-10-21: Official release added cdb64 support and modern configure/install support.

Related projects

  • The official intro page lists cdb64, cdb64-rs, CDB_File, cdb-full, CDB::TinyCDB, and Go implementations as packages that support the cdb or cdb64 formats.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:database

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
cdb64dumpcliグローバル実行可能ファイル
cdb64getcliグローバル実行可能ファイル
cdb64makecliグローバル実行可能ファイル
cdb64make-12cliグローバル実行可能ファイル
cdb64make-svcliグローバル実行可能ファイル
cdb64statscliグローバル実行可能ファイル
cdb64testcliグローバル実行可能ファイル
cdbdumpcliグローバル実行可能ファイル
cdbgetcliグローバル実行可能ファイル
cdbmakecliグローバル実行可能ファイル
cdbmake-12cliグローバル実行可能ファイル
cdbmake-svcliグローバル実行可能ファイル
cdbstatscliグローバル実行可能ファイル
cdbtestcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版20251021
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://cdb.cr.yp.to/

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://cdb.cr.yp.to/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキー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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namecdb
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

cdb

nix profile install nixpkgs#cdb
  • normalized package name match
  • 一致条件: Cdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cd/cdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

cdb

sudo port install cdb
  • normalized package name match
  • 一致条件: Cdb
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/cdb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment