From owner-freebsd-ports Tue Jul 2 16: 7:49 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A74A637B400; Tue, 2 Jul 2002 16:07:43 -0700 (PDT) Received: from topperwein.dyndns.org (acs-24-154-28-203.zoominternet.net [24.154.28.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF1F743E09; Tue, 2 Jul 2002 16:07:42 -0700 (PDT) (envelope-from behanna@zbzoom.net) Received: from topperwein (topperwein [192.168.168.10]) by topperwein.dyndns.org (8.12.5/8.12.5) with ESMTP id g62N7gtl014917; Tue, 2 Jul 2002 19:07:42 -0400 (EDT) (envelope-from behanna@zbzoom.net) Date: Tue, 2 Jul 2002 19:07:36 -0400 (EDT) From: Chris BeHanna Reply-To: Chris BeHanna To: ports@freebsd.org Cc: FreeBSD-Stable Subject: Re: pkg_fetch broken on 4.6 stable? In-Reply-To: <20020702122245.M36751@midearth.org> Message-ID: <20020702190508.L13868-100000@topperwein.dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 2 Jul 2002, Stephen L. Palmer wrote: > I sent this to the list about a week ago. The only response so far, was from > someone else also having directory path issues with pkg_fetch. Is this > someting documented somewhere? If so, would someone please send me a pointer > on how to correct this behaviour? > > Stephen L. Palmer > > > ======================================================== > It seems that 'portupgrade -P' won't ever get a package, so it builds from > source every time. > > On investigation, it seems that pkg_fetch is getting the directory path > wrong. > > In the example below, the correct path would have included > 'packages-4-stable', not 'packages-4.6-stable', at least that's how the > directory structure on the ftp sites are. You can fix this by editing /usr/local/etc/pkgtools.conf and inserting the following environment variable setting: ENV['PACKAGES'] ||= '/export/freebsd/packages-4-stable' You'll notice that the default setting (shown in a comment) is messed up in precisely the way you mention. -- Chris BeHanna Software Engineer (Remove "bogus" before responding.) behanna@bogus.zbzoom.net Turning coffee into software since 1990. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message