Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 12 commits
  • 26 files changed
  • 0 comments
  • 3 contributors
2  AUTHORS
@@ -12,3 +12,5 @@ Yuri Pankov <yuri.pankov@gmail.com>
12 12 Alberto Villa <avilla@FreeBSD.org>
13 13 Brad Davis <brd@FreeBSD.org>
14 14 Matthew Seaman <matthew@FreeBSD.org>
  15 +Bryan Drewery <bryan@shatow.net>
  16 +Eitan Adler <eadler@FreeBSD.org>
1  pkg/Makefile
@@ -57,6 +57,7 @@ MAN= pkg.8 \
57 57 pkg-check.8 \
58 58 pkg-create.8 \
59 59 pkg-delete.8 \
  60 + pkg-fetch.8 \
60 61 pkg-info.8 \
61 62 pkg-install.8 \
62 63 pkg-query.8 \
16 pkg/pkg-add.8
@@ -54,19 +54,23 @@ for further description.
54 54 See
55 55 .Xr pkg.conf 5 .
56 56 .Sh SEE ALSO
  57 +.Xe pkg-set 8 ,
57 58 .Xr pkg 8 ,
58   -.Xr pkg-create 8 ,
59   -.Xr pkg-autoremove 8 ,
60 59 .Xr pkg-audit 8 ,
61   -.Xr pkg-search 8 ,
  60 +.Xr pkg-autoremove 8 ,
62 61 .Xr pkg-backup 8 ,
63   -.Xr pkg-install 8 ,
  62 +.Xr pkg-check 8 ,
  63 +.Xr pkg-create 8 ,
64 64 .Xr pkg-delete 8 ,
  65 +.Xr pkg-fetch 8 ,
65 66 .Xr pkg-info 8 ,
66   -.Xr pkg-check 8 ,
  67 +.Xr pkg-install 8 ,
  68 +.Xr pkg-query 8 ,
67 69 .Xr pkg-register 8 ,
68 70 .Xr pkg-repo 8 ,
69   -.Xe pkg-set 8 ,
  71 +.Xr pkg-search 8 ,
  72 +.Xr pkg-set 8 ,
  73 +.Xr pkg-shlib 8 ,
70 74 .Xr pkg-update 8 ,
71 75 .Xr pkg-updating 8 ,
72 76 .Xr pkg-upgrade 8 ,
19 pkg/pkg-audit.8
@@ -28,7 +28,8 @@
28 28 .Sh DESCRIPTION
29 29 .Nm
30 30 checks installed packages for known vulnerabilities and generates reports
31   -including references to security advisories. Its intended audience is system
  31 +including references to security advisories.
  32 +Its intended audience is system
32 33 administrators and individual users.
33 34 .Pp
34 35 .Nm
@@ -63,22 +64,26 @@ for further description.
63 64 See
64 65 .Xr pkg.conf 5 .
65 66 .Sh SEE ALSO
  67 +.Xe pkg-set 8 ,
66 68 .Xr pkg 8 ,
67 69 .Xr pkg-add 8 ,
68 70 .Xr pkg-autoremove 8 ,
69   -.Xr pkg-search 8 ,
70 71 .Xr pkg-backup 8 ,
71   -.Xr pkg-install 8 ,
72   -.Xr pkg-info 8 ,
73 72 .Xr pkg-check 8 ,
74   -.Xr pkg-delete 8 ,
75 73 .Xr pkg-create 8 ,
  74 +.Xr pkg-delete 8 ,
  75 +.Xr pkg-fetch 8 ,
  76 +.Xr pkg-info 8 ,
  77 +.Xr pkg-install 8 ,
  78 +.Xr pkg-query 8 ,
76 79 .Xr pkg-register 8 ,
77 80 .Xr pkg-repo 8 ,
78   -.Xe pkg-set 8 ,
  81 +.Xr pkg-search 8 ,
  82 +.Xr pkg-set 8 ,
  83 +.Xr pkg-shlib 8 ,
79 84 .Xr pkg-update 8 ,
80 85 .Xr pkg-updating 8 ,
81 86 .Xr pkg-upgrade 8 ,
82 87 .Xr pkg-version 8 ,
83 88 .Xr pkg-which 8 ,
84   -.Xr pkg.conf 5 ,
  89 +.Xr pkg.conf 5
11 pkg/pkg-autoremove.8
@@ -55,16 +55,19 @@ See
55 55 .Xr pkg 8 ,
56 56 .Xr pkg-add 8 ,
57 57 .Xr pkg-audit 8 ,
58   -.Xr pkg-create 8 ,
59   -.Xr pkg-search 8 ,
60 58 .Xr pkg-backup 8 ,
61   -.Xr pkg-install 8 ,
  59 +.Xr pkg-check 8 ,
  60 +.Xr pkg-create 8 ,
