From owner-freebsd-ports@FreeBSD.ORG Sat Mar 26 17:00:26 2011 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 1700D1065676; Sat, 26 Mar 2011 17:00:26 +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 7D3728FC0A; Sat, 26 Mar 2011 17:00:25 +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 p2QH0Llk090224 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 26 Mar 2011 17:00:22 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p2QH0Llk090224 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1301158822; bh=kQjKS36eO7D/W7depqmda/UdbhotCLxflxuOSbDp6Xc=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D8E1B9D.8050402@infracaninophile.co.uk>|Date:=20S at,=2026=20Mar=202011=2017:00:13=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.15)=20Gecko/20110303=20Thunderbird/3.1.9|MIME-Version:=201 .0|To:=20Doug=20Barton=20|CC:=20"Ron=20(Lists)" =20,=20freebsd-ports@freebsd.org|Subject:=20Re :=20Updating=20multiple=20ports=20with=20portmaster|References:=20 <61994f32f152b25487eaf153546ab59f@flabnapple.net>=20<4D8E18AF.6010 906@FreeBSD.org>|In-Reply-To:=20<4D8E18AF.6010906@FreeBSD.org>|X-E nigmail-Version:=201.1.1|OpenPGP:=20id=3D60AE908C|Content-Type:=20 multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"app lication/pgp-signature"=3B=0D=0A=20boundary=3D"------------enig4D2 7C0436FF9147E022AA20E"; b=M9kdIStBCiuMm8wbO6w8DJP0LI0/CAN57V021i7lHnrfWPlmHXJDRk1N8Lj4bt1Nf ObaIxKI7WrPlDAKFb/VpdU/pky+qEWMWkSXeEDXWT9dyXsmZgmaQATdiN2bIvIZQH8 A2YIUTDf6Ipc99bRF+iUroeNjcJo+vMwq+yusDe0= Message-ID: <4D8E1B9D.8050402@infracaninophile.co.uk> Date: Sat, 26 Mar 2011 17:00:13 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Doug Barton References: <61994f32f152b25487eaf153546ab59f@flabnapple.net> <4D8E18AF.6010906@FreeBSD.org> In-Reply-To: <4D8E18AF.6010906@FreeBSD.org> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4D27C0436FF9147E022AA20E" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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: "Ron \(Lists\)" , freebsd-ports@freebsd.org Subject: Re: Updating multiple ports with portmaster 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, 26 Mar 2011 17:00:26 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4D27C0436FF9147E022AA20E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 26/03/2011 16:47, Doug Barton wrote: > On 3/26/2011 8:22 AM, Ron (Lists) wrote: >> I have a questions about the use of portmaster when upgrading multiple= >> ports and how to correctly use wildcards. >> >> For example, I have this from pkg_version: >> >> p5-Digest-SHA-5.50 < needs updating (port has 5.61) >> p5-IO-Socket-SSL-1.38 < needs updating (port has 1.39) >> p5-IPC-Cmd-0.68 < needs updating (port has 0.70) >> p5-Math-BigInt-1.99 < needs updating (port has 1.993) >> p5-Module-Build-0.3607_1 < needs updating (port has 0.3624) >> p5-Module-CoreList-2.42 < needs updating (port has 2.45) >> p5-Module-Load-Conditional-0.38 < needs updating (port has 0.44) >> p5-Params-Check-0.26_1 < needs updating (port has 0.28) >> p5-Test-Harness-3.22 < needs updating (port has 3.23) >> p5-URI-1.56 < needs updating (port has 1.58) >> >> When I was using portupgrade, I could type... >> >> portupgrade p5-* >> >> ...and it would upgrade only the ports that needed upgrading and >> dependancies. But if I try... >> >> portmaster p5-* >> >> =3D=3D=3D>>> The following actions will be taken if you choose to proc= eed: >> Re-install p5-Digest-SHA1-2.13 >> Re-install p5-IO-Compress-2.033 >> Re-install p5-Compress-Raw-Bzip2-2.033 >> Re-install p5-Compress-Raw-Zlib-2.033 >> Re-install p5-HTML-Tagset-3.20 >> Re-install p5-HTML-Parser-3.68 >> Upgrade p5-Digest-SHA-5.50 to p5-Digest-SHA-5.61 >> Re-install p5-Mail-SpamAssassin-3.3.1_3 >> Re-install p5-Archive-Tar-1.76 >> Re-install p5-IO-Zlib-1.10_1 >> Re-install p5-IO-String-1.08 >> Re-install p5-Package-Constants-0.02 >> Re-install p5-Encode-Detect-1.01 >> Re-install p5-ExtUtils-CBuilder-0.2802_1,1 >> Upgrade p5-IPC-Cmd-0.68 to p5-IPC-Cmd-0.70 >> Re-install p5-Locale-Maketext-Simple-0.21 >> Upgrade p5-Module-Load-Conditional-0.38 to >> p5-Module-Load-Conditional-0.44 >> Upgrade p5-Module-CoreList-2.42 to p5-Module-CoreList-2.45 >> Re-install p5-Module-Load-0.18 >> Upgrade p5-Params-Check-0.26_1 to p5-Params-Check-0.28 >> Re-install p5-version-0.88 >> Upgrade p5-Module-Build-0.3607_1 to p5-Module-Build-0.3624 >> Install devel/p5-CPAN-Meta-YAML >> Re-install p5-ExtUtils-Install-1.54 >> Re-install p5-ExtUtils-ParseXS-2.22.03 >> Install devel/p5-Module-Metadata >> Install devel/p5-Perl-OSType >> Upgrade p5-Test-Harness-3.22 to p5-Test-Harness-3.23 >> Re-install p5-Net-DNS-0.66_1 >> Re-install p5-Net-IP-1.25_2 >> Re-install p5-IO-Socket-INET6-2.65 >> Re-install p5-Socket6-0.23 >> Re-install p5-Digest-HMAC-1.02 >> Re-install p5-Mail-Tools-2.07 >> Re-install p5-TimeDate-1.20,1 >> Re-install p5-NetAddr-IP-4.038 >> Upgrade p5-IO-Socket-SSL-1.38 to p5-IO-Socket-SSL-1.39 >> Re-install p5-Net-SSLeay-1.36 >> Re-install p5-libwww-5.837 >> Upgrade p5-URI-1.56 to p5-URI-1.58 >> Re-install p5-YAML-Tiny-1.44 >> Re-install p5-Time-HiRes-1.9721,1 >> Re-install p5-Locale-gettext-1.05_3 >> Upgrade p5-Math-BigInt-1.99 to p5-Math-BigInt-1.993 >> Re-install p5-ExtUtils-MakeMaker-6.56 >> Re-install p5-MIME-Base64-3.13 >> Re-install p5-YAML-0.72 >> Re-install p5-Error-0.17016 >> Re-install p5-Net-DNS-Resolver-Programmable-0.003 >> Re-install p5-Mail-SPF-2.007 >> >> ...it wants to upgrade and reinstall every port that I have installed >> that begins with p5-* >> >> Is there a way to get portmaster to behave like portupgrade did and on= ly >> upgrade what needs to be upgraded? >=20 > Not directly. You could mimic the behavior using the -i option with > either 'portmaster -a' or 'portmaster p5-'. And to answer your likely > followup question, I have no plans to add such an option. :) >=20 pkg_version -vIL=3D | awk '/^p5-/ { print $1 }' | xargs portmaster 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 --------------enig4D27C0436FF9147E022AA20E 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/ iEYEARECAAYFAk2OG6UACgkQ8Mjk52CukIz3IACePWzBfwQuT/7Vc0+U3yUx6E9V vusAn2uOHd2+zMjCGMxJ6ZcU4NQmOG44 =obu9 -----END PGP SIGNATURE----- --------------enig4D27C0436FF9147E022AA20E--