From owner-ctm-users@FreeBSD.ORG Wed Aug 10 05:48:22 2011 Return-Path: Delivered-To: ctm-users@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D987A1065675 for ; Wed, 10 Aug 2011 05:48:22 +0000 (UTC) (envelope-from peter.jeremy@alcatel-lucent.com) Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by mx1.freebsd.org (Postfix) with ESMTP id A00B98FC22 for ; Wed, 10 Aug 2011 05:48:22 +0000 (UTC) Received: from usnavsmail4.ndc.alcatel-lucent.com (usnavsmail4.ndc.alcatel-lucent.com [135.3.39.12]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id p7A5Wb1d023340 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 10 Aug 2011 00:32:37 -0500 (CDT) Received: from unixmail.au.alcatel-lucent.com (unixmail.au.alcatel-lucent.com [139.188.42.130]) by usnavsmail4.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id p7A5WWMs015634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 10 Aug 2011 00:32:36 -0500 Received: from insmb.au.alcatel-lucent.com (insmb.au.alcatel-lucent.com [139.188.42.184]) by unixmail.au.alcatel-lucent.com (8.13.8+Sun/8.13.3) with ESMTP id p7A5WWEM021566 for ; Wed, 10 Aug 2011 15:32:32 +1000 (EST) Received: from pjdesk.au.alcatel-lucent.com (pjdesk.au.alcatel-lucent.com [139.188.2.2]) by insmb.au.alcatel-lucent.com (8.13.8+Sun/8.13.8) with ESMTP id p7A5Owbt028676; Wed, 10 Aug 2011 15:24:59 +1000 (EST) X-Bogosity: Ham, spamicity=0.000000 Received: from pjdesk.au.alcatel-lucent.com (localhost [127.0.0.1]) by pjdesk.au.alcatel-lucent.com (8.14.4/8.14.4) with ESMTP id p7A5Oj9x047351; Wed, 10 Aug 2011 15:24:45 +1000 (EST) (envelope-from peter.jeremy@alcatel-lucent.com) Received: (from pjeremy@localhost) by pjdesk.au.alcatel-lucent.com (8.14.4/8.14.4/Submit) id p7A5OipY047350; Wed, 10 Aug 2011 15:24:44 +1000 (EST) (envelope-from peter.jeremy@alcatel-lucent.com) Date: Wed, 10 Aug 2011 15:24:44 +1000 From: Peter Jeremy To: Stephen Montgomery-Smith Message-ID: <20110810052444.GM6142@pjdesk.au.alcatel-lucent.com> References: <4E41F59F.9020201@missouri.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zS7rBR6csb6tI2e1" Content-Disposition: inline In-Reply-To: <4E41F59F.9020201@missouri.edu> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37 X-Scanned-By: MIMEDefang 2.64 on 135.3.39.12 Cc: "ctm-users@freebsd.org" Subject: Re: Use of xz instead of gzip X-BeenThere: ctm-users@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CTM User discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2011 05:48:23 -0000 --zS7rBR6csb6tI2e1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011-Aug-10 11:06:07 +0800, Stephen Montgomery-Smith wrote: >It seems that xz has much better compression than gzip. How do people=20 >feel about moving CTM to use xz instead of gzip? Seems like a reasonable idea except for the 7.x issues. Have you considered bzip2? >First, the attached patch needs to be applied to /usr/src. (Any=20 >committers willing to commit it? It needs to MFC'ed rather quickly if I= =20 >start using xz.) You're unlikely to find any here apart from yourself. >Secondly, if your version of FreeBSD is old (like 7.x or older) you need= =20 >to install the archivers/xz port. If you don't, when you attempt to=20 >apply ctm to a "xz" compressed file, it replies with a rather helpful=20 >message "xz not found." I can see this presenting a problem on 7.x (and earlier, but they are no longer supported) because the base system shouldn't have dependencies on ports. The options would seem to be: 1) Stick with gzip for 7-src and earlier (as well as ports until 7.x goes EOL) 2) Make ctm a port (so it can have a dependency on xz) 3) If dispensation is granted, ensure the dependency is documented in UPDATING and ctm.1 when it is MFC'd to 7.x and before. And, of course, the commits containing the patch need to be distributed before the format is changed (which creates issues for the xEmpty files because they need to work on -RELEASE systems). --=20 Peter Jeremy --zS7rBR6csb6tI2e1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk5CFhwACgkQ/opHv/APuId96ACgpGiTajuZ2Jfo/mM0N6WC8kWt MCsAnjzZRQhNcT1zBE2sj//V35NPqEsk =ulq0 -----END PGP SIGNATURE----- --zS7rBR6csb6tI2e1--