Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-09 Thread Michael Erdely
On 6/8/05, STeve Andre' [EMAIL PROTECTED] wrote:
 Something I frequently to is
 
   cd /usr/ports
   make print-index  ~steve/pkg_list
I install ncftp and run: ncftpls $PKG_PATH/  pkgs.txt
Then: grep screen pkgs.txt

-- 
http://erdelynet.com/

Support OpenBSD! http://www.openbsd.org/orders.html



i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread Rick Barter
I've obviously spent too much time away from the console lately.  I am 
looking for a package and can't, for the life of me, remember how to 
find them.


I know there is a search key option to a command, but I can't remember 
which command.  make?  pkg_info?  I've tried searching the archives, 
but I can't seem to find it.  I've looked for 'find package' and 'find 
port'.  I found a package finder at http://ports.puffy.nu/?f=s, but 
this doesn't really help me remember the proper command.


Also, it says ethereal is in /usr/ports/net/ethereal, but I can't find it.

Like the subject says, 'i don't *mean* to be stupid.  it just happens. 
 need a refresher...'


Any help is appreciated,

rvb



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread Hannah Schroeter
Hello!

On Wed, Jun 08, 2005 at 08:19:58AM -0400, Rick Barter wrote:
I've obviously spent too much time away from the console lately.  I am 
looking for a package and can't, for the life of me, remember how to 
find them.

I know there is a search key option to a command, but I can't remember 
which command.  make?  pkg_info?  I've tried searching the archives, 
but I can't seem to find it.  I've looked for 'find package' and 'find 
port'.  I found a package finder at http://ports.puffy.nu/?f=s, but 
this doesn't really help me remember the proper command.

If you have the ports tree installed,
  cd /usr/ports  make search key=foobar

Also, it says ethereal is in /usr/ports/net/ethereal, but I can't find it.

ethereal has been removed due to many many security problems in the
code, IIRC.

[...]

Kind regards,

Hannah.



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread endrju
cd /usr/ports

make search name=package_name
make search key=package_keyword

you can reindex with 'make index'

ick Barter wrote:
 I've obviously spent too much time away from the console lately.  I am
 looking for a package and can't, for the life of me, remember how to
 find them.
 
 I know there is a search key option to a command, but I can't remember
 which command.  make?  pkg_info?  I've tried searching the archives, but
 I can't seem to find it.  I've looked for 'find package' and 'find
 port'.  I found a package finder at http://ports.puffy.nu/?f=s, but this
 doesn't really help me remember the proper command.
 
 Also, it says ethereal is in /usr/ports/net/ethereal, but I can't find it.
 
 Like the subject says, 'i don't *mean* to be stupid.  it just happens.
  need a refresher...'
 
 Any help is appreciated,
 
 rvb



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread Carson Chittom

On Jun 8, 2005, at 7:19 AM, Rick Barter wrote:

I know there is a search key option to a command, but I can't remember 
which command.  make?  pkg_info?  I've tried searching the archives, 
but I can't seem to find it.  I've looked for 'find package' and 'find 
port'.  I found a package finder at http://ports.puffy.nu/?f=s, but 
this doesn't really help me remember the proper command.


cd /usr/ports
make search key=whatever



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread Terry
On Wed, Jun 08, 2005 at 08:19:58AM -0400, Rick Barter wrote:
 I've obviously spent too much time away from the console lately.  I am 
 looking for a package and can't, for the life of me, remember how to 
 find them.
 
 I know there is a search key option to a command, but I can't remember 
 which command.  make?  pkg_info?  I've tried searching the archives, 
 but I can't seem to find it.  I've looked for 'find package' and 'find 
 port'.  I found a package finder at http://ports.puffy.nu/?f=s, but 
 this doesn't really help me remember the proper command.
 
 Also, it says ethereal is in /usr/ports/net/ethereal, but I can't find it.
 
 Like the subject says, 'i don't *mean* to be stupid.  it just happens. 
  need a refresher...'
 
 Any help is appreciated,
 
 rvb

I'm not sure i understand your question completely. pkg_info tells you
what is currently installed.

What version are you running? I have a 3.5 box and a 3.6 box, still
haven't loaded 3.7 yet :(, and the command find /usr/ports/ -type d
-name ethereal finds /usr/ports/net/ethereal on the 3.5 box but not on
the 3.6 box. 

-- 
There's an art to planning your day.
There's a bigger art to sticking with your plan.
  --Terry



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread Timothy Donahue
On Wednesday 08 June 2005 08:59 am, Terry wrote:
 On Wed, Jun 08, 2005 at 08:19:58AM -0400, Rick Barter wrote:
  Also, it says ethereal is in /usr/ports/net/ethereal, but I can't find
[snip]
 What version are you running? I have a 3.5 box and a 3.6 box, still
 haven't loaded 3.7 yet :(, and the command find /usr/ports/ -type d
 -name ethereal finds /usr/ports/net/ethereal on the 3.5 box but not on
 the 3.6 box.

