Re: [Ports] How to find where a port is located?

2008-06-19 Thread The MadDaemon
On Mon, Jun 16, 2008 at 11:45 AM, Oliver Fromme <[EMAIL PROTECTED]> wrote:
> Gilles <[EMAIL PROTECTED]> wrote:
>  > Currently, to find where a software is located under /usr/ports/, I
>  > rune the "find" command. Is there a database that I could query
>  > instead so that it gives out the whole path to that the application?
>
> In addition to the ways that others have suggested, there
> is also this one:
>
> http://www.secnetix.de/tools/porgle/

You can also use the "quicksearch" option:

[EMAIL PROTECTED] [~]# cd /usr/ports/
[EMAIL PROTECTED] [/usr/ports]# make quicksearch name=dsniff
Port:   dsniff-2.3_3
Path:   /usr/ports/security/dsniff
Info:   Various sniffing utilities for penetration testing


-- 
It said "use Linux 2.4 kernel or better" so I installed FreeBSD. Now
everything runs better. Why didn't they just tell me to do that to
begin with?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-19 Thread Gilles
On Mon, 16 Jun 2008 17:45:37 +0200 (CEST), Oliver Fromme
<[EMAIL PROTECTED]> wrote:
>http://www.secnetix.de/tools/porgle/

Thanks guys for the suggestions.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-16 Thread Oliver Fromme
Gilles <[EMAIL PROTECTED]> wrote:
 > Currently, to find where a software is located under /usr/ports/, I
 > rune the "find" command. Is there a database that I could query
 > instead so that it gives out the whole path to that the application?

In addition to the ways that others have suggested, there
is also this one:

http://www.secnetix.de/tools/porgle/

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"Documentation is like sex; when it's good, it's very, very good,
and when it's bad, it's better than nothing."
-- Dick Brandon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Pascal S Clermont

Modulok wrote:

On 6/13/08, Chris Hill <[EMAIL PROTECTED]> wrote:
  

On Fri, 13 Jun 2008, Gilles wrote:



Hello

Currently, to find where a software is located under /usr/ports/, I
rune the "find" command. Is there a database that I could query
instead so that it gives out the whole path to that the application?
  


Have you looked into the whereis(1) command?
-Modulok-

  
there is alot of differents ways to search for a port that you are 
looking for. My first suggestion would be to read this article from the 
freebsd handbook; 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-finding-applications.html 
.
Some people enjoy using some websites to do their searches since they 
value that more information can be used to search.

Here are some of the sites :
http://www.freebsd.org/ports/
http://www.freshports.org/
http://www.freebsdsoftware.org/

These are ones that come to me as I am writing this, they're are most 
likely several other websites that will give you some similar 
information such as these.


I would suggest that you refer to the handbook when you ask yourself 
questions concerning the operating system. The handbook is a great 
reference that I even use quite often myself when I am in doubt on a 
certain subject.


Pascal S. Clermont
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Modulok
On 6/13/08, Chris Hill <[EMAIL PROTECTED]> wrote:
> On Fri, 13 Jun 2008, Gilles wrote:
>
>> Hello
>>
>> Currently, to find where a software is located under /usr/ports/, I
>> rune the "find" command. Is there a database that I could query
>> instead so that it gives out the whole path to that the application?
>

Have you looked into the whereis(1) command?
-Modulok-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Chris Hill

On Fri, 13 Jun 2008, Gilles wrote:


Hello

Currently, to find where a software is located under /usr/ports/, I
rune the "find" command. Is there a database that I could query
instead so that it gives out the whole path to that the application?


I wrote a lame-ass script to do this:

$ more /home/chris/bin/findport
#!/bin/sh
#
# Find a port whose name contains the string supplied as argument
#
prev_dir=`pwd`
cd /usr/ports
#
make search key=$1 | grep Path | grep -v deps | grep -i $1
#
cd $prev_dir

HTH.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Gilles
On Fri, 13 Jun 2008 12:43:13 +0200, Andreas Rudisch <"cyb."@gmx.net>
wrote:
>You can use 'make search name=' or 'make search key='

Thanks, much faster.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Andreas Rudisch
On Fri, 13 Jun 2008 10:51:28 +0200
Gilles <[EMAIL PROTECTED]> wrote:

> Hello
> 
> Currently, to find where a software is located under /usr/ports/, I
> rune the "find" command. Is there a database that I could query
> instead so that it gives out the whole path to that the application?
> 
> Thank you.

You can use 'make search name=' or 'make search key='

