From owner-freebsd-ports@FreeBSD.ORG Tue Nov 23 07:08:11 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 E887F1065670 for ; Tue, 23 Nov 2010 07:08:11 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7319A8FC14 for ; Tue, 23 Nov 2010 07:08:11 +0000 (UTC) Received: by wwd20 with SMTP id 20so8010501wwd.31 for ; Mon, 22 Nov 2010 23:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=dnpTydmrGvUFwloGDMAHbFb+T86enaH5ljY+r9jExSY=; b=fFyfVTJZwf2Wg8ztymsiWOapy8xMxCDg6XMvIlni0mGAOhFkhfnVLzk9sRuhE7foQj G0pZYrnNe6oNanz+9FZpJ+iJZp8lFLPn3OhwH2xAfGh+tUH9cZa9qiGhTRFHzhKxoAlk rj3vC55mdkba6M6iFXUI76y3Xct1PbWEGFqd0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ThcPkPVZxyyf2bVAJfrt9LliP/zeDoh2h0+8/GKRBshTeM4f2ZRbpgAYwvCDVhWbui MRluVITH/GQLlxCb+HmIlb/eoE4VOsP0GVyVu+GiDegH6gecyQZfMxpfWfBJ1fwDUjFB PbkNpoDEV9qilufaVdDrAuAPdUITeJQMHh4UM= MIME-Version: 1.0 Received: by 10.216.21.9 with SMTP id q9mr645422weq.3.1290496090038; Mon, 22 Nov 2010 23:08:10 -0800 (PST) Received: by 10.216.13.210 with HTTP; Mon, 22 Nov 2010 23:08:09 -0800 (PST) In-Reply-To: <882948.37837.qm@web110315.mail.gq1.yahoo.com> References: <882948.37837.qm@web110315.mail.gq1.yahoo.com> Date: Tue, 23 Nov 2010 08:08:09 +0100 Message-ID: From: Torfinn Ingolfsen To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Forcing upgrade to latest AVAILABLE version of open office? 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: Tue, 23 Nov 2010 07:08:12 -0000 On Tue, Nov 23, 2010 at 1:56 AM, Mark Terribile 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