prt-get.8: add fresh material to the Examples section

This commit is contained in:
John McQuah 2022-08-06 15:58:10 -04:00
parent 96c098c6b1
commit 2ed71d5b25
1 changed files with 12 additions and 9 deletions

View File

@ -631,10 +631,6 @@ Update your current version of openssh, forcing a rebuild even if no version dif
Useful if there was a major version change in one of its dependencies, and \fBrevdep openssh\fP Useful if there was a major version change in one of its dependencies, and \fBrevdep openssh\fP
indicates a broken package. :\-) indicates a broken package. :\-)
.TP
.B prt\-get info glib-networking
Show info about glib-networking
.TP .TP
.B MISSLIBS=$(revdep -vvv mpv | awk -F ':' '/(missing library)/ {print $3}'); [ -n \(dq${MISSLIBS[@]}\(dq ] && for i in ${MISSLIBS[@]}; do prt\-get fsearch $i; done .B MISSLIBS=$(revdep -vvv mpv | awk -F ':' '/(missing library)/ {print $3}'); [ -n \(dq${MISSLIBS[@]}\(dq ] && for i in ${MISSLIBS[@]}; do prt\-get fsearch $i; done
(adapted from a script by ppetrov^) Check for the presence of the runtime libraries needed by mpv. (adapted from a script by ppetrov^) Check for the presence of the runtime libraries needed by mpv.
@ -671,12 +667,19 @@ suitable for piping to \fBxargs prt\-get install\fP or \fBxargs prt\-get grpinst
Same as above, but only print the dependencies that are already installed. The output of this Same as above, but only print the dependencies that are already installed. The output of this
command is suitable for piping to \fBxargs prt\-get update\fP. command is suitable for piping to \fBxargs prt\-get update\fP.
.TP
.B prt\-get printf \(dq%p\et%u\en\(dq | grep myrepo | cut -f 2
Print the upstream URL for each port in the collection \(dqmyrepo\(dq, perhaps as the first step in
keeping your personal overlay up to date.
.TP
.B prt\-get printf \(dq%M\et%n\en\(dq | grep ^Tim | wc -l
Count how many ports our most-overworked core team member claims responsibility for.
.TP .TP
.B prt\-get grpinst \-\-test `prt\-get quickdep graphviz` .B comm -13 <(prt\-get depends firefox-bin |tail -n +2 |sort) <(prt\-get depends firefox |tail -n +2 |sort)
Show what would happen if you installed all packages needed for Find the build-time dependencies of firefox. Runtime dependencies would also appear in the list generated by
graphviz (test mode). Remove \-\-test to install graphviz and all the first process substitution, and \fBcomm -13\fP will suppress what the two lists have in common.
its dependencies. Remember that grpinst stops installing when one
package installation fails.
.TP .TP
.B prt-get listinst \-\-depsort | xargs prt-get grpinst \-\-install\-root=/mnt .B prt-get listinst \-\-depsort | xargs prt-get grpinst \-\-install\-root=/mnt