Re: ports/102499: lftp asc file checksum mismatch

2007-02-03 Thread Roman Kurakin
Kris Kennaway wrote: On Thu, Jan 25, 2007 at 01:48:02AM +0300, Roman Kurakin wrote: that lftp gets a corrupted distfile when fetching through a squid proxy. This is because in the default configuration squid fetches all plain text files in ftp ascii mode, which does CR/LF translation and

Re: ports/102499: lftp asc file checksum mismatch

2007-01-25 Thread Thomas-Martin Seck
* Kris Kennaway [EMAIL PROTECTED]: The other option would be for the squid port to install a fixed mime.conf. I'd love to, having been bitten by this myself (but only when fetching files from a FreeBSD ftpd IIRC). If there is consensus that the port should be fixed this way, hand me a patch

Re: ports/102499: lftp asc file checksum mismatch

2007-01-24 Thread Roman Kurakin
Kris Kennaway wrote: On Thu, Jan 25, 2007 at 12:55:09AM +0300, Roman Kurakin wrote: I am crossposting this to both bugs@ and ports@ so all who will join this discussion keep this in mind if you'll reply. Pav Lucistnik wrote: So, what's the status on this one? My opinion is that the

Re: ports/102499: lftp asc file checksum mismatch

2007-01-24 Thread Kris Kennaway
On Thu, Jan 25, 2007 at 01:48:02AM +0300, Roman Kurakin wrote: that lftp gets a corrupted distfile when fetching through a squid proxy. This is because in the default configuration squid fetches all plain text files in ftp ascii mode, which does CR/LF translation and botches up the checksum.

Re: ports/102499: lftp asc file checksum mismatch

2007-01-24 Thread Pav Lucistnik
My point of view that we should not blame the squid, this wouldn't We have to blame squid. We can't blame lftp port. Also, what's the use of these .asc files anyway? We could just lose their fetching from the port. They do nothing. My idea was to tech a fetch to request a binary mode for all

Re: ports/102499: lftp asc file checksum mismatch

2007-01-24 Thread Kris Kennaway
On Wed, Jan 24, 2007 at 11:58:13PM +0100, Pav Lucistnik wrote: My point of view that we should not blame the squid, this wouldn't We have to blame squid. We can't blame lftp port. Also, what's the use of these .asc files anyway? We could just lose their fetching from the port. They do

Re: ports/102499: lftp asc file checksum mismatch

2007-01-24 Thread Peter Jeremy
On Wed, 2007-Jan-24 18:04:57 -0500, Kris Kennaway wrote: IIRC it is impossible to switch this off in squid (this is the only thing they was wrong). It can be corrected by editing squid's mime.conf. ... The other option would be for the squid port to install a fixed mime.conf. Note that this