Re: Finding dependents

2022-12-23 Thread Bill Cole

On 2022-12-23 at 07:49:09 UTC-0500 (Fri, 23 Dec 2022 13:49:09 +0100)
Gerben Wierda via macports-users 
is rumored to have said:

Ik keep struggling when I try to find out dependencies once in a 
while.


Suppose I have this installed:

  postfix @3.7.2_0+dovecot_sasl+pcre+smtputf8+tls (active)

How do I find out the port dependencies with the port command such 
that port tells me my postfix depends on port:pcre?



# port rdeps postfix @3.7.2_0+dovecot_sasl+pcre+smtputf8+tls
The following ports are dependencies of postfix 
@3.7.3_0+dovecot_sasl+pcre+smtputf8+tls:

  pcre
bzip2
libedit
  ncurses
zlib
  xz
gettext
  libiconv
gperf
  libtextstyle
  gettext-runtime
  gettext-tools-libs
  icu
  openssl
openssl3


OR, if you want something that doesn't require you to know the variants:

# port rdeps `port -q installed postfix|cut -d'(' -f1`
The following ports are dependencies of postfix 
@3.7.3_0+dovecot_sasl+pcre+smtputf8+tls:

  pcre
bzip2
libedit
  ncurses
zlib
  xz
gettext
  libiconv
gperf
  libtextstyle
  gettext-runtime
  gettext-tools-libs
  icu
  openssl
openssl3





--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire


Re: Finding dependents

2022-12-23 Thread Joshua Root
Postfix *with no variants* has no dependencies. That's what you will be 
shown if you run simply 'port deps postfix', because of course you have 
not specified any variants (and no variants are on by default).


I think what's wanted here is:

port deps postfix and installed

Or if you're more interested in what is installed that depends on pcre:

port dependents pcre

- Josh

chilli.namesake wrote:


postfix has no dependencies btw

>/On Dec 23, 2022, at 08:36, chilli.namesake at gmail.com 
 wrote: />//>/ />/port rdeps postfix />//>/shows it's dependencies. Probably want to pipe into more. />//>/But to see what depends on postfix, it's a little different. />//>/port echo depends:postfix />//>>>/On Dec 23, 2022, at 07:49, Gerben Wierda via macports-users 
> wrote: />>>//>>/Ik keep struggling when I try to find out dependencies once in a while. />>//>>/Suppose I have this installed: />>//>>/postfix @3.7.2_0+dovecot_sasl+pcre+smtputf8+tls (active) />>//>>/How do I find out the port dependencies with the port command such 
that port tells me my postfix depends on port:pcre?/




Re: Finding dependents

2022-12-23 Thread chilli.names...@gmail.com
postfix has no dependencies btw

> On Dec 23, 2022, at 08:36, chilli.names...@gmail.com wrote:
> 
> 
> port rdeps postfix
> 
> shows it's dependencies. Probably want to pipe into more.
> 
> But to see what depends on postfix, it's a little different.
> 
> port echo depends:postfix
> 
>>> On Dec 23, 2022, at 07:49, Gerben Wierda via macports-users 
>>>  wrote:
>>> 
>> Ik keep struggling when I try to find out dependencies once in a while.
>> 
>> Suppose I have this installed:
>> 
>>   postfix @3.7.2_0+dovecot_sasl+pcre+smtputf8+tls (active)
>> 
>> How do I find out the port dependencies with the port command such that port 
>> tells me my postfix depends on port:pcre?
>> 
>> Gerben Wierda (LinkedIn)
>> R IT Strategy (main site)
>> Book: Chess and the Art of Enterprise Architecture
>> Book: Mastering ArchiMate
>> 


Re: Finding dependents

2022-12-23 Thread chilli.names...@gmail.com
port rdeps postfix

shows it's dependencies. Probably want to pipe into more.

But to see what depends on postfix, it's a little different.

port echo depends:postfix

> On Dec 23, 2022, at 07:49, Gerben Wierda via macports-users 
>  wrote:
> Ik keep struggling when I try to find out dependencies once in a while.
> 
> Suppose I have this installed:
> 
>   postfix @3.7.2_0+dovecot_sasl+pcre+smtputf8+tls (active)
> 
> How do I find out the port dependencies with the port command such that port 
> tells me my postfix depends on port:pcre?
> 
> Gerben Wierda (LinkedIn)
> R IT Strategy (main site)
> Book: Chess and the Art of Enterprise Architecture
> Book: Mastering ArchiMate


Finding dependents

2022-12-23 Thread Gerben Wierda via macports-users
Ik keep struggling when I try to find out dependencies once in a while.

Suppose I have this installed:

  postfix @3.7.2_0+dovecot_sasl+pcre+smtputf8+tls (active)

How do I find out the port dependencies with the port command such that port 
tells me my postfix depends on port:pcre?

Gerben Wierda (LinkedIn )
R IT Strategy  (main site)
Book: Chess and the Art of Enterprise Architecture 
Book: Mastering ArchiMate