Sat Apr 25 21:32:46 2009 UTC ()
Regen.


(joerg)
diff -r1.21 -r1.22 pkgsrc/pkgtools/pkg_install/files/admin/pkg_admin.cat1
diff -r1.5 -r1.6 pkgsrc/pkgtools/pkg_install/files/lib/pkg_install.conf.cat5.in

cvs diff -r1.21 -r1.22 pkgsrc/pkgtools/pkg_install/files/admin/Attic/pkg_admin.cat1 (switch to unified diff)

--- pkgsrc/pkgtools/pkg_install/files/admin/Attic/pkg_admin.cat1 2009/04/22 19:14:16 1.21
+++ pkgsrc/pkgtools/pkg_install/files/admin/Attic/pkg_admin.cat1 2009/04/25 21:32:45 1.22
@@ -1,229 +1,239 @@ @@ -1,229 +1,239 @@
1PKG_ADMIN(1) NetBSD General Commands Manual PKG_ADMIN(1) 1PKG_ADMIN(1) NetBSD General Commands Manual PKG_ADMIN(1)
2 2
3NNAAMMEE 3NNAAMMEE
4 ppkkgg__aaddmmiinn -- perform various administrative tasks to the pkg system 4 ppkkgg__aaddmmiinn -- perform various administrative tasks to the pkg system
5 5
6SSYYNNOOPPSSIISS 6SSYYNNOOPPSSIISS
7 ppkkgg__aaddmmiinn [--bbqqSSvvVV] [--CC _c_o_n_f_i_g] [--dd _l_s_d_i_r] [--KK _p_k_g___d_b_d_i_r] [--ss _s_f_x___p_a_t_t_e_r_n] 7 ppkkgg__aaddmmiinn [--bbqqSSvvVV] [--CC _c_o_n_f_i_g] [--dd _l_s_d_i_r] [--KK _p_k_g___d_b_d_i_r] [--ss _s_f_x___p_a_t_t_e_r_n]
8 _c_o_m_m_a_n_d [args ...] 8 _c_o_m_m_a_n_d [args ...]
9 9
10DDEESSCCRRIIPPTTIIOONN 10DDEESSCCRRIIPPTTIIOONN
11 This command performs various administrative tasks around the NetBSD 11 This command performs various administrative tasks around the NetBSD
12 Packages System. 12 Packages System.
13 13
14OOPPTTIIOONNSS 14OOPPTTIIOONNSS
15 The following command-line options are supported: 15 The following command-line options are supported:
16 16
17 --bb Print only the base names when matching package names for llssaallll 17 --bb Print only the base names when matching package names for llssaallll
18 and llssbbeesstt. 18 and llssbbeesstt.
19 19
20 --CC _c_o_n_f_i_g 20 --CC _c_o_n_f_i_g
21 Read the configuration file from _c_o_n_f_i_g instead of the system 21 Read the configuration file from _c_o_n_f_i_g instead of the system
22 default. 22 default.
23 23
24 --dd _l_s_d_i_r 24 --dd _l_s_d_i_r
25 Set _l_s_d_i_r as the path to the directory in which to find matching 25 Set _l_s_d_i_r as the path to the directory in which to find matching
26 package names for llssaallll and llssbbeesstt. 26 package names for llssaallll and llssbbeesstt.
27 27
28 --KK _p_k_g___d_b_d_i_r 28 --KK _p_k_g___d_b_d_i_r
29 Set _p_k_g___d_b_d_i_r as the package database directory. If this option 29 Set _p_k_g___d_b_d_i_r as the package database directory. If this option
30 isn't specified, then the package database directory is taken 30 isn't specified, then the package database directory is taken
31 from the value of the environment variable PKG_DBDIR if it's set, 31 from the value of the environment variable PKG_DBDIR if it's set,
32 otherwise it defaults to _/_v_a_r_/_d_b_/_p_k_g. 32 otherwise it defaults to _/_v_a_r_/_d_b_/_p_k_g.
33 33
34 --qq Perform checks in a quiet manner. In normal operation, ppkkgg__aaddmmiinn 34 --qq Perform checks in a quiet manner. In normal operation, ppkkgg__aaddmmiinn
35 prints a `.' to standard output to indicate progress. This 35 prints a `.' to standard output to indicate progress. This
36 option suppresses this progress indicator. 36 option suppresses this progress indicator.
37 37
38 --SS Set the shell glob pattern for package suffixes when matching 38 --SS Set the shell glob pattern for package suffixes when matching
39 package names for llssaallll and llssbbeesstt to be the null suffix. 39 package names for llssaallll and llssbbeesstt to be the null suffix.
40 40
41 --ss _s_f_x___p_a_t_t_e_r_n 41 --ss _s_f_x___p_a_t_t_e_r_n
42 Set the shell glob pattern for package suffixes when matching 42 Set the shell glob pattern for package suffixes when matching
43 package names for llssaallll and llssbbeesstt. The default pattern is 43 package names for llssaallll and llssbbeesstt. The default pattern is
44 ".t[bg]z". 44 ".t[bg]z".
45 45
46 --VV Print version number and exit. 46 --VV Print version number and exit.
47 47
48 --vv Be more verbose. 48 --vv Be more verbose.
49 49
50 The following commands are supported: 50 The following commands are supported:
51 51
52 aadddd _p_k_g _._._. 52 aadddd _p_k_g _._._.
53 For each listed package, write the absolute pathnames of the 53 For each listed package, write the absolute pathnames of the
54 files listed in its _+_C_O_N_T_E_N_T_S file together with the package they 54 files listed in its _+_C_O_N_T_E_N_T_S file together with the package they
55 belong to into the package database. This should be used only by 55 belong to into the package database. This should be used only by
56 pkg_view(1). 56 pkg_view(1).
57 57
58 aauuddiitt [--eess] [--tt _t_y_p_e] [_p_k_g] ... 58 aauuddiitt [--eess] [--tt _t_y_p_e] [_p_k_g] ...
59 Check the listed installed packages for vulnerabilities. If no 59 Check the listed installed packages for vulnerabilities. If no
60 package is given, check all installed packages. If --ee is given, 60 package is given, check all installed packages. If --ee is given,
61 also include end-of-life information. If --ss is given, check the 61 also include end-of-life information. If --ss is given, check the
62 signature of the pkg-vulnerabilities file before using it. --tt 62 signature of the pkg-vulnerabilities file before using it. --tt
63 restricts the reported vulnerabilities to type _t_y_p_e. 63 restricts the reported vulnerabilities to type _t_y_p_e.
64 64
65 aauuddiitt--ppkkgg [--eess] [--tt _t_y_p_e] [_p_k_g] ... 65 aauuddiitt--ppkkgg [--eess] [--tt _t_y_p_e] [_p_k_g] ...
66 Like aauuddiitt, but check only the given package names or patterns. 66 Like aauuddiitt, but check only the given package names or patterns.
67 67
68 aauuddiitt--bbaattcchh [--eess] [--tt _t_y_p_e] [_p_k_g_-_l_i_s_t] ... 68 aauuddiitt--bbaattcchh [--eess] [--tt _t_y_p_e] [_p_k_g_-_l_i_s_t] ...
69 Like aauuddiitt--ppkkgg, but read the package names or patterns one per 69 Like aauuddiitt--ppkkgg, but read the package names or patterns one per
70 line from the given files. 70 line from the given files.
71 71
72 aauuddiitt--hhiissttoorryy [--ss] [--tt _t_y_p_e] [_p_k_g_b_a_s_e] ... 72 aauuddiitt--hhiissttoorryy [--ss] [--tt _t_y_p_e] [_p_k_g_b_a_s_e] ...
73 Print all vulnerabilities for the given base package names. 73 Print all vulnerabilities for the given base package names.
74 74
75 cchheecckk [_p_k_g _._._.] 75 cchheecckk [_p_k_g _._._.]
76 Use this command to check the files belonging to some or all of 76 Use this command to check the files belonging to some or all of
77 the packages installed on the local machine against the checksum 77 the packages installed on the local machine against the checksum
78 which was recorded in the _+_C_O_N_T_E_N_T_S files at package installation 78 which was recorded in the _+_C_O_N_T_E_N_T_S files at package installation
79 time. Symbolic links also have their integrity checked against 79 time. Symbolic links also have their integrity checked against
80 the recorded value at package installation time. If no addi- 80 the recorded value at package installation time. If no addi-
81 tional argument is given, the files of all installed packages are 81 tional argument is given, the files of all installed packages are
82 checked, else only the named packages will be checked (wildcards 82 checked, else only the named packages will be checked (wildcards
83 can be used here, see pkg_info(1)). 83 can be used here, see pkg_info(1)).
84 84
85 The packages' _+_C_O_N_T_E_N_T_S files will be parsed and the checksum 85 The packages' _+_C_O_N_T_E_N_T_S files will be parsed and the checksum
86 will be checked for every file found. A warning message is 86 will be checked for every file found. A warning message is
87 printed if the expected checksum differs from the checksum of the 87 printed if the expected checksum differs from the checksum of the
88 file on disk. Symbolic links are also checked, ensuring that the 88 file on disk. Symbolic links are also checked, ensuring that the
89 targets on disk are the same as the contents recorded at package 89 targets on disk are the same as the contents recorded at package
90 installation time. 90 installation time.
91 91
 92 cchheecckk--lliicceennssee _c_o_n_d_i_t_i_o_n
 93 Check if _c_o_n_d_i_t_i_o_n can be fulfilled with the currently set of
 94 accepted licenses. Prints either yes or no to stdout if the con-
 95 dition can be parsed, otherwise it exits with error.
 96
