Re: which port installed what other port

2019-01-21 Thread tech-lists

On Mon, Jan 21, 2019 at 09:35:20AM -0700, Alan Somers wrote:

Try "pkg info -r ".  And to go the other direction, use "pkg
info -d ".
-Alan



OK thank you, I'll try that
--
J.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: which port installed what other port

2019-01-21 Thread Guido Falsi
On 21/01/19 17:26, tech-lists wrote:
> Hi,
> 
> Is there a command (or a port) I can use which, when fed an installed
> port name, can tell me what installed it?
> 
> I don't mean libraries. I mean the actual port name.
> 

Not sure what you're looking for anyway pkg has such functionality for
run time dependencies:

pkg info -d '*name*'

shows packages on which any package matching '*name*' depends.

You also have pkg info -r '*name*' which shows all packages requiring a
specific package.

This works only for run time dependencies (libraries and other), not for
build time dependencies, which are not registered in the pkg database.

Such information is not saved anywhere and is registered only in the
port Makefiles.

Check pkg-info(8) for further reference.

Hope this helps.

-- 
Guido Falsi 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: which port installed what other port

2019-01-21 Thread Alan Somers
Try "pkg info -r ".  And to go the other direction, use "pkg
info -d ".
-Alan

On Mon, Jan 21, 2019 at 9:27 AM tech-lists  wrote:
>
> Hi,
>
> Is there a command (or a port) I can use which, when fed an installed
> port name, can tell me what installed it?
>
> I don't mean libraries. I mean the actual port name.
>
> thanks,
> --
> J.
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


which port installed what other port

2019-01-21 Thread tech-lists

Hi,

Is there a command (or a port) I can use which, when fed an installed
port name, can tell me what installed it?

I don't mean libraries. I mean the actual port name.

thanks,
--
J.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"