From owner-freebsd-questions@FreeBSD.ORG Mon Mar 29 09:53:49 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01ABB106566B; Mon, 29 Mar 2010 09:53:49 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id B17CE8FC12; Mon, 29 Mar 2010 09:53:48 +0000 (UTC) Received: by pvc7 with SMTP id 7so4654595pvc.13 for ; Mon, 29 Mar 2010 02:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=SqgQ1BikFz6pX2YBjPSf8DvyeZoIM2sKEnoyuP+xxh4=; b=DJQkM5rhtfKdODtcoOj7ZxcfYERQx0sW6vxDgcLhpFgkfAXNVhLEmiZVaN/7qYUo7w 347xkcfXENXKJX3ZsRXvG75+EyUTqE8kydMoN9XwQhrRHuWb5dF8bDQV5iD5kfV9CcCm hZ7EgelCiuMclLcD/4o77s2fjPzPP3Jul0PQM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=OReOuxD9wMj8RPFbXl8j1n4WS5Ax0CZI3a41wybr3wJmNlNYOY8Tdq01znDePB+gj7 GyvYSayUxurGDVE6qVgik2b0vSeZACFC4KWIoCqCnF92FEEVwNQK4cRLvoa7prcxTuDY 48gK4Gw1/l/dyWUPkDtV3whBVXsoD3r2SOLCY= MIME-Version: 1.0 Received: by 10.143.8.14 with HTTP; Mon, 29 Mar 2010 02:53:47 -0700 (PDT) In-Reply-To: <4BB07278.7030600@ish.com.au> References: <20100328163828.1f34e0e7@it.buh.tecnik93.com> <4BAFFCB7.6080501@ish.com.au> <7d6fde3d1003281915s3a81e132q81db6bba1ccff697@mail.gmail.com> <4BB00DA9.3070105@ish.com.au> <7d6fde3d1003281934y2d4cc25cqa90069a1cafc30a@mail.gmail.com> <4BB05F0C.6090807@FreeBSD.org> <4BB07278.7030600@ish.com.au> Date: Mon, 29 Mar 2010 02:53:47 -0700 Received: by 10.143.137.1 with SMTP id p1mr1941289wfn.281.1269856428169; Mon, 29 Mar 2010 02:53:48 -0700 (PDT) Message-ID: <7d6fde3d1003290253n65902d29i39cdd30a2f991a46@mail.gmail.com> From: Garrett Cooper To: Aristedes Maniatis Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: stable@freebsd.org, Doug Barton , questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: [ HEADS UP ] Ports unstable for the next 10 days 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: Mon, 29 Mar 2010 09:53:49 -0000 On Mon, Mar 29, 2010 at 2:27 AM, Aristedes Maniatis wrote: > On 29/03/10 7:04 PM, Doug Barton wrote: >>>> >>>> =A0portmaster -r graphics/png >> >> That won't work, the man page clearly says that it has to be a port >> directory or glob pattern from /var/db/pkg. The "glob pattern" bit of >> that was (unfortunately) broken up till version 2.20, which I just >> committed. > > I'm confused. The manual actually says: > > =A0[-R] -r name/glob of port in /var/db/pkg > > > When I try your suggestion I get this: > > # portmaster -r png- > > =3D=3D=3D>>> No valid installed port, or port directory given > =3D=3D=3D>>> Try portmaster --help > > > And this doesn't work either: > > # portmaster -r graphics/png > > =3D=3D=3D>>> No valid installed port, or port directory given > =3D=3D=3D>>> Try portmaster --help > > > So, as you say the pkg pattern is broken, but also 'port directory' doesn= 't > work either unlike your suggestions above. It would be nice for both pkg = and > directory patterns to be more consistently available, but in the meantime > readers of UPDATING are going to be confused. Besides, when I read `glob' I don't think `regular expression'. A glob is a simplified extension of regular expressions, made available via fnmatch(3) and glob(3) ... The previous method I described works, and works well: portmaster -r 'png-*' Not sure why graphics/png doesn't work though; hrrm... Thanks, -Garrett