From owner-freebsd-questions@FreeBSD.ORG Sun Nov 8 03:19:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB56D1065700 for ; Sun, 8 Nov 2009 03:19:53 +0000 (UTC) (envelope-from sektie@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 9DBD18FC08 for ; Sun, 8 Nov 2009 03:19:53 +0000 (UTC) Received: by pwj15 with SMTP id 15so1435555pwj.3 for ; Sat, 07 Nov 2009 19:19:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=LxARrZDVShBOM7CHl0K4syQpUHreL2STYMQUo4pYsZ8=; b=H7Dze65vatZxwwy8uuCqY8d+Z8sbgy2h5iWFpxd1YEln6O+ZGYjWOgEEE+adZWVkrq wT7INxUzLondJ5U4hY1FaSKoHsuw9LUpbAzOplzmwxhncw92D4W+jCoApsMWyBmXFFky XeR1ziN7orvEaxdeQ91TACVK1T7S31OaKzCuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=RrHqyGi6YOlgKCOvJQNVoQGhNJoao21SgrO//oWvhGa3SC391kkl7czpg1WtZqGYzm MLUpuRe/TaWTHM+6xm407Paj4uGlBh1gPgGqdXfSKapu0I7DwmKvQGhqqsxmyZ3lRGCt N54QDaFZsRrW3gKQVF+Xn5hs9GZZ623Ir0+sQ= MIME-Version: 1.0 Sender: sektie@gmail.com Received: by 10.142.3.12 with SMTP id 12mr635274wfc.331.1257650393084; Sat, 07 Nov 2009 19:19:53 -0800 (PST) In-Reply-To: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> References: <9d972bed0911060931k4ee2a5b7n9d62db23beeb6367@mail.gmail.com> Date: Sat, 7 Nov 2009 19:19:52 -0800 X-Google-Sender-Auth: 05bfb3c5682b7dc3 Message-ID: From: Randi Harper To: Roger Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Help understanding basic FreeBSD concepts (ports, updates, jails) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Nov 2009 03:19:53 -0000 On Fri, Nov 6, 2009 at 9:31 AM, Roger wrote: > > My second concerned is the ports. In the file "ports-supfile" there is > one option, "*default release=cvs tag=.". > I believe this specifies which cvs tag to use when pulling files from > the ports. At one point I had "*default release=cvs > tag=RELEASE_7_2_0". > When I pulled the ports using the "RELEASE_7_2_0" tag and tried to > build "portsupgrade" the installation failed because the ruby version > that was going to be installed I believe had a security problem. (I > love the fact that I was stopped from installing software that is > KNOWN to be vulnerable). > I figured that maybe I needed to get the latest version. So I went > ahead and changed the cvs tag to "." (which I believe means the head > version). > Don't bother with any of that. Just use portsnap. It's also part of base, and was written by the same person that wrote freebsd-update. It's lovely and much faster, although some people may argue with me on that. I updated the ports and then tried the installation again, this time > the installation went further but failed again due to the fact that > my libtool (I can't remember the exact name) was older than what the > installation required. So that threw me off. > I believe that libtool is part of the base system and not the ports, > correct? > So that made me think that maybe because of using the latest version > of the ports I can build certain ports if my base is not > concurrent (in terms of what the ports requires and what my system > offers) with the port system. > So my question is this, if my FreeBSD release is 7.2-RELEASE-p4 which > tag should I set for the ports system? > Should I put the tag "RELEASE_7_2_0" and then wait for a security fix > of the particular port (ruby) and then proceed to install? > What is the recommended approach if your aim is to have your system up > to date and stable? > For your system, use freebsd-update. For your ports tree, use portsnap. For installed ports, use portupgrade or portmanager. I'm more fond of portmanager, but it seems portupgrade has many more users. Both portupgrade and portmanager are available in the ports tree, not base. -- randi