macOS
brew install bsdifflocal Homebrew formula metadata
sudo port install bsdiffMacPorts ports tree · devel/bsdiff/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de bsdiff pour les workflows d'agents IA.
installation
brew install bsdifflocal Homebrew formula metadata
sudo port install bsdiffMacPorts ports tree · devel/bsdiff/Portfile · Source: api.github.com
sudo apt install bsdiffDebian stable package indexes · bsdiff · Source: deb.debian.org
sudo dnf install bsdiffFedora Rawhide package metadata · bsdiff · Source: dl.fedoraproject.org
nix profile install nixpkgs#bsdiffnixpkgs package indexes · pkgs/by-name/bs/bsdiff/package.nix · Source: api.github.com
sudo zypper install bsdiffopenSUSE Tumbleweed package metadata · bsdiff · Source: download.opensuse.org
aperçu
Generate and apply patches to binary files
historique
bsdiff and bspatch are Colin Percival's binary diff and patch tools, best known for producing small patches for executable files. The package is tiny, old, and still important because binary delta updates remain a core packaging and updater trick.
The official page describes bsdiff and bspatch as tools for building and applying binary patches. It explains that they use suffix sorting, specifically Larsson and Sadakane's qsufsort, and exploit the way executable files change to make much smaller patches than contemporary binary patch tools.
The same page says the programs were originally named `bdiff` and `bpatch`, but were renamed because many other programs used those names. It published version 4.3 as a tarball and identifies the BSDiff 4 algorithm with Percival's 2003 paper, `Naive differences of executable code`.
By the time version 4.2 was described on the official page, bsdiff was already in the FreeBSD, NetBSD, and OpenBSD ports trees, DarwinPorts, Gentoo, and as a Python extension module. The provided package facts show wider modern packaging across Homebrew, Debian, Fedora/dnf, MacPorts, Nix, Ubuntu, and openSUSE/zypper.
bsdiff also influenced the packaging and update world indirectly: binary delta algorithms of this style are natural fits for software update systems, where shaving patch size saves bandwidth and time.
`bsdiff` compares an old file and a new file to produce a compact patch; `bspatch` applies that patch to reconstruct the new file. The package is most useful for compiled binaries and other files where line-oriented text diffs are ineffective.
The official page documents its resource profile: bsdiff is memory-hungry and runs in O((n+m) log n), while bspatch runs in O(n+m). That tradeoff is acceptable for many release pipelines because patch creation happens once, while patch application may happen many times.
bsdiff is package-nerd famous because it is a small command with an outsized effect on binary distribution. It gives maintainers a simple way to ship deltas instead of whole files, and its paper made the algorithm understandable enough to reimplement and adapt.
It is also a classic example of a package whose upstream is not a modern forge repository. Package managers preserve the tool through tarballs, patches, and downstream maintenance even without a canonical GitHub-style source-control home.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
bsdiff | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://www.daemonology.net/bsdiff/
métadonnées d'installation
| Clé du paquet | brew:bsdiff |
|---|---|
| Version | 4.3 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/bsdiff |
| Page d'accueil | https://www.daemonology.net/bsdiff/ |
| Docs amont | https://www.daemonology.net/bsdiff |
| Licence | BSD-2-Clause |
| Archive source | https://deb.debian.org/debian/pool/main/b/bsdiff/bsdiff_4.3.orig.tar.gz |
| Dépendances de compilation | bmake |
| Bibliothèques fournies par macOS | bzip2 |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bsdiff |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
bsdiff 4.3-23
generate/apply a patch between two binary files
https://www.daemonology.net/bsdiff
sudo apt install bsdiffbsdiff
nix profile install nixpkgs#bsdiffbsdiff 4.3-23
generate/apply a patch between two binary files
https://www.daemonology.net/bsdiff
sudo apt install bsdiffbsdiff 4.3-39.fc44
Binary diff/patch utility
http://www.daemonology.net/bsdiff/
sudo dnf install bsdiffbsdiff 4.3-6.9
Tools for binary file patches
https://daemonology.net/bsdiff
sudo zypper install bsdiffbsdiff
sudo port install bsdiffpiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.