bento tbz files decompressed on the fly when downloading ?

Kris Kennaway kris at obsecurity.org
Sat Apr 5 21:33:34 PST 2003


On Fri, Apr 04, 2003 at 07:34:33PM +0000, Bjoern A. Zeeb wrote:
> On Sun, 23 Mar 2003, Kris Kennaway wrote:
> 
> Hi,
> 
> > On Sun, Mar 23, 2003 at 05:38:25PM +0000, Bjoern A. Zeeb wrote:
> >
> > > and not 'bzip2 compressed data, block size = ...'
> > >
> > > 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.
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030405/85ca674a/attachment.bin


More information about the freebsd-ports mailing list