pkg.soopen package index

brew / 排名 14862

使用 Homebrew, MacPorts 安装 wait_on

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install wait_on

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install wait_on

MacPorts ports tree · sysutils/wait_on/Portfile · 来源: api.github.com

概览

软件包摘要

Provides shell scripts with access to kqueue(3)

命令和别名

  • wait_on

历史

项目历史与用法

`wait_on` is a small FreeBSD-oriented command that exposes file and directory change notifications to shell scripts. It lets scripts sleep until a watched path changes instead of polling in a loop.

项目历史

The FreeBSD manual page gives the clearest project history: `wait_on` was written by Andrew Stevenson in January 2002 under FreeBSD 4.4. Its design is tied directly to kqueue, the BSD kernel event-notification facility that had recently made file, directory, and descriptor events available without busy polling.

使用方式

The command waits on one or more files or directories and exits when a requested event occurs. The manual gives examples such as watching a mailbox for writes, waiting for files to arrive in an incoming FTP directory, or using `-i` and `-t` so a script can tell which watched path changed or timed out.

Internally, `wait_on` uses kqueue's vnode notifications, including events for writes, extension, deletion, renames, link-count changes, attribute changes, and revocation. That makes it a compact bridge between shell scripting and kernel event delivery on systems with kqueue.

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

This is a classic small Unix package: one command, one system primitive, and a clean scripting use case. It is historically interesting because it predates the later wave of cross-platform file-watcher tools and shows early BSD users solving shell automation without periodic `stat` polling.

时间线

  • January 2002: `wait_on` was written under FreeBSD 4.4 by Andrew Stevenson.
  • 2000s onward: the command remained useful as a shell-level wrapper around kqueue file and directory events.

Related projects

  • The closest related primitive is kqueue itself. In the broader file-watching family, `wait_on` overlaps conceptually with inotify-based Linux tools and higher-level cross-platform watchers, but it stays intentionally close to the FreeBSD kernel interface.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

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

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

https://www.freshports.org/sysutils/wait_on/

安装元数据

软件包元数据

软件包键brew:wait_on
版本1.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/wait_on
主页https://www.freshports.org/sysutils/wait_on/
上游文档https://www.freshports.org/sysutils/wait_on/
许可证BSD-4-Clause
源码归档https://pkg.freebsd.org/ports-distfiles/wait_on-1.1.tar.gz
构建依赖bmake
Bottle可用 (于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

MacPorts95%

wait_on

sudo port install wait_on
  • normalized package name match
  • 匹配方式:Wait On
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/wait_on/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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation