Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix 安装 cproto

查看 cproto 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install cproto

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install cproto

MacPorts ports tree · devel/cproto/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add cproto

Alpine Linux edge package indexes · cproto · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install cproto

Debian stable package indexes · cproto · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install cproto

Fedora Rawhide package metadata · cproto · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#cproto

nixpkgs package indexes · pkgs/by-name/cp/cproto/package.nix · 来源: api.github.com

概览

软件包摘要

Generate function prototypes for functions in input files

命令和别名

  • cproto

历史

项目历史与用法

cproto is a long-lived C source utility for generating function prototypes and declarations from C input files. It also supports conversions between old-style K&R function definitions and ANSI C style, plus lint-library generation.

项目历史

The official history says Chin Huang wrote and maintained cproto while at the University of Waterloo, with the first public version posted to comp.sources.unix in October 1989. Updates followed on comp.sources.misc through the early 1990s.

Thomas E. Dickey began working on cproto in June 1993, sending fixes and improvements to Huang. His work added lint-library support, GNU configure support, regression tests, diagnostics, and ports including VAX/VMS and HP/Apollo.

The modern Invisible Island page documents Dickey's continued maintenance, occasional fixes, generated documentation, release archives, and an official GitHub snapshots repository.

采用历史

cproto spread through the Unix source-sharing ecosystem before modern package managers, with releases posted to comp.sources.unix and comp.sources.misc. The official page later cataloged downstream package references for Debian, RPM-based systems, SlackBuilds, FreshPorts, NetBSD pkgsrc, AIX, HP-UX, and Repology.

使用方式

The manpage describes cproto as reading C source files or standard input and writing generated function prototypes to standard output. It can process K&R or ANSI-style definitions, optionally emit variable declarations, convert source forms, and generate lint-library source.

为什么软件包爱好者会关心

cproto is a classic small Unix development tool: it predates Git hosting, has Usenet-release provenance, uses generated manpage documentation, and remains packaged because it solves a narrow C maintenance problem that still appears in legacy codebases.

时间线

  • 1989: Chin Huang's first cproto release was posted to comp.sources.unix volume 20, issue 39.
  • 1991: cproto 2.0 and 2.2 updates appeared on comp.sources.misc.
  • 1992: cproto 3.x updates continued on comp.sources.misc.
  • 1993: Thomas E. Dickey began contributing fixes and improvements.
  • 1994: cproto 4.0 appeared with Dickey's contributions including lint-library work, configure support, and additional ports.
  • 2016: Thomas Dickey's cproto-snapshots GitHub repository was created for release and interim labels.

Related projects

  • The official history contrasts cproto with protoize and notes cproto's role in generating lint libraries.
  • Dickey's page says he currently uses cproto to generate lint libraries for ncurses.

安全态势

尚未找到受保护工具覆盖

没有找到 cproto 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cprotocli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本4.8
管理器更新时间2026-05-15
本地数据OK
上游not checked
检测到的最新版本未检测到

https://invisible-island.net/cproto/

安装元数据

软件包元数据

软件包键brew:cproto
版本4.8
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/cproto
主页https://invisible-island.net/cproto/
仓库https://github.com/ThomasDickey/cproto-snapshots
上游文档https://invisible-island.net/cproto/cproto.html
许可证LicenseRef-Homebrew-public-domain
源码归档https://invisible-mirror.net/archives/cproto/cproto-4.8.tgz
最后更新2026-05-15T23:57:12Z
Pulseupdated
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

cproto 4.7x-1

utilities to generate C function prototypes from C source code

https://invisible-island.net/cproto/cproto.html

sudo apt install cproto
  • Section: devel
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Cproto
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cproto from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

cproto

nix profile install nixpkgs#cproto
  • normalized package name match
  • 匹配方式:Cproto
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cp/cproto/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

cproto 4.7v-2

utilities to generate C function prototypes from C source code

https://invisible-island.net/cproto/cproto.html

sudo apt install cproto
  • Section: universe/devel
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Cproto
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cproto from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

cproto 4.7y-r1

Generate C function prototypes from C source code

https://invisible-island.net/cproto/

sudo apk add cproto
  • License: Public-Domain
  • Architecture: x86_64
  • Source Package: cproto
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Cproto
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cproto from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

cproto-doc 4.7y-r1

Generate C function prototypes from C source code (documentation)

https://invisible-island.net/cproto/

sudo apk add cproto-doc
  • License: Public-Domain
  • Architecture: x86_64
  • Source Package: cproto
  • normalized package name match
  • 匹配方式:Cproto
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cproto-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

cproto 4.8-1.fc45

Generates function prototypes and variable declarations from C code

http://invisible-island.net/

sudo dnf install cproto
  • License: LicenseRef-Fedora-Public-Domain
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: cproto
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Cproto
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cproto from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

cproto

sudo port install cproto
  • normalized package name match
  • 匹配方式:Cproto
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/cproto/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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