pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/bsdiff Initial import of bsdiff (and bspatch) ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/326fc8daef3a
branches:  trunk
changeset: 465459:326fc8daef3a
user:      cjep <cjep%pkgsrc.org@localhost>
date:      Tue Dec 30 17:34:45 2003 +0000

description:
Initial import of bsdiff (and bspatch) version 4.1 into the NetBSD
packages collection as misc/bsdiff.

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).

diffstat:

 misc/bsdiff/DESCR    |  11 +++++++++++
 misc/bsdiff/Makefile |  19 +++++++++++++++++++
 misc/bsdiff/PLIST    |   5 +++++
 misc/bsdiff/distinfo |   4 ++++
 4 files changed, 39 insertions(+), 0 deletions(-)

diffs (55 lines):

diff -r c7feb4239951 -r 326fc8daef3a misc/bsdiff/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bsdiff/DESCR Tue Dec 30 17:34:45 2003 +0000
@@ -0,0 +1,11 @@
+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.
diff -r c7feb4239951 -r 326fc8daef3a misc/bsdiff/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bsdiff/Makefile      Tue Dec 30 17:34:45 2003 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/12/30 17:34:45 cjep Exp $
+#
+
+DISTNAME=              bsdiff-4.1
+CATEGORIES=            misc
+MASTER_SITES=          http://www.daemonology.net/bsdiff/
+
+MAINTAINER=            cjep%NetBSD.org@localhost
+HOMEPAGE=              http://www.daemonology.net/bsdiff/
+COMMENT=               Size efficient binary diff and patch tools
+
+USE_BUILDLINK2=                yes
+
+.if !exists(/usr/bin/bzip2)
+MAKE_ENV+=             BZIP2=${LOCALBASE}/bin/bzip2
+.endif
+
+.include "../../archivers/bzip2/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c7feb4239951 -r 326fc8daef3a misc/bsdiff/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bsdiff/PLIST Tue Dec 30 17:34:45 2003 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/12/30 17:34:45 cjep Exp $
+bin/bsdiff
+bin/bspatch
+man/man1/bsdiff.1
+man/man1/bspatch.1
diff -r c7feb4239951 -r 326fc8daef3a misc/bsdiff/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/bsdiff/distinfo      Tue Dec 30 17:34:45 2003 +0000
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/12/30 17:34:45 cjep Exp $
+
+SHA1 (bsdiff-4.1.tar.gz) = 0c24b121916704069f23199da0689b3e49b77796
+Size (bsdiff-4.1.tar.gz) = 7721 bytes



Home | Main Index | Thread Index | Old Index