Subject: Use of FETCH_BEFORE_ARGS breaks ftp download
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 07/19/2006 09:38:56
Hi,
I want to force FTP downloads to use IPv4 so I have FETCH_BEFORE_ARGS setting in
/etc/mk.conf. This seems to be broken now (this has been broken only for few
days I guess so it must be some recent change in pkgsrc/mk):
ROOT www:/usr/pkgsrc/devel/m4> make fetch
=> Required installed package digest>=20010302: digest-20060302 found
===> Checking for vulnerabilities in m4-1.4.5
=> Fetching m4-1.4.5.tar.gz
=> Total size: 596242 bytes
ftp: Unknown port `ftp://ftp.gnu.org/pub/gnu/m4/m4-1.4.5.tar.gz', using port 21
ftp: "-4": No address associated with hostname
ftp>
ROOT www:/usr/pkgsrc/devel/m4> grep -- -4 /etc/mk.conf
FETCH_BEFORE_ARGS="-4"
If I comment out the FETCH_BEFORE_ARGS things work just fine...
Martti