The cvsweb repository is always a good place to try and figure out why 
something doesn't seem to be in the repository anymore.

http://www.openbsd.org/cgi-bin/cvsweb/ports/net/ethereal/Attic/Makefile?hideattic=0

Tim Donahue



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread Gerardo Santana Gómez Garrido
Well, you could have looked at the Makefile inside /usr/ports :)

make search key='something'

On 6/8/05, Rick Barter [EMAIL PROTECTED] wrote:
 I've obviously spent too much time away from the console lately.  I am
 looking for a package and can't, for the life of me, remember how to
 find them.
 
 I know there is a search key option to a command, but I can't remember
 which command.  make?  pkg_info?  I've tried searching the archives,
 but I can't seem to find it.  I've looked for 'find package' and 'find
 port'.  I found a package finder at http://ports.puffy.nu/?f=s, but
 this doesn't really help me remember the proper command.
 
 Also, it says ethereal is in /usr/ports/net/ethereal, but I can't find it.
 
 Like the subject says, 'i don't *mean* to be stupid.  it just happens.
   need a refresher...'
 
 Any help is appreciated,
 
 rvb
 
 


-- 
Gerardo Santana Gsmez Garrido
http://www.openbsd.org.mx/santana/
Entre los individuos, como entre las naciones, el respeto al derecho
ajeno es la paz -Don Benito Juarez



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread Terry
On Wed, Jun 08, 2005 at 09:24:41AM -0400, Timothy Donahue wrote:
 The cvsweb repository is always a good place to try and figure out why 
 something doesn't seem to be in the repository anymore.
 
 http://www.openbsd.org/cgi-bin/cvsweb/ports/net/ethereal/Attic/Makefile?hideattic=0

Oh, duh. Thanks Tim, looks like I needed a wake up call too. ;D

--
Terry



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread alain
make search key=keyword


On Wed, 2005-06-08 at 08:19 -0400, Rick Barter wrote:
 I've obviously spent too much time away from the console lately.  I am 
 looking for a package and can't, for the life of me, remember how to 
 find them.
 
 I know there is a search key option to a command, but I can't remember 
 which command.  make?  pkg_info?  I've tried searching the archives, 
 but I can't seem to find it.  I've looked for 'find package' and 'find 
 port'.  I found a package finder at http://ports.puffy.nu/?f=s, but 
 this doesn't really help me remember the proper command.
 
 Also, it says ethereal is in /usr/ports/net/ethereal, but I can't find it.
 
 Like the subject says, 'i don't *mean* to be stupid.  it just happens. 
   need a refresher...'
 
 Any help is appreciated,
 
 rvb



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread Golliher, Blake
I really like to use this.

   make search key=keyword | grep Path: | grep keyword

That output should tell you exactly where to cd to.


-Blake 

-Original Message-
From: alain [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 08, 2005 5:51 AM
To: Rick Barter
Cc: OpenBSD-Misc
Subject: Re: i don't *mean* to be stupid. it just happens. need a
refresher...

make search key=keyword


On Wed, 2005-06-08 at 08:19 -0400, Rick Barter wrote:
 I've obviously spent too much time away from the console lately.  I am

 looking for a package and can't, for the life of me, remember how to 
 find them.
 
 I know there is a search key option to a command, but I can't remember

 which command.  make?  pkg_info?  I've tried searching the archives, 
 but I can't seem to find it.  I've looked for 'find package' and 'find

 port'.  I found a package finder at http://ports.puffy.nu/?f=s, but 
 this doesn't really help me remember the proper command.
 
 Also, it says ethereal is in /usr/ports/net/ethereal, but I can't find
it.
 
 Like the subject says, 'i don't *mean* to be stupid.  it just happens.

   need a refresher...'
 
 Any help is appreciated,
 
 rvb



Re: i don't *mean* to be stupid. it just happens. need a refresher...

2005-06-08 Thread Stephen Marley
On Wed, Jun 08, 2005 at 08:19:58AM -0400, Rick Barter wrote:
 I've obviously spent too much time away from the console lately.  I am 
 looking for a package and can't, for the life of me, remember how to 
 find them.

For packages, you'll usually find the file 'index.txt' in the
appropriate package directory on your mirror listing the available
packages. Download it and use grep.

It isn't hard to write a wrapper script for pkg_add which downloads this
file (if your local copy is too old), searches for the name or pattern
you specify on the command line, offers you a choice if there's more
than one match (possibly using pkg_info to retrieve a detailed
descripton), and then installs your chosen package from the site you
specify in PKG_PATH with sudo pkg_add. 

In fact, you could probably knock up a patch pkg_add to provide such a
feature itself. If anyone does this, be sure to post it here :)

-- 
[EMAIL PROTECTED]