From owner-freebsd-questions@FreeBSD.ORG Sun Sep 26 17:13:49 2010 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 6D5651065679 for ; Sun, 26 Sep 2010 17:13:49 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id E46208FC16 for ; Sun, 26 Sep 2010 17:13:48 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o8QHDjY1090869 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 26 Sep 2010 18:13:45 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C9F7F40.60407@infracaninophile.co.uk> Date: Sun, 26 Sep 2010 18:13:36 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Dick Hoogendijk References: <4C9F74DD.6000009@nagual.nl> In-Reply-To: <4C9F74DD.6000009@nagual.nl> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE8AC7BCD119119C371199CEB" X-Virus-Scanned: clamav-milter 0.96.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_40,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: FreeBSD Subject: Re: port upgrading 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, 26 Sep 2010 17:13:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE8AC7BCD119119C371199CEB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 26/09/2010 17:29:17, Dick Hoogendijk wrote: > I'm in doubt. I wanted to bring my ports collection uptodate, so I ran= > "csup -L 2 /root/ports-supfile" and that updated my ports collection. A= t > least, I hope so. >=20 > Then I started googling and found that cvsup is not recommended. Better= > tot use portsnap (???) > And also portupgrade was a no go. I should be using portmaster. >=20 > Woh, I'm confused now. > Question: what is best used to have an up2date ports collection nowaday= s? > This system is FreeBSD8/amd64. csup(1) works fine and there's no good reasons not to use it. portsnap(1) also works fine, and there aren't any obvious problems that mean you shouldn't use it either. There is one somewhat subtle difference, which won't affect most people. 'portsnap extract' will blow away any custom files (Makefile.local, extra patches etc.) that you've added to the ports tree. csup(1) leaves them put. Obviously, either of the two methods will revert any modifications you've made to any files already known to be part of the ports tree. Once you've updated the tree, then you've got several choices for updating your installed ports. portupgrade(1) and portmaster(1) are the leading candidates there: portupgrade probably still has the edge on features, although development seems to be stuttering a bit recently. portmaster wins on simplicity -- it's a shell script with no other dependencies -- but still packs an awful lot of good stuff into approximately 3600 lines. Doug B is actively working on it and very responsive to bug reports etc. Really either of those two will serve you well, as will various others I haven't mentioned. Try them out, see which is most to your taste. There isn't any one 'best' solution that everyone is enjoined to use. That's not the BSD way: "Tools, not policy." There are several solutions that you can use, and it's up to you to select which one you prefer. Sure, people having strong opinions on the subject have posted their thoughts on various fora, but don't be misled: those are individual opinions, and not an official position. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigE8AC7BCD119119C371199CEB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyff0kACgkQ8Mjk52CukIwYvgCfTmMx7IAobX6tbQgxH9wh7ngK xsUAnj9SeRSYN0dySbGNt7mWCDztcpIu =7tK1 -----END PGP SIGNATURE----- --------------enigE8AC7BCD119119C371199CEB--