1bpkg-pkg-configure(1)       General Commands Manual      bpkg-pkg-configure(1)
2
3
4

NAME

6       bpkg-pkg-configure - configure package
7

SYNOPSIS

9       bpkg pkg-configure [options] [cfg-var...] pkg
10

DESCRIPTION

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

PKG-CONFIGURE OPTIONS

27       --directory|-d dir
28              Assume  configuration is in dir rather than in the current work‐
29              ing directory.
30

COMMON OPTIONS

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       --structured-result fmt
56              Write the result of performing a command in a structured form.
57
58       --progress
59              Display progress indicators for long-lasting operations, such as
60              network transfers, building, etc.
61
62       --no-progress
63              Suppress  progress  indicators for long-lasting operations, such
64              as network transfers, building, etc.
65
66       --diag-color
67              Use color in diagnostics.
68
69       --no-diag-color
70              Don't use color in diagnostics.
71
72       --build path
73              The build program to be used to build packages.
74
75       --build-option opt
76              Additional option to be passed to the build program.
77
78       --fetch path
79              The fetch program to be used to download resources.
80
81       --fetch-option opt
82              Additional option to be passed to the fetch program.
83
84       --fetch-timeout sec
85              The fetch and fetch-like (for example, git) program timeout.
86
87       --pkg-proxy url
88              HTTP proxy server to use when fetching package manifests and ar‐
89              chives from remote pkg repositories.
90
91       --git path
92              The git program to be used to fetch git repositories.
93
94       --git-option opt
95              Additional common option to be passed to the git program.
96
97       --sha256 path
98              The sha256 program to be used to calculate SHA256 sums.
99
100       --sha256-option opt
101              Additional option to be passed to the sha256 program.
102
103       --tar path
104              The tar program to be used to extract package archives.
105
106       --tar-option opt
107              Additional option to be passed to the tar program.
108
109       --openssl path
110              The openssl program to be used for crypto operations.
111
112       --openssl-option opt
113              Additional option to be passed to the openssl program.
114
115       --auth type
116              Types of repositories to authenticate.
117
118       --trust fingerprint
119              Trust repository certificate with a SHA256 fingerprint.
120
121       --trust-yes
122              Assume the answer to all authentication prompts is yes.
123
124       --trust-no
125              Assume the answer to all authentication prompts is no.
126
127       --git-capabilities up=pc
128              Protocol capabilities (pc) for a git repository URL prefix (up).
129
130       --pager path
131              The pager program to be used to show long text.
132
133       --pager-option opt
134              Additional option to be passed to the pager program.
135
136       --options-file file
137              Read additional options from file.
138
139       --default-options dir
140              The directory to load additional default options files from.
141
142       --no-default-options
143              Don't load default options files.
144
145       --keep-tmp
146              Don't  remove  the  bpkg's temporary directory at the end of the
147              command execution and print its path at the verbosity level 2 or
148              higher.
149

DEFAULT OPTIONS FILES

151       See  bpkg-default-options-files(1)  for  an overview of the default op‐
152       tions files. For the pkg-configure command the search  start  directory
153       is  the  configuration  directory.  The  following  options  files  are
154       searched for in each directory and,  if  found,  loaded  in  the  order
155       listed:
156
157       bpkg.options
158       bpkg-pkg-configure.options
159
160       The  following pkg-configure command options cannot be specified in the
161       default options files:
162
163       --directory|-d
164

BUGS

166       Send bug reports to the users@build2.org mailing list.
167
169       Copyright (c) 2014-2023 the build2 authors.
170
171       Permission is granted to copy, distribute and/or modify  this  document
172       under the terms of the MIT License.
173
174
175
176bpkg 0.16.0                        June 2023             bpkg-pkg-configure(1)
Impressum