.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" 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 "2019-02-27" "2.9.4" "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|directory\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. If files with \fIpackage\fR.announce, \fIpackage_UPSTREAMVER\fR.announce, or \fIpackage_UPSTREAMVER\-DEBIANREV\fR.announce exist, these files get prepended to the announcement. \fI\s-1UPSTREAMVER\s0\fR and \fI\s-1DEBIANREV\s0\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 foobar.announce. .SS "\s-1FTP\s0 login and password" .IX Subsection "FTP login and password" 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. .PP For logins other than \fBanonymous\fR, you are asked for the password. For security reasons there is no way to supply it via the commandline or the environment. .SS "ftp / scp / rsync / copy" .IX Subsection "ftp / scp / rsync / copy" The default transfer method is \fBftp\fR. Alternative methods are \fBscp\fR/SSH and \fBrsync\fR/SSH. For \fBscp\fR and \fBrsync\fR, the default login is delegated to \s-1SSH\s0 and its own configuration. .PP 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. .PP The \fBcopy\fR method works by simply copying the files to another directory in the local filesystem. .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 \fBscp\fR or \fBrsync\fR via \s-1SSH,\s0 because \fBftp\fR transmits the password in clear text. .SH "OPTIONS" .IX Header "OPTIONS" .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\-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\-c\fR, \fB\-\-configfile\fR [\fIfilename\fR]" 12 .IX Item "-c, --configfile [filename]" Read the file \fIfilename\fR or \fI./dupload.conf\fR (if it exists and no argument is provided). .Sp \&\fBWarning\fR: Using this option without a \fIfilename\fR argument is deprecated (as of dupload 2.9.0) because it is a security risk if you are in a directory where other people can write. The argument will become mandatory in the future. .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\-\-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\-q\fR, \fB\-\-quiet\fR" 12 .IX Item "-q, --quiet" Be quiet, i.e., suppress normal output and progress bars. .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\-\-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" .SS "Configuration" .IX Subsection "Configuration" The configuration files are searched as follows (and read in this order, overriding each other): .PP .Vb 2 \& /etc/dupload.conf \& ~/.dupload.conf .Ve .SS "Other" .IX Subsection "Other" Various Debian package files are used by \fBdupload\fR: .dsc, .changes, .deb, \&.orig.tar.*, .debian.tar.*, .diff.* .PP \&\fBdupload\fR itself writes the log file \fIpackage_version\-debian\fR.upload, and the additional announcement files \fIpackage\fR.announce, \&\fIpackage_upstreamver\fR.announce, or \fIpackage_upstreamver\-debianrev\fR.announce. .SS "Announcement addresses" .IX Subsection "Announcement addresses" By default, the announcement addresses are unset because dinstall sends mails instead. .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)