[ HEADS UP ] Ports unstable for the next 10 days
Garrett Cooper
yanefbsd at gmail.com
Mon Mar 29 09:53:49 UTC 2010
On Mon, Mar 29, 2010 at 2:27 AM, Aristedes Maniatis <ari at ish.com.au> wrote:
> On 29/03/10 7:04 PM, Doug Barton wrote:
>>>>
>>>> portmaster -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:
>
> [-R] -r name/glob of port in /var/db/pkg
>
>
> When I try your suggestion I get this:
>
> # portmaster -r png-
>
> ===>>> No valid installed port, or port directory given
> ===>>> Try portmaster --help
>
>
> And this doesn't work either:
>
> # portmaster -r graphics/png
>
> ===>>> No valid installed port, or port directory given
> ===>>> 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
More information about the freebsd-stable
mailing list