From nobody@FreeBSD.org  Sat Nov 10 16:44:38 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4724116A419
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Nov 2007 16:44:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 17D8913C4AC
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Nov 2007 16:44:38 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lAAGiDdj042487
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Nov 2007 16:44:13 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id lAAGiCGS042486;
	Sat, 10 Nov 2007 16:44:12 GMT
	(envelope-from nobody)
Message-Id: <200711101644.lAAGiCGS042486@www.freebsd.org>
Date: Sat, 10 Nov 2007 16:44:12 GMT
From: Joo Rocha Braga Filho <goffredo@uol.com.br>
To: freebsd-gnats-submit@FreeBSD.org
Subject: A sugestion to search a port
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117961
>Category:       docs
>Synopsis:       [handbook] [patch] a suggestion for an alternate method to search a port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 10 16:50:01 UTC 2007
>Closed-Date:    Sat Jan 26 09:13:21 UTC 2008
>Last-Modified:  Sat Jan 26 09:20:00 UTC 2008
>Originator:     Joo Rocha Braga Filho
>Release:        
>Organization:
Patary.com
>Environment:
>Description:
Another way to find a port, and I use it a lot.

echo /usr/ports/*/*lsof*

You can add this suggestion to:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-finding-applications.html

"4.3 Finding Your Application"

It is a simple, fast (almost) way to find a port.

Cam be too:

ls /usr/ports/*/*lsof*


Thanks
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Marc Silver <marcs@draenor.org>
To: bug-followup@FreeBSD.org, goffredo@uol.com.br
Cc:  
Subject: Re: docs/117961: A sugestion to search a port
Date: Thu, 3 Jan 2008 12:27:44 +0200

 Hi there,
 
 This method does actually work quite well, and seems to have a
 negligible impact on system resources.  I'm not sure it adds any value
 to the current page, but does work, so that decision can be made by
 someone else...
 
 The only potential problem I see with this is that when it finds
 multiple ports matching the expression it lists them all on a single
 line, which some users may find confusing.
 
 Cheers,
 Marc
 
 -- 
 Light up the Darkness.
   - Bob Marley

From: Chess Griffin <chess@chessgriffin.com>
To: bug-followup@FreeBSD.org, goffredo@uol.com.br
Cc:  
Subject: Re: docs/117961: A sugestion to search a port - PATCH
Date: Fri, 25 Jan 2008 16:28:46 -0500

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --------------enigDD1C89311CA755CA989A8367
 Content-Type: multipart/mixed;
  boundary="------------070103050500070405030705"
 
 This is a multi-part message in MIME format.
 --------------070103050500070405030705
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: quoted-printable
 
 Attached is a possible patch to handbook/ports/chapter.sgml adding the=20
 'echo' technique.
 
 --=20
 Chess Griffin
 GPG Key:  0x0C7558C3
 http://www.chessgriffin.com
 
 --------------070103050500070405030705
 Content-Type: text/plain;
  name="portschapter.diff"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline;
  filename="portschapter.diff"
 
 --- chapter.sgml.old	2008-01-25 11:06:32.000000000 -0500
 +++ chapter.sgml	2008-01-25 11:06:41.000000000 -0500
 @@ -301,6 +301,14 @@
  	directory.</para></listitem>
 =20
        <listitem>
 +	<para>Additionally, one can use a simple 'echo' statement to
 +	  find where a port exists in the ports tree.  For
 +	  example:</para>
 +
 +      <screen>&prompt.root; <userinput>echo /usr/ports/*/*lsof*</userinp=
 ut>
 +/usr/ports/sysutils/lsof</screen></listitem>
 +
 +      <listitem>
  	<para>Yet another way to find a particular port is by using the
          Ports Collection's built-in search mechanism.  To use the
          search feature, you will need to be in the
 
 --------------070103050500070405030705--
 
 --------------enigDD1C89311CA755CA989A8367
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFHmlSQKzd9mAx1WMMRAtisAJ9fnzATPbSpZmNcdL2Ydy+F6aNdUwCfW3Mp
 tGpBRZQX1+kLdLErPjqxs34=
 =FIoY
 -----END PGP SIGNATURE-----
 
 --------------enigDD1C89311CA755CA989A8367--
State-Changed-From-To: open->closed 
State-Changed-By: trhodes 
State-Changed-When: Sat Jan 26 09:12:24 UTC 2008 
State-Changed-Why:  
Patch was a bit mangled, but I merged it into the handbook chapter with 
minor changes.  Thanks for the submission. 


Responsible-Changed-From-To: freebsd-doc->trhodes 
Responsible-Changed-By: trhodes 
Responsible-Changed-When: Sat Jan 26 09:12:24 UTC 2008 
Responsible-Changed-Why:  
Over to me as closer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117961 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/117961: commit references a PR
Date: Sat, 26 Jan 2008 09:12:22 +0000 (UTC)

 trhodes     2008-01-26 09:12:17 UTC
 
   FreeBSD doc repository
 
   Modified files:
     en_US.ISO8859-1/books/handbook/ports chapter.sgml 
   Log:
   Add a quick way to get a list of ports.
   
   PR:             117961
   Submitted by:   Chess Griffin <chess@chessgriffin.com> (original version)
   
   Revision  Changes    Path
   1.270     +9 -0      doc/en_US.ISO8859-1/books/handbook/ports/chapter.sgml
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