62 61 .Xr pkg-delete 8 ,
  62 +.Xr pkg-fetch 8 ,
63 63 .Xr pkg-info 8 ,
64   -.Xr pkg-check 8 ,
  64 +.Xr pkg-install 8 ,
  65 +.Xr pkg-query 8 ,
65 66 .Xr pkg-register 8 ,
66 67 .Xr pkg-repo 8 ,
  68 +.Xr pkg-search 8 ,
67 69 .Xr pkg-set 8 ,
  70 +.Xr pkg-shlib 8 ,
68 71 .Xr pkg-update 8 ,
69 72 .Xr pkg-updating 8 ,
70 73 .Xr pkg-upgrade 8 ,
11 pkg/pkg-backup.8
@@ -64,17 +64,20 @@ See
64 64 .Sh SEE ALSO
65 65 .Xr pkg 8 ,
66 66 .Xr pkg-add 8 ,
67   -.Xr pkg-autoremove 8 ,
68 67 .Xr pkg-audit 8 ,
69   -.Xr pkg-search 8 ,
  68 +.Xr pkg-autoremove 8 ,
  69 +.Xr pkg-check 8 ,
70 70 .Xr pkg-create 8 ,
71   -.Xr pkg-install 8 ,
72 71 .Xr pkg-delete 8 ,
  72 +.Xr pkg-fetch 8 ,
73 73 .Xr pkg-info 8 ,
74   -.Xr pkg-check 8 ,
  74 +.Xr pkg-install 8 ,
  75 +.Xr pkg-query 8 ,
75 76 .Xr pkg-register 8 ,
76 77 .Xr pkg-repo 8 ,
  78 +.Xr pkg-search 8 ,
77 79 .Xr pkg-set 8 ,
  80 +.Xr pkg-shlib 8 ,
78 81 .Xr pkg-update 8 ,
79 82 .Xr pkg-updating 8 ,
80 83 .Xr pkg-upgrade 8 ,
18 pkg/pkg-check.8
@@ -70,22 +70,26 @@ for further description.
70 70 See
71 71 .Xr pkg.conf 5 .
72 72 .Sh SEE ALSO
  73 +.Xe pkg-set 8 ,
73 74 .Xr pkg 8 ,
74 75 .Xr pkg-add 8 ,
75   -.Xr pkg-autoremove 8 ,
76 76 .Xr pkg-audit 8 ,
77   -.Xr pkg-search 8 ,
  77 +.Xr pkg-autoremove 8 ,
78 78 .Xr pkg-backup 8 ,
79   -.Xr pkg-install 8 ,
80   -.Xr pkg-info 8 ,
81   -.Xr pkg-delete 8 ,
82 79 .Xr pkg-create 8 ,
  80 +.Xr pkg-delete 8 ,
  81 +.Xr pkg-fetch 8 ,
  82 +.Xr pkg-info 8 ,
  83 +.Xr pkg-install 8 ,
  84 +.Xr pkg-query 8 ,
83 85 .Xr pkg-register 8 ,
84 86 .Xr pkg-repo 8 ,
85   -.Xe pkg-set 8 ,
  87 +.Xr pkg-search 8 ,
  88 +.Xr pkg-set 8 ,
  89 +.Xr pkg-shlib 8 ,
86 90 .Xr pkg-update 8 ,
87 91 .Xr pkg-updating 8 ,
88 92 .Xr pkg-upgrade 8 ,
89 93 .Xr pkg-version 8 ,
90 94 .Xr pkg-which 8 ,
91   -.Xr pkg.conf 5 ,
  95 +.Xr pkg.conf 5
11 pkg/pkg-create.8
@@ -195,17 +195,20 @@ See
195 195 .Sh SEE ALSO
196 196 .Xr pkg 8 ,
197 197 .Xr pkg-add 8 ,
198   -.Xr pkg-autoremove 8 ,
199 198 .Xr pkg-audit 8 ,
200   -.Xr pkg-search 8 ,
  199 +.Xr pkg-autoremove 8 ,
201 200 .Xr pkg-backup 8 ,
202   -.Xr pkg-install 8 ,
  201 +.Xr pkg-check 8 ,
203 202 .Xr pkg-delete 8 ,
  203 +.Xr pkg-fetch 8 ,
204 204 .Xr pkg-info 8 ,
205   -.Xr pkg-check 8 ,
  205 +.Xr pkg-install 8 ,
  206 +.Xr pkg-query 8 ,
206 207 .Xr pkg-register 8 ,
207 208 .Xr pkg-repo 8 ,
  209 +.Xr pkg-search 8 ,
208 210 .Xr pkg-set 8 ,
  211 +.Xr pkg-shlib 8 ,
