# misc/bsdiff - The NetBSD Packages Collection

Size efficient binary diff and patch tools

    Bsdiff and bspatch are tools for building and applying patches to binary
    files. By using suffix sorting (specifically, Larsson and Sadakane's
    qsufsort) and taking advantage of how executable files change, bsdiff
    routinely produces binary patches 50-80% smaller than those produced by
    Xdelta, and 15% smaller than those produced by .RTPatch (a $2750/seat
    commercial patch tool).

    If n is the size of the old file and m is the size of the new file, bsdiff
    runs in O((n+m) log n) time; on a 200MHz Pentium Pro, building a binary
    patch for a 4MB file takes about 90 seconds. bspatch runs in O(n+m) time;
    on the same machine, applying that patch takes about two seconds.

- Source version: `bsdiff-4.3nb1`
- Maintainer: pkgsrc-users AT NetBSD.org
- Website: https://www.daemonology.net/bsdiff/
- License: 2-clause-bsd
- Package history: cvs, hg, git

## Build dependencies

pkgtools/mktools pkgtools/cwrappers

## Runtime dependencies

(none)

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | bsdiff-4.3nb1.tgz
NetBSD 10.0 | aarch64 | bsdiff-4.3nb1.tgz
NetBSD 10.0 | aarch64eb | bsdiff-4.3nb1.tgz
NetBSD 10.0 | alpha | bsdiff-4.3nb1.tgz
NetBSD 10.0 | earmv4 | bsdiff-4.3nb1.tgz
NetBSD 10.0 | earmv6hf | bsdiff-4.3nb1.tgz
NetBSD 10.0 | earmv6hf | bsdiff-4.3nb1.tgz
NetBSD 10.0 | earmv7hf | bsdiff-4.3nb1.tgz
NetBSD 10.0 | earmv7hf | bsdiff-4.3nb1.tgz
NetBSD 10.0 | i386 | bsdiff-4.3nb1.tgz
NetBSD 10.0 | i386 | bsdiff-4.3nb1.tgz
NetBSD 10.0 | m68k | bsdiff-4.3nb1.tgz
NetBSD 10.0 | m68k | bsdiff-4.3nb1.tgz
NetBSD 10.0 | powerpc | bsdiff-4.3nb1.tgz
NetBSD 10.0 | powerpc | bsdiff-4.3nb1.tgz
NetBSD 10.0 | powerpc | bsdiff-4.3nb1.tgz
NetBSD 10.0 | powerpc | bsdiff-4.3nb1.tgz
NetBSD 10.0 | sh3el | bsdiff-4.3nb1.tgz
NetBSD 10.0 | sparc64 | bsdiff-4.3nb1.tgz
NetBSD 10.0 | sparc64 | bsdiff-4.3nb1.tgz
NetBSD 10.0 | vax | bsdiff-4.3nb1.tgz
NetBSD 10.0 | vax | bsdiff-4.3nb1.tgz
NetBSD 10.0 | vax | bsdiff-4.3nb1.tgz
NetBSD 10.0 | x86_64 | bsdiff-4.3nb1.tgz
NetBSD 10.0 | x86_64 | bsdiff-4.3nb1.tgz
NetBSD 11.0 | aarch64 | bsdiff-4.3nb1.tgz
NetBSD 11.0 | aarch64 | bsdiff-4.3nb1.tgz
NetBSD 11.0 | aarch64eb | bsdiff-4.3nb1.tgz
NetBSD 11.0 | aarch64eb | bsdiff-4.3nb1.tgz
NetBSD 11.0 | earmv6hf | bsdiff-4.3nb1.tgz
NetBSD 11.0 | earmv6hf | bsdiff-4.3nb1.tgz
NetBSD 11.0 | earmv7hf | bsdiff-4.3nb1.tgz
NetBSD 11.0 | earmv7hf | bsdiff-4.3nb1.tgz
NetBSD 11.0 | i386 | bsdiff-4.3nb1.tgz
NetBSD 11.0 | i386 | bsdiff-4.3nb1.tgz
NetBSD 11.0 | m68k | bsdiff-4.3nb1.tgz
NetBSD 11.0 | m68k | bsdiff-4.3nb1.tgz
NetBSD 11.0 | riscv64 | bsdiff-4.3nb1.tgz
NetBSD 11.0 | riscv64 | bsdiff-4.3nb1.tgz
NetBSD 11.0 | sh3el | bsdiff-4.3nb1.tgz
NetBSD 11.0 | vax | bsdiff-4.3nb1.tgz
NetBSD 11.0 | vax | bsdiff-4.3nb1.tgz
NetBSD 11.0 | x86_64 | bsdiff-4.3nb1.tgz
NetBSD 11.0 | x86_64 | bsdiff-4.3nb1.tgz
NetBSD 9.0 | aarch64 | bsdiff-4.3nb1.tgz
NetBSD 9.0 | aarch64 | bsdiff-4.3nb1.tgz
NetBSD 9.0 | earmv6hf | bsdiff-4.3nb1.tgz
NetBSD 9.0 | earmv6hf | bsdiff-4.3nb1.tgz
NetBSD 9.0 | earmv7hf | bsdiff-4.3nb1.tgz
NetBSD 9.0 | earmv7hf | bsdiff-4.3nb1.tgz
NetBSD 9.0 | i386 | bsdiff-4.3nb1.tgz
NetBSD 9.0 | i386 | bsdiff-4.3nb1.tgz
NetBSD 9.0 | powerpc | bsdiff-4.3nb1.tgz
NetBSD 9.0 | x86_64 | bsdiff-4.3nb1.tgz
NetBSD 9.0 | x86_64 | bsdiff-4.3nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

- a open buffer-overflow vulnerability

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.