Skip site navigation (1)Skip section navigation (2)
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

--=-nl4ZHD4eZEPtoqiRGrgC
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2004-02-02 at 14:25, Ion-Mihai Tetcu wrote:
> Hi,
>=20
> I have the feeling this is in some FAQ, but I don't understand it.
>=20
> I have a ftp server on which I have the distfiles and I'm using it as
> MASTER_SITE_OVERRIDE=3Dftp://user:pass@host/pub/FreeBSD/ports/distfiles/$=
{DIST_SUBDIR+DIST_SUBDIR/}
>=20
> 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-1=
4.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)
>=20
> However the following works:
> ftp ftp://user:pass@host/pub/FreeBSD/ports/distfiles/MailScanner-4.25-14.=
tar.gz
>=20
> 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?=3D
ftp://user:pass@host/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/

Regards,
--=20
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgp/nelis.key
"Unix IS user friendly.. It's just selective about who its friends are."

--=-nl4ZHD4eZEPtoqiRGrgC
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQBAHkpvQfIMKiRMCrERAu6BAJsGws2OrOQXcXxRsxi9dSjT5j/DsgCfRAQZ
/k5JiA3CZ0+fsXL6lL3vm4g=
=ElLl
-----END PGP SIGNATURE-----

--=-nl4ZHD4eZEPtoqiRGrgC--



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