From owner-freebsd-current@FreeBSD.ORG Mon Oct 9 07:48:23 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 166EB16A4D2; Mon, 9 Oct 2006 07:48:23 +0000 (UTC) (envelope-from dds@aueb.gr) Received: from mx-out-04.forthnet.gr (mx-out.forthnet.gr [193.92.150.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0D2743D77; Mon, 9 Oct 2006 07:47:54 +0000 (GMT) (envelope-from dds@aueb.gr) Received: from mx-av-03.forthnet.gr (mx-av.forthnet.gr [193.92.150.27]) by mx-out-04.forthnet.gr (8.13.7/8.13.7) with ESMTP id k997lbrM018876; Mon, 9 Oct 2006 10:47:37 +0300 Received: from mx-in-02.forthnet.gr (mx-in-02.forthnet.gr [193.92.150.185]) by mx-av-03.forthnet.gr (8.13.7/8.13.7) with ESMTP id k997lZtP008622; Mon, 9 Oct 2006 10:47:35 +0300 Received: from [192.168.136.16] (ppp162-101.adsl.forthnet.gr [194.219.45.101]) by mx-in-02.forthnet.gr (8.13.7/8.13.7) with ESMTP id k997lR49014708; Mon, 9 Oct 2006 10:47:28 +0300 Authentication-Results: mx-in-02.forthnet.gr from=dds@aueb.gr; sender-id=neutral; spf=neutral Message-ID: <4529FE93.3050007@aueb.gr> Date: Mon, 09 Oct 2006 10:47:31 +0300 From: Diomidis Spinellis User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4 MIME-Version: 1.0 To: LI Xin References: <4529BF26.1040108@delphij.net> In-Reply-To: <4529BF26.1040108@delphij.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: Call for testers: Replace GNU gzip with NetBSD's gzip implementation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 07:48:23 -0000 LI Xin wrote: > Here is a patchset that replaces the GNU gzip with NetBSD's gzip > implementation, which uses zlib to do actual compress/decompress operation: > > Go to your src/usr.bin and execute the following shar archive: > > http://people.freebsd.org/~delphij/for_review/bsd_gzip/shar-bsd-gzip-20061009 > > Then, go to src/ and apply the following patch: > > http://people.freebsd.org/~delphij/for_review/bsd_gzip/patch-remove-gnu-gzip-01 > > Currently this gzip implementation should work as a drop-in replacement > for GNU gzip. I am still working on some style issues here, etc., so > the current focus is functional test. > > Any sort of comments are welcome. The file zuncompress.c is very closely related to usr.bin/compress/zopen.c. Both are derived from work I did in 1992 to package the compress(1) functionality into a library. Maybe the time is now ripe to actually move the compression/decompression code into a reusable library component. Diomidis - dds@