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 --jobs|-j num
46 Number of jobs to perform in parallel.
47
48 --no-result
49 Don't print informational messages about the outcome of perform‐
50 ing a command or some of its parts.
51
52 --no-progress
53 Suppress progress indicators for long-lasting operations, such
54 as network transfers, building, etc.
55
56 --build path
57 The build program to be used to build packages.
58
59 --build-option opt
60 Additional option to be passed to the build program.
61
62 --fetch path
63 The fetch program to be used to download resources.
64
65 --fetch-option opt
66 Additional option to be passed to the fetch program.
67
68 --fetch-timeout sec
69 The fetch and fetch-like (for example, git) program timeout.
70
71 --pkg-proxy url
72 HTTP proxy server to use when fetching package manifests and ar‐
73 chives from remote pkg repositories.
74
75 --git path
76 The git program to be used to fetch git repositories.
77
78 --git-option opt
79 Additional common option to be passed to the git program.
80
81 --sha256 path
82 The sha256 program to be used to calculate SHA256 sums.
83
84 --sha256-option opt
85 Additional option to be passed to the sha256 program.
86
87 --tar path
88 The tar program to be used to extract package archives.
89
90 --tar-option opt
91 Additional option to be passed to the tar program.
92
93 --openssl path
94 The openssl program to be used for crypto operations.
95
96 --openssl-option opt
97 Additional option to be passed to the openssl program.
98
99 --auth type
100 Types of repositories to authenticate.
101
102 --trust fingerprint
103 Trust repository certificate with a SHA256 fingerprint.
104
105 --trust-yes
106 Assume the answer to all authentication prompts is yes.
107
108 --trust-no
109 Assume the answer to all authentication prompts is no.
110
111 --pager path
112 The pager program to be used to show long text.
113
114 --pager-option opt
115 Additional option to be passed to the pager program.
116
117 --options-file file
118 Read additional options from file.
119
120 --default-options dir
121 The directory to load additional default options files from.
122
123 --no-default-options
124 Don't load default options files.
125
127 See bpkg-default-options-files(1) for an overview of the default op‐
128 tions files. For the pkg-configure command the search start directory
129 is the configuration directory. The following options files are
130 searched for in each directory and, if found, loaded in the order
131 listed:
132
133 bpkg.options
134 bpkg-pkg-configure.options
135
136 The following pkg-configure command options cannot be specified in the
137 default options files:
138
139 --directory|-d
140
142 Send bug reports to the users@build2.org mailing list.
143
145 Copyright (c) 2014-2021 the build2 authors.
146
147 Permission is granted to copy, distribute and/or modify this document
148 under the terms of the MIT License.
149
150
151
152bpkg 0.14.0 October 2021 bpkg-pkg-configure(1)