92 cchheecckk--ppkkgg--vvuullnneerraabbiilliittiieess [--ss] _f_i_l_e 97 cchheecckk--ppkkgg--vvuullnneerraabbiilliittiieess [--ss] _f_i_l_e
93 Check format and hashes in the pkg-vulnerabilities file _f_i_l_e. If 98 Check format and hashes in the pkg-vulnerabilities file _f_i_l_e. If
94 --ss is given, also check the embedded signature. 99 --ss is given, also check the embedded signature.
95 100
96 cchheecckk--ssiiggnnaattuurree _f_i_l_e _._._. 101 cchheecckk--ssiiggnnaattuurree _f_i_l_e _._._.
97 Reports if _f_i_l_e is a correctly signed package. 102 Reports if _f_i_l_e is a correctly signed package.
98 103
 104 cchheecckk--ssiinnggllee--lliicceennssee _l_i_c_c_e_n_s_e
 105 Check if _l_i_c_e_n_s_e is a valid license name and if it is in the set
 106 of acceptable licenses. Prints either yes or no to stdout if the
 107 condition can be parsed, otherwise it exits with error.
 108
99 ccoonnffiigg--vvaarr _v_a_r_i_a_b_l_e 109 ccoonnffiigg--vvaarr _v_a_r_i_a_b_l_e
100 Print the current value of _v_a_r_i_a_b_l_e as used after parsing the 110 Print the current value of _v_a_r_i_a_b_l_e as used after parsing the
101 configuration file. 111 configuration file.
102 112
103 ddeelleettee _p_k_g _._._. 113 ddeelleettee _p_k_g _._._.
104 For each listed package, remove all file entries in the package 114 For each listed package, remove all file entries in the package
105 database that belong to the package. This should be used only by 115 database that belong to the package. This should be used only by
106 pkg_view(1). 116 pkg_view(1).
107 117
108 dduummpp Dump the contents of the package database, similar to ppkkgg__iinnffoo 118 dduummpp Dump the contents of the package database, similar to ppkkgg__iinnffoo
109 --FF. Columns are printed for the key field used in the pkgdb - 119 --FF. Columns are printed for the key field used in the pkgdb -
110 the filename -, and the data field - the package the file belongs 120 the filename -, and the data field - the package the file belongs
111 to. 121 to.
112 122
113 ffeettcchh--ppkkgg--vvuullnneerraabbiilliittiieess [--ssuu] 123 ffeettcchh--ppkkgg--vvuullnneerraabbiilliittiieess [--ssuu]
114 Fetch a new pkg-vulnerabilities file, check the format and if --ss 124 Fetch a new pkg-vulnerabilities file, check the format and if --ss
115 is given the signature. If all checks are passed, write it to 125 is given the signature. If all checks are passed, write it to
116 pkgdb. If --uu is given, the fetch is conditional and the file 126 pkgdb. If --uu is given, the fetch is conditional and the file
117 transfer is only done if the remote version is newer than the one 127 transfer is only done if the remote version is newer than the one
118 in pkgdb. 128 in pkgdb.
119 129
120 llssaallll _/_d_i_r_/_p_k_g_p_a_t_t_e_r_n 130 llssaallll _/_d_i_r_/_p_k_g_p_a_t_t_e_r_n
121 131
122 llssbbeesstt _/_d_i_r_/_p_k_g_p_a_t_t_e_r_n 132 llssbbeesstt _/_d_i_r_/_p_k_g_p_a_t_t_e_r_n
123 List all/best package matching pattern in the given directory 133 List all/best package matching pattern in the given directory
124 _/_d_i_r. If the --dd flag is given, then that directory path over- 134 _/_d_i_r. If the --dd flag is given, then that directory path over-
125 rides _/_d_i_r. Can be used to work around limitations of /bin/sh 135 rides _/_d_i_r. Can be used to work around limitations of /bin/sh
126 and other filename globbing mechanisms. This option implements 136 and other filename globbing mechanisms. This option implements
127 matching of pkg-wildcards against arbitrary files and directo- 137 matching of pkg-wildcards against arbitrary files and directo-
128 ries, useful mainly in the build system itself. See pkg_info(1) 138 ries, useful mainly in the build system itself. See pkg_info(1)
129 for a description of the pattern. 139 for a description of the pattern.
130 140
131 Example: 141 Example:
132 142
133 yui# cd /usr/pkgsrc/packages/i386ELF/All/ 143 yui# cd /usr/pkgsrc/packages/i386ELF/All/
134 yui# ls unzip* 144 yui# ls unzip*
135 unzip-5.40.tgz unzip-5.41.tgz 145 unzip-5.40.tgz unzip-5.41.tgz
136 yui# pkg_admin lsall 'unzip*' 146 yui# pkg_admin lsall 'unzip*'
137 /usr/pkgsrc/packages/i386ELF/All/unzip-5.40.tgz 147 /usr/pkgsrc/packages/i386ELF/All/unzip-5.40.tgz
138 /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz 148 /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz
139 yui# pkg_admin lsall 'unzip>=5.40' 149 yui# pkg_admin lsall 'unzip>=5.40'
140 /usr/pkgsrc/packages/i386ELF/All/unzip-5.40.tgz 150 /usr/pkgsrc/packages/i386ELF/All/unzip-5.40.tgz
141 /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz 151 /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz
142 yui# pkg_admin lsall 'unzip>=5.41' 152 yui# pkg_admin lsall 'unzip>=5.41'
143 /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz 153 /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz
144 yui# pkg_admin lsbest 'unzip>=5.40' 154 yui# pkg_admin lsbest 'unzip>=5.40'
145 /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz 155 /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz
146 yui# pkg_admin lsall /usr/pkgsrc/packages/i386ELF/All/'{mit,unproven}-pthread*' 156 yui# pkg_admin lsall /usr/pkgsrc/packages/i386ELF/All/'{mit,unproven}-pthread*'
147 /usr/pkgsrc/packages/i386ELF/All/mit-pthreads-1.60b6.tgz 157 /usr/pkgsrc/packages/i386ELF/All/mit-pthreads-1.60b6.tgz
148 /usr/pkgsrc/packages/i386ELF/All/unproven-pthreads-0.15.tgz 158 /usr/pkgsrc/packages/i386ELF/All/unproven-pthreads-0.15.tgz
149 159
150 ppmmaattcchh _p_a_t_t_e_r_n _p_k_g 160 ppmmaattcchh _p_a_t_t_e_r_n _p_k_g
151 Returns true if _p_k_g matches _p_a_t_t_e_r_n, otherwise returns false. 161 Returns true if _p_k_g matches _p_a_t_t_e_r_n, otherwise returns false.
152 162
153 rreebbuuiilldd 163 rreebbuuiilldd
154 Rebuild the package database mapping from scratch, scanning sub- 164 Rebuild the package database mapping from scratch, scanning sub-
155 directories in _/_v_a_r_/_d_b_/_p_k_g for _+_C_O_N_T_E_N_T_S files, parsing them and 165 directories in _/_v_a_r_/_d_b_/_p_k_g for _+_C_O_N_T_E_N_T_S files, parsing them and
156 writing the resulting absolute pathnames together with the pack- 166 writing the resulting absolute pathnames together with the pack-
157 age they belong to into the package database. 167 age they belong to into the package database.
158 168
159 This option is intended to be used for upgrading from non-pkgdb- 169 This option is intended to be used for upgrading from non-pkgdb-
160 pkg_* tools to pkgdb-pkg_* tools, further manipulation of the 170 pkg_* tools to pkgdb-pkg_* tools, further manipulation of the
161 pkgdb will be done by pkg_add(1), pkg_delete(1), and 171 pkgdb will be done by pkg_add(1), pkg_delete(1), and
162 pkg_create(1). 172 pkg_create(1).
163 173
164 Needs to be run as root. 174 Needs to be run as root.
165 175
166 rreebbuuiilldd--ttrreeee 176 rreebbuuiilldd--ttrreeee
167 Rebuild the +REQUIRED_BY files from scratch by reresolving all 177 Rebuild the +REQUIRED_BY files from scratch by reresolving all
168 dependencies. 178 dependencies.
169 179
170 This option is intended to be used for fixing inconsistencies 180 This option is intended to be used for fixing inconsistencies
171 between the records of depending and depended-on packages, such 181 between the records of depending and depended-on packages, such
172 as can arise by the use of ppkkgg__ddeelleettee --ff. 182 as can arise by the use of ppkkgg__ddeelleettee --ff.
173 183
174 sseett _v_a_r_i_a_b_l_e_=_v_a_l_u_e _p_k_g _._._. 184 sseett _v_a_r_i_a_b_l_e_=_v_a_l_u_e _p_k_g _._._.
175 Set variable with information about the installed package. Use 185 Set variable with information about the installed package. Use
176 uunnsseett to remove a variable. 186 uunnsseett to remove a variable.
177 187
178 Packages that are not installed directly by the user but pulled 188 Packages that are not installed directly by the user but pulled
179 in as dependencies are marked by setting ``automatic=YES''. 189 in as dependencies are marked by setting ``automatic=YES''.
180 190
181 ggppgg--ssiiggnn--ppaacckkaaggee ppkkgg 191 ggppgg--ssiiggnn--ppaacckkaaggee ppkkgg
182 Sign the binary package _p_k_g using GPG. 192 Sign the binary package _p_k_g using GPG.
183 193
184 xx550099--ssiiggnn--ppaacckkaaggee ppkkgg ssppkkgg kkeeyy cceerrtt 194 xx550099--ssiiggnn--ppaacckkaaggee ppkkgg ssppkkgg kkeeyy cceerrtt
185 Sign the binary package _p_k_g using the key _k_e_y and the certificate 195 Sign the binary package _p_k_g using the key _k_e_y and the certificate
186 _c_e_r_t, using _s_p_k_g as output file. 196 _c_e_r_t, using _s_p_k_g as output file.
187 197
188 uunnsseett _v_a_r_i_a_b_l_e _p_k_g _._._. 198 uunnsseett _v_a_r_i_a_b_l_e _p_k_g _._._.
189 Remove an installation variable. 199 Remove an installation variable.
190 200
191EENNVVIIRROONNMMEENNTT 201EENNVVIIRROONNMMEENNTT
192 PKG_DBDIR 202 PKG_DBDIR
193 If the --KK flag isn't given, then PKG_DBDIR is the location of the 203 If the --KK flag isn't given, then PKG_DBDIR is the location of the
194 package database directory. The default package database direc- 204 package database directory. The default package database direc-
195 tory is _/_v_a_r_/_d_b_/_p_k_g. 205 tory is _/_v_a_r_/_d_b_/_p_k_g.
196 206
197CCOONNFFIIGGUURRAATTIIOONN VVAARRIIAABBLLEESS 207CCOONNFFIIGGUURRAATTIIOONN VVAARRIIAABBLLEESS
198 The following variables change the behavior of ppkkgg__aaddmmiinn and are 208 The following variables change the behavior of ppkkgg__aaddmmiinn and are
199 described in pkg_install.conf(5): 209 described in pkg_install.conf(5):
200 210
201 CERTIFICATE_ANCHOR_PKGS 211 CERTIFICATE_ANCHOR_PKGS
202 212
203 CERTIFICATE_ANCHOR_PKGVULN 213 CERTIFICATE_ANCHOR_PKGVULN
204 214
205 CERTIFICATE_CHAIN 215 CERTIFICATE_CHAIN
206 216
207 GPG 217 GPG
208 218
209 PKGVULNDIR 219 PKGVULNDIR
210 220
211 PKGVULNURL 221 PKGVULNURL
212 222
213 IGNORE_URL 223 IGNORE_URL
214 224
215FFIILLEESS 225FFIILLEESS
216 /var/db/pkg/pkgdb.byfile.db 226 /var/db/pkg/pkgdb.byfile.db
217 /var/db/pkg/<pkg>/+CONTENTS 227 /var/db/pkg/<pkg>/+CONTENTS
218 228
219SSEEEE AALLSSOO 229SSEEEE AALLSSOO
220 pkg_add(1), pkg_create(1), pkg_delete(1), pkg_info(1), pkg_view(1), 230 pkg_add(1), pkg_create(1), pkg_delete(1), pkg_info(1), pkg_view(1),
221 pkg_install.conf(5), pkgsrc(7) 231 pkg_install.conf(5), pkgsrc(7)
222 232
223HHIISSTTOORRYY 233HHIISSTTOORRYY
224 The ppkkgg__aaddmmiinn command first appeared in NetBSD 1.4. 234 The ppkkgg__aaddmmiinn command first appeared in NetBSD 1.4.
225 235
226AAUUTTHHOORRSS 236AAUUTTHHOORRSS
227 The ppkkgg__aaddmmiinn command was written by Hubert Feyrer. 237 The ppkkgg__aaddmmiinn command was written by Hubert Feyrer.
228 238
229NetBSD 5.0 May 30, 2008 NetBSD 5.0 239NetBSD 5.0 April 25, 2009 NetBSD 5.0

