From owner-freebsd-stable Sun Jan 13 21: 1: 4 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail1.zer0.org (klapaucius.zer0.org [204.152.186.45]) by hub.freebsd.org (Postfix) with ESMTP id 783C937B404 for ; Sun, 13 Jan 2002 21:01:00 -0800 (PST) Received: by mail1.zer0.org (Postfix, from userid 1001) id 1FD9C239A05; Sun, 13 Jan 2002 21:01:00 -0800 (PST) Date: Sun, 13 Jan 2002 21:01:00 -0800 From: Gregory Sutter To: Gregory Bond Cc: stable@freebsd.org Subject: Re: portupgrade and package paths Message-ID: <20020114050100.GI5234@klapaucius.zer0.org> References: <200201140227.NAA07734@lightning.itga.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QwZB9vYiNIzNXIj" Content-Disposition: inline In-Reply-To: <200201140227.NAA07734@lightning.itga.com.au> User-Agent: Mutt/1.3.25i Organization: Zer0 X-Purpose: For great justice! Mail-Copies-To: poster Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --+QwZB9vYiNIzNXIj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2002-01-14 13:27 +1100, Gregory Bond wrote: > > I have a system where uname -r says "4.5-PRERELEASE". > So "portupgrade -PP" is insisting on looking in=20 >=20 > ftp://ftp2.au.FreeBSD.org/pub/FreeBSD/ports/i386/packages-4.5-prerelease= /All/ >=20 > Which of course doesn't exist. I need it to use "/packages-4.5-release/A= ll" > for this ftp mirror, but i cannot work out the correct magic. >=20 > I've tried > export PKG_PATH=3D"/pub/FreeBSD/ports/i386/packages-4.5-release/" > but that is just ignored. >=20 > I tried > export PKG_PATH=3D"$PACKAGEROOT/pub/FreeBSD/ports/i386/packages-4.5-rele= ase/" >=20 > but that complains that "ftp is not a valid path" then "/ftp2.au.FreeBSD.= org/ > pub/Fre... is not a valid path". (i.e. is splitting on : not space as > specified in the pkg_fetch man page). =20 You should be able to use the PACKAGESITE variable to override the contents of PKG_PATH and PACKAGEROOT.=20 export PACKAGESITE=3D"ftp://ftp2.au.FreeBSD.org/pub/FreeBSD/ports/i386/pack= ages-4.4-stable/All/" Greg --=20 Gregory S. Sutter "How do I read this file?" mailto:gsutter@zer0.org "You uudecode it." http://www.zer0.org/~gsutter/ "I I I decode it?" hkp://wwwkeys.pgp.net/0x845DFEDD --+QwZB9vYiNIzNXIj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD8DBQE8QmYLIBUx1YRd/t0RAmIeAJ9G9qzEHqKjFlQxjrvIJNG6PtTL7wCdH+2j SOTv/pb6tolJE78ZRcKdj3o= =+Uge -----END PGP SIGNATURE----- --+QwZB9vYiNIzNXIj-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message