problem with pkg_version
Kirill Ponomarew
krion at voodoo.bawue.com
Sun Feb 12 08:02:12 PST 2006
On Sun, Feb 12, 2006 at 03:51:50PM +0100, Sebastian Stach wrote:
> When using pkg_version with the -o argument to print the origin
> instead of the package name it doesn't work correct.
>
> # pkg_version -o
> (output stripped)
> x11/xorg =
> x11/xorg =
> x11/xorg =
> (output stripped)
>
> The output should be:
>
> # pkg_version -o
> (output stripped)
> x11/xorg =
> x11/xorg-clients =
> x11/xorg-documents =
> (output stripped)
>
> Looking at the code in "/usr/src/usr.sbin/pkg_install/version/perform.c"
> in function "show_version" pkg_version removes everything after the last
> "-" from the origin.
[snip]
Yeah, it seems I broke it in rev. 1.13, sorry for that, the fix will
be committed.
-Kirill
More information about the freebsd-stable
mailing list