cvs diff -r1.5 -r1.6 pkgsrc/pkgtools/pkg_install/files/lib/Attic/pkg_install.conf.cat5.in (switch to unified diff)

--- pkgsrc/pkgtools/pkg_install/files/lib/Attic/pkg_install.conf.cat5.in 2009/03/10 20:33:43 1.5
+++ pkgsrc/pkgtools/pkg_install/files/lib/Attic/pkg_install.conf.cat5.in 2009/04/25 21:32:46 1.6
@@ -1,123 +1,130 @@ @@ -1,123 +1,130 @@
1PKG_INSTALL.CONF(5) NetBSD File Formats Manual PKG_INSTALL.CONF(5) 1PKG_INSTALL.CONF(5) NetBSD File Formats Manual PKG_INSTALL.CONF(5)
2 2
3NNAAMMEE 3NNAAMMEE
4 ppkkgg__iinnssttaallll..ccoonnff -- configuration file for package installation tools 4 ppkkgg__iinnssttaallll..ccoonnff -- configuration file for package installation tools
5 5
6DDEESSCCRRIIPPTTIIOONN 6DDEESSCCRRIIPPTTIIOONN
7 The file ppkkgg__iinnssttaallll..ccoonnff contains system defaults for the package 7 The file ppkkgg__iinnssttaallll..ccoonnff contains system defaults for the package
8 installation tools as a list of variable-value pairs. Each line has the 8 installation tools as a list of variable-value pairs. Each line has the
9 format VARIABLE=VALUE. If the value consists of more than one line, each 9 format VARIABLE=VALUE. If the value consists of more than one line, each
10 line is prefixed with VARIABLE=. 10 line is prefixed with VARIABLE=.
11 11
12 The current value of a variable can be checked by running 12 The current value of a variable can be checked by running
13 ppkkgg__aaddmmiinn ccoonnffiigg--vvaarr VVAARRIIAABBLLEE 13 ppkkgg__aaddmmiinn ccoonnffiigg--vvaarr VVAARRIIAABBLLEE
14 14
15 The following variables are supported: 15 The following variables are supported:
16 16
 17 ACCEPTABLE_LICENSES
 18 List of licenses packages are allowed to carry.
 19