209 212 .Xr pkg-update 8 ,
210 213 .Xr pkg-updating 8 ,
211 214 .Xr pkg-upgrade 8 ,
11 pkg/pkg-delete.8
@@ -67,17 +67,20 @@ See
67 67 .Sh SEE ALSO
68 68 .Xr pkg 8 ,
69 69 .Xr pkg-add 8 ,
70   -.Xr pkg-autoremove 8 ,
71 70 .Xr pkg-audit 8 ,
72   -.Xr pkg-search 8 ,
  71 +.Xr pkg-autoremove 8 ,
73 72 .Xr pkg-backup 8 ,
74   -.Xr pkg-install 8 ,
  73 +.Xr pkg-check 8 ,
75 74 .Xr pkg-create 8 ,
  75 +.Xr pkg-fetch 8 ,
76 76 .Xr pkg-info 8 ,
77   -.Xr pkg-check 8 ,
  77 +.Xr pkg-install 8 ,
  78 +.Xr pkg-query 8 ,
78 79 .Xr pkg-register 8 ,
79 80 .Xr pkg-repo 8 ,
  81 +.Xr pkg-search 8 ,
80 82 .Xr pkg-set 8 ,
  83 +.Xr pkg-shlib 8 ,
81 84 .Xr pkg-update 8 ,
82 85 .Xr pkg-updating 8 ,
83 86 .Xr pkg-upgrade 8 ,
98 pkg/pkg-fetch.8
... ... @@ -0,0 +1,98 @@
  1 +.\"
  2 +.\" FreeBSD pkg - a next generation package for the installation and maintenance
  3 +.\" of non-core utilities.
  4 +.\"
  5 +.\" Redistribution and use in source and binary forms, with or without
  6 +.\" modification, are permitted provided that the following conditions
  7 +.\" are met:
  8 +.\" 1. Redistributions of source code must retain the above copyright
  9 +.\" notice, this list of conditions and the following disclaimer.
  10 +.\" 2. Redistributions in binary form must reproduce the above copyright
  11 +.\" notice, this list of conditions and the following disclaimer in the
  12 +.\" documentation and/or other materials provided with the distribution.
  13 +.\"
  14 +.\"
  15 +.\" @(#)pkg.8
  16 +.\" $FreeBSD$
  17 +.\"
  18 +.Dd April 12, 2012
  19 +.Dt PKG-FETCH 8
  20 +.Os
  21 +.Sh NAME
  22 +.Nm "pkg fetch"
  23 +.Nd Fetches remote packages.
  24 +.Sh SYNOPSIS
  25 +.Nm
  26 +.Op Fl r Ar reponame
  27 +.Op Fl yqgxXa
  28 +.Ar <pkg-name>
  29 +.Op ...
  30 +.Sh DESCRIPTION
  31 +.Nm
  32 +is used to download binary packages from a remote repository.
  33 +.Pp
  34 +One or more packages, or patterns can be specified.
  35 +.Sh OPTIONS
  36 +The following options are supported by
  37 +.Nm :
  38 +.Bl -tag -width F1
  39 +.It Fl a
  40 +Fetch all packages.
  41 +.It Fl y
  42 +Assume yes when asked for confirmation before fetching packages.
  43 +.It Fl q
  44 +Quiet mode. Show less output.
  45 +.It Fl r Ar reponame
  46 +Fetches packages from the given
  47 +.Ar reponame
  48 +if multiple repo support is enabled. See
  49 +.Xr pkg.conf 5 .
  50 +.It Fl g
  51 +Treat
  52 +.Ar <pkg-name>
  53 +as a shell glob pattern.
  54 +.It Fl x
  55 +Treat
  56 +.Ar <pkg-name>
  57 +as a regular expression.
  58 +.It Fl X
  59 +Treat
  60 +.Ar <pkg-name>
  61 +as an extended regular expression.
  62 +.El
  63 +.Sh ENVIRONMENT
  64 +The following environment variables affect the execution of
  65 +.Nm .
  66 +See
  67 +.Xr pkg.conf 5
  68 +for further description.
  69 +.Bl -tag -width ".Ev NO_DESCRIPTIONS"
  70 +.It PKG_DBDIR
  71 +.El
  72 +.Sh FILES
  73 +See
  74 +.Xr pkg.conf 5 .
  75 +.Sh SEE ALSO
  76 +.Xe pkg-set 8 ,
  77 +.Xr pkg 8 ,
  78 +.Xr pkg-add 8 ,
  79 +.Xr pkg-audit 8 ,
  80 +.Xr pkg-autoremove 8 ,
  81 +.Xr pkg-backup 8 ,
  82 +.Xr pkg-check 8 ,
  83 +.Xr pkg-create 8 ,
  84 +.Xr pkg-delete 8 ,
  85 +.Xr pkg-info 8 ,
  86 +.Xr pkg-install 8 ,
  87 +.Xr pkg-query 8 ,
  88 +.Xr pkg-register 8 ,
  89 +.Xr pkg-repo 8 ,
  90 +.Xr pkg-search 8 ,
  91 +.Xr pkg-set 8 ,
  92 +.Xr pkg-shlib 8 ,
  93 +.Xr pkg-update 8 ,
  94 +.Xr pkg-updating 8 ,
  95 +.Xr pkg-upgrade 8 ,
  96 +.Xr pkg-version 8 ,
  97 +.Xr pkg-which 8 ,
  98 +.Xr pkg.conf 5
