From owner-freebsd-ports@FreeBSD.ORG Sat Feb 25 22:06:38 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id A26681065670 for ; Sat, 25 Feb 2012 22:06:38 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from optiplex.dougb.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 70C681513BD; Sat, 25 Feb 2012 22:06:38 +0000 (UTC) Message-ID: <4F495B6E.1090604@FreeBSD.org> Date: Sat, 25 Feb 2012 14:06:38 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120224 Thunderbird/10.0.2 MIME-Version: 1.0 To: Matthew Seaman References: <4F49354C.1050803@infracaninophile.co.uk> In-Reply-To: <4F49354C.1050803@infracaninophile.co.uk> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade -> portmaster Rosetta Stone? 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: Sat, 25 Feb 2012 22:06:38 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 02/25/2012 11:23, Matthew Seaman wrote: > On 25/02/2012 18:21, Royce Williams wrote: >> To ease the transition, does anyone know of a Rosetta Stone >> table, or "portmaster for native speakers of portupgrade"? > > It's not too hard to switch. Read the portmaster(8) man page Yes please. :) And that's, "read," not skim or search. I put a lot of work into explaining the what/why/how, which will help you understand the tool and how to get things done with it. You might not understand everything the first time through, but at least give it a read. > -- most of the central stuff is actually fairly close to what > portupgrade does. > > A few differences: > > portmaster -r foo-0.99 > > will update anything out of date that depends on the foo-0.99 > port. That's not quite right. The -r option will update *everything* that depends on foo. > When you get a shlib-bump, a common idiom is: > > portmaster -fr libfoo-1.0 > > which forces an update of everything that depends on libfoo-1.0. Adding -f there will force the rebuild of everything that foo depends on, and everything that the things that depend on foo depend on. That's almost certainly not what you want to do. :) Otherwise the advice in this thread is good. I'd add one more thing ... READ THE MAN PAGE. :) Doug - -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJPSVtuAAoJEFzGhvEaGryEKrsH/052sg0Z1SF7T2othSURY0HU Pb2yP7sAcNgi8RiUkSwV55ZVmnBCCbG2oYaNHJzIGd4lf9E2WlBtlOLRCuZJjVOk /4cw7MShswo3XZgc1j4gT42KPuadE+YL1T1a0g9jX3OeKoT2ojO5V1EdOc/BLHi6 EulzvjGHAGDHJqQVWPph/ngjZgaxD0gxnXbknp96c+g3WqECCThi/4eBhJR4ACow TygiRkv3b92sYpwTBpsz0kByG/2sqIhIEW9GGJXAkeWJ8jVi1nNWPXI1K1B3wKfN p4eXRTdYrTOQQ1cfLAtWYWhCp7Do2BBny/M1KG0Kx9CznVnFyWKFsLRPQlpBGcU= =7tW9 -----END PGP SIGNATURE-----