summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/files/lib/pkg_install.conf.cat.in
blob: 00c46c2f69fe532be3294b4ccfbb3341361428f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
PKG_INSTALL.CONF(5)           File Formats Manual          PKG_INSTALL.CONF(5)

NNAAMMEE
     ppkkgg__iinnssttaallll..ccoonnff - configuration file for package installation tools

DDEESSCCRRIIPPTTIIOONN
     The file ppkkgg__iinnssttaallll..ccoonnff contains system defaults for the package
     installation tools as a list of variable-value pairs.  Each line has the
     format VARIABLE=VALUE.  If the value consists of more than one line, each
     line is prefixed with VARIABLE=.

     The current value of a variable can be checked by running
           ppkkgg__aaddmmiinn ccoonnffiigg--vvaarr VVAARRIIAABBLLEE

     Some variables are overriden by environmental variables of the same name.
     Those are marked by (*).

     The following variables are supported:

     ACCEPTABLE_LICENSES
             Space-separated list of licenses packages are allowed to carry.
             License names are case-sensitive.

     ACTIVE_FTP
             Force the use of active FTP.

     CACHE_INDEX
             Cache directory listings in memory.  This avoids retransfers of
             the large directory index for HTTP and is enabled by default.

     CERTIFICATE_ANCHOR_PKGS
             Path to the file containing the certificates used for validating
             binary packages.  A package is trusted when a certificate chain
             ends in one of the certificates contained in this file.  The
             certificates must be PEM-encoded.

     CERTIFICATE_ANCHOR_PKGVULN
             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
             trusted when a certificate chain ends in one of the certificates
             contained in this file.

     CERTIFICATE_CHAIN
             Path to a file containing additional certificates that can be
             used for completing certificate chains when validating binary
             packages or pkg-vulnerabilities files.

     CHECK_LICENSE
             Check the license conditions of packages before installing them.
             Supported values are:

             no             The check is not performed.

             yes            The check is performed if the package has license
                            conditions set.

             always         Passing the license check is required.  Missing
                            license conditions are considered an error.

     CHECK_END_OF_LIFE
             During vulnerability checks, consider packages that have reached
             end-of-life as vulnerable.  This option is enabled by default.

     CHECK_OS_VERSION
             If "no", pkg_add will not warn if the host OS version does not
             exactly match the OS version the package was built on.  The
             default is "yes".

     CHECK_OSABI
             If "no", osabi package does not check OS version.  The default is
             "yes".

     CHECK_VULNERABILITIES
             Check for vulnerabilities when installing packages.  Supported
             values are:

             never          No check is performed.

             always         Passing the vulnerability check is required.  A
                            missing pkg-vulnerabilities file is considered an
                            error.

             interactive    The user is always asked to confirm installation
                            of vulnerable packages.

     CONFIG_CACHE_CONNECTIONS
             Limit the global connection cache to this value.  For FTP, this
             is the number of sessions without active command.  For HTTP, this
             is the number of connections open with keep-alive.

     CONFIG_CACHE_CONNECTIONS_HOST
             Like CONFIG_CACHE_CONNECTIONS, but limit the number of
             connections to the host as well.  See fetch(3) for further
             details

     DEFAULT_ACCEPTABLE_LICENSES
             Space-separated list of common Free and Open Source licenses
             packages are allowed to carry.  The default value contains all
             OSI approved licenses in pkgsrc on the date pkg_install was
             released.  License names are case-sensitive.

     GPG     Path to gpg(1), which can be used to verify the signature in the
             _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s file when running
                   ppkkgg__aaddmmiinn cchheecckk--ppkkgg--vvuullnneerraabbiilliittiieess --ss
             or
                   ppkkgg__aaddmmiinn ffeettcchh--ppkkgg--vvuullnneerraabbiilliittiieess --ss
             It can also be used to verify and sign binary packages.

     GPG_KEYRING_PKGVULN
             Non-default keyring to use for verifying GPG signatures of
             _p_k_g_-_v_u_l_n_e_r_a_b_i_l_i_t_i_e_s.

     GPG_KEYRING_SIGN
             Non-default keyring to use for signing packages with GPG.

     GPG_KEYRING_VERIFY
             Non-default keyring to use for verifying GPG signature of
             packages.

     GPG_SIGN_AS
             User-id to use for signing packages.

     IGNORE_PROXY
             Use direct connections and ignore FTP_PROXY and HTTP_PROXY.

     IGNORE_URL
             One line per advisory which should be ignored when running
                   ppkkgg__aaddmmiinn aauuddiitt
             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
             value.

     PKG_DBDIR (*)
             Location of the packages database.  This option is always
             overriden by the argument of the --KK option.

     PKG_PATH (*)
             Search path for packages.  The entries are separated by
             semicolon.  Each entry specifies a directory or URL to search for
             packages.

     PKG_REFCOUNT_DBDIR (*)
             Location of the package reference counts database directory.  The
             default value is _$_{_P_K_G___D_B_D_I_R_}_._r_e_f_c_o_u_n_t.

     PKGVULNDIR
             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.
             Default is _$_{_P_K_G___D_B_D_I_R_}.

     PKGVULNURL
             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
             when running
                   ppkkgg__aaddmmiinn ffeettcchh--ppkkgg--vvuullnneerraabbiilliittiieess
             The default location is ftp.NetBSD.org using HTTP.  _N_o_t_e:
             Usually, only the compression type should be changed.  Currently
             supported are uncompressed files and files compressed by bzip2(1)
             (_._b_z_2) or gzip(1) (_._g_z).

     VERBOSE_NETIO
             Log details of network IO to stderr.

     VERIFIED_INSTALLATION
             Set trust level used when installation.  Supported values are:

             never          No signature checks are performed.

             always         A valid signature is required.  If the binary
                            package can not be verified, the installation is
                            terminated

             trusted        A valid signature is required.  If the binary
                            package can not be verified, the user is asked
                            interactively.

             interactive    The user is always asked interactively when
                            installing a package.

FFIILLEESS
     _@_S_Y_S_C_O_N_F_D_I_R_@_/_p_k_g___i_n_s_t_a_l_l_._c_o_n_f      Default location for the file
                                        described in this manual page.

SSEEEE AALLSSOO
     pkg_add(1), pkg_admin(1), pkg_create(1), pkg_delete(1), pkg_info(1)

pkgsrc                         October 28, 2014                         pkgsrc