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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64bsdiff-4.3nb1.tgz
NetBSD 10.0aarch64bsdiff-4.3nb1.tgz
NetBSD 10.0aarch64ebbsdiff-4.3nb1.tgz
NetBSD 10.0aarch64ebbsdiff-4.3nb1.tgz
NetBSD 10.0alphabsdiff-4.3nb1.tgz
NetBSD 10.0alphabsdiff-4.3nb1.tgz
NetBSD 10.0earmv4bsdiff-4.3nb1.tgz
NetBSD 10.0earmv4bsdiff-4.3nb1.tgz
NetBSD 10.0earmv6hfbsdiff-4.3nb1.tgz
NetBSD 10.0earmv6hfbsdiff-4.3nb1.tgz
NetBSD 10.0earmv6hfbsdiff-4.3nb1.tgz
NetBSD 10.0earmv7hfbsdiff-4.3nb1.tgz
NetBSD 10.0earmv7hfbsdiff-4.3nb1.tgz
NetBSD 10.0earmv7hfbsdiff-4.3nb1.tgz
NetBSD 10.0i386bsdiff-4.3nb1.tgz
NetBSD 10.0i386bsdiff-4.3nb1.tgz
NetBSD 10.0m68kbsdiff-4.3nb1.tgz
NetBSD 10.0powerpcbsdiff-4.3nb1.tgz
NetBSD 10.0powerpcbsdiff-4.3nb1.tgz
NetBSD 10.0powerpcbsdiff-4.3nb1.tgz
NetBSD 10.0sh3elbsdiff-4.3nb1.tgz
NetBSD 10.0sparc64bsdiff-4.3nb1.tgz
NetBSD 10.0sparc64bsdiff-4.3nb1.tgz
NetBSD 10.0sparcbsdiff-4.3nb1.tgz
NetBSD 10.0sparcbsdiff-4.3nb1.tgz
NetBSD 10.0vaxbsdiff-4.3nb1.tgz
NetBSD 10.0vaxbsdiff-4.3nb1.tgz
NetBSD 10.0vaxbsdiff-4.3nb1.tgz
NetBSD 10.0x86_64bsdiff-4.3nb1.tgz
NetBSD 10.0x86_64bsdiff-4.3nb1.tgz
NetBSD 9.0aarch64bsdiff-4.3nb1.tgz
NetBSD 9.0aarch64bsdiff-4.3nb1.tgz
NetBSD 9.0alphabsdiff-4.3nb1.tgz
NetBSD 9.0alphabsdiff-4.3nb1.tgz
NetBSD 9.0earmv4bsdiff-4.3nb1.tgz
NetBSD 9.0earmv6hfbsdiff-4.3nb1.tgz
NetBSD 9.0earmv6hfbsdiff-4.3nb1.tgz
NetBSD 9.0earmv6hfbsdiff-4.3nb1.tgz
NetBSD 9.0earmv7hfbsdiff-4.3nb1.tgz
NetBSD 9.0earmv7hfbsdiff-4.3nb1.tgz
NetBSD 9.0earmv7hfbsdiff-4.3nb1.tgz
NetBSD 9.0i386bsdiff-4.3nb1.tgz
NetBSD 9.0i386bsdiff-4.3nb1.tgz
NetBSD 9.0m68kbsdiff-4.3nb1.tgz
NetBSD 9.0powerpcbsdiff-4.3nb1.tgz
NetBSD 9.0powerpcbsdiff-4.3nb1.tgz
NetBSD 9.0powerpcbsdiff-4.3nb1.tgz
NetBSD 9.0sparc64bsdiff-4.3nb1.tgz
NetBSD 9.0sparc64bsdiff-4.3nb1.tgz
NetBSD 9.0x86_64bsdiff-4.3nb1.tgz
NetBSD 9.0x86_64bsdiff-4.3nb1.tgz
NetBSD 9.3x86_64bsdiff-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

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.