.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "dupload 1" .TH dupload 1 "2023-01-07" "2.9.12" "Debian Project" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" dupload \- Debian package upload tool .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBdupload\fR [\fIoptions\fR...] [\fIchanges-file\fR|\fIdirectory\fR...] .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBdupload\fR is a tool that enables people maintaining Debian packages to easily upload them to a Debian repository. .PP \&\fBdupload\fR checks each non-option argument to find readable files or directories. It parses the files as \fI.changes\fR files, or tries to find such files in the given directories. .PP \&\fBdupload\fR will warn if the name of the file does not end with \&\fI.changes\fR. Further processing is done changing into the directories of the changes files. .PP \&\fBdupload\fR tests the available checksums and size for each file listed in the \fI.changes\fR file, and fails if it finds a mismatch. If all this goes well, \fBdupload\fR checks if there is an \fI.upload\fR file with the basename of the \fI.changes\fR file. If the file to be uploaded is recorded to have already been uploaded to the specified host, it is skipped. .PP After the list of files to upload is finished, \fBdupload\fR tries to connect to the server and upload. Each successfully uploaded file is recorded in the \&\fI.upload\fR log file. .PP If all files of a package are processed, the \fI.changes\fR file is mailed to the announcement address specified in the configuration file, see the Announcement section for more details. .SS "Upload methods" .IX Subsection "Upload methods" The default transfer method is \fBftp\fR. Alternative methods are \fBhttp\fR, \fBhttps\fR, \fBscp\fR/SSH, \fBscpb\fR/SSH, \&\fBrsync\fR/SSH and \fBcopy\fR. .PP If you are using an upload queue, use \fBftp\fR because it is fast. If you are using an authenticated host, \fBalways\fR use \fBhttps\fR, or one of \&\fBscp\fR or \fBrsync\fR via \s-1SSH,\s0 because \fBftp\fR transmits the password in clear text. .IP "\fBftp\fR" 2 .IX Item "ftp" If no login (username) is defined in the configuration file, \&\fBanonymous\fR is used. The password is derived from your login name and your hostname, which is common for anonymous \s-1FTP\s0 logins. For anonymous logins only, you can provide the \*(L"password\*(R" in the configuration file. .Sp For logins other than \fBanonymous\fR, you are asked for the password. For security reasons there is no way to supply it via the command-line or the environment. .IP "\fBhttp\fR (since 2.9.9) / \fBhttps\fR (since 2.9.9)" 2 .IX Item "http (since 2.9.9) / https (since 2.9.9)" There is no default login nor password. If you specify a login, a password will be fetched from \fBpasswordcmd\fR or if that is not defined via the Secret Service interface, otherwise it will be prompted. .IP "\fBscp\fR (since 1.8) / \fBscpb\fR (since 1.17)" 2 .IX Item "scp (since 1.8) / scpb (since 1.17)" The default login is delegated to \s-1SSH\s0 and its own configuration. .Sp The \fBscp\fR/SSH method only works properly if no password is required (see \fBssh\fR(1)). When you use \fBscp\fR, it is recommended to set the \*(L"method\*(R" keyword to \&\fBscpb\fR, which will transfer all files in a batch. .IP "\fBrsync\fR (since 2.4.1)" 2 .IX Item "rsync (since 2.4.1)" The default login is delegated to \s-1SSH\s0 and its own configuration. .IP "\fBcopy\fR (since 2.9.0)" 2 .IX Item "copy (since 2.9.0)" The \fBcopy\fR method works by simply copying the files to another directory in the local filesystem. .SS "Announcement" .IX Subsection "Announcement" If the host has been configured to send announcement mails, the \fI.changes\fR file will be sent to the specified addresses. .PP The contents of all the following files are prepended to the announcement mail body, if present: .IP "\fIpackage\fR\fB.announce\fR" 4 .IX Item "package.announce" .PD 0 .IP "\fIpackage\fR\fB_\fR\fIupstream-version\fR\fB.announce\fR" 4 .IX Item "package_upstream-version.announce" .IP "\fIpackage\fR\fB_\fR\fIupstream-version\fR\fB\-\fR\fIrevision\fR\fB.announce\fR" 4 .IX Item "package_upstream-version-revision.announce" .PD .PP Where \fIupstream-version\fR and \fIrevision\fR are to be replaced with actual version numbers. For example, if your package is called \fBfoobar\fR, has upstream version 3.14, and Debian revision 2: .IP "\(bu" 2 If you only want the announcement to be made with only \s-1ONE\s0 upload, you name it \fIfoobar_3.14\-2.announce\fR. .IP "\(bu" 2 If you want it to be made with every upload of a particular upstream version, name it \fIfoobar_3.14.announce\fR. .IP "\(bu" 2 If you want it made with \fBevery\fR upload of a given package, name it \&\fIfoobar.announce\fR. .PP By default, the announcement addresses are unset because dinstall sends mails instead. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-t\fR, \fB\-\-to\fR \fInickname\fR" 12 .IX Item "-t, --to nickname" Upload to \fInickname\fR'd host. \fInickname\fR is the key for doing lookups in the config file. You can use the \fBdefault_host\fR configuration option to specify a host without \fB\-\-to\fR. .IP "\fB\-c\fR, \fB\-\-configfile\fR \fIfilename\fR" 12 .IX Item "-c, --configfile filename" Read the file \fIfilename\fR as a configuration file, in addition to the global configuration file. .IP "\fB\-f\fR, \fB\-\-force\fR" 12 .IX Item "-f, --force" Upload regardless of the transfers logged as already completed. .IP "\fB\-k\fR, \fB\-\-keep\fR" 12 .IX Item "-k, --keep" Keep going, skipping packages whose checksums does not match. .IP "\fB\-q\fR, \fB\-\-quiet\fR" 12 .IX Item "-q, --quiet" Be quiet, i.e., suppress normal output and progress bars. .IP "\fB\-d\fR, \fB\-\-debug\fR [\fIlevel\fR]" 12 .IX Item "-d, --debug [level]" Enable more verbose output from the \s-1FTP\s0 module. .IP "\fB\-\-no\fR" 12 .IX Item "--no" Dry run, no files are changed, no upload is attempted, only tell what we would do. .IP "\fB\-\-mta\fR \fIpathname\fR" 12 .IX Item "--mta pathname" Use \fIpathname\fR as the sendmail compatible \s-1MTA.\s0 The \s-1MTA\s0 specified must support the \fB\-f\fR option to set the envelope sender address, and the \fB\-F\fR option to set the sender's full name. The default is \fI/usr/sbin/sendmail\fR. .Sp Since version 2.9.8. .IP "\fB\-\-nomail\fR" 12 .IX Item "--nomail" Suppress announcement for this run. You can send it later by just calling dupload again w/o this option. Note that this option is by default implied for all hosts with the \fBdinstall_runs\fR option set to 1. .IP "\fB\-\-mailonly\fR" 12 .IX Item "--mailonly" Acts as if \fB\-\-no\fR has been specified, but sends the announcements, unconditionally. .IP "\fB\-\-noarchive\fR" 12 .IX Item "--noarchive" Adds an \fBX\-No-Archive: yes\fR header so that the announcement will not be archived. You can use the per-host \fBarchive\fR option in the configuration file. .IP "\fB\-p\fR, \fB\-\-print\fR" 12 .IX Item "-p, --print" Print the \*(L"database\*(R" as read from the config files and exit. If a host is specified via option \fB\-\-to\fR, only this host's entry is displayed. .IP "\fB\-\-help\fR" 12 .IX Item "--help" Prints the program usage message and exits. .IP "\fB\-V\fR, \fB\-\-Version\fR" 12 .IX Item "-V, --Version" Prints version and exits. .SH "FILES" .IX Header "FILES" .IP "\fI/etc/dupload.conf\fR" 4 .IX Item "/etc/dupload.conf" .PD 0 .IP "\fI~/.dupload.conf\fR" 4 .IX Item "~/.dupload.conf" .IP "\fB\-\-configfile\fR \fIconfig-file\fR" 4 .IX Item "--configfile config-file" .PD The configuration files are loaded if available in the order listed, overriding previous files. .IP "\fIpackage\fR\fB.announce\fR" 4 .IX Item "package.announce" .PD 0 .IP "\fIpackage\fR\fB_\fR\fIupstream-version\fR\fB.announce\fR" 4 .IX Item "package_upstream-version.announce" .IP "\fIpackage\fR\fB_\fR\fIupstream-version\fR\fB\-\fR\fIrevision\fR\fB.announce\fR" 4 .IX Item "package_upstream-version-revision.announce" .PD If present, they will all be read to prepend to the announcement mail. .IP "\fI.changes\fR" 4 .IX Item ".changes" .PD 0 .IP "\fI.dsc\fR" 4 .IX Item ".dsc" .IP "\fI.orig.tar.*\fR" 4 .IX Item ".orig.tar.*" .IP "\fI.debian.tar.*\fR" 4 .IX Item ".debian.tar.*" .IP "\fI.diff.*\fR" 4 .IX Item ".diff.*" .IP "\fI.deb\fR" 4 .IX Item ".deb" .PD The \fI.changes\fR file to upload and all of its referenced files. .IP "\fIpackage\fR\fB_\fR\fIversion\fR\fB_\fR\fIarch\fR.upload" 4 .IX Item "package_version_arch.upload" The file where \fBdupload\fR writes the upload log. .SH "BUGS" .IX Header "BUGS" \&\fBdupload\fR is tested on \fBDebian\fR systems only. It should not require too much effort to make it run under others systems, though. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdupload.conf\fR(5)