Date: Mon, 02 Feb 2004 15:02:40 +0200 From: Nelis Lamprecht <nelis@8ball.co.za> To: Ion-Mihai Tetcu <itetcu@apropo.ro> Cc: freebsd-questions@freebsd.org Subject: Re: fetch fails, ftp works question Message-ID: <1075726959.274.168.camel@enigma.8ball.co.za> In-Reply-To: <20040202142553.7b82b58b@it.buh.cameradicommercio.ro> References: <20040202142553.7b82b58b@it.buh.cameradicommercio.ro>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Mon, 2004-02-02 at 14:25, Ion-Mihai Tetcu wrote: > Hi, > > I have the feeling this is in some FAQ, but I don't understand it. > > I have a ftp server on which I have the distfiles and I'm using it as > MASTER_SITE_OVERRIDE=ftp://user:pass@host/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR+DIST_SUBDIR/} > > It usually work ok on make fetch. But sometimes it doesn't, e.g. > fetch ftp://user:pass@host/pub/FreeBSD/ports/distfiles/MailScanner-4.25-14.tar.gz > fetch: ftp://user:pass@host/pub/FreeBSD/ports/distfiles/MailScanner-4.25-14.tar.gz: File unavailable (e.g., file not found, no access) > > However the following works: > ftp ftp://user:pass@host/pub/FreeBSD/ports/distfiles/MailScanner-4.25-14.tar.gz > > Can somebody enlighten me ? Try using the FTP_LOGIN and FTP_PASSWORD variables. If all else fails you can try the FETCH_CMD variable in /etc/make.conf and change it to use ftp, wget etc. Oh, not sure if that was a typo above but it should be: MASTER_SITE_OVERRIDE?= ftp://user:pass@host/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ Regards, -- Nelis Lamprecht PGP: http://www.8ball.co.za/pgp/nelis.key "Unix IS user friendly.. It's just selective about who its friends are." [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAHkpvQfIMKiRMCrERAu6BAJsGws2OrOQXcXxRsxi9dSjT5j/DsgCfRAQZ /k5JiA3CZ0+fsXL6lL3vm4g= =ElLl -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1075726959.274.168.camel>
