macOS
brew install flocklocal Homebrew formula metadata
sudo port install flockMacPorts ports tree · sysutils/flock/Portfile · ソース: api.github.com
brew
flock のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install flocklocal Homebrew formula metadata
sudo port install flockMacPorts ports tree · sysutils/flock/Portfile · ソース: api.github.com
sudo apk add flockAlpine Linux edge package indexes · flock · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#flocknixpkgs package indexes · pkgs/by-name/fl/flock/package.nix · ソース: api.github.com
winget install --id FlockFZ.Flock -eWindows Package Manager source index · FlockFZ.Flock · ソース: cdn.winget.microsoft.com
概要
Lock file during command
履歴
discoteq flock(1) is a portable command-line implementation of the Unix file-locking utility. It exists for systems where the util-linux flock(1) command is absent, inconvenient, or not portable enough.
The project README explicitly frames the package as an answer to the question of why another flock(1) exists when util-linux already includes one. Its distinguishing goals are support across Linux, Illumos, Darwin, and FreeBSD, testing of major behavior and edge cases, an ISC license, and public source and issue tracking.
The GitHub release history dates the public package line at least to v0.1.1 in 2014, with later v0.2.x releases in 2014 and 2015 and a v0.4.0 release in 2020.
The package is especially relevant on macOS and other non-Linux Unix-like systems because the README gives Homebrew and MacPorts installation paths. The supplied package facts also list Alpine, Nix, and other package-manager entries.
Its adoption pattern is practical rather than framework-driven: shell scripts, cron jobs, backups, and deploy tasks use flock to serialize work with a lock file.
The common usage is to run flock with a lock-file path followed by a command, such as protecting an echo or rsync invocation so only one instance proceeds at a time.
Because it is a small system utility, its value is in predictable process coordination from shell scripts without embedding lock handling into each script.
For package maintainers, discoteq flock is a good example of packaging a small compatibility utility to make Unix scripts more portable across distributions and operating systems.
It matters in package-manager culture because the command name overlaps with a util-linux tool: correct formula naming, conflict handling, and platform behavior are the interesting parts, not a large dependency graph.
セキュリティ状態
flock に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
flock | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/discoteq/flock
インストールメタデータ
| パッケージキー | brew:flock |
|---|---|
| バージョン | 0.4.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/flock |
| ホームページ | https://github.com/discoteq/flock |
| リポジトリ | https://github.com/discoteq/flock |
| 上流ドキュメント | https://github.com/discoteq/flock#readme |
| ライセンス | ISC |
| ソースアーカイブ | https://github.com/discoteq/flock/releases/download/v0.4.0/flock-0.4.0.tar.xz |
| Bottle | 利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | flock |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
flock
nix profile install nixpkgs#flockflock 2.42-r0
File locker from util-linux
https://git.kernel.org/cgit/utils/util-linux/util-linux.git
sudo apk add flockflock
sudo port install flockFlockFZ.Flock
winget install --id FlockFZ.Flock -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.