aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-06-08 14:38:27 +0800
committerleeym <leeym@FreeBSD.org>2003-06-08 14:38:27 +0800
commit3e9b71b9e5424fbc8521a5573f92abb6f1c89cb1 (patch)
tree9f8f0c4dff3e9b9e97dbf5d58ae42d1528c31928 /misc
parent5d99ae57df96133a2619263bdc784d173b487491 (diff)
downloadfreebsd-ports-graphics-3e9b71b9e5424fbc8521a5573f92abb6f1c89cb1.tar.gz
freebsd-ports-graphics-3e9b71b9e5424fbc8521a5573f92abb6f1c89cb1.tar.zst
freebsd-ports-graphics-3e9b71b9e5424fbc8521a5573f92abb6f1c89cb1.zip
This is a pair of tools for creating and applying very compact patches to
binary files (especially executable files). It will be used by the next version of the security/freebsd-update port. PR: 53018 Submitted by: Colin Percival <cperciva@beastie.daemonology.net>
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/bsdiff/Makefile18
-rw-r--r--misc/bsdiff/distinfo1
-rw-r--r--misc/bsdiff/pkg-descr9
-rw-r--r--misc/bsdiff/pkg-plist2
5 files changed, 31 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 0881051a0d5..03998ed1427 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -30,6 +30,7 @@
SUBDIR += bottlerocket
SUBDIR += boxes
SUBDIR += brs
+ SUBDIR += bsdiff
SUBDIR += buffer
SUBDIR += cave
SUBDIR += cfe
diff --git a/misc/bsdiff/Makefile b/misc/bsdiff/Makefile
new file mode 100644
index 00000000000..dc8fc4c58be
--- /dev/null
+++ b/misc/bsdiff/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: Binary patch tool
+# Date created: 7 June 2003
+# Whom: cperciva@daemonology.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= bsdiff
+PORTVERSION= 3.0
+CATEGORIES= misc devel
+MASTER_SITES= http://www.daemonology.net/bsdiff/
+
+MAINTAINER= cperciva@daemonology.net
+COMMENT= Generates and applies patches to binary files
+
+MAN1= bsdiff.1 bspatch.1
+
+.include <bsd.port.mk>
diff --git a/misc/bsdiff/distinfo b/misc/bsdiff/distinfo
new file mode 100644
index 00000000000..e10c6df941e
--- /dev/null
+++ b/misc/bsdiff/distinfo
@@ -0,0 +1 @@
+MD5 (bsdiff-3.0.tar.gz) = 98e0141ddf68e7f6977b845a54c8531f
diff --git a/misc/bsdiff/pkg-descr b/misc/bsdiff/pkg-descr
new file mode 100644
index 00000000000..76b37c8115e
--- /dev/null
+++ b/misc/bsdiff/pkg-descr
@@ -0,0 +1,9 @@
+This is a pair of tools for building (bsdiff) and applying (bspatch)
+binary patches. When applied to two versions of the same executable
+the patches produced are significantly smaller than those generated
+by other binary diff tools (eg, xdelta).
+
+WWW: http://www.daemonology.net/bsdiff/
+
+- Colin Percival
+cperciva@daemonology.net
diff --git a/misc/bsdiff/pkg-plist b/misc/bsdiff/pkg-plist
new file mode 100644
index 00000000000..05837b9678c
--- /dev/null
+++ b/misc/bsdiff/pkg-plist
@@ -0,0 +1,2 @@
+bin/bsdiff
+bin/bspatch