Forcing upgrade to latest AVAILABLE version of open office?

Torfinn Ingolfsen tingox at
Tue Nov 23 07:08:12 UTC 2010

On Tue, Nov 23, 2010 at 1:56 AM, Mark Terribile <materribile at>wrote:

> Hi,
> I'm sorry to bother everyone here, but either I'm a cretin or the ports
> management commands are ... non-obvious.  Or worse.
> Here's what I need: a working, installable version of .
> The ports system on my FreeBSD 7.1 (which I need to keep stable for a few
> months) has only been willing to download a version that has security
> problems and will not build.  The makefile version is 1.324 for
> and 1.320 for .
> I have issued a number of portupgrade commands, but portupgrade doesn't
> even seem to know of the existance of anything later, much less
> q5: toor:ports# portupgade -fN
> ** No such package or port:
Yes, because that is not the _name_ (or name and version) of the port.
I believe portupgrade has options for dealing with the directory name, but
that is not what you are looking for.
Here is one way to find a given port in the ports tree on your machine:
cd /usr/ports
make search name=openoffice

Which will find all versions of  that name. You'll probably want to pipe the
output to more or less.
make a note of the names returned: that's what you feed portupgrade. It will
work with or without the version.

First question: What do I do to make this system give me the latest
> version of open office, or at least a version that will compile?

1. Update your ports tree.
2. run portupgrade / portmaster to upgrade the ports in question.

> Short of reading through every bit of source for the ports management
> system, is there any documentation explaining where the databases are on
> the local system and how they are (supposed to be) updated from the
> masters on, so that I can figure the mess out for myself and
> not bother the experts who have more work to do?

The Handbook, obviously:
In section 4.5.1 two methods for getting ports are described: csup and
It doesn't spell it out: but these two ways is also how you update the ports
tree on your machine to the latest available.

Torfinn Ingolfsen

More information about the freebsd-ports mailing list