From owner-freebsd-ports@FreeBSD.ORG Thu Oct 20 10:43:24 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8871D16A420 for ; Thu, 20 Oct 2005 10:43:24 +0000 (GMT) (envelope-from rmh@aybabtu.com) Received: from khazad.dyndns.org (216.red-62-57-140.user.auna.net [62.57.140.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0D2043D62 for ; Thu, 20 Oct 2005 10:43:23 +0000 (GMT) (envelope-from rmh@aybabtu.com) Received: from rmh by khazad.dyndns.org with local (Exim 4.52) id 1ESXtR-0000Iq-F7; Thu, 20 Oct 2005 12:43:29 +0200 Date: Thu, 20 Oct 2005 12:43:28 +0200 From: Robert Millan To: Juergen Lock Message-ID: <20051020104328.GA1150@aragorn> References: <20051018140137.GA16159@aragorn> <20051018200544.GA26528@saturn.kn-bremen.de> <200510192246.j9JMkUIj013329@saturn.kn-bremen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510192246.j9JMkUIj013329@saturn.kn-bremen.de> Sender: Robert Millan Organisation: free as in freedom User-Agent: Mutt/1.5.10i Cc: freebsd-ports@freebsd.org Subject: Re: gzip-like CLI wrapper for p7zip X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2005 10:43:24 -0000 On Thu, Oct 20, 2005 at 12:46:30AM +0200, Juergen Lock wrote: > > > >I don't think the changes are trivial. Most likely the algorithm requires > >random access, and with my very reduced knowledge in compression techniques or > >p7zip internals, this isn't something I can fix. > > > Well, even if it does, one could always compress fixed-size chunks of > data sequentially. Ah, good point :) > >Sorry, I don't know the 7z format either. However, much like other compression > >formats, it is versioned: > > > > rmh@aragorn:/tmp$ echo foo | p7zip | file - > > /dev/stdin: 7z archive data, version 0.2 > > Well, i dont know if the 7z maintainers are interested in supporting > streaming themselves, it could well happen they bump their version > for other reasons, which means p7zip's version numbering would have > to be orthogonal to theirs... AFAIK, p7zip attempts to track 7zip sources closely and merge stuff. But even if it forked, it'd be very unlikely (and counter-productive) to also fork the file format specs. I don't think 7zip maintainers have a problem integrating streaming support if it doesn't break anything (but if you're concerned about that, never hurts to ask..) Please let me know if you add that wrapper script. -- Robert Millan