Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2006 17:02:11 +0100
From:      Kirill Ponomarew <krion@voodoo.bawue.com>
To:        Sebastian Stach <sebsta@t-online.de>, freebsd-stable@freebsd.org
Subject:   Re: problem with pkg_version
Message-ID:  <20060212160211.GA85794@voodoo.bawue.com>
In-Reply-To: <20060212145150.GB40333@sebsta.dialin.t-online.de>
References:  <20060212145150.GB40333@sebsta.dialin.t-online.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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