Date: Wed, 11 Apr 2012 20:59:30 +0930 From: Wayne Sierke <ws@au.dyndns.ws> To: Julien Laffaye <jlaffaye@freebsd.org> Cc: Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-ports@freebsd.org, Greg Byshenk <freebsd@byshenk.net> Subject: Re: pkg version -Xs foo shows all ports, not just foo Message-ID: <1334143770.1385.13.camel@predator-ii.buffyverse> In-Reply-To: <4F852DA1.4020900@freebsd.org> References: <20120410195541.GA62066@mech-cluster241.men.bris.ac.uk> <20120410204737.GA1737@portland1.byshenk.net> <1334124961.1385.7.camel@predator-ii.buffyverse> <4F852DA1.4020900@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2012-04-11 at 09:07 +0200, Julien Laffaye wrote: > On 4/11/2012 8:16 AM, Wayne Sierke wrote: > > On Tue, 2012-04-10 at 13:47 -0700, Greg Byshenk wrote: > >> On Tue, Apr 10, 2012 at 08:55:41PM +0100, Anton Shterenlikht wrote: > >>> BUZI> pkg version -Xs Image > >>> CalculiX-2.4 = > >>> GraphicsMagick-1.1.15_3,1 = > >>> ImageMagick-6.7.5.10 = > >>> ORBit2-2.14.19 = > >>> OpenEXR-1.6.1_3 = > >>> R-2.14.2 = > >>> ^C > >>> BUZI> > >>> > >>> The man page seems to indicate that the > >>> above options should only show ImageMagick. > >>> > >>> What am I doing wrong? > > Is it a transcription error or are you really using a command named > > "pkg" rather than pkg_version(1)? > I think he is using pkgng. Ah, ok. I hadn't looked at pkgng yet. Looks like those options aren't implemented yet: mika# pwd ; grep -En -C1 "VERSION_STRING|VERSION_EREGEX" ./pkg/version.c /usr/ports/ports-mgmt/pkg/work/pkg-1.0-beta10 208- case 'X': 209: opt |= VERSION_EREGEX; 210- break; 211- case 's': 212: opt |= VERSION_STRING; 213- break; mika# grep -Ewr "VERSION_STRING|VERSION_EREGEX" . ./pkg/pkgcli.h:#define VERSION_EREGEX (1<<6) ./pkg/pkgcli.h:#define VERSION_STRING (1<<7) ./pkg/version.c: opt |= VERSION_EREGEX; ./pkg/version.c: opt |= VERSION_STRING; mika#
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1334143770.1385.13.camel>