summaryrefslogtreecommitdiff
path: root/devel/xdelta
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-08-22 13:40:38 +0000
committergarbled <garbled@pkgsrc.org>1998-08-22 13:40:38 +0000
commit6a710fc1226a657d9c85349ec628387f1fe78c8d (patch)
treeb90074bf087329abfe3139527dd5793444d3016b /devel/xdelta
parentd342e2b6d2f7d1061cab458c5b103eea24cec6d1 (diff)
downloadpkgsrc-6a710fc1226a657d9c85349ec628387f1fe78c8d.tar.gz
Adding xdelta pkg.
an enhanced diff that works on binary files.
Diffstat (limited to 'devel/xdelta')
-rw-r--r--devel/xdelta/Makefile18
-rw-r--r--devel/xdelta/files/md53
-rw-r--r--devel/xdelta/patches/patch-aa8
-rw-r--r--devel/xdelta/pkg/COMMENT1
-rw-r--r--devel/xdelta/pkg/DESCR18
-rw-r--r--devel/xdelta/pkg/PLIST8
6 files changed, 56 insertions, 0 deletions
diff --git a/devel/xdelta/Makefile b/devel/xdelta/Makefile
new file mode 100644
index 00000000000..9482c6732b8
--- /dev/null
+++ b/devel/xdelta/Makefile
@@ -0,0 +1,18 @@
+#
+# $NetBSD: Makefile,v 1.1 1998/08/22 13:40:38 garbled Exp $
+#
+
+DISTNAME= xdelta-0.22
+CATEGORIES= devel
+MASTER_SITES= ftp://www.xcf.berkeley.edu/pub/xdelta/
+
+MAINTAINER= root@garbled.net
+
+DEPENDS+= glib-1.1.2:../../devel/glib
+DEPENDS+= gdbm-1.7.3:../../databases/gdbm
+DEPENDS+= libtool-1.2:../../devel/libtool
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= LDFLAGS="-Wl,-R${LOCALBASE}/lib -L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/xdelta/files/md5 b/devel/xdelta/files/md5
new file mode 100644
index 00000000000..a005278eea9
--- /dev/null
+++ b/devel/xdelta/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1 1998/08/22 13:40:38 garbled Exp $
+
+MD5 (xdelta-0.22.tar.gz) = e6e6495b1b134a3932ea6ab7e40c11eb
diff --git a/devel/xdelta/patches/patch-aa b/devel/xdelta/patches/patch-aa
new file mode 100644
index 00000000000..98ce3d91fca
--- /dev/null
+++ b/devel/xdelta/patches/patch-aa
@@ -0,0 +1,8 @@
+$NetBSD: patch-aa,v 1.1 1998/08/22 13:40:38 garbled Exp $
+--- configure.orig Sat Aug 22 03:46:19 1998
++++ configure Sat Aug 22 03:51:53 1998
+@@ -2247,3 +2247,3 @@
+ # Always use our own libtool.
+-LIBTOOL='$(SHELL) $(top_builddir)/libtool'
++LIBTOOL='$(SHELL) $(exec_prefix)/bin/libtool'
+
diff --git a/devel/xdelta/pkg/COMMENT b/devel/xdelta/pkg/COMMENT
new file mode 100644
index 00000000000..c3e369151e0
--- /dev/null
+++ b/devel/xdelta/pkg/COMMENT
@@ -0,0 +1 @@
+an enhanced diff that works on binary files.
diff --git a/devel/xdelta/pkg/DESCR b/devel/xdelta/pkg/DESCR
new file mode 100644
index 00000000000..1870b029cc2
--- /dev/null
+++ b/devel/xdelta/pkg/DESCR
@@ -0,0 +1,18 @@
+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 it's 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.
diff --git a/devel/xdelta/pkg/PLIST b/devel/xdelta/pkg/PLIST
new file mode 100644
index 00000000000..a052792c6bb
--- /dev/null
+++ b/devel/xdelta/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 1998/08/22 13:40:39 garbled Exp $
+bin/xdelta
+man/man1/xdelta.1
+include/xdelta.h
+include/xdeltaconfig.h
+include/fakeglib.h
+lib/libxdelta.so.0.22.0
+lib/libxdelta.a