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:[EMAIL > PROTECTED]/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:[EMAIL > PROTECTED]/pub/FreeBSD/ports/distfiles/MailScanner-4.25-14.tar.gz > fetch: ftp://user:[EMAIL > PROTECTED]/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:[EMAIL > PROTECTED]/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:[EMAIL PROTECTED]/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."
signature.asc
Description: This is a digitally signed message part