devel/xdelta - The NetBSD Packages Collection

Enhanced diff that works on binary files

The delta generator portion of this program is a delta algorithm which
searches for substring matches between the files and then outputs
instructions to reconstruct the new file from the old file.  It produces a
set of copy/insert instructions that tell how to reconstruct the file as a
sequence of copies from the FROM file and inserts from the delta itself.
In this regard, the program is much closer to a compression program than
to a diff program.  However, the delta is not "compressed", in that the
delta's entropy H(P) will be very similar to the entropy of the portions
of the TO file not found within the FROM file.  The delta will compress
just as well as the TO file will.  This is a fundamentally different
method of computing deltas than in the traditional "diff" program.  The
diff program and its variants use a least-common-subsequence (LCS)
algorithm to find a list of inserts and deletes that will modify the FROM
file into the TO file.  LCS is more expensive to compute and is sometimes
more useful, especially to the human reader.  Since LCS is a fairly
expensive algorithm, diff programs usually divide the input files into
newline-separated "atoms" before computing a delta.  This is a fine
approximation for text files, but not binary files.

Build dependencies

devel/libtool-base pkgtools/mktools devel/gmake pkgtools/cwrappers

Runtime dependencies

devel/glib devel/glib devel/glib

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64xdelta-1.1.4.tgz
NetBSD 10.0aarch64xdelta-1.1.4.tgz
NetBSD 10.0aarch64ebxdelta-1.1.4.tgz
NetBSD 10.0aarch64ebxdelta-1.1.4.tgz
NetBSD 10.0alphaxdelta-1.1.4.tgz
NetBSD 10.0alphaxdelta-1.1.4.tgz
NetBSD 10.0earmv6hfxdelta-1.1.4.tgz
NetBSD 10.0earmv6hfxdelta-1.1.4.tgz
NetBSD 10.0earmv6hfxdelta-1.1.4.tgz
NetBSD 10.0earmv7hfxdelta-1.1.4.tgz
NetBSD 10.0earmv7hfxdelta-1.1.4.tgz
NetBSD 10.0earmv7hfxdelta-1.1.4.tgz
NetBSD 10.0i386xdelta-1.1.4.tgz
NetBSD 10.0powerpcxdelta-1.1.4.tgz
NetBSD 10.0powerpcxdelta-1.1.4.tgz
NetBSD 10.0powerpcxdelta-1.1.4.tgz
NetBSD 10.0sparc64xdelta-1.1.4.tgz
NetBSD 10.0sparc64xdelta-1.1.4.tgz
NetBSD 10.0sparcxdelta-1.1.4.tgz
NetBSD 10.0sparcxdelta-1.1.4.tgz
NetBSD 10.0vaxxdelta-1.1.4.tgz
NetBSD 10.0x86_64xdelta-1.1.4.tgz
NetBSD 10.0x86_64xdelta-1.1.4.tgz
NetBSD 9.0aarch64xdelta-1.1.4.tgz
NetBSD 9.0aarch64xdelta-1.1.4.tgz
NetBSD 9.0alphaxdelta-1.1.4.tgz
NetBSD 9.0alphaxdelta-1.1.4.tgz
NetBSD 9.0earmv6hfxdelta-1.1.4.tgz
NetBSD 9.0earmv6hfxdelta-1.1.4.tgz
NetBSD 9.0earmv6hfxdelta-1.1.4.tgz
NetBSD 9.0earmv7hfxdelta-1.1.4.tgz
NetBSD 9.0earmv7hfxdelta-1.1.4.tgz
NetBSD 9.0earmv7hfxdelta-1.1.4.tgz
NetBSD 9.0i386xdelta-1.1.4.tgz
NetBSD 9.0i386xdelta-1.1.4.tgz
NetBSD 9.0powerpcxdelta-1.1.4.tgz
NetBSD 9.0powerpcxdelta-1.1.4.tgz
NetBSD 9.0powerpcxdelta-1.1.4.tgz
NetBSD 9.0sparc64xdelta-1.1.4.tgz
NetBSD 9.0x86_64xdelta-1.1.4.tgz
NetBSD 9.0x86_64xdelta-1.1.4.tgz
NetBSD 9.3x86_64xdelta-1.1.4.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.