# 使用 Homebrew, apk, apt, MacPorts, Nix 安装 cvs-fast-export

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

## 安装

```sh
sudo av install brew:cvs-fast-export
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cvs-fast-export
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cvs-fast-export
```

  证据: MacPorts ports tree: devel/cvs-fast-export/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add cvs-fast-export
```

  证据: Alpine Linux edge package indexes: cvs-fast-export from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install cvs-fast-export
```

  证据: Debian stable package indexes: cvs-fast-export from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#cvs-fast-export
```

  证据: nixpkgs package indexes: pkgs/by-name/cv/cvs-fast-export/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:cvs-fast-export
- **软件包管理器:** Homebrew
- **版本:** 2.3
- **来源摘要:** Export an RCS or CVS history as a fast-import stream
- **主页:** <http://www.catb.org/~esr/cvs-fast-export/>
- **最后更新:** 2026-07-27T22:04:06+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cvs-fast-export (别名)
- cvsconvert (别名)
- cvssync (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.3
## 项目历史与用法

cvs-fast-export converts RCS or CVS repository history into a Git fast-import stream. Its official README says it analyzes RCS master files, emits a fast-import history when possible, warns on histories it cannot represent, and can also visualize the resulting commit DAG.

### 项目历史

The official hacker's guide says the program began as Keith Packard's one-off `parsecvs` hack in early 2006 during the X repository migration from CVS to Git. Bart Massey briefly maintained it before Eric S. Raymond took over in late 2012, added the fast-export output stage, renamed the project, and later made the parser re-entrant and parallelized master-file ingestion.

### 采用历史

The tool belongs to the post-CVS migration era, where package maintainers and project archivists needed trustworthy conversion of old CVS and RCS histories into Git. The official resource page explicitly notes that it is commonly packaged as cvs-fast-export and that related package names include cvs-fast-export-tools and cvs-fast-export-doc.

### 使用方式

Users point cvs-fast-export at CVS or RCS master files and pipe or save the generated stream for Git import. The distribution also ships `cvssync` for fetching remote CVS masters, `cvsconvert` for trial conversion and content-mismatch checks against the original CVS, and `cvsstrip` for reducing bug reports to metadata-only trees.

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

For package-history work, cvs-fast-export is unusually meta: it exists to rescue the history behind older packages. Its NEWS file documents years of edge-case fixes around CVS timestamps, vendor branches, ignore files, branch topology, fast-export compatibility, and in 2026 a port from C to Go intended to eliminate chronic memory-corruption failure modes.

### 时间线

- 2006: Originated as Keith Packard's `parsecvs` during the X CVS-to-Git migration.
- 2012: Eric S. Raymond took over maintenance and added fast-export output.
- 2015: GitLab project created and release 1.32 noted a source type declaration for reposurgeon.
- 2020: buildprep script added to simplify source builds.
- 2026: Version 2.0 ported the code to Go.
- 2026: Version 2.2 released on June 21.

### Related projects

- The README and hacker's guide connect cvs-fast-export to Git fast-import, CVS, RCS, Graphviz DOT output, reposurgeon, cvssync, cvsconvert, and cvsstrip.

### 来源

- <http://www.catb.org/~esr/cvs-fast-export/>
- <https://gitlab.com/esr/cvs-fast-export/-/raw/master/README.adoc>
- <https://gitlab.com/esr/cvs-fast-export/-/raw/master/NEWS.adoc>
- <https://gitlab.com/esr/cvs-fast-export/-/raw/master/hacking.adoc>
- <https://gitlab.com/api/v4/projects/esr%2Fcvs-fast-export>
- <https://gitlab.com/esr/cvs-fast-export/-/tags?format=atom>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- Debian apt - cvs-fast-export - 1.59-1+b1: normalized package name match | Debian stable package indexes: cvs-fast-export from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Export an RCS or CVS history as a fast-import stream | http://www.catb.org/esr/cvs-fast-export/
- Nix - cvs-fast-export: normalized package name match | nixpkgs package indexes: pkgs/by-name/cv/cvs-fast-export/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cvs-fast-export - 1.59-1: normalized package name match | Ubuntu 24.04 LTS package indexes: cvs-fast-export from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Export an RCS or CVS history as a fast-import stream | http://www.catb.org/esr/cvs-fast-export/
- apk - cvs-fast-export - 1.68-r0: normalized package name match | Alpine Linux edge package indexes: cvs-fast-export from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Export RCS or CVS history as a fast-import stream | http://www.catb.org/esr/cvs-fast-export/
- apk - cvs-fast-export-doc - 1.68-r0: normalized package name match | Alpine Linux edge package indexes: cvs-fast-export-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Export RCS or CVS history as a fast-import stream (documentation) | http://www.catb.org/esr/cvs-fast-export/
- apk - cvs-fast-export-tools - 1.68-r0: normalized package name match | Alpine Linux edge package indexes: cvs-fast-export-tools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Export RCS or CVS history as a fast-import stream (extra tools) | http://www.catb.org/esr/cvs-fast-export/
- MacPorts - cvs-fast-export: normalized package name match | MacPorts ports tree: devel/cvs-fast-export/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/cvs-fast-export.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cvs-fast-export.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
