Understaning rleaves, rdepof

Richard L. Hamilton rlhamil at smart.net
Sat Jan 29 13:31:23 UTC 2022


You're using it wrong. Try for example

port installed rdepends:xorg-libx11

Note the colon (no spaces) between depends and the port name. Same for depends, depof, rdepof, and others; see the port man page for details.

> On Jan 29, 2022, at 07:20, Gerben Wierda via macports-users <macports-users at lists.macports.org> wrote:
> 
>> On 29 Jan 2022, at 11:45, Gerben Wierda via macports-users <macports-users at lists.macports.org <mailto:macports-users at lists.macports.org>> wrote:
>> 
>> I was cleaning up MacPorts on one system prior to an OS upgrade, and I noticed
>> 
>> root at hermione LaunchDaemons # port list rleaves      
>> root at hermione LaunchDaemons # port list rdepof xorg-libX11
>> xorg-libX11                    @1.7.2          x11/xorg-libX11
>> 
>> Now, as I understand it rleaves are the ports that are in your landscape that have nothing that depends on it. Accoriding to port there are no such ports. So, the port xorg-libX11 should have some sort of a dependency. But all my attempts to find it come up empty.
>> 
>> Cleaning up MacPorts remains a mystery to me. 
> 
> Adding to my confusion:
> 
> albus:MacPortsDev sysbh$ port installed depof dovecot
> The following ports are currently installed:
>   dovecot @2.3.17_0+apns+solr (active)
> albus:MacPortsDev sysbh$ port installed rdepof dovecot
> The following ports are currently installed:
>   dovecot @2.3.17_0+apns+solr (active)
> albus:MacPortsDev sysbh$ port installed rdepends dovecot
> The following ports are currently installed:
>   dovecot @2.3.17_0+apns+solr (active)
> albus:MacPortsDev sysbh$ port installed dependentof dovecot
> The following ports are currently installed:
>   dovecot @2.3.17_0+apns+solr (active)
> albus:MacPortsDev sysbh$ port installed rdependentof dovecot
> The following ports are currently installed:
>   dovecot @2.3.17_0+apns+solr (active)
> 
> Same for postfix for instance. Now, whatever pseudo-portname I give, the answer is always only the port itself. That cannot be right.
> 
>> Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
>> R&A IT Strategy <https://ea.rna.nl/> (main site)
>> Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
>> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
-- 
eMail:				mailto:rlhamil at smart.net




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220129/d7dc3153/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2814 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220129/d7dc3153/attachment.bin>


More information about the macports-users mailing list