Date: Tue, 23 Nov 2010 08:08:09 +0100 From: Torfinn Ingolfsen <tingox@gmail.com> To: FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: Forcing upgrade to latest AVAILABLE version of open office? Message-ID: <AANLkTimvqD5CQ3oqnBBAfzrt4KvHv-W2cthCCHLX90kN@mail.gmail.com> In-Reply-To: <882948.37837.qm@web110315.mail.gq1.yahoo.com> References: <882948.37837.qm@web110315.mail.gq1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 23, 2010 at 1:56 AM, Mark Terribile <materribile@yahoo.com>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 openoffice.org . > 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 > openoffice.org-3 and 1.320 for openoffice.org-2 . > > I have issued a number of portupgrade commands, but portupgrade doesn't > even seem to know of the existance of anything later, much less > openoffice.org-3-RC: > > q5: toor:ports# portupgade -fN openoffice.org-3-RC > ** No such package or port: openoffice.org-3-RC > > 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 freebsd.org, so that I can figure the mess out for myself and > not bother the experts who have more work to do? > The Handbook, obviously: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html In section 4.5.1 two methods for getting ports are described: csup and portsnap. 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. HTH -- Regards, Torfinn Ingolfsen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimvqD5CQ3oqnBBAfzrt4KvHv-W2cthCCHLX90kN>