Automic VaultAutomic Vault

brew

使用 Homebrew 安装 boost-bcp

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install boost-bcp

local Homebrew formula metadata

概览

软件包摘要

Utility for extracting subsets of the Boost library

命令和别名

  • bcp

历史

项目历史与用法

Boost BCP is the Boost project utility for extracting a usable subset of Boost and its dependencies. It is aimed at Boost authors who distribute a library outside Boost and at application developers who want to vendor only the Boost pieces they need.

项目历史

The boostorg/bcp Git history contains an initial commit adding the BCP utility in June 2003, followed quickly by dependency-analysis fixes and the report mode. That places BCP in the early era when Boost was becoming a large, modular C++ library collection and users needed tooling to manage subsets.

The official BCP documentation, copyrighted 2009 by John Maddock, describes the core job that has remained stable: copy headers, library source, build files, and transitive dependencies for a named Boost component or for dependencies discovered by scanning user code. It can also generate HTML reports listing licenses, copyright holders, and dependency reasons.

BCP continued to be released with Boost version tags after Boost moved to the modular GitHub organization. The tool's repository carries Boost release tags from the 1.31 era onward, and its README points users to the canonical boost.org documentation.

采用历史

BCP is not a mainstream end-user command so much as a specialist tool for C++ packaging and vendoring. Its adoption follows Boost itself: wherever developers wanted a subset of Boost without shipping the full tree, BCP provided an official route.

Homebrew's separate boost-bcp formula reflects package-manager recognition that this utility is useful on its own, even when the complete Boost distribution is available separately. That split is exactly the sort of detail package maintainers care about: one executable from a giant upstream project, packaged for a narrow but real workflow.

使用方式

The documented examples include copying `boost/scoped_ptr.hpp` and dependencies, copying Boost.Regex with source and build files, copying whole libraries, renaming the Boost namespace for vendored builds, scanning non-Boost source files for Boost includes, and generating HTML dependency/license reports.

BCP intentionally follows broad dependency paths because a portable Boost subset must often include headers for multiple compilers, platforms, and preprocessor branches. The docs warn that dependency sets can look fat compared with what one compiler happens to use.

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

Boost BCP is deeply package-nerd significant because it is an upstream-sanctioned answer to vendoring before modern C++ dependency managers were common. It turns a huge source distribution into a smaller redistributable tree while preserving transitive headers, compiled-library source, build metadata, and license accounting.

It also exposes a tension every C++ package maintainer knows: header-only libraries are not really dependency-free once portability macros, compiler workarounds, and optional source libraries enter the graph. BCP's deliberately conservative dependency expansion is a historical artifact of Boost's promise to work across many compilers and platforms.

时间线

  • 2003-06-09: Initial Git history entry adds the BCP utility.
  • 2003-06-23: Dependency-analysis fixes and report mode are added.
  • 2004-02-04: boost-1.31.0 tag appears in the BCP repository history.
  • 2009: Official QuickBook documentation records John Maddock copyright and BCP usage model.
  • 2010s: Boost's modular GitHub organization makes BCP available as boostorg/bcp while still releasing with Boost.
  • 2024: Recent Boost release tags continue to include the BCP repository.

Related projects

  • Boost is the parent C++ library collection and release ecosystem.
  • Boost.Build is related because BCP can copy build files and the build system for selected libraries.
  • Boost.Regex is a prominent documented example because BCP can copy its headers, source, build data, and dependencies.
  • boostdep is related as another Boost tool for dependency work in the modular repository era.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://github.com/boostorg/boost

安装元数据

软件包元数据

软件包键brew:boost-bcp
版本1.90.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/boost-bcp
主页https://github.com/boostorg/bcp
仓库https://github.com/boostorg/bcp
上游文档https://github.com/boostorg/bcp#readme
许可证BSL-1.0
源码归档https://github.com/boostorg/boost/releases/download/boost-1.90.0/boost-1.90.0-b2-nodocs.tar.xz
最后更新2026-06-25T13:37:37+02:00
Pulseupdated
构建依赖boost-build
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 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
  • package relationship graph
  • package version freshness
  • package-page enrichment