Re: fetch is strange

2000-07-11 Thread NAKAJI Hiroyuki

>   Dag-Erling Smorgrav <[EMAIL PROTECTED]> wrote:

> It seems that fetch(1) can not fetch any file. In this case, the
> downloaded(?) file size is zero.

DES> Make sure you have revision 1.2 (or newer) of src/usr.bin/fetch/fetch.c:

I cvsupped 20 minutes ago and remade libfetch and fetch. It works
good. Thanks!
-- 
NAKAJI Hiroyuki


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: fetch is strange

2000-07-08 Thread Dag-Erling Smorgrav

NAKAJI Hiroyuki <[EMAIL PROTECTED]> writes:
> It seems that fetch(1) can not fetch any file. In this case, the
> downloaded(?) file size is zero.

Make sure you have revision 1.2 (or newer) of src/usr.bin/fetch/fetch.c:


revision 1.2
date: 2000/06/29 08:39:29;  author: des;  state: Exp;  lines: +4 -2
Don't forget to delete the output file if the request fails.
Don't delete the output file if -r was specified.


DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: fetch is strange

2000-07-05 Thread NAKAJI Hiroyuki

Thank you, Sheldon Hearn.

This mail is also sent to the auther.

I faced same problem with ports-current, just cvsuped about 20 minutes
ago. For example,

$ su
# cd /usr/ports/x11/xscreensaver
# make install -DALWAYS_BUILD_DEPENDS
  [snip]
===>   Mesa-3.2 depends on executable: bzip2 - found
   (but building it anyway)
===>Verifying install for bzip2 in /usr/ports/archivers/bzip2
>> bzip2-1.0.1.tar.gz doesn't seem to exist on this system.
>> Attempting to fetch from ftp://ftp.tutrp.tut.ac.jp/pub/FreeBSD/ports/distfiles/.
fetch: warning: the -b option is deprecated
fetch: bzip2-1.0.1.tar.gz: size not known
Receiving bzip2-1.0.1.tar.gz
-1 bytes transferred in 0.0 seconds (-10645.44 Bps)
===>  Extracting for bzip2-1.0.1
>> Checksum mismatch for bzip2-1.0.1.tar.gz.
Make sure the Makefile and md5 file (/export/ports/archivers/bzip2/files/md5)
are up to date.  If you are absolutely sure you want to override this
"check, type make NO_CHECKSUM=yes [other args]".
*** Error code 1

It seems that fetch(1) can not fetch any file. In this case, the
downloaded(?) file size is zero.

$ ls -l /usr/ports/distfiles/bzip2-1.0.1.tar.gz 
-rw-r--r--  1 nakaji  operator  0   7/ 6 13:06  /usr/ports/distfiles/bzip2-1.0.1.tar.gz

My system is current:

$ uname -a
FreeBSD nakaji.tutrp.tut.ac.jp 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue
Jul  4 12:15:52 JST 2000
[EMAIL PROTECTED]:/home2/obj/usr/src/sys/NAKAJI  i386
-- 
NAKAJI Hiroyuki


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: fetch is strange

2000-07-05 Thread Sheldon Hearn



On 05 Jul 2000 12:46:11 +0900, NAKAJI Hiroyuki wrote:

> The problem is that the report of '/usr/bin/fetch' is strange. For
> example,
> 
> $ fetch http://www.samba.gr.jp/project/samba-ja/index.html.en
> Receiving index.html.en
> -1 bytes transferred in 0.4 seconds (-2.28 Bps)

Please be sure to report this directly to the new fetch(1)'s author,
<[EMAIL PROTECTED]>.

Ciao,
Sheldon.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message