17 ACTIVE_FTP 20 ACTIVE_FTP
18 Force the use of active FTP. 21 Force the use of active FTP.
19 22
20 CERTIFICATE_ANCHOR_PKGS 23 CERTIFICATE_ANCHOR_PKGS
21 Path to the file containing the certificates used for validating 24 Path to the file containing the certificates used for validating
22 binary packages. A package is trusted when a certificate chain 25 binary packages. A package is trusted when a certificate chain
23 ends in one of the certificates contained in this file. The cer- 26 ends in one of the certificates contained in this file. The cer-
24 tificates must be PEM-encoded. 27 tificates must be PEM-encoded.
25 28
26 CERTIFICATE_ANCHOR_PKGVULN 29 CERTIFICATE_ANCHOR_PKGVULN
27 Analogous to CERTIFICATE_ANCHOR_PKGS. The _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s is 30 Analogous to CERTIFICATE_ANCHOR_PKGS. The _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s is
28 trusted when a certificate chain ends in one of the certificates 31 trusted when a certificate chain ends in one of the certificates
29 contained in this file. 32 contained in this file.
30 33
31 CERTIFICATE_CHAIN 34 CERTIFICATE_CHAIN
32 Path to a file containing additional certificates that can be 35 Path to a file containing additional certificates that can be
33 used for completing certificate chains when validating binary 36 used for completing certificate chains when validating binary
34 packages or pkg-vulnerabilities files. 37 packages or pkg-vulnerabilities files.
35 38
36 CHECK_VULNERABILITIES 39 CHECK_VULNERABILITIES
37 Check for vulnerabilities when installing packages. Supported 40 Check for vulnerabilities when installing packages. Supported
38 values are: 41 values are:
39 42
40 never No check is performed. 43 never No check is performed.
41 44
42 always Passing the vulnerability check is required. A 45 always Passing the vulnerability check is required. A
43 missing pkg-vulnerabilities file is considered an 46 missing pkg-vulnerabilities file is considered an
44 error. 47 error.
45 48
46 interactive The user is always asked to confirm installation 49 interactive The user is always asked to confirm installation
47 of vulnerable packages. 50 of vulnerable packages.
48 51
 52 DEFAULT_ACCEPTABLE_LICENSES
 53 List of common Free and Open Source licenses packages are allowed
 54 to carry.
 55
