portmaster cannot find package

Doug Barton dougb at FreeBSD.org
Mon May 17 05:49:21 UTC 2010

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.



	... 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/

More information about the freebsd-ports mailing list