Automic VaultAutomic Vault

brew

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

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install tradcpp

local Homebrew formula metadata

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

MacPorts ports tree · devel/tradcpp/Portfile · ソース: api.github.com

Linux

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

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

概要

パッケージ概要

K&R-style C preprocessor

コマンドとエイリアス

  • tradcpp

履歴

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

tradcpp is a small traditional, K&R-style C preprocessor maintained from David Holland's NetBSD pages. Its history is tied less to compiling C and more to preserving old build techniques that used cpp as a general text preprocessor.

プロジェクトの歴史

The official tradcpp page says the tool was written for historical uses of the C preprocessor on non-C input, because modern compiler-bundled preprocessors increasingly do not provide a traditional mode or preserve the behavior old build systems expect. The project deliberately keeps a narrow scope and does not try to become a full modern C89/C99/C11 preprocessor.

A distinctive implementation goal is whitespace preservation. The author calls out makefiles, old Emacs build logic, and imake as examples where rearranging whitespace can break legacy systems. tradcpp also includes a trace mode for diagnosing complex preprocessor use; the page says it was written to investigate an imake problem on Solaris.

採用の歴史

The most explicit adoption history is in pkgsrc: the official page says pkgsrc, the NetBSD package system, has used tradcpp for these purposes since 2013. That makes tradcpp a package-system support tool rather than a broad end-user application.

使われ方

In package-manager culture, tradcpp is used when a build recipe needs a traditional cpp that preserves old preprocessing behavior for files such as makefiles. Users are explicitly steered away from using it for normal modern C code.

パッケージ好きにとっての重要性

tradcpp matters to package nerds because it is infrastructure for keeping old source packages buildable. It represents the unglamorous compatibility layer a portability framework like pkgsrc sometimes needs when upstream build systems rely on historical Unix behavior.

タイムライン

  • 2013: pkgsrc begins using tradcpp for legacy preprocessing use cases.
  • Current official release: tradcpp 0.5.3 is listed on the NetBSD-hosted project page.

Related projects

  • pkgsrc uses tradcpp for package builds with legacy preprocessing needs.
  • imake and old Emacs build systems are named by the author as examples of the historical cpp usage tradcpp was designed to support.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 12 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
tradcppcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

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

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

https://www.netbsd.org/~dholland/tradcpp/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:tradcpp
バージョン0.5.3
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/tradcpp
ホームページhttps://www.netbsd.org/~dholland/tradcpp/
リポジトリhttps://www.netbsd.org/~dholland/hg/tradcpp
上流ドキュメントhttps://www.netbsd.org/~dholland/tradcpp
ライセンスBSD-2-Clause
ソースアーカイブhttps://cdn.netbsd.org/pub/NetBSD/misc/dholland/tradcpp-0.5.3.tar.gz
ビルド依存関係bmake
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametradcpp
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

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

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

Nix95%

tradcpp

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

tradcpp

sudo port install tradcpp
  • normalized package name match
  • 一致条件: Tradcpp
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/tradcpp/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