simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Dino Vliet
Hi peeps,

I'm almost ashamed to ask this BUT I really don't know
how to find the packages which depend upon a
particular port.

In this case, a portversion -l "<" showed mysql-client
in that list. I can't recall having installed it by
myself I wanted to know what the packages are which
depend on it. Can somebody show me this
command..and if it will be a RTFM answer, please
tell me which FM:-)

Thanks


 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Matthew Seaman
Dino Vliet wrote:

> I'm almost ashamed to ask this BUT I really don't know
> how to find the packages which depend upon a
> particular port.

pkg_info -R port-name-\*

(-r does the inverse, packages on which port-name depends)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Micah

Matthew Seaman wrote:

Dino Vliet wrote:


I'm almost ashamed to ask this BUT I really don't know
how to find the packages which depend upon a
particular port.


pkg_info -R port-name-\*

(-r does the inverse, packages on which port-name depends)

Cheers,

Matthew



Also, if you're into gui things, gpkgdep is pretty handy as it will show 
you the whole dependency tree rather than just the first level dependencies.


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


Re: simple question...how to show packages which depend upon a particular port

2006-11-29 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Dino Vliet thusly...
>
> I'm almost ashamed to ask this BUT I really don't know how to find
> the packages which depend upon a particular port.
>
> In this case, a portversion -l "<" showed mysql-client in that
> list. I can't recall having installed it by myself

Did you install mysql-server with default options?  Actually, in
mysql51-server port, there is no option to disable install of the
client portion.


> I wanted to know what the packages are which depend on it. Can
> somebody show me this command..and if it will be a RTFM
> answer, please tell me which FM:-)

Here are some of the ways not requiring connection to Internet I
know ...

  - running "make -V {LIB,RUN,BUILD}_DEPENDS" in a port directory
also lists the appropriate type of dependency list, so would
running "make pretty-print-{run,build}-depends-list";

  - pkg_info(1) w/ -[rR] options lists the dependencies for given
ports|packages;

  - ${PORTSDIR:-/usr/ports}/INDEX* lists dependencies for each port
(which may need post processing to be human readable);

  - sysutils/pkg_tree port creates text tree of the dependencies;


As for FM, see ...

  - pkg_info(1) & pkg_tree(7)  man pages;

  - ${PORTSDIR:-/usr/ports}/Mk/bsd.port.mk


  - Parv

-- 

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