49 GPG Path to gpg(1), which can be used to verify the signature in the 56 GPG Path to gpg(1), which can be used to verify the signature in the
50 _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s file when running 57 _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s file when running
51 ppkkgg__aaddmmiinn cchheecckk--ppkkgg--vvuullnneerraabbiilliittiieess --ss 58 ppkkgg__aaddmmiinn cchheecckk--ppkkgg--vvuullnneerraabbiilliittiieess --ss
52 or 59 or
53 ppkkgg__aaddmmiinn ffeettcchh--ppkkgg--vvuullnneerraabbiilliittiieess --ss 60 ppkkgg__aaddmmiinn ffeettcchh--ppkkgg--vvuullnneerraabbiilliittiieess --ss
54 It can also be used to verify and sign binary packages. 61 It can also be used to verify and sign binary packages.
55 62
56 GPG_KEYRING_PKGVULN 63 GPG_KEYRING_PKGVULN
57 Non-default keyring to use for verifying GPG signatures of 64 Non-default keyring to use for verifying GPG signatures of
58 _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s. 65 _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s.
59 66
60 GPG_KEYRING_SIGN 67 GPG_KEYRING_SIGN
61 Non-default keyring to use for signing packages with GPG. 68 Non-default keyring to use for signing packages with GPG.
62 69
63 GPG_KEYRING_VERIFY 70 GPG_KEYRING_VERIFY
64 Non-default keyring to use for verifying GPG signature of pack- 71 Non-default keyring to use for verifying GPG signature of pack-
65 ages. 72 ages.
66 73
67 GPG_SIGN_AS 74 GPG_SIGN_AS
68 User-id to use for signing packages. 75 User-id to use for signing packages.
69 76
70 IGNORE_PROXY 77 IGNORE_PROXY
71 Use direct connections and ignore FTP_PROXY and HTTP_PROXY. 78 Use direct connections and ignore FTP_PROXY and HTTP_PROXY.
72 79
73 IGNORE_URL 80 IGNORE_URL
74 One line per advisory which should be ignored when running 81 One line per advisory which should be ignored when running
75 ppkkgg__aaddmmiinn aauuddiitt 82 ppkkgg__aaddmmiinn aauuddiitt
76 The URL from the _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s file should be used as 83 The URL from the _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s file should be used as
77 value. 84 value.
78 85
79 PKG_PATH 86 PKG_PATH
80 Search path as used by ppkkgg__aadddd. Overridden by the environment 87 Search path as used by ppkkgg__aadddd. Overridden by the environment
81 variable PKG_PATH. 88 variable PKG_PATH.
82 89
83 PKGVULNDIR 90 PKGVULNDIR
84 Directory name in which the _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s file resides. 91 Directory name in which the _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s file resides.
85 Default is _$_{_P_K_G___D_B_D_I_R_}. 92 Default is _$_{_P_K_G___D_B_D_I_R_}.
86 93
87 PKGVULNURL 94 PKGVULNURL
88 URL which is used for updating the local _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s file 95 URL which is used for updating the local _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s file
89 when running 96 when running
90 ppkkgg__aaddmmiinn ffeettcchh--ppkkgg--vvuullnneerraabbiilliittiieess 97 ppkkgg__aaddmmiinn ffeettcchh--ppkkgg--vvuullnneerraabbiilliittiieess
91 The default is 98 The default is
92 _f_t_p_:_/_/_f_t_p_._N_e_t_B_S_D_._o_r_g_/_p_u_b_/_N_e_t_B_S_D_/_p_a_c_k_a_g_e_s_/_v_u_l_n_s_/_p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s_._g_z 99 _f_t_p_:_/_/_f_t_p_._N_e_t_B_S_D_._o_r_g_/_p_u_b_/_N_e_t_B_S_D_/_p_a_c_k_a_g_e_s_/_v_u_l_n_s_/_p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s_._g_z
93 _N_o_t_e: Usually, only the compression type should be changed. Cur- 100 _N_o_t_e: Usually, only the compression type should be changed. Cur-
94 rently supported are uncompressed files and files compressed by 101 rently supported are uncompressed files and files compressed by
95 bzip2(1) (_._b_z_2) or gzip(1) (_._g_z). 102 bzip2(1) (_._b_z_2) or gzip(1) (_._g_z).
96 103
97 VERBOSE_NETIO 104 VERBOSE_NETIO
98 Log details of network IO to stderr. 105 Log details of network IO to stderr.
99 106
100 VERIFIED_INSTALLATION 107 VERIFIED_INSTALLATION
101 Set trust level used when installation. Supported values are: 108 Set trust level used when installation. Supported values are:
102 109
103 never No signature checks are performed. 110 never No signature checks are performed.
104 111
105 always A valid signature is required. If the binary 112 always A valid signature is required. If the binary
106 package can not be verified, the installation is 113 package can not be verified, the installation is
107 terminated 114 terminated
108 115
109 trusted A valid signature is required. If the binary 116 trusted A valid signature is required. If the binary
110 package can not be verified, the user is asked 117 package can not be verified, the user is asked
111 interactively. 118 interactively.
112 119
113 interactive The user is always asked interactively when 120 interactive The user is always asked interactively when
114 installing a package. 121 installing a package.
115 122
116FFIILLEESS 123FFIILLEESS
117 @SYSCONFDIR@/pkg_install.conf Default location for the file described in 124 @SYSCONFDIR@/pkg_install.conf Default location for the file described in
118 this manual page. 125 this manual page.
119 126
120SSEEEE AALLSSOO 127SSEEEE AALLSSOO
121 pkg_add(1), pkg_admin(1) 128 pkg_add(1), pkg_admin(1)
122 129
123NetBSD 5.0 February 27, 2009 NetBSD 5.0 130NetBSD 5.0 April 25, 2009 NetBSD 5.0