new port for xdelta

This commit is contained in:
Eric L. Hernes 1998-01-26 16:27:12 +00:00
parent 613b8f6283
commit 614279221e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9466
5 changed files with 52 additions and 0 deletions

21
misc/xdelta/Makefile Normal file
View file

@ -0,0 +1,21 @@
# New ports collection makefile for: xdelta
# Version required: 0.14
# Date created: Sun May 4 21:40:06 CDT 1997
# Whom: erich
#
# $Id: Makefile,v 1.12 1997/02/12 10:24:23 asami Exp $
#
DISTNAME= xdelta-0.14
CATEGORIES= misc
MASTER_SITES= ftp://scam.xcf.berkeley.edu/pub/jmacd/
GNU_CONFIGURE= yup
#BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
#
# this seems to be necessary for libtool :(
MAKE_ENV= CC=cc
.include <bsd.port.mk>

1
misc/xdelta/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (xdelta-0.14.tar.gz) = 6dcb37139f7c511b8f8d3899644cf0a6

1
misc/xdelta/pkg-comment Normal file
View file

@ -0,0 +1 @@
a diff/patch utility for binary files

24
misc/xdelta/pkg-descr Normal file
View file

@ -0,0 +1,24 @@
From the README:
I propose this delta generator as a replacement for "diff" in applications
where the insert/delete delta is not required. Since the copy/insert delta
is easier to compute, it does not have to make the reduction in input size
by breaking the file into lines. The delta generator works well on binary
files.
The next question is whether it is actually desirable to compute deltas
between binary files. The answer is certainly yes, even though some binary
file formats will not have a great degree of similarity between versions
which were generated between minor modifications to their sources. First, I
have evidence that some file formats (notably FrameMaker documents) work
very well. Machine-dependant object files and executables don't work very
well, but it is still worth doing. The reason it is still worthwhile is
that compression takes longer than finding these deltas, so any space
savings the delta generator produces it very likely to reduce the total
archival time. Even if the delta generator saves no space, the total time
well end up less than twice the time of compression. I will include some
measurements at the end of this writing.
Please send any comments, questions, thoughts, or interest to me,
jmacd@cs.berkeley.edu.
Eric. <erich@FreeBSD.org>

5
misc/xdelta/pkg-plist Normal file
View file

@ -0,0 +1,5 @@
bin/xdelta
include/xdelta.h
lib/libxdelta.so.0.11
lib/libxdelta.la
lib/libxdelta.a