From owner-freebsd-questions@FreeBSD.ORG Mon Feb 2 05:03:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEA5D16A4CE for ; Mon, 2 Feb 2004 05:03:23 -0800 (PST) Received: from mail.8ball.co.za (8ball.co.za [192.96.48.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BC3C43D46 for ; Mon, 2 Feb 2004 05:02:57 -0800 (PST) (envelope-from nelis@8ball.co.za) Received: (qmail 7704 invoked by uid 89); 2 Feb 2004 13:02:43 -0000 Received: from unknown (HELO ?192.168.10.3?) (192.168.10.3) by 192.168.10.1 with SMTP; 2 Feb 2004 13:02:43 -0000 From: Nelis Lamprecht To: Ion-Mihai Tetcu In-Reply-To: <20040202142553.7b82b58b@it.buh.cameradicommercio.ro> References: <20040202142553.7b82b58b@it.buh.cameradicommercio.ro> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-nl4ZHD4eZEPtoqiRGrgC" Message-Id: <1075726959.274.168.camel@enigma.8ball.co.za> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 02 Feb 2004 15:02:40 +0200 cc: freebsd-questions@freebsd.org Subject: Re: fetch fails, ftp works question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nelis@8ball.co.za List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2004 13:03:23 -0000 --=-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--