From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 14:35:52 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 E8EB1106568B for ; Wed, 7 Oct 2009 14:35:52 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id 6BF1D8FC15 for ; Wed, 7 Oct 2009 14:35:52 +0000 (UTC) Received: by fxm22 with SMTP id 22so4820186fxm.36 for ; Wed, 07 Oct 2009 07:35:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=FghYj0a1yshLXJpu+f+OlwJjazpuBVKTJVI9j3fpQdQ=; b=dOYShBPtxlfoWHVh4iz0D51Xl3qih2TdxK4i0eRzhbAKX7+HQUVZNLpJLPke0Qqoe+ jBXwjAWbmb3ecline/3QMD905DREhFNKZV3t49NoKXHFA1YIBE75T1OZE4nrsev7uGVm euazUCsiwd8IOTmVBM+7sA8GoTQXvL9QUfiwI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=szGv9g+6INqc8IYD77mARbuTS2JvsYc2+zCgNoRh9y6uLViDKFiUTdeU7zssm3AAUx Lzff6RZ+VcUAj7HNUh8TdRA6usuglWJD8w0x3bUWPEyDiGlhQKK29fwf50hAbUXS5wX4 UBrAvjyNT+44DNIjOwMSoCvDhu/PYjDOJlecI= MIME-Version: 1.0 Received: by 10.239.139.132 with SMTP id t4mr244780hbt.88.1254926151016; Wed, 07 Oct 2009 07:35:51 -0700 (PDT) In-Reply-To: <20091007123732.GA84700@torus.slightlystrange.org> References: <4ACBC82C.3030502@toyon.com> <200910070051.n970pajx012236@banyan.cs.ait.ac.th> <20091007123732.GA84700@torus.slightlystrange.org> Date: Wed, 7 Oct 2009 15:35:50 +0100 Message-ID: From: krad To: Daniel Bye , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Updating the ports collection 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: Wed, 07 Oct 2009 14:35:53 -0000 2009/10/7 Daniel Bye > On Tue, Oct 06, 2009 at 09:07:07PM -0400, Chris Hill wrote: > > On Wed, 7 Oct 2009, Olivier Nicole wrote: > > > > >Hi Chris, > > > > > >>The FreeBSD handbook section 4.5.1 describes several methods for > > >>obtaining the ports collection including CVSup, Portsnap, and > sysinstall. > > >> > > >>Section 4.5.1 also describes how to update the ports collection, but > > >>only for the CVSup and Portsnap methods. > > >> > > >>Q1: How do I update the ports collection after using sysinstall to > > >>obtain it? > > > > > >I cannot speak for postsnap, but for cvsup: > > > > csup works (almost?) the same as cvsup, and is in the base system > > nowadays. I used to install cvsup, but now I only install fastest_cvsup; > > it's just a utility to find the fastest server for you at the moment. > > > > >Some may correct me, but I use a file that contains: > > > > > >*default tag=. > > >*default host=cvsup2.jp.FreeBSD.org > > >*default base=/var/db > > >*default prefix=/usr > > >*default release=cvs > > >*default delete use-rel-suffix > > >*default compress > > >ports-all > > > > I do the same, and run csup as: > > > > csup -g -h `/usr/local/bin/fastest_cvsup -Q -c us` /etc/supfile.ports > > You can set > > SUPHOST= `/usr/local/bin/fastest_cvsup -Q -c us` > SUPFLAGS= -g > > in /etc/make.conf and save yourself some typing. > > Dan > you > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ > the above way is good but this is the simplest as it requires no additional programs or editing csup -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile I use the following as its a bit faster csup -h cvsup.uk.FreeBSD.org /usr/share/examples/cvsup/ports-supfile you can obviously insert your own country code