1bpkg-pkg-disfigure(1) General Commands Manual bpkg-pkg-disfigure(1)
2
3
4
6 bpkg-pkg-disfigure - disfigure package
7
9 bpkg pkg-disfigure [options] pkg
10
12 The pkg-disfigure command disfigures the previously configured (via
13 bpkg-pkg-build(1) or bpkg-pkg-configure(1)) package. A source code
14 package is returned to the unpacked state. A system package is removed
15 from the configuration.
16
17 By default pkg-disfigure will remove the package's build system config‐
18 uration (config.build) and also clean its output directory. This behav‐
19 ior can be suppressed with the --keep-config and --keep-out options,
20 respectively, for example, if the package is to be reconfigured.
21
23 --keep-out
24 Don't clean the package's output directory.
25
26 --keep-config
27 Don't remove the package's build system configuration (con‐
28 fig.build).
29
30 --directory|-d dir
31 Assume configuration is in dir rather than in the current work‐
32 ing directory.
33
35 The common options are summarized below with a more detailed descrip‐
36 tion available in bpkg-common-options(1).
37
38 -v Print essential underlying commands being executed.
39
40 -V Print all underlying commands being executed.
41
42 --quiet|-q
43 Run quietly, only printing error messages.
44
45 --verbose level
46 Set the diagnostics verbosity to level between 0 and 6.
47
48 --stdout-format format
49 Representation format to use for printing to stdout.
50
51 --jobs|-j num
52 Number of jobs to perform in parallel.
53
54 --no-result
55 Don't print informational messages about the outcome of perform‐
56 ing a command or some of its parts.
57
58 --structured-result fmt
59 Write the result of performing a command in a structured form.
60
61 --progress
62 Display progress indicators for long-lasting operations, such as
63 network transfers, building, etc.
64
65 --no-progress
66 Suppress progress indicators for long-lasting operations, such
67 as network transfers, building, etc.
68
69 --diag-color
70 Use color in diagnostics.
71
72 --no-diag-color
73 Don't use color in diagnostics.
74
75 --build path
76 The build program to be used to build packages.
77
78 --build-option opt
79 Additional option to be passed to the build program.
80
81 --fetch path
82 The fetch program to be used to download resources.
83
84 --fetch-option opt
85 Additional option to be passed to the fetch program.
86
87 --fetch-timeout sec
88 The fetch and fetch-like (for example, git) program timeout.
89
90 --pkg-proxy url
91 HTTP proxy server to use when fetching package manifests and ar‐
92 chives from remote pkg repositories.
93
94 --git path
95 The git program to be used to fetch git repositories.
96
97 --git-option opt
98 Additional common option to be passed to the git program.
99
100 --sha256 path
101 The sha256 program to be used to calculate SHA256 sums.
102
103 --sha256-option opt
104 Additional option to be passed to the sha256 program.
105
106 --tar path
107 The tar program to be used to extract package archives.
108
109 --tar-option opt
110 Additional option to be passed to the tar program.
111
112 --openssl path
113 The openssl program to be used for crypto operations.
114
115 --openssl-option opt
116 Additional option to be passed to the openssl program.
117
118 --auth type
119 Types of repositories to authenticate.
120
121 --trust fingerprint
122 Trust repository certificate with a SHA256 fingerprint.
123
124 --trust-yes
125 Assume the answer to all authentication prompts is yes.
126
127 --trust-no
128 Assume the answer to all authentication prompts is no.
129
130 --git-capabilities up=pc
131 Protocol capabilities (pc) for a git repository URL prefix (up).
132
133 --pager path
134 The pager program to be used to show long text.
135
136 --pager-option opt
137 Additional option to be passed to the pager program.
138
139 --options-file file
140 Read additional options from file.
141
142 --default-options dir
143 The directory to load additional default options files from.
144
145 --no-default-options
146 Don't load default options files.
147
148 --keep-tmp
149 Don't remove the bpkg's temporary directory at the end of the
150 command execution and print its path at the verbosity level 2 or
151 higher.
152
154 See bpkg-default-options-files(1) for an overview of the default op‐
155 tions files. For the pkg-disfigure command the search start directory
156 is the configuration directory. The following options files are
157 searched for in each directory and, if found, loaded in the order
158 listed:
159
160 bpkg.options
161 bpkg-pkg-disfigure.options
162
163 The following pkg-disfigure command options cannot be specified in the
164 default options files:
165
166 --directory|-d
167
169 Send bug reports to the users@build2.org mailing list.
170
172 Copyright (c) 2014-2023 the build2 authors.
173
174 Permission is granted to copy, distribute and/or modify this document
175 under the terms of the MIT License.
176
177
178
179bpkg 0.16.0 June 2023 bpkg-pkg-disfigure(1)