For example in /usr/ports type:
  make search name="samba" | grep Path

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpeJOc8gxR6v.pgp
Description: PGP signature


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Vince Hoffman
I use
cd /usr/ports && make search name=portname

It will return extraneous results from time to time.
eg.

[/usr/ports](11:39:22)
[EMAIL PROTECTED] /usr/ports && make search name=lftp
Port:   lftp-3.7.3_1
Path:   /usr/ports/ftp/lftp
Info:   Shell-like command line ftp client
Maint:  [EMAIL PROTECTED]
B-deps: expat-2.0.1 gettext-0.17_1 libiconv-1.11_1
R-deps: expat-2.0.1 gettext-0.17_1 libiconv-1.11_1
WWW:http://lftp.yar.ru/

Port:   fusefs-curlftpfs-0.9.1_1
Path:   /usr/ports/sysutils/fusefs-curlftpfs
Info:   Mount remote ftp directories
Maint:  [EMAIL PROTECTED]
B-deps: curl-7.18.0 fusefs-libs-2.7.2_1 gettext-0.17_1 glib-2.16.3_1
libiconv-1.11_1 pcre-7.7 perl-5.8.8_1 pkg-config-0.23_1 python25-2.5.2_2
R-deps: curl-7.18.0 fusefs-kmod-0.3.9.p1.20080208_1 fusefs-libs-2.7.2_1
gamin-0.1.9_2 gettext-0.17_1 gio-fam-backend-2.16.3_1 glib-2.16.3_1
libiconv-1.11_1 pcre-7.7 perl-5.8.8_1 pkg-config-0.23_1 python25-2.5.2_2
WWW:http://curlftpfs.sourceforge.net/


Vince


Catalin Miclaus wrote:
> Gilles skrev:
>> Hello
>>
>> Currently, to find where a software is located under /usr/ports/, I
>> rune the "find" command. Is there a database that I could query
>> instead so that it gives out the whole path to that the application?
>>
>> Thank you.
> 
> Try 'whereis portname'.
> 
> 
> 
> 
> 
> Best Regards
> Catalin Miclaus
> Network/Security ISP-Data
> Starcomms Ltd.
> 
> 
> 
> Or
> 
> http://www.se.freebsd.org/ports/index.html
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Gilles
On Fri, 13 Jun 2008 11:39:10 +0200, Gilles <[EMAIL PROTECTED]>
wrote:
>Thanks. That seems to be the fastest way:

Actually... no:

# whereis samba
samba: /usr/ports/japanese/samba

# whereis samba3
samba3: /usr/ports/japanese/samba3

# find /usr/ports/ -name "samba*"
[...]
/usr/ports/net/samba3

Why didn't "whereis" find samba3? Do I need to run a command to keep
it up-to-date with "csup ports-supfile?

Thank you.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Gilles
On Fri, 13 Jun 2008 10:17:02 +0100, "Catalin Miclaus"
<[EMAIL PROTECTED]> wrote:
>Try 'whereis portname'.

Thanks. That seems to be the fastest way:

# whereis lftp
lftp: /usr/local/bin/lftp /usr/local/man/man1/lftp.1.gz
/usr/ports/ftp/lftp

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: [Ports] How to find where a port is located?

2008-06-13 Thread Catalin Miclaus
Gilles skrev:
> Hello
> 
> Currently, to find where a software is located under /usr/ports/, I
> rune the "find" command. Is there a database that I could query
> instead so that it gives out the whole path to that the application?
> 
> Thank you.

Try 'whereis portname'.





Best Regards
Catalin Miclaus
Network/Security ISP-Data
Starcomms Ltd.



Or

http://www.se.freebsd.org/ports/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Leslie Jensen



Gilles skrev:

Hello

Currently, to find where a software is located under /usr/ports/, I
rune the "find" command. Is there a database that I could query
instead so that it gives out the whole path to that the application?

Thank you.




Or

http://www.se.freebsd.org/ports/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [Ports] How to find where a port is located?

2008-06-13 Thread Wojciech Puchar



Hello

Currently, to find where a software is located under /usr/ports/, I
rune the "find" command. Is there a database that I could query
instead so that it gives out the whole path to that the application?



grep in /usr/ports/INDEX

or

ls -ld /usr/ports/*/packagename
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[Ports] How to find where a port is located?

2008-06-13 Thread Gilles
Hello

Currently, to find where a software is located under /usr/ports/, I
rune the "find" command. Is there a database that I could query
instead so that it gives out the whole path to that the application?

Thank you.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"