Scroll to navigation

DPUT.CF(5) File Formats Manual DPUT.CF(5)

NAME

dput.cf - Debian package upload tool configuration file

DESCRIPTION

This manpage gives a brief overview of dput's configuration file and the available options in it. dput is a tool to upload Debian packages to the archive.

FORMAT

dput.cf consists of different groups of configuration options, one for each host where you want to be able to upload packages. Hosts are defined using an identifier header with a short name for the host, enclosed in square brackets. For example, a section named foo.example.org is introduced with the header:

[foo.example.org]

Note that if multiple section names in the configuration match the specified hostname, only the last matching section is considered. This is done to avoid confusion when overriding a global configuration file with a user-specific one.

A special section name, DEFAULT, holds default parameters for all the hosts. The defaults can be overridden by redefining them again in each host section.

The available parameters are listed below.

Connect to the remote host using the fully-qualified domain DOMAIN, connecting on port PORT. The port is only relevant for HTTP or FTP protocols.
Authenticate to this host with the username USERNAME. If USERNAME is a single asterisk *, the scp and rsync methods will not supply a login name when invoking the ssh, scp, and rsync commands.
Upload files to the filesystem path PATH on this host.
Use the file transfer method METHOD for uploading files to this host. Currently, dput accepts the following values for METHOD:
The package will be uploaded via FTP, either anonymously or using a login and password. Note that FTP is unencrypted so you should not use password authentication with this.
The package will be uploaded via HTTP or HTTPS using the PUT method as specified in WebDAV. The upload method will prompt for a password if necessary.
The package will be uploaded using SSH's scp. This transfers files using a secure SSH tunnel, and needs authentication credentials on the remote machine.
The package will be uploaded using rsync over the SSH protocol. This is similar to scp, but can save some bandwidth if the destination file already exists on the remote server. It also needs authentication credentials for the remote machine as it uses SSH.
The package will be "uploaded" locally using /usr/bin/install. This transfers files to a local incoming directory, and needs appropriate permissions set on that directory.
Use the hash algorithm ALGORITHM to compute the checksum of all files before the upload. If any hash does not match the value specified in the CHANGESFILE, the upload does not happen. Currently, dput accepts the following values for ALGORITHM:
The MD5 algorithm.
The SHA-1 algorithm.
If FLAG is true, dput may upload files without a GnuPG signature.
If FLAG is true, dcut may upload a queue commands file to remove or move files in the queue on this host.
If defined, NAMES is a comma-separated list of distributions that this host accepts. This is used to guess the host to use when none is specified on the command line.
If defined, dput will refuse the upload if the distribution field does not match REGEX using Python's re syntax.
An integer giving the “days” parameter for delayed uploads to this host. If defined, dput will upload to the queue named DELAYED/DAYS (i.e. uploads to this host will be delayed the specified number of days). Defaults to the empty string, meaning no delay. This only works with hosts that support delayed uploads.
If FLAG is true, dput will run lintian(1) on the CHANGESFILE before uploading. If the package is not Lintian clean, the upload will not happen.
If FLAG is true, dput will run dinstall -n after the package has been uploaded. This is an easy way to test if your package would be installed into the archive or not.
This option defines if dput should check if the user has installed the package in his system for testing it before putting it into the archive. If the user has not installed and tested it, dput will reject the upload.
This option defines if dput should use passive ftp or active ftp for uploading a package to one of the upload queues. By default, dput uses passive ftp connections. If you need to use active ftp connections, set passive_ftp to 0.
Display a progress indicator using style STYLE for uploads to this host. (Currently implemented for ftp method only.)
Supported values for STYLE:
0
(default) No progress indicator.
1
Rotating progress indicator.
2
Kilobyte counter.
If FLAG is true and the METHOD is scp, enable SSH compression for uploads to this host. This parameter has been found to decrease upload time for slow links, and increase upload times for faster links.
Specify the command-line options (text) to pass to all automatic invocations of ssh and scp. The OPTIONS should be SSH client configuration options, as documented in ssh_config(5). Note that you can define multiline (dput) configuration options by indenting the second line with whitespace (i.e. similar to RFC822 header continuations).
If defined, dput will invoke the command COMMAND after a successful upload.
If defined, dput will invoke the command COMMAND before attempting an upload.
Specify to use the dput.cf section named HOSTNAME for packages that are allowed to be uploaded to the main archive. This variable is used when guessing the host to upload to.

FILES

/etc/dput.cf
Global configuration file.
~/.dput.cf
Per-user configuration file.

SEE ALSO

dput(1)

‘dput’ package documentation.

2016-12-27 Debian