From cperciva@builder.daemonology.net  Sun May 25 10:21:25 2003
Return-Path: <cperciva@builder.daemonology.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 56B3737B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 May 2003 10:21:25 -0700 (PDT)
Received: from builder.daemonology.net (h24-87-233-42.vc.shawcable.net [24.87.233.42])
	by mx1.FreeBSD.org (Postfix) with SMTP id 2BF2F43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 25 May 2003 10:21:24 -0700 (PDT)
	(envelope-from cperciva@builder.daemonology.net)
Received: (qmail 91313 invoked by uid 1000); 25 May 2003 17:20:07 -0000
Received: (for user cperciva)
Message-Id: <20030525172007.91311.qmail@builder.daemonology.net>
Date: 25 May 2003 17:20:07 -0000
From: Colin Percival <cperciva@daemonology.net>
Reply-To: Colin Percival <cperciva@daemonology.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New poer: binary diff/patch tool
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         52676
>Category:       ports
>Synopsis:       New poer: binary diff/patch tool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 25 10:30:08 PDT 2003
>Closed-Date:    Sat Jun 07 08:43:31 PDT 2003
>Last-Modified:  Sat Jun 07 08:43:31 PDT 2003
>Originator:     Colin Percival
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
n/a
>Description:
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.
>How-To-Repeat:
n/a
>Fix:

--- bdiff.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	/usr/ports/misc/bdiff
#	/usr/ports/misc/bdiff/Makefile
#	/usr/ports/misc/bdiff/distinfo
#	/usr/ports/misc/bdiff/pkg-descr
#	/usr/ports/misc/bdiff/pkg-plist
#
echo c - /usr/ports/misc/bdiff
mkdir -p /usr/ports/misc/bdiff > /dev/null 2>&1
echo x - /usr/ports/misc/bdiff/Makefile
sed 's/^X//' >/usr/ports/misc/bdiff/Makefile << 'END-of-/usr/ports/misc/bdiff/Makefile'
X# New ports collection makefile for:		Binary patch tool
X# Date created:					18 May 2003
X# Whom:						cperciva@daemonology.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bdiff
XPORTVERSION=	2.1
XCATEGORIES=	misc devel
XMASTER_SITES=	http://www.daemonology.net/bdiff/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	cperciva@daemonology.net
XCOMMENT=	Generates and applies patches to binary files
X
XMAN1=		bdiff.1 bpatch.1
X
XNO_WRKSUBDIR=	yes
X
Xdo-build:
X	${CC} -o ${WRKSRC}/bdiff ${CFLAGS} ${WRKSRC}/bdiff.c
X	${CC} -o ${WRKSRC}/bpatch ${CFLAGS} ${WRKSRC}/bpatch.c
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bdiff ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/bpatch ${PREFIX}/bin
X.if !defined(WITHOUT_MAN)
X	${INSTALL_MAN} ${WRKSRC}/bdiff.1 ${PREFIX}/man/man1/
X	${INSTALL_MAN} ${WRKSRC}/bpatch.1 ${PREFIX}/man/man1/
X.endif
X
X.include <bsd.port.mk>
END-of-/usr/ports/misc/bdiff/Makefile
echo x - /usr/ports/misc/bdiff/distinfo
sed 's/^X//' >/usr/ports/misc/bdiff/distinfo << 'END-of-/usr/ports/misc/bdiff/distinfo'
XMD5 (bdiff-2.1.tgz) = 0a52cd9b251286a3854ddd30b3d45db7
END-of-/usr/ports/misc/bdiff/distinfo
echo x - /usr/ports/misc/bdiff/pkg-descr
sed 's/^X//' >/usr/ports/misc/bdiff/pkg-descr << 'END-of-/usr/ports/misc/bdiff/pkg-descr'
XThis is a pair of tools for building (bdiff) and applying (bpatch)
Xbinary patches.  When applied to two versions of the same executable
Xthe patches produced are significantly smaller than those generated
Xby other binary diff tools (eg, xdelta).
X
XWWW: http://www.daemonology.net/bdiff/
X
X- Colin Percival
Xcperciva@daemonology.net
END-of-/usr/ports/misc/bdiff/pkg-descr
echo x - /usr/ports/misc/bdiff/pkg-plist
sed 's/^X//' >/usr/ports/misc/bdiff/pkg-plist << 'END-of-/usr/ports/misc/bdiff/pkg-plist'
Xbin/bdiff
Xbin/bpatch
END-of-/usr/ports/misc/bdiff/pkg-plist
exit
--- bdiff.shar ends here ---


>Release-Note:
>Audit-Trail:

From: Colin Percival <colin.percival@wadham.ox.ac.uk>
To: freebsd-gnats-submit@FreeBSD.org, cperciva@daemonology.net
Cc:  
Subject: Re: ports/52676: New poer: binary diff/patch tool
Date: Tue, 03 Jun 2003 09:18:30 +0100

    I'm going to be submitting a new version of this soon; consequently, 
 please ignore and close this PR.
 
 Colin Percival
 
State-Changed-From-To: open->closed 
State-Changed-By: erwin 
State-Changed-When: Sat Jun 7 08:43:05 PDT 2003 
State-Changed-Why:  
Superseded by 53018 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52676 
>Unformatted:
