Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 1999 10:01:45 -0800 (PST)
From:      PA@FreeBSD.ee.ntu.edu.tw
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/10588: FETCH_CMD = fetch -``A''?
Message-ID:  <19990314180145.90FC414F54@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         10588
>Category:       ports
>Synopsis:       FETCH_CMD = fetch -``A''?
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 14 10:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Ming-I Hsieh
>Release:        FreeBSD 3.1-RELEASE
>Organization:
WLAB, CSIE, NCU
>Environment:
FreeBSD PA 3.1-STABLE FreeBSD 3.1-STABLE #2: Mon Mar 15 00:57:05 CST 1999     root@PA:/usr/src/sys/compile/vanish  i386
>Description:
In /usr/ports/Mk/bsd.port.mk, there is a section:
------------------------------------------------------
.if exists(/usr/bin/fetch)
.if ${OSVERSION} < 300000
FETCH_CMD?=             /usr/bin/fetch
.else
FETCH_CMD?=             /usr/bin/fetch -A
.endif
#FETCH_BEFORE_ARGS+=    $${CKSIZE:+-S $$CKSIZE}
.else
FETCH_CMD?=             /usr/bin/ftp
.endif
--------------------------------------------------------
but in FreeBSD 3.1-RELEASE man page(man fetch)
-----------------------------------------------------------------------
     fetch [-MPablmnpqrtv] [-S size] [-T timeout] [-o file] URL [...]
     fetch [-MPRlmnpqrv] [-S size] [-o file] [-c dir] -f file -h host
-----------------------------------------------------------------------
There is only "fetch -a", No "fetch -A". I think it may be a misprint.
It is important! Beause it will cause all port occur error when fetch.
>How-To-Repeat:
WEB-SENDPR
>Fix:
--- bsd.port.mk.orig    Mon Mar 15 01:57:47 1999
+++ bsd.port.mk Mon Mar 15 01:57:57 1999
@@ -656,7 +656,7 @@
 .if ${OSVERSION} < 300000
 FETCH_CMD?=            /usr/bin/fetch
 .else
-FETCH_CMD?=            /usr/bin/fetch -A
+FETCH_CMD?=            /usr/bin/fetch -a
 .endif
 #FETCH_BEFORE_ARGS+=   $${CKSIZE:+-S $$CKSIZE}
 .else


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990314180145.90FC414F54>