Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2010 13:35:33 +1000
From:      Aristedes Maniatis <ari@ish.com.au>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        Jurgen Weber <jurgen@ish.com.au>, freebsd-ports@freebsd.org
Subject:   Re: portmaster cannot find package
Message-ID:  <4BF0B985.7020707@ish.com.au>
In-Reply-To: <4BE0434D.5070801@FreeBSD.org>
References:  <4BDFF264.9090608@ish.com.au> <4BE0434D.5070801@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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

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.

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.

Ari




-- 
-------------------------->
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A



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