From owner-freebsd-ports@FreeBSD.ORG Mon May 17 05:49:21 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65C66106566B for ; Mon, 17 May 2010 05:49:21 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id EA90C8FC1B for ; Mon, 17 May 2010 05:49:20 +0000 (UTC) Received: (qmail 8877 invoked by uid 399); 17 May 2010 05:49:20 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 17 May 2010 05:49:20 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BF0D8DE.6020909@FreeBSD.org> Date: Sun, 16 May 2010 22:49:18 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Aristedes Maniatis References: <4BDFF264.9090608@ish.com.au> <4BE0434D.5070801@FreeBSD.org> <4BF0B985.7020707@ish.com.au> In-Reply-To: <4BF0B985.7020707@ish.com.au> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Jurgen Weber , freebsd-ports@freebsd.org Subject: Re: portmaster cannot find package X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2010 05:49:21 -0000 On 05/16/10 20:35, Aristedes Maniatis wrote: > On 5/05/10 1:54 AM, Doug Barton wrote: >> Is there an apache-2.2.13 package in packages/All? And what do the links >> in packages/www and packages/Latest refer to? > > I did some more digging in the script itself. You have some code like this: > > if [ -r "${LOCAL_PACKAGEDIR}/All/${new_port}.tbz" ]; then > local_package=${LOCAL_PACKAGEDIR}/All/${new_port}.tbz > latest_pv=${local_package##*/} > fi > > But I'm guessing the confusion is that we have ..../Latest/apache22.tgz, > but ...../All/apache-worker-2.2.15.tgz No, the Latest doesn't enter into it with --index-only. > That is, the package name is different between Latest and All. This > particular code path is only invoked if you are using INDEX rather than > the ports directories. When running without forcing the index, the > problem does not occur. The original problem you reported had nothing to do with the index, so now I'm confused. :) > I like the INDEX-only approach since we can have deployment servers with > no /usr/ports directories to keep updated. A special build server is > responsible for creating packages and pushing them out to other machines. That was the idea, yes. Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/