.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" 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" '' '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 turned on, 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. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" .\" 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 "February 2011" "dupload 2.7.0" "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 \- utility to upload Debian packages .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBdupload\fR [\fIoptions\fR] [\fIchanges_file\fR | \fIdir\fR] ... .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBdupload\fR is a tool that enables Debian developers to easily upload their packages to the Debian archive. At least for chiark the upload procedure is somewhat error prone (upload to Incoming/, move it to queue/). .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 doesn't end with \&\*(L".changes\*(R". Further processing is done chdir'ed 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 \&\fBdupload\fR will stop and verify if it sees you try to upload a package with a non-US Section field to a host that is neither non\-us.debian.org, security.debian.org nor has the \*(L"nonus\*(R" option set to 1. .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 .changes 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. \s-1UPSTREAMVER\s0 and \s-1DEBIANREV\s0 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: .PP If you only want the announcement to be made with only \s-1ONE\s0 upload, you name it foobar_3.14\-2.announce. .PP If you want it to be made with every upload of a particular upstream version, name it foobar_3.14.announce. .PP If you want it made with \fBevery\fR upload of a given package, name it foobar.announce. .PP \&\fBPlease note:\fR Some mail readers (like elm w/ \s-1PGP\s0 extensions) don't show mail contents outside of the signed part of a message. .SS "Login and password" .IX Subsection "Login and password" If no login (username) is defined in the configuration file, \&\*(L"anonymous\*(R" 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 \*(L"anonymous\*(R", you're asked for the password. For security reasons there's no way to supply it via the commandline or the environment. .SS "\s-1FTP\s0 / scp / rsync" .IX Subsection "FTP / scp / rsync" The default transfer method is \s-1FTP\s0. Alternative methods are scp/SSH and rsync/SSH. For scp and rsync, the default login is taken from your local user name. .PP The scp/SSH method only works properly if no password is required (see \fBssh\fR(1)). When you use scp, it is recommended to set the \*(L"method\*(R" keyword to \&\*(L"scpb\*(R", which will transfer all files in a batch. .PP If you are using an upload queue, use \s-1FTP\s0 because it's fast. If you are using an authenticated host, \fBalways\fR use scp or rsync via \s-1SSH\s0, because \s-1FTP\s0 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 don't match. .IP "\fB\-c\fR \fB\-\-configfile\fR" 12 .IX Item "-c --configfile" Read the file ./dupload.conf (if it exists). \fBWarning\fR: this is a security risk if you are in a directory where other people can write. That's why it is not the default (unlike the previous versions). .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" Supress 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 \*(L"dinstall_runs\*(R" option set to 1. .IP "\fB\-\-mailonly\fR" 12 .IX Item "--mailonly" Acts as if \fB\-\-no\fR has been specified and but sends the announcements, unconditionally. .IP "\fB\-\-noarchive\fR" 12 .IX Item "--noarchive" Adds a \*(L"X\-No-Archive: yes\*(R" header so that the announcement will not be archived. You can use the per-host \*(L"archive\*(R" 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. supress normal output. .IP "\fB\-t\fR \fB\-\-to\fR \fInickname\fR \fBoptional\fR" 12 .IX Item "-t --to nickname optional" Upload to \fInickname\fR'd host. \fInickname\fR is the key for doing lookups in the config file. You can use the \*(L"default_host\*(R" configuration option to specify a host without \fB\-\-to\fR. .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.gz, .diff.gz .PP \&\fBdupload\fR itself writes the log file \fIpackage_version\-debian\fR.upload, and the additional announcement files \fIpackage.announce\fR, \&\fIpackage_upstreamver.announce\fR, and \fIpackage_upstreamver\-debianrev.announce\fR. .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 shouldn't require too much effort to make it run under others systems, though, it's written in Perl. .SH "AUTHOR/COPYRIGHT" .IX Header "AUTHOR/COPYRIGHT" Copyright 1996 Heiko Schlittermann, 1999 Stephane Bortzmeyer .PP \&\fBdupload\fR is free software; see the \s-1GNU\s0 General Public Licence version 2 or later for copying conditions. There is \fBno\fR warranty. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBdupload.conf\fR(5)