1bpkg-pkg-configure(1) General Commands Manual bpkg-pkg-configure(1)
2
3
4
6 bpkg-pkg-configure - configure package
7
9 bpkg pkg-configure [options] [cfg-var...] pkg
10
12 The pkg-configure command configures either the previously unpacked
13 (bpkg-pkg-unpack(1), bpkg-pkg-checkout(1)) source code package or a
14 package that is present in the system.
15
16 A source code package inherits the common build2 configuration values
17 that were specified when creating the configuration (bpkg-cfg-cre‐
18 ate(1)). Additional package-specific configuration variables can be
19 passed to pkg-configure (cfg-var).
20
21 A system package is specified using the sys:pkg[/ver] syntax. If the
22 package version (ver) is not specified, then it is considered to be un‐
23 known but satisfying any dependency constraint. Such a version is dis‐
24 played as *.
25
27 --directory|-d dir
28 Assume configuration is in dir rather than in the current work‐
29 ing directory.
30
32 The common options are summarized below with a more detailed descrip‐
33 tion available in bpkg-common-options(1).
34
35 -v Print essential underlying commands being executed.
36
37 -V Print all underlying commands being executed.
38
39 --quiet|-q
40 Run quietly, only printing error messages.
41
42 --verbose level
43 Set the diagnostics verbosity to level between 0 and 6.
44
45 --stdout-format format
46 Representation format to use for printing to stdout.
47
48 --jobs|-j num
49 Number of jobs to perform in parallel.
50
51 --no-result
52 Don't print informational messages about the outcome of perform‐
53 ing a command or some of its parts.
54
55 --progress
56 Display progress indicators for long-lasting operations, such as
57 network transfers, building, etc.
58
59 --no-progress
60 Suppress progress indicators for long-lasting operations, such
61 as network transfers, building, etc.
62
63 --build path
64 The build program to be used to build packages.
65
66 --build-option opt
67 Additional option to be passed to the build program.
68
69 --fetch path
70 The fetch program to be used to download resources.
71
72 --fetch-option opt
73 Additional option to be passed to the fetch program.
74
75 --fetch-timeout sec
76 The fetch and fetch-like (for example, git) program timeout.
77
78 --pkg-proxy url
79 HTTP proxy server to use when fetching package manifests and ar‐
80 chives from remote pkg repositories.
81
82 --git path
83 The git program to be used to fetch git repositories.
84
85 --git-option opt
86 Additional common option to be passed to the git program.
87
88 --sha256 path
89 The sha256 program to be used to calculate SHA256 sums.
90
91 --sha256-option opt
92 Additional option to be passed to the sha256 program.
93
94 --tar path
95 The tar program to be used to extract package archives.
96
97 --tar-option opt
98 Additional option to be passed to the tar program.
99
100 --openssl path
101 The openssl program to be used for crypto operations.
102
103 --openssl-option opt
104 Additional option to be passed to the openssl program.
105
106 --auth type
107 Types of repositories to authenticate.
108
109 --trust fingerprint
110 Trust repository certificate with a SHA256 fingerprint.
111
112 --trust-yes
113 Assume the answer to all authentication prompts is yes.
114
115 --trust-no
116 Assume the answer to all authentication prompts is no.
117
118 --pager path
119 The pager program to be used to show long text.
120
121 --pager-option opt
122 Additional option to be passed to the pager program.
123
124 --options-file file
125 Read additional options from file.
126
127 --default-options dir
128 The directory to load additional default options files from.
129
130 --no-default-options
131 Don't load default options files.
132
133 --keep-tmp
134 Don't remove the bpkg's temporary directory at the end of the
135 command execution and print its path at the verbosity level 2 or
136 higher.
137
139 See bpkg-default-options-files(1) for an overview of the default op‐
140 tions files. For the pkg-configure command the search start directory
141 is the configuration directory. The following options files are
142 searched for in each directory and, if found, loaded in the order
143 listed:
144
145 bpkg.options
146 bpkg-pkg-configure.options
147
148 The following pkg-configure command options cannot be specified in the
149 default options files:
150
151 --directory|-d
152
154 Send bug reports to the users@build2.org mailing list.
155
157 Copyright (c) 2014-2022 the build2 authors.
158
159 Permission is granted to copy, distribute and/or modify this document
160 under the terms of the MIT License.
161
162
163
164bpkg 0.15.0 July 2022 bpkg-pkg-configure(1)