Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2010 02:53:47 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Aristedes Maniatis <ari@ish.com.au>
Cc:        stable@freebsd.org, Doug Barton <dougb@freebsd.org>, questions@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: [ HEADS UP ] Ports unstable for the next 10 days
Message-ID:  <7d6fde3d1003290253n65902d29i39cdd30a2f991a46@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 29, 2010 at 2:27 AM, Aristedes Maniatis <ari@ish.com.au> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d1003290253n65902d29i39cdd30a2f991a46>