18 pkg/pkg-info.8
@@ -116,22 +116,26 @@ for further description.
116 116 See
117 117 .Xr pkg.conf 5 .
118 118 .Sh SEE ALSO
  119 +.Xe pkg-set 8 ,
119 120 .Xr pkg 8 ,
120 121 .Xr pkg-add 8 ,
121   -.Xr pkg-autoremove 8 ,
122 122 .Xr pkg-audit 8 ,
123   -.Xr pkg-search 8 ,
  123 +.Xr pkg-autoremove 8 ,
124 124 .Xr pkg-backup 8 ,
125   -.Xr pkg-install 8 ,
126   -.Xr pkg-delete 8 ,
  125 +.Xr pkg-check 8 ,
127 126 .Xr pkg-create 8 ,
  127 +.Xr pkg-delete 8 ,
  128 +.Xr pkg-fetch 8 ,
  129 +.Xr pkg-install 8 ,
  130 +.Xr pkg-query 8 ,
128 131 .Xr pkg-register 8 ,
129 132 .Xr pkg-repo 8 ,
130   -.Xr pkg-check 8 ,
131   -.Xe pkg-set 8 ,
  133 +.Xr pkg-search 8 ,
  134 +.Xr pkg-set 8 ,
  135 +.Xr pkg-shlib 8 ,
132 136 .Xr pkg-update 8 ,
133 137 .Xr pkg-updating 8 ,
134 138 .Xr pkg-upgrade 8 ,
135 139 .Xr pkg-version 8 ,
136 140 .Xr pkg-which 8 ,
137   -.Xr pkg.conf 5 ,
  141 +.Xr pkg.conf 5
9 pkg/pkg-install.8
@@ -94,17 +94,20 @@ See
94 94 .Sh SEE ALSO
95 95 .Xr pkg 8 ,
96 96 .Xr pkg-add 8 ,
97   -.Xr pkg-autoremove 8 ,
98 97 .Xr pkg-audit 8 ,
99   -.Xr pkg-search 8 ,
  98 +.Xr pkg-autoremove 8 ,
100 99 .Xr pkg-backup 8 ,
  100 +.Xr pkg-check 8 ,
101 101 .Xr pkg-create 8 ,
102 102 .Xr pkg-delete 8 ,
  103 +.Xr pkg-fetch 8 ,
103 104 .Xr pkg-info 8 ,
104   -.Xr pkg-check 8 ,
  105 +.Xr pkg-query 8 ,
105 106 .Xr pkg-register 8 ,
106 107 .Xr pkg-repo 8 ,
  108 +.Xr pkg-search 8 ,
107 109 .Xr pkg-set 8,
  110 +.Xr pkg-shlib 8 ,
108 111 .Xr pkg-update 8 ,
109 112 .Xr pkg-updating 8 ,
110 113 .Xr pkg-upgrade 8 ,
12 pkg/pkg-query.8
@@ -202,18 +202,20 @@ See
202 202 .Sh SEE ALSO
203 203 .Xr pkg 8 ,
204 204 .Xr pkg-add 8 ,
205   -.Xr pkg-autoremove 8 ,
206 205 .Xr pkg-audit 8 ,
207   -.Xr pkg-search 8 ,
  206 +.Xr pkg-autoremove 8 ,
208 207 .Xr pkg-backup 8 ,
209   -.Xr pkg-install 8 ,
210   -.Xr pkg-delete 8 ,
211   -.Xr pkg-info 8 ,
212 208 .Xr pkg-check 8 ,
213 209 .Xr pkg-create 8 ,
  210 +.Xr pkg-delete 8 ,
  211 +.Xr pkg-fetch 8 ,
  212 +.Xr pkg-info 8 ,
  213 +.Xr pkg-install 8 ,
214 214 .Xr pkg-register 8 ,
215 215 .Xr pkg-repo 8 ,
  216 +.Xr pkg-search 8 ,
216 217 .Xr pkg-set 8 ,
  218 +.Xr pkg-shlib 8 ,
217 219 .Xr pkg-update 8 ,
218 220 .Xr pkg-updating 8 ,
219 221 .Xr pkg-upgrade 8 ,
13 pkg/pkg-register.8
@@ -72,17 +72,20 @@ See
72 72 .Sh SEE ALSO
73 73 .Xr pkg 8 ,
74 74 .Xr pkg-add 8 ,
75   -.Xr pkg-autoremove 8 ,
76 75 .Xr pkg-audit 8 ,
77   -.Xr pkg-search 8 ,
  76 +.Xr pkg-autoremove 8 ,
