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 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416
|
.ds command dput
.ds COMMAND DPUT
.\" ==========
.TH "\*[COMMAND]" 1 "2016-12-31" "Debian"
.
.\" ==========
.SH NAME
.B \*[command]
\- Debian package upload tool
.
.\" ==========
.SH SYNOPSIS
.
.SY \*[command]
.OP \-DPUVdflosu
.OP \-c CONFIGFILE
.OP \-e DAYS
.RI [ HOSTNAME ]
.I CHANGESFILE
\f[R].\|.\|.\f[]
.YS
.
.SY \*[command]
.OP \-d
.OP \-c CONFIGFILE
.B \-H
.YS
.
.SY \*[command]
.OP \-d
.OP \-c CONFIGFILE
.B \-p
.YS
.
.SY \*[command]
.B \-h
.YS
.
.SY \*[command]
.B \-v
.YS
.
.\" ==========
.SH DESCRIPTION
.
.P
Upload, to the Debian package upload queue, the files constituting the
package specified in each \f[I]CHANGESFILE\f[].
.
.P
A Debian package release comprises several files, specified in the
\f[I]CHANGESFILE\f[] for that release. The Debian Package Upload Tool
.RB ( \*[command] )
performs several verification checks on the package, then (if the
verifications succeed) uploads those files to the remote Debian
package repository.
.
See \f[B]VERIFICATION CHECKS\f[], below, for a description of the checks
.B \*[command]
can perform on each package.
.
.P
\f[I]HOSTNAME\f[] is a name matching a host section in the
.BR dput.cf (5)
configuration. If not specified, \f[I]HOSTNAME\f[] defaults to the
value of the \f[B]default_host_main\f[] configuration parameter.
.
.P
The file transfer method is determined by the \f[B]method\f[]
configuration parameter for the specified host. See
.BR dput.cf (5)
for the set of supported \f[B]method\f[] values.
.
.P
If the configuration specifies a \f[B]pre_upload_command\f[] for the
remote host, execute a shell subprocess for that command before
attempting to upload each package.
.
.P
If the configuration specifies a \f[B]post_upload_command\f[] for the
remote host, execute a shell subprocess for that command after each
successful package upload.
.
.\" ==========
.SH VERIFICATION CHECKS
.
.P
Each package release, as specified by a \f[I]CHANGESFILE\f[], is
checked to see whether it is suitable for upload. The following checks
are available:
.
.TP
Unique upload
.
The package should not already have been uploaded to the remote host
\f[I]HOSTNAME\f[].
.
.IP ""
Check for the log file created when
.B \*[command]
successfully uploads a package. If the corresponding log file already
exists, abort the upload attempt.
.
This is unique only for the combination of local machine (where the
upload log is recorded), the \f[I]CHANGESFILE\f[] name, and the remote
\f[I]HOSTNAME\f[].
.
.IP ""
This check is disabled if the \f[B]\-\-force\f[] option is specified.
.
.TP
Required package files
.
The package should comprise the required files for the type of package.
.
.IP ""
If this is a source package release, and the required source control
file (\f[I]….dsc\f[]) is not part of the package, abort the upload
attempt.
.
.IP ""
If this is a source package release, and the version string implies
that this is the first Debian release for this version, and the
corresponding source tarball is not part of the package, abort the
upload attempt.
.
.IP ""
If the package contains the upstream source tarball, but this is not
required for this release, emit a warning that the upload might be
rejected by the remote host.
.
.IP ""
If the package contains the Debian-native source tarball, but this is
not required for this release, emit a warning that the upload might be
rejected by the remote host.
.
.TP
Successful local install
.
The package should be successfully installed on the local system.
.
.IP ""
If this is a binary package release, and each binary package
(\f[I]….deb\f[] file) is not successfully installed on the local
system at the specified version, abort the upload.
.
.IP ""
This check is disabled by default. It is enabled when the
configuration parameter \f[B]check_version\f[] is true.
.
.TP
Cryptographic signature
.
The GnuPG signature on the \f[I]CHANGESFILE\f[] should match that file's contents.
.
If this is a source package release, the GnuPG signature on the source
control file (\f[I]….dsc\f[]) should match that file's contents.
.
.IP ""
If GnuPG does not report a good signature for these files, abort the upload.
.
.IP ""
This check is disabled when either the \f[B]allow_unsigned_uploads\f[]
parameter is true, or the \f[B]\-\-check\-only\f[] option is
specified.
.
.TP
Package files content match
.
The computed size and hash values for each constituent file should
match the values specified in \f[I]CHANGESFILE\f[].
.
.IP ""
For each file size and hash value specified in \f[I]CHANGESFILE\f[],
compute the size and hash using the corresponding named file's
contents on the filesystem.
.
If any computed size or hash value does not match the corresponding
value in \f[I]CHANGESFILE\f[], abort the upload.
.
.TP
Distribution name is permitted for the remote host
.
The configuration for \f[I]HOSTNAME\f[] should permit the distribution
name specified in the package.
.
.IP ""
If the package release's target Debian distribution name is not one
specified by the \f[B]distributions\f[] parameter for the
\f[I]HOSTNAME\f[], abort the upload attempt.
.
See
.BR dput.cf (5)
for the \f[B]distributions\f[] parameter.
.
.TP
Lintian success
.
The package should get a successful report from Lintian.
.
.IP ""
Invoke the Lintian tool to check the package described by
\f[I]CHANGESFILE\f[]. If the check is unsuccessful (exit status
non-zero), abort the upload attempt.
.
.IP ""
This check is disabled by default. It is enabled when the
configuration parameter \f[B]run_lintian\f[] is true, or the
\f[B]\-\-lintian\f[] option is specified.
.
.\" ==========
.SH OPTIONS
.
.TP
.BI \-c " CONFIGFILE"
.TQ
.BI \-\-config " CONFIGFILE"
Use the file \f[I]CONFIGFILE\f[] for configuration.
.
See
.BR dput.cf (5)
for the specification of this file format.
.
.TP
.B \-d
.TQ
.B \-\-debug
Display debugging messages.
.
.TP
.B \-D
.TQ
.B \-\-dinstall
Request a dry run of
.B dinstall
on the remote host after the upload.
.
.TP
.B \-f
.TQ
.B \-\-force
Disable the check for a unique upload.
.
See
.BR "VERIFICATION CHECKS" ,
above, for a description of this check.
.
.TP
.B \-h
.TQ
.B \-\-help
Display help information, then exit.
.
.TP
.B \-H
.TQ
.B \-\-host\-list
Display the lists of hosts known to the configuration, then exit.
.
See
.BR dput.cf (5)
for the specification of hosts.
.
.TP
.B \-l
.TQ
.B \-\-lintian
Enable the Lintian verification check, and exit if the check fails.
.
See
.BR "VERIFICATION CHECKS" ,
above, for a description of this check.
.
.TP
.B \-U
.TQ
.B \-\-no\-upload\-log
Do not write a log file when uploading files.
.
.IP ""
This omits the record used later for checking whether an upload is unique.
.
See
.BR "VERIFICATION CHECKS" ,
above, for a description of this check.
.
.TP
.BR \-o
.TQ
.B \-\-check\-only
Do not upload the files, and disable the checks for unique upload and
cryptographic signature.
.
See
.BR "VERIFICATION CHECKS" ,
above, for a description of these checks.
.
.TP
.B \-p
.TQ
.B \-\-print
Display the configuration that \f[B]\*[command]\f[] is using, then exit.
.
See
.BR dput.cf (5)
for the configuration format.
.
.TP
.B \-P
.TQ
.B \-\-passive
Use passive mode for FTP.
.
If not specified, default for FTP is active mode.
.
.TP
.B \-s
.TQ
.B \-\-simulate
Do not actually upload to the remote host.
.
.TP
.B \-u
.TQ
.B \-\-unchecked
Disable the check for cryptographic signature.
.
See
.BR "VERIFICATION CHECKS" ,
above, for a description of this check.
.
.TP
.BI \-e " DAYS"
.TQ
.BI \-\-delayed " DAYS"
Upload to a \f[B]DELAYED\f[] queue, rather than the usual
\f[B]Incoming\f[].
.
This takes a \f[I]DAYS\f[] argument from 0 to 15. Note that a delay of
0 is different from no delay at all.
.
.TP
.B \-v
.TQ
.B \-\-version
Display version information, then exit.
.
.TP
.B \-V
.TQ
.B \-\-check\-version
Enable the check for successful local install.
.
See
.BR "VERIFICATION CHECKS" ,
above, for a description of this check.
.
.\" ==========
.SH ENVIRONMENT
.
.TP
.B USER
.
If no username is specified for authenticating to the remote host, use
the value of this variable.
.
.\" ==========
.SH FILES
.
.TP
Configuration
.
See
.BR dput.cf (5)
for the files to configure
.B \*[command].
.
.TP
.B \f[I]path\f[]/\f[I]basename\f[].\f[I]HOSTNAME\f[].upload
The log file that contains a record of the successful upload to
\f[I]HOSTNAME\f[].
.
.IP ""
\f[I]path\f[] is the directory path of \f[I]CHANGESFILE\f[].
.
.IP ""
\f[I]basename\f[] is derived from the \f[I]CHANGESFILE\f[] filename,
by removing the directory path and the \f[B].changes\f[] suffix.
.
.\" ==========
.SH SEE ALSO
.
.BR dput.cf (5),
.BR dcut (1),
.BR lintian (1)
.
.P
.UR file:///usr/share/doc/dput/
\[oq]dput\[cq] package documentation
.UE ,
.UR file:///usr/share/dput/
\[oq]dput\[cq] program files
.UE .
.
.\" Copyright © 2016–2024 Ben Finney <bignose@debian.org>
.
.\" This is free software: you may copy, modify, and/or distribute this work
.\" under the terms of the GNU General Public License as published by the
.\" Free Software Foundation; version 3 of that license or any later version.
.\" No warranty expressed or implied. See the file ‘LICENSE.GPL-3’ for details.
.
.\" Local variables:
.\" coding: utf-8
.\" mode: nroff
.\" End:
.\" vim: fileencoding=utf-8 filetype=nroff :
|