Subject: Re: where is tcpserver???
To: Tomasz Luchowski <zuntum@netbsd.org>
From: Alistair Crooks <agc@wasabisystems.com>
List: netbsd-help
Date: 07/08/2002 10:21:24
On Mon, Jul 08, 2002 at 10:04:29AM +0200, Tomasz Luchowski wrote:
> On Mon, Jul 08, 2002 at 12:56:21AM +0000, Geoff Wing wrote:
> > Sam Carleton <scarleton@miltonstreet.com> typed:
> > : Ok, so I am not a UNIX guru... I need to install tcpserver for qmail,
> > : but I don't seem to be able to find it in the pkgsrc.  I have a feeling
> > : that it is under a different name.  Can someone help me out on where it
> > : is located?
> > 
> > net/ucspi-tcp
> 
> What I usually do is to grep the PLISTs, it's really fast and convenient:
> 
> zuntum@zunpc:~> grep tcpserver /usr/pkgsrc/*/*/PLIST
> /usr/pkgsrc/audio/arts/PLIST:include/arts/tcpserver.h
> /usr/pkgsrc/net/tcpillust/PLIST:share/doc/tcpillust/sample/tcpserver.log
> /usr/pkgsrc/net/ucspi-tcp/PLIST:bin/tcpserver
> /usr/pkgsrc/net/ucspi-tcp/PLIST:man/man1/tcpserver.1
> /usr/pkgsrc/x11/kdelibs2/PLIST:include/arts/tcpserver.h
> zuntum@zunpc:~> 

or you could use pkglocate:

[9:19:23] agc@sys1 /usr/pkgsrc 7 > ./pkglocate -f tcpserver
audio/arts/PLIST:include/arts/tcpserver.h
net/tcpillust/PLIST:share/doc/tcpillust/sample/tcpserver.log
net/ucspi-tcp/PLIST:bin/tcpserver
net/ucspi-tcp/PLIST:man/man1/tcpserver.1
x11/kdelibs2/PLIST:include/arts/tcpserver.h
[9:20:31] agc@sys1 /usr/pkgsrc 8 >

Regards,
Alistair