78 77 .Xr pkg-backup 8 ,
79   -.Xr pkg-install 8 ,
80   -.Xr pkg-delete 8 ,
81   -.Xr pkg-info 8 ,
82 78 .Xr pkg-check 8 ,
83 79 .Xr pkg-create 8 ,
  80 +.Xr pkg-delete 8 ,
  81 +.Xr pkg-fetch 8 ,
  82 +.Xr pkg-info 8 ,
  83 +.Xr pkg-install 8 ,
  84 +.Xr pkg-query 8 ,
84 85 .Xr pkg-repo 8 ,
  86 +.Xr pkg-search 8 ,
85 87 .Xr pkg-set 8 ,
  88 +.Xr pkg-shlib 8 ,
86 89 .Xr pkg-update 8 ,
87 90 .Xr pkg-updating 8 ,
88 91 .Xr pkg-upgrade 8 ,
9 pkg/pkg-repo.8
@@ -62,17 +62,20 @@ See
62 62 .Sh SEE ALSO
63 63 .Xr pkg 8 ,
64 64 .Xr pkg-add 8 ,
65   -.Xr pkg-autoremove 8 ,
66 65 .Xr pkg-audit 8 ,
  66 +.Xr pkg-autoremove 8 ,
67 67 .Xr pkg-backup 8 ,
  68 +.Xr pkg-check 8 ,
68 69 .Xr pkg-create 8 ,
69 70 .Xr pkg-delete 8 ,
70   -.Xr pkg-install 8 ,
  71 +.Xr pkg-fetch 8 ,
71 72 .Xr pkg-info 8 ,
72   -.Xr pkg-check 8 ,
  73 +.Xr pkg-install 8 ,
  74 +.Xr pkg-query 8 ,
73 75 .Xr pkg-register 8 ,
74 76 .Xr pkg-search 8 ,
75 77 .Xr pkg-set 8 ,
  78 +.Xr pkg-shlib 8 ,
76 79 .Xr pkg-update 8 ,
77 80 .Xr pkg-updating 8 ,
78 81 .Xr pkg-upgrade 8 ,
11 pkg/pkg-search.8
@@ -104,17 +104,20 @@ See
104 104 .Sh SEE ALSO
105 105 .Xr pkg 8 ,
106 106 .Xr pkg-add 8 ,
107   -.Xr pkg-autoremove 8 ,
108 107 .Xr pkg-audit 8 ,
109   -.Xr pkg-create 8 ,
  108 +.Xr pkg-autoremove 8 ,
110 109 .Xr pkg-backup 8 ,
111   -.Xr pkg-install 8 ,
  110 +.Xr pkg-check 8 ,
  111 +.Xr pkg-create 8 ,
112 112 .Xr pkg-delete 8 ,
  113 +.Xr pkg-fetch 8 ,
113 114 .Xr pkg-info 8 ,
114   -.Xr pkg-check 8 ,
  115 +.Xr pkg-install 8 ,
  116 +.Xr pkg-query 8 ,
115 117 .Xr pkg-register 8 ,
116 118 .Xr pkg-repo 8 ,
117 119 .Xr pkg-set 8 ,
  120 +.Xr pkg-shlib 8 ,
118 121 .Xr pkg-update 8 ,
119 122 .Xr pkg-updating 8 ,
120 123 .Xr pkg-upgrade 8 ,
13 pkg/pkg-set.8
@@ -55,17 +55,20 @@ See
55 55 .Sh SEE ALSO
56 56 .Xr pkg 8 ,
57 57 .Xr pkg-add 8 ,
58   -.Xr pkg-autoremove 8 ,
59 58 .Xr pkg-audit 8 ,
60   -.Xr pkg-create 8 ,
61   -.Xr pkg-search 8 ,
  59 +.Xr pkg-autoremove 8 ,
62 60 .Xr pkg-backup 8 ,
63   -.Xr pkg-install 8 ,
  61 +.Xr pkg-check 8 ,
  62 +.Xr pkg-create 8 ,
64 63 .Xr pkg-delete 8 ,
  64 +.Xr pkg-fetch 8 ,
65 65 .Xr pkg-info 8 ,
66   -.Xr pkg-check 8 ,
  66 +.Xr pkg-install 8 ,
  67 +.Xr pkg-query 8 ,
67 68 .Xr pkg-register 8 ,
68 69 .Xr pkg-repo 8 ,
  70 +.Xr pkg-search 8 ,
  71 +.Xr pkg-shlib 8 ,
