Automic VaultAutomic Vault

brew

flock mit Homebrew, apk, MacPorts, Nix, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für flock in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install flock

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install flock

MacPorts ports tree · sysutils/flock/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add flock

Alpine Linux edge package indexes · flock · Quelle: dl-cdn.alpinelinux.org

Nixverifiziert · 92%
nix profile install nixpkgs#flock

nixpkgs package indexes · pkgs/by-name/fl/flock/package.nix · Quelle: api.github.com

Windows

Windows Package Managerverifiziert · 92%
winget install --id FlockFZ.Flock -e

Windows Package Manager source index · FlockFZ.Flock · Quelle: cdn.winget.microsoft.com

Überblick

Paketzusammenfassung

Lock file during command

Befehle und Aliase

  • flock

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2014: Public GitHub releases include v0.1.1 and v0.2.0.
  • 2015: The v0.2.x release series continues.
  • 2020: v0.4.0 is released with source tarball installation instructions referenced by the README.

Related projects

  • util-linux provides the well-known Linux flock(1) implementation that this project compares itself with.
  • bats-core is used by the project test suite.

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für flock wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 13 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
flockcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version0.4.0
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/discoteq/flock

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoNo cached GitHub release or tag data was available.https://github.com/discoteq/flocknone Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:flock
Version0.4.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/flock
Homepagehttps://github.com/discoteq/flock
Repositoryhttps://github.com/discoteq/flock
Upstream-Dokumentationhttps://github.com/discoteq/flock#readme
LizenzISC
Quellarchivhttps://github.com/discoteq/flock/releases/download/v0.4.0/flock-0.4.0.tar.xz
Bottleverfügbar (auf 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-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

flock

nix profile install nixpkgs#flock
  • normalized package name match
  • Abgeglichen nach: Flock
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fl/flock/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

flock 2.42-r0

File locker from util-linux

https://git.kernel.org/cgit/utils/util-linux/util-linux.git

sudo apk add flock
  • License: MIT
  • Architecture: x86_64
  • Source Package: util-linux
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Flock
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: flock from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
MacPorts95%

flock

sudo port install flock
  • normalized package name match
  • Abgeglichen nach: Flock
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/flock/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
winget95%

FlockFZ.Flock

winget install --id FlockFZ.Flock -e
  • normalized package name match
  • Abgeglichen nach: Flock
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: FlockFZ.Flock from https://cdn.winget.microsoft.com/cache/source.msix

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment