From owner-freebsd-ports@FreeBSD.ORG Sat Apr 5 21:33:33 2003 Return-Path: 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 D985937B401 for ; Sat, 5 Apr 2003 21:33:33 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2817643F85 for ; Sat, 5 Apr 2003 21:33:33 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id ED4E766D16; Sat, 5 Apr 2003 21:33:32 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id D70931017; Sat, 5 Apr 2003 21:33:32 -0800 (PST) Date: Sat, 5 Apr 2003 21:33:32 -0800 From: Kris Kennaway To: "Bjoern A. Zeeb" Message-ID: <20030406053332.GA49653@rot13.obsecurity.org> References: <20030323224757.GA27897@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i cc: freebsd-ports@FreeBSD.ORG cc: Kris Kennaway Subject: Re: bento tbz files decompressed on the fly when downloading ? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2003 05:33:34 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 04, 2003 at 07:34:33PM +0000, Bjoern A. Zeeb wrote: > On Sun, 23 Mar 2003, Kris Kennaway wrote: >=20 > Hi, >=20 > > On Sun, Mar 23, 2003 at 05:38:25PM +0000, Bjoern A. Zeeb wrote: > > > > > and not 'bzip2 compressed data, block size =3D ...' > > > > > > using fetch and for test also wget, not a browser ... > > > > > > Is there some transparent decompression on bento ? > > > > Oops..yes :) I'll have to try and exclude the package directories. >=20 > Could you solve this ? I took a look at this but couldn't work out how to solve it. apache on bento is using mod_bunzip2 with the following config: # Added kk 010203 LoadModule bunzip2_module libexec/apache/mod_bunzip2.so AddModule mod_bunzip2.c AddHandler send-bunzip2 .html .log RewriteEngine on RewriteCond /usr/local/www/data/%{REQUEST_FILENAME} !-f RewriteRule ^(.+)\.log$ $1.log.bz2 It appears there is an implicit "decompress all .bz2 and .tbz files" that needs to be selectively disabled for files in the package trees. I don't know how to do this. Kris --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+j7wsWry0BWjoQKURAu18AKDpUDMK1dtkfzQasdX/bCtXo8Tb3gCfTXWY d5h7uZb2l6aqs+CvDiJAxoA= =ojbn -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--