69 72 .Xr pkg-update 8 ,
70 73 .Xr pkg-updating 8 ,
71 74 .Xr pkg-upgrade 8 ,
12 pkg/pkg-shlib.8
@@ -53,21 +53,23 @@ See
53 53 .Sh SEE ALSO
54 54 .Xr pkg 8 ,
55 55 .Xr pkg-add 8 ,
56   -.Xr pkg-autoremove 8 ,
57 56 .Xr pkg-audit 8 ,
58   -.Xr pkg-search 8 ,
  57 +.Xr pkg-autoremove 8 ,
59 58 .Xr pkg-backup 8 ,
60   -.Xr pkg-install 8 ,
  59 +.Xr pkg-check 8 ,
  60 +.Xr pkg-create 8 ,
61 61 .Xr pkg-delete 8 ,
  62 +.Xr pkg-fetch 8 ,
62 63 .Xr pkg-info 8 ,
63   -.Xr pkg-check 8 ,
  64 +.Xr pkg-install 8 ,
  65 +.Xr pkg-query 8 ,
64 66 .Xr pkg-register 8 ,
65 67 .Xr pkg-repo 8 ,
  68 +.Xr pkg-search 8 ,
66 69 .Xr pkg-set 8 ,
67 70 .Xr pkg-update 8 ,
68 71 .Xr pkg-updating 8 ,
69 72 .Xr pkg-upgrade 8 ,
70 73 .Xr pkg-version 8 ,
71 74 .Xr pkg-which 8 ,
72   -.Xr pkg-create 8 ,
73 75 .Xr pkg.conf 5
13 pkg/pkg-update.8
@@ -61,18 +61,21 @@ See
61 61 .Sh SEE ALSO
62 62 .Xr pkg 8 ,
63 63 .Xr pkg-add 8 ,
64   -.Xr pkg-autoremove 8 ,
65 64 .Xr pkg-audit 8 ,
66   -.Xr pkg-search 8 ,
  65 +.Xr pkg-autoremove 8 ,
67 66 .Xr pkg-backup 8 ,
68   -.Xr pkg-install 8 ,
  67 +.Xr pkg-check 8 ,
  68 +.Xr pkg-create 8 ,
69 69 .Xr pkg-delete 8 ,
  70 +.Xr pkg-fetch 8 ,
70 71 .Xr pkg-info 8 ,
71   -.Xr pkg-check 8 ,
  72 +.Xr pkg-install 8 ,
  73 +.Xr pkg-query 8 ,
72 74 .Xr pkg-register 8 ,
73 75 .Xr pkg-repo 8 ,
  76 +.Xr pkg-search 8 ,
74 77 .Xr pkg-set 8 ,
75   -.Xr pkg-create 8 ,
  78 +.Xr pkg-shlib 8 ,
76 79 .Xr pkg-updating 8 ,
77 80 .Xr pkg-upgrade 8 ,
78 81 .Xr pkg-version 8 ,
16 pkg/pkg-updating.8
@@ -75,22 +75,26 @@ installed ports:
75 75 See
76 76 .Xr pkg.conf 5 .
77 77 .Sh SEE ALSO
  78 +.Xe pkg-set 8,
78 79 .Xr pkg 8 ,
79 80 .Xr pkg-add 8 ,
80   -.Xr pkg-autoremove 8 ,
81 81 .Xr pkg-audit 8 ,
82   -.Xr pkg-search 8 ,
  82 +.Xr pkg-autoremove 8 ,
83 83 .Xr pkg-backup 8 ,
84   -.Xr pkg-install 8 ,
  84 +.Xr pkg-check 8 ,
  85 +.Xr pkg-create 8 ,
85 86 .Xr pkg-delete 8 ,
  87 +.Xr pkg-fetch 8 ,
86 88 .Xr pkg-info 8 ,
87   -.Xr pkg-check 8 ,
  89 +.Xr pkg-install 8 ,
  90 +.Xr pkg-query 8 ,
88 91 .Xr pkg-register 8 ,
89 92 .Xr pkg-repo 8 ,
90   -.Xe pkg-set 8,
  93 +.Xr pkg-search 8 ,
  94 +.Xr pkg-set 8 ,
  95 +.Xr pkg-shlib 8 ,
91 96 .Xr pkg-update 8 ,
92 97 .Xr pkg-upgrade 8 ,
93   -.Xr pkg-create 8 ,
94 98 .Xr pkg-version 8 ,
95 99 .Xr pkg-which 8 ,
96 100 .Xr pkg.conf 5
13 pkg/pkg-upgrade.8
@@ -66,20 +66,23 @@ See
66 66 .Sh SEE ALSO
67 67 .Xr pkg 8 ,
68 68 .Xr pkg-add 8 ,
69   -.Xr pkg-autoremove 8 ,
70 69 .Xr pkg-audit 8 ,
71   -.Xr pkg-search 8 ,
  70 +.Xr pkg-autoremove 8 ,
72 71 .Xr pkg-backup 8 ,
73   -.Xr pkg-install 8 ,
  72 +.Xr pkg-check 8 ,
  73 +.Xr pkg-create 8 ,
74 74 .Xr pkg-delete 8 ,
  75 +.Xr pkg-fetch 8 ,
75 76 .Xr pkg-info 8 ,
76   -.Xr pkg-check 8 ,
  77 +.Xr pkg-install 8 ,
  78 +.Xr pkg-query 8 ,
77 79 .Xr pkg-register 8 ,
78 80 .Xr pkg-repo 8 ,
  81 +.Xr pkg-search 8 ,
79 82 .Xr pkg-set 8 ,
  83 +.Xr pkg-shlib 8 ,
80 84 .Xr pkg-update 8 ,
81 85 .Xr pkg-updating 8 ,
82   -.Xr pkg-create 8 ,
83 86 .Xr pkg-version 8 ,
84 87 .Xr pkg-which 8 ,
85 88 .Xr pkg.conf 5
13 pkg/pkg-version.8
@@ -103,20 +103,23 @@ See
103 103 .Sh SEE ALSO
104 104 .Xr pkg 8 ,
105 105 .Xr pkg-add 8 ,
106   -.Xr pkg-autoremove 8 ,
107 106 .Xr pkg-audit 8 ,
108   -.Xr pkg-search 8 ,
  107 +.Xr pkg-autoremove 8 ,
109 108 .Xr pkg-backup 8 ,
110   -.Xr pkg-install 8 ,
  109 +.Xr pkg-check 8 ,
  110 +.Xr pkg-create 8 ,
111 111 .Xr pkg-delete 8 ,
  112 +.Xr pkg-fetch 8 ,
112 113 .Xr pkg-info 8 ,
113   -.Xr pkg-check 8 ,
  114 +.Xr pkg-install 8 ,
  115 +.Xr pkg-query 8 ,
114 116 .Xr pkg-register 8 ,
115 117 .Xr pkg-repo 8 ,
  118 +.Xr pkg-search 8 ,
116 119 .Xr pkg-set 8,
  120 +.Xr pkg-shlib 8 ,
117 121 .Xr pkg-update 8 ,
118 122 .Xr pkg-updating 8 ,
119 123 .Xr pkg-upgrade 8 ,
120   -.Xr pkg-create 8 ,
121 124 .Xr pkg-which 8 ,
122 125 .Xr pkg.conf 5
13 pkg/pkg-which.8
@@ -53,20 +53,23 @@ See
53 53 .Sh SEE ALSO
54 54 .Xr pkg 8 ,
55 55 .Xr pkg-add 8 ,
56   -.Xr pkg-autoremove 8 ,
57 56 .Xr pkg-audit 8 ,
58   -.Xr pkg-search 8 ,
  57 +.Xr pkg-autoremove 8 ,
59 58 .Xr pkg-backup 8 ,
60   -.Xr pkg-install 8 ,
  59 +.Xr pkg-check 8 ,
  60 +.Xr pkg-create 8 ,
61 61 .Xr pkg-delete 8 ,
  62 +.Xr pkg-fetch 8 ,
62 63 .Xr pkg-info 8 ,
63   -.Xr pkg-check 8 ,
  64 +.Xr pkg-install 8 ,
  65 +.Xr pkg-query 8 ,
64 66 .Xr pkg-register 8 ,
65 67 .Xr pkg-repo 8 ,
  68 +.Xr pkg-search 8 ,
66 69 .Xr pkg-set 8 ,
  70 +.Xr pkg-shlib 8 ,
67 71 .Xr pkg-update 8 ,
68 72 .Xr pkg-updating 8 ,
69 73 .Xr pkg-upgrade 8 ,
70 74 .Xr pkg-version 8 ,
71   -.Xr pkg-create 8 ,
72 75 .Xr pkg.conf 5
32 pkg/pkg.8
@@ -69,20 +69,22 @@ protocol to use when fetching the package.
69 69 .Pp
70 70 Currently supported protocols are FTP, HTTP and HTTPS.
71 71 .It Ic audit
72   -< To be added >
  72 +Audits installed packages against known vulnerabilities.
73 73 .It Ic autoremove
74 74 Delete packages which were automatically installed as dependencies and are not
75 75 required anymore.
76 76 .It Ic backup
77 77 Dump the local package database to a file specified on the command-line.
78 78 .It Ic check
79   -< To be added >
  79 +Sanity checks installed packages.
80 80 .It Ic clean
81 81 < To be added >
82 82 .It Ic create
83 83 Create a package
84 84 .It Ic delete
85 85 Delete a package from the database and the system.
  86 +.It Ic fetch
  87 +Fetches packages from a remote repository.
86 88 .It Ic info
87 89 Display information about installed packages.
88 90 .It Ic install
@@ -97,21 +99,26 @@ Query information about installed packages.
97 99 .It Ic register
98 100 Register a package in the database.
99 101 .It Ic repo
100   -Create a package repository.
101   -.Pp
102   -< To be completed >
  102 +Create a local package repository for remote usage.
  103 +.It Ic shell
  104 +Fires up a sqlite shell open on the local database, be very careful with this
  105 +command
103 106 .It Ic search
104 107 Search for the given pattern in the remote package
105 108 repositories.
  109 +.It Ic set
  110 +Modify information in the installed database.
  111 +.It Ic shlib
  112 +Displays which packages link to a specific shared library.
106 113 .It Ic update
107 114 Update the available remote repositories as listed in
108 115 .Xr pkg.conf 5 .
109 116 .It Ic updating
110   -< To be added >
  117 +Displays UPDATING entries of installed packages.
111 118 .It Ic upgrade
112 119 Upgrade a package to a newer version.
113 120 .It Ic version
114   -< To be added >
  121 +Summarize installed versions of packages.
115 122 .It Ic which
116 123 Query the database for package(s) that installed a specific
117 124 file.
@@ -129,18 +136,21 @@ See
129 136 .\" ---------------------------------------------------------------------------
130 137 .Sh SEE ALSO
131 138 .Xr pkg-add 8 ,
132   -.Xr pkg-autoremove 8 ,
133 139 .Xr pkg-audit 8 ,
134   -.Xr pkg-search 8 ,
  140 +.Xr pkg-autoremove 8 ,
135 141 .Xr pkg-backup 8 ,
136   -.Xr pkg-install 8 ,
  142 +.Xr pkg-check 8 ,
  143 +.Xr pkg-create 8 ,
137 144 .Xr pkg-delete 8 ,
  145 +.Xr pkg-fetch 8 ,
138 146 .Xr pkg-info 8 ,
139   -.Xr pkg-check 8 ,
  147 +.Xr pkg-install 8 ,
140 148 .Xr pkg-query 8 ,
141 149 .Xr pkg-register 8 ,
142 150 .Xr pkg-repo 8 ,
  151 +.Xr pkg-search 8 ,
143 152 .Xr pkg-set 8 ,
  153 +.Xr pkg-shlib 8 ,
144 154 .Xr pkg-update 8 ,
145 155 .Xr pkg-updating 8 ,
146 156 .Xr pkg-upgrade 8 ,
12 pkg/pkg.conf.5
@@ -110,17 +110,21 @@ file always overrides the value of an option set in the file.
110 110 .Sh SEE ALSO
111 111 .Xr pkg 8 ,
112 112 .Xr pkg-add 8 ,
113   -.Xr pkg-autoremove 8 ,
114 113 .Xr pkg-audit 8 ,
115   -.Xr pkg-search 8 ,
  114 +.Xr pkg-autoremove 8 ,
116 115 .Xr pkg-backup 8 ,
117   -.Xr pkg-install 8 ,
  116 +.Xr pkg-check 8 ,
  117 +.Xr pkg-create 8 ,
118 118 .Xr pkg-delete 8 ,
  119 +.Xr pkg-fetch 8 ,
119 120 .Xr pkg-info 8 ,
120   -.Xr pkg-check 8 ,
  121 +.Xr pkg-install 8 ,
  122 +.Xr pkg-query 8 ,
121 123 .Xr pkg-register 8 ,
122 124 .Xr pkg-repo 8 ,
  125 +.Xr pkg-search 8 ,
123 126 .Xr pkg-set 8 ,
  127 +.Xr pkg-shlib 8 ,
124 128 .Xr pkg-update 8 ,
125 129 .Xr pkg-updating 8 ,
126 130 .Xr pkg-upgrade 8 ,
26 scripts/find-missing-man-page-sa.sh
... ... @@ -0,0 +1,26 @@
  1 +#! /bin/sh
  2 +# Find man pages that are missing from the SEE ALSO sections of other manpages
  3 +
  4 +# Run from the right path
  5 +if [ -d ../pkg ]; then
  6 + cd ..
  7 +fi
  8 +
  9 +exit_status=0
  10 +for target_path in `find pkg -type f -name '*.8' -or -name '*.5'`; do
  11 + target=${target_path#pkg/};
  12 + section=${target##*.};
  13 + target=${target%.*};
  14 + for page_path in `find pkg -type f -name '*.8' -or -name '*.5'`; do
  15 + # A pge shouldn't reference itself
  16 + if [ $target_path = $page_path ]; then
  17 + continue
  18 + fi
  19 + grep -qm 1 "^\.Xr $target $section" $page_path
  20 + if [ $? -ne 0 ]; then
  21 + echo "'.Xr $target $section' missing in $page_path" >&2
  22 + exit_status=1
  23 + fi
  24 + done
  25 +done
  26 +exit $exit_status

No commit comments for this range

Something went wrong with that request. Please try again.