From owner-freebsd-ports@FreeBSD.ORG Sat Feb 25 19:24:08 2012 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 24D0E1065670 for ; Sat, 25 Feb 2012 19:24:08 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 776858FC14 for ; Sat, 25 Feb 2012 19:24:07 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q1PJO3Z4083005 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 25 Feb 2012 19:24:04 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.3 smtp.infracaninophile.co.uk q1PJO3Z4083005 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1330197844; bh=AUHUDppyOVG/y/2oGZjTFyMFLgOX01zcLqqP2MyA4P8=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=wYiNbpi1dIvMohoN3XuPO07fcMkmvlEXwkclRIfHBMTw7HIzR6VjJ9G5yB+MKZjZl lF1QkyOf3Uby9JYgNb0zFZfqTMIStxG26pmy3EnoCR6EmqFIoQX4e3LCV6xweWVT+F Jw794F5e7dyC43iccr8VurD42wUuc/dYghe64VT0= Message-ID: <4F49354C.1050803@infracaninophile.co.uk> Date: Sat, 25 Feb 2012 19:23:56 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.3.5 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD28925F900D96247C25C81A3" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk 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 19:24:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD28925F900D96247C25C81A3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 -- most of the central stuff is actually fairly close to what portupgrade does. A few differences: portmaster foo/bar will update anything foo/bar depends on, that is out of date (a bit like portupgrade -R), and it will always reinstall the foo/bar port. portmaster -r foo-0.99 will update anything out of date that depends on the foo-0.99 port. 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. One important difference is the -R flag -- in portupgrade, that means 'recurse through what this port depends on,' which doesn't have an equivalent flag in portmaster because that's the default behaviour. Instead, to portmaster, -R means 'restart a previously interrupted session from where you got to before.' If you want portmaster to completely ignore a port, touch /var/db/pkg/foo-0.99/+IGNOREME -- there's no arrays of ports to do special things with as there are in portupgrade.conf portmaster doesn't save old shlibs in /usr/local/lib/compat/pkg by default -- you have to use the -w flag for that, or a setting in portmaster.rc portmaster doesn't need you to be continually running a command like pkgdb as it does a pretty good job of keeping everything consistent just as it goes along. If you get messages about 'malformed dependency' you should try 'portmaster --check-depends' to clear it up. But all you really need to know is that for routine updates, first update your ports tree using portsnap or csup or banging two rocks together or whatever your favourite method is and then just run 'portmaster -a' Answer anything it asks you, and then sit back and watch it go to work. 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 --------------enigD28925F900D96247C25C81A3 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.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9JNVMACgkQ8Mjk52CukIxpnQCghPLozWMTaxq/UOe8DpzXDqRZ T+cAniHsXMqXzN5cm5eWWa4wZp1YKD0+ =JoUs -----END PGP SIGNATURE----- --------------enigD28925F900D96247C25C81A3--