From owner-cvs-src@FreeBSD.ORG Sat Aug 6 01:59:06 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CE4E16A41F; Sat, 6 Aug 2005 01:59:06 +0000 (GMT) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41FD943D45; Sat, 6 Aug 2005 01:59:06 +0000 (GMT) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j761x6Dj039557; Sat, 6 Aug 2005 01:59:06 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j761x6VG039556; Sat, 6 Aug 2005 01:59:06 GMT (envelope-from cperciva) Message-Id: <200508060159.j761x6VG039556@repoman.freebsd.org> From: Colin Percival Date: Sat, 6 Aug 2005 01:59:06 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin Makefile src/usr.bin/bsdiff Makefile Makefile.inc src/usr.bin/bsdiff/bsdiff Makefile bsdiff.1 bsdiff.c src/usr.bin/bsdiff/bspatch Makefile bspatch.1 bspatch.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Aug 2005 01:59:06 -0000 cperciva 2005-08-06 01:59:06 UTC FreeBSD src repository Modified files: usr.bin Makefile Added files: usr.bin/bsdiff Makefile Makefile.inc usr.bin/bsdiff/bsdiff Makefile bsdiff.1 bsdiff.c usr.bin/bsdiff/bspatch Makefile bspatch.1 bspatch.c Log: Add bsdiff and bspatch to the base system. These are tools for constructing and applying binary patches; in particular, they perform well (in the sense of constructing small patches) for executable code. Both portsnap (coming to the base system Real Soon Now) and FreeBSD Update (coming to the base system a bit later) use bspatch. This is the same code as the bsdiff-4.2 which has been in the ports tree (misc/bsdiff) for the past year, with the following exceptions: 1. The license is now the traditional 2-clause BSD; 2. Instead of forking and execing bzip2, the code now uses libbz2; and 3. Some minor changes have been made to fit this code into the base system (adding $FreeBSD$ tags, putting bsdiff and bspatch into separate directories, etc.) This code is rather ugly and has lots of style bugs (mostly because I wrote it before I had ever heard of style(9)). Some day I'll come back and clean it up. Discussed on: freebsd-arch MFC before: 5.5-RELEASE Tested by: Several million users (earlier version). Revision Changes Path 1.282 +1 -0 src/usr.bin/Makefile 1.1 +5 -0 src/usr.bin/bsdiff/Makefile (new) 1.1 +3 -0 src/usr.bin/bsdiff/Makefile.inc (new) 1.1 +8 -0 src/usr.bin/bsdiff/bsdiff/Makefile (new) 1.1 +63 -0 src/usr.bin/bsdiff/bsdiff/bsdiff.1 (new) 1.1 +403 -0 src/usr.bin/bsdiff/bsdiff/bsdiff.c (new) 1.1 +8 -0 src/usr.bin/bsdiff/bspatch/Makefile (new) 1.1 +59 -0 src/usr.bin/bsdiff/bspatch/bspatch.1 (new) 1.1 +203 -0 src/usr.bin/bsdiff/bspatch/bspatch.c (new)