Date: Tue, 03 Feb 2004 10:29:45 +0200 From: Vasil Dimov <vd@datamax.bg.dot> To: FreeBSD-gnats-submit@freebsd.org Cc: freebsd-ports@freebsd.org Subject: SIZE in distinfos causes failure with FETCH_CMD=wget Message-ID: <1075796985.964405.22320.nullmailer@sinanica.lg2a.datamax>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Vasil Dimov >Organization: DataMax >Confidential: no >Synopsis: SIZE in distinfos causes failure with FETCH_CMD=wget >Severity: non-critical >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 5.2-RELEASE i386 >Environment: System: FreeBSD sinanica.lg2a.datamax 5.2-RELEASE FreeBSD 5.2-RELEASE #1: Tue Jan 20 10:22:51 EET 2004 root@sinanica.lg2a.datamax:/usr/obj/usr/src/sys/SINANICA i386 >Description: As I see there is a new feature in ports - SIZE in distinfo files. (/usr/ports/CHANGES 20040129) Existence of the SIZE line causes `-S bytes' to be passed to the fetch command (according to FETCH_CMD). As it appears wget does not support this feature. sinanica:/usr/ports/devel/gettext# cat distinfo MD5 (gettext-0.13.1.tar.gz) = b3477289185e7781527345c14a4565de SIZE (gettext-0.13.1.tar.gz) = 6458256 sinanica:/usr/ports/devel/gettext# make FETCH_CMD=wget fetch >> gettext-0.13.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from http://kutelo1.lg2a.datamax/pub/FreeBSD/ports/distfiles//. wget: unknown option -- Usage: wget [OPTION]... [URL]... Try `wget --help' for more options. sinanica:/usr/ports/devel/gettext# make FETCH_CMD=echo fetch >> gettext-0.13.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. >> Attempting to fetch from http://kutelo1.lg2a.datamax/pub/FreeBSD/ports/distfiles//. -S 6458256 http://kutelo1.lg2a.datamax/pub/FreeBSD/ports/distfiles//gettext-0.13.1.tar.gz sinanica:/usr/ports/devel/gettext# >How-To-Repeat: cd /usr/ports/devel/gettext make FETCH_CMD=wget fetch >Fix: Workarounds: 1. Remove SIZE lines from distinfo file 2. Do not use FETCH_CMD=wget. Heh. Do not use FETCH_CMD at all.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1075796985.964405.22320.nullmailer>