Re: Tracking dependencies...

2003-01-25 Thread Andy Akins
On Sat, 2003-01-25 at 10:37, Matthew Seaman wrote:
 pkg_info will tell you what you want to know about any currently
 installed port. eg:

Thanksbut, that sort-of worked.

I did the pkg_info -R on apache - it tells me that mod_php requires it.

So then I to pkg_info -R on mod_php...it returns blank information:

==bash-2.05b$ pkg_info -R mod_php4-4.2.3
==Information for mod_php4-4.2.3:
==
==
==bash-2.05b$ pkg_info -R php4-4.2.3
==Information for php4-4.2.3:
==
==
==bash-2.05b$


So I'm still stuck...i have no idea why PHP/mod_php was installed
(although I know know why Apache was installed)

Any other suggestions? I don't want to delete these and then break
something - at the same time I don't like installing software that I'm
not using...

-- 
+--+--+
| Andy Akins   | email: [EMAIL PROTECTED] |
|  | web:   http://www.leonidae.org   |
+--+--+
| public key available at: http://pgp.mit.edu/ as [EMAIL PROTECTED]   |
| GPG-FP: 7531 26C0 EB2D 4A0E DFD2  E250 D4FD FF2C 26EB 457A  |
+-+





signature.asc
Description: This is a digitally signed message part


Re: Tracking dependencies...

2003-01-25 Thread Matthew Seaman
On Sat, Jan 25, 2003 at 10:51:22AM -0600, Andy Akins wrote:
 On Sat, 2003-01-25 at 10:37, Matthew Seaman wrote:
  pkg_info will tell you what you want to know about any currently
  installed port. eg:
 
 Thanksbut, that sort-of worked.
 
 I did the pkg_info -R on apache - it tells me that mod_php requires it.

Yup.  This would also tell you anything that required mod_php4 as well
as the stuff that required apache directly.

 So then I to pkg_info -R on mod_php...it returns blank information:

That means there aren't any ports installed that require mod_php4.  

mod_php4 is quite likely to be at the end of a dependency chain.  If
there aren't any ports installed that depend on it, it's probably been
manually installed because someone had some php pages to serve up.
Take a look at /usr/local/www/data/ and other likely spots to see if
you can find any .php files, and see if you can track back from those
to whoever installed it.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Tracking dependencies...

2003-01-25 Thread Gary W. Swearingen
Andy Akins [EMAIL PROTECTED] writes:

 is there a command
 or commands that would display the packages/ports that require another
 port?

See the manpages for portupgrade (esp. -r,  -R,  -n) and pkg_tree.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message