--- pssh-2.3.1.orig/debian/README.Debian +++ pssh-2.3.1/debian/README.Debian @@ -0,0 +1,8 @@ +To avoid any conflicts with the putty package, all of the programs have been +renamed. + +parallel-ssh is pssh +parallel-scp is pscp +parallel-rsync is prsync +parallel-nuke is pnuke +parallel-slurp is pslurp --- pssh-2.3.1.orig/debian/README.source +++ pssh-2.3.1/debian/README.source @@ -0,0 +1,57 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +To configure quilt to use debian/patches instead of patches, you want +either to export QUILT_PATCHES=debian/patches in your environment +or use this snippet in your ~/.quiltrc: + + for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do + if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then + export QUILT_PATCHES=debian/patches + fi + done + +To get the fully patched source after unpacking the source package, cd to +the root level of the source package and run: + + quilt push -a + +The last patch listed in debian/patches/series will become the current +patch. + +To add a new set of changes, first run quilt push -a, and then run: + + quilt new + +where is a descriptive name for the patch, used as the filename in +debian/patches. Then, for every file that will be modified by this patch, +run: + + quilt add + +before editing those files. You must tell quilt with quilt add what files +will be part of the patch before making changes or quilt will not work +properly. After editing the files, run: + + quilt refresh + +to save the results as a patch. + +Alternately, if you already have an external patch and you just want to +add it to the build system, run quilt push -a and then: + + quilt import -P /path/to/patch + quilt push -a + +(add -p 0 to quilt import if needed). as above is the filename to +use in debian/patches. The last quilt push -a will apply the patch to +make sure it works properly. + +To remove an existing patch from the list of patches that will be applied, +run: + + quilt delete + +You may need to run quilt pop -a to unapply patches first before running +this command. --- pssh-2.3.1.orig/debian/changelog +++ pssh-2.3.1/debian/changelog @@ -0,0 +1,137 @@ +pssh (2.3.1-1ubuntu1) focal; urgency=medium + + * Build using python2. + + -- Matthias Klose Fri, 27 Mar 2020 13:38:38 +0100 + +pssh (2.3.1-1build1) focal; urgency=medium + + * No-change rebuild to generate dependencies on python2. + + -- Matthias Klose Tue, 17 Dec 2019 12:39:35 +0000 + +pssh (2.3.1-1) unstable; urgency=low + + * New upstream release + * debian/watch: updated to use contribution from bartm + * debian/control: bumped Standards-Version (no changes) + * debian/{control,rules}: switch from dh_pysupport to dh_python2 + * debian/control: added dependency on openssh-client (closes: #721151) + + -- Andrew Pollock Mon, 12 May 2014 09:43:22 +1000 + +pssh (2.2.2-1) unstable; urgency=low + + * New upstream release + * debian/watch: update for current upstream location + * debian/control: bumped Standards-Version + * debian/rules: added build-arch and build-indep targets + + -- Andrew Pollock Sat, 07 Jan 2012 21:21:29 -0800 + +pssh (2.1.1-1) unstable; urgency=low + + * New upstream release (closes: #570609) + * debian/watch: updated for new upstream location + * debian/control: bumped Standards-Version (no changes) + * debian/rules: move pssh-askpass to /usr/lib/pssh + + -- Andrew Pollock Sat, 06 Mar 2010 22:50:54 -0800 + +pssh (2.0-2) unstable; urgency=low + + * debian/rules: add --prefix=/usr to build to fix FTBFS with Python 2.6 + (closes #557958) + + -- Andrew Pollock Wed, 25 Nov 2009 08:20:46 -0800 + +pssh (2.0-1) unstable; urgency=low + + * New upstream release + * debian/copyright: updated for new upstream + * debian/control: updated for new upstream + * removed patches for installed programs, they now dynamically emit their + names in the usage messages + * debian/control: removed build-dependency on quilt + * debian/docs: removed, upstream no longer ships a TODO file + + -- Andrew Pollock Tue, 03 Nov 2009 23:04:44 -0800 + +pssh (1.4.3-2) unstable; urgency=low + + * debian/rules: don't ship upstream's BUGS file (closes: #547298) + * debian/control: bumped Standards-Version (no changes) + * debian/control: add quilt to build dependencies + * patch all installed programs so usage messages refer to the names used in + debian to avoid file conflicts with the putty package (closes: #526801) + * copied quilt's README.source to debian/README.source + * debian/rules: include all of the upstream documentation + * Added manpages contributed by Tatsuki Sugiura (closes: + #471602) + + -- Andrew Pollock Wed, 21 Oct 2009 00:07:47 -0700 + +pssh (1.4.3-1) unstable; urgency=low + + * New upstream release + + -- Andrew Pollock Tue, 28 Oct 2008 23:28:52 -0700 + +pssh (1.4.2-1) unstable; urgency=low + + * New upstream release + + -- Andrew Pollock Sat, 04 Oct 2008 11:33:55 -0700 + +pssh (1.4.0-1) unstable; urgency=low + + * New upstream release + + -- Andrew Pollock Mon, 25 Aug 2008 22:17:35 -0700 + +pssh (1.3.2-1) unstable; urgency=low + + * New upstream release + * debian/control: bumped Standards-Version (no changes) + + -- Andrew Pollock Sun, 13 Jul 2008 11:39:50 -0700 + +pssh (1.3.1-6) unstable; urgency=low + + * Added debian/watch + * debian/dirs: removed usr/sbin + * debian/control: bumped Standards-Version (no changes) + + -- Andrew Pollock Sat, 22 Mar 2008 22:03:48 -0700 + +pssh (1.3.1-5) unstable; urgency=low + + * debian/control: moved Homepage: from binary to source + + -- Andrew Pollock Sat, 27 Oct 2007 14:44:37 -0700 + +pssh (1.3.1-4) unstable; urgency=low + + * debian/control: fix typo in description (closes: #434210) + + -- Andrew Pollock Tue, 24 Jul 2007 16:15:10 -0700 + +pssh (1.3.1-3) unstable; urgency=low + + * debian/control: redo package description to be package compliant (gawd I + suck) (closes: #434210) + + -- Andrew Pollock Mon, 23 Jul 2007 22:50:29 -0700 + +pssh (1.3.1-2) unstable; urgency=low + + * Reworked package description (closes: #434210) + + -- Andrew Pollock Sun, 22 Jul 2007 09:42:05 -0700 + +pssh (1.3.1-1) unstable; urgency=low + + * Initial release (Closes: #433812) + + -- Andrew Pollock Wed, 18 Jul 2007 16:35:24 -0700 + --- pssh-2.3.1.orig/debian/compat +++ pssh-2.3.1/debian/compat @@ -0,0 +1 @@ +5 --- pssh-2.3.1.orig/debian/control +++ pssh-2.3.1/debian/control @@ -0,0 +1,31 @@ +Source: pssh +Section: net +Priority: optional +Maintainer: Andrew Pollock +Build-Depends: debhelper (>= 5), python-all, python-setuptools, dh-python +Standards-Version: 3.9.5 +Homepage: http://code.google.com/p/parallel-ssh/ + +Package: pssh +Architecture: all +Depends: openssh-client, ${python:Depends}, ${misc:Depends} +Description: Parallel versions of SSH-based tools + pssh provides a number of commands for executing against a group of computers, + using SSH. It's most useful for operating on clusters of + homogenously-configured hosts. + . + The package contains: + . + - Parallel ssh (parallel-ssh, upstream calls it pssh), executes commands on + multiple hosts in parallel + - Parallel scp (parallel-scp, upstream calls it pscp), copies files to + multiple remote hosts in parallel + - Parallel rsync (parallel-rsync, upstream calls it prsync), efficiently + copies files to multiple hosts in parallel + - Parallel nuke (parallel-nuke, upstream calls it pnuke), kills processes on + multiple remote hosts in parallel + - Parallel slurp (parallel-slurp, upstream calls it pslurp), copies files + from multiple remote hosts to a central host in parallel + . + These tools are good for controlling large collections of nodes, where faster + alternatives such as gexec and pcp are not available. --- pssh-2.3.1.orig/debian/copyright +++ pssh-2.3.1/debian/copyright @@ -0,0 +1,44 @@ +This package was debianized by Andrew Pollock on +Wed, 18 Jul 2007 16:35:24 -0700. + +It was downloaded from http://code.google.com/p/parallel-ssh/ + +Upstream Author: Brent N. Chun +Upstream Author: Andrew McNabb + +Copyright: 2003, 2004, 2005, 2006, 2007 + Brent N. Chun + Copyright (c) 2009, Andrew McNabb + +License: + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + + * The names of its contributors may not be used to endorse or + promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +The Debian packaging is (C) 2007, Andrew Pollock and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- pssh-2.3.1.orig/debian/dirs +++ pssh-2.3.1/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib/pssh --- pssh-2.3.1.orig/debian/manpages +++ pssh-2.3.1/debian/manpages @@ -0,0 +1,5 @@ +debian/parallel-nuke.1 +debian/parallel-rsync.1 +debian/parallel-scp.1 +debian/parallel-slurp.1 +debian/parallel-ssh.1 --- pssh-2.3.1.orig/debian/parallel-nuke.1 +++ pssh-2.3.1/debian/parallel-nuke.1 @@ -0,0 +1,268 @@ +.\" Man page for pssh. See "man 7 man" and "man man-pages" for formatting info. +.TH parallel-nuke 1 "January 24, 2012" + +.SH NAME +parallel-nuke \(em parallel process kill program + + +.SH SYNOPSIS +.B parallel-nuke +.RB [ \-vA ] +.RB [ \-h +.IR hosts_file ] +.RB [ \-H +.RI [ user @] host [: port ]] +.RB [ \-l +.IR user ] +.RB [ \-p +.IR par ] +.RB [ \-o +.IR outdir ] +.RB [ \-e +.IR errdir ] +.RB [ \-t +.IR timeout ] +.RB [ \-O +.IR options ] +.RB [ \-x +.IR args ] +.RB [ \-X +.IR arg ] +.I pattern + + +.SH DESCRIPTION +.PP +.B parallel-nuke +is a program for killing processes in parallel on a number of hosts. It +provides features such as passing a password to ssh, saving output to files, +and timing out. + + +.SH OPTIONS + +.TP +.BI \-h " host_file" +.PD 0 +.TP +.BI \-\-hosts " host_file" +Read hosts from the given +.IR host_file . +Lines in the host file are of the form +.RI [ user @] host [: port ] +and can include blank lines and comments (lines beginning with "#"). +If multiple host files are given (the +.B \-h +option is used more than once), then parallel-nuke behaves as though these files +were concatenated together. +If a host is specified multiple times, then parallel-nuke will connect the +given number of times. + +.TP +.B \-H +.RI [ user @] host [: port ] +.PD 0 +.TP +.B \-\-host +.RI [ user @] host [: port ] +.PD 0 +.TP +.B \-H +.RI \(dq[ user @] host [: port ] +[ +.RI [ user @] host [: port +] ... ]\(dq +.PD 0 +.TP +.B \-\-host +.RI \(dq[ user @] host [: port ] +[ +.RI [ user @] host [: port +] ... ]\(dq +.PD 0 +.IP +Add the given host strings to the list of hosts. This option may be given +multiple times, and may be used in conjunction with the +.B \-h +option. + +.TP +.BI \-l " user" +.PD 0 +.TP +.BI \-\-user " user" +Use the given username as the default for any host entries that don't +specifically specify a user. + +.TP +.BI \-p " parallelism" +.PD 0 +.TP +.BI \-\-par " parallelism" +Use the given number as the maximum number of concurrent connections. + +.TP +.BI \-t " timeout" +.PD 0 +.TP +.BI \-\-timeout " timeout" +Make connections time out after the given number of seconds. With a value +of 0, parallel-nuke will not timeout any connections. + +.TP +.BI \-o " outdir" +.PD 0 +.TP +.BI \-\-outdir " outdir" +Save standard output to files in the given directory. Filenames are of the +form +.RI [ user @] host [: port ][. num ] +where the user and port are only included for hosts that explicitly +specify them. The number is a counter that is incremented each time for hosts +that are specified more than once. + +.TP +.BI \-e " errdir" +.PD 0 +.TP +.BI \-\-errdir " errdir" +Save standard error to files in the given directory. Filenames are of the +same form as with the +.B \-o +option. + +.TP +.BI \-x " args" +.PD 0 +.TP +.BI \-\-extra-args " args" +Passes extra SSH command-line arguments (see the +.BR ssh (1) +man page for more information about SSH arguments). +This option may be specified multiple times. +The arguments are processed to split on whitespace, protect text within +quotes, and escape with backslashes. +To pass arguments without such processing, use the +.B \-X +option instead. + +.TP +.BI \-X " arg" +.PD 0 +.TP +.BI \-\-extra-arg " arg" +Passes a single SSH command-line argument (see the +.BR ssh (1) +man page for more information about SSH arguments). Unlike the +.B \-x +option, no processing is performed on the argument, including word splitting. +To pass multiple command-line arguments, use the option once for each +argument. + +.TP +.BI \-O " options" +.PD 0 +.TP +.BI \-\-options " options" +SSH options in the format used in the SSH configuration file (see the +.BR ssh_config (5) +man page for more information). This option may be specified multiple +times. + +.TP +.B \-A +.PD 0 +.TP +.B \-\-askpass +Prompt for a password and pass it to ssh. The password may be used for +either to unlock a key or for password authentication. +The password is transferred in a fairly secure manner (e.g., it will not show +up in argument lists). However, be aware that a root user on your system +could potentially intercept the password. + +.TP +.B \-v +.PD 0 +.TP +.B \-\-verbose +Include error messages from ssh with the +.B \-i +and +.B \e +options. + + +.\" .SH EXAMPLES + +.\" .PP +.\" Connect to host1 and host2, and print "hello, world" from each: +.\" .RS +.\" pssh -i -H "host1 host2" echo "hello, world" +.\" .RE + + +.SH TIPS + +.\" .PP +.\" If you have a set of hosts that you connect to frequently with specific +.\" options, it may be helpful to create an alias such as: +.\" .RS +.\" alias pssh_servers="pssh -h /path/to/server_list.txt -l root -A" +.\" .RE + +.PP +The ssh_config file can include an arbitrary number of Host sections. Each +host entry specifies ssh options which apply only to the given host. Host +definitions can even behave like aliases if the HostName option is included. +This ssh feature, in combination with pssh host files, provides a tremendous +amount of flexibility. + + +.SH EXIT STATUS + +.PP +The exit status codes from parallel-nuke are as follows: + +.TP +.B 0 +Success + +.TP +.B 1 +Miscellaneous error + +.TP +.B 2 +Syntax or usage error + +.TP +.B 3 +At least one process was killed by a signal or timed out. + +.TP +.B 4 +All processes completed, but at least one ssh process reported an error +(exit status 255). + +.TP +.B 5 +There were no ssh errors, but at least one remote command had a non-zero exit +status. + + +.SH AUTHORS +.PP +Written by +Brent N. Chun and +Andrew McNabb . + +http://code.google.com/p/parallel-ssh/ + + +.SH SEE ALSO +.BR ssh (1), +.BR ssh_config(5), +.BR parallel-ssh (1), +.BR parallel-scp (1), +.BR parallel-rsync (1), +.BR parallel-slurp (1), --- pssh-2.3.1.orig/debian/parallel-rsync.1 +++ pssh-2.3.1/debian/parallel-rsync.1 @@ -0,0 +1,299 @@ +.\" Man page for parallel-rsync. See "man 7 man" and "man man-pages" for formatting info. +.TH parallel-rsync 1 "January 24, 2012" + +.SH NAME +parallel-rsync \(em parallel process kill program + + +.SH SYNOPSIS +.B parallel-rsync +.RB [ \-vAraz ] +.RB [ \-h +.IR hosts_file ] +.RB [ \-H +.RI [ user @] host [: port ]] +.RB [ \-l +.IR user ] +.RB [ \-p +.IR par ] +.RB [ \-o +.IR outdir ] +.RB [ \-e +.IR errdir ] +.RB [ \-t +.IR timeout ] +.RB [ \-O +.IR options ] +.RB [ \-x +.IR args ] +.RB [ \-X +.IR arg ] +.RB [ \-S +.IR args ] +.I local +.I remote + + +.SH DESCRIPTION +.PP +.B parallel-rsync +is a program for copying files in parallel to a number of hosts. It provides +features such as passing a password to ssh, saving output to files, and timing +out. + + +.SH OPTIONS + +.TP +.BI \-h " host_file" +.PD 0 +.TP +.BI \-\-hosts " host_file" +Read hosts from the given +.IR host_file . +Lines in the host file are of the form +.RI [ user @] host [: port ] +and can include blank lines and comments (lines beginning with "#"). +If multiple host files are given (the +.B \-h +option is used more than once), then parallel-rsync behaves as though these files +were concatenated together. +If a host is specified multiple times, then parallel-rsync will connect the +given number of times. + +.TP +.B \-H +.RI [ user @] host [: port ] +.PD 0 +.TP +.B \-\-host +.RI [ user @] host [: port ] +.PD 0 +.TP +.B \-H +.RI \(dq[ user @] host [: port ] +[ +.RI [ user @] host [: port +] ... ]\(dq +.PD 0 +.TP +.B \-\-host +.RI \(dq[ user @] host [: port ] +[ +.RI [ user @] host [: port +] ... ]\(dq +.PD 0 +.IP +Add the given host strings to the list of hosts. This option may be given +multiple times, and may be used in conjunction with the +.B \-h +option. + +.TP +.BI \-l " user" +.PD 0 +.TP +.BI \-\-user " user" +Use the given username as the default for any host entries that don't +specifically specify a user. + +.TP +.BI \-p " parallelism" +.PD 0 +.TP +.BI \-\-par " parallelism" +Use the given number as the maximum number of concurrent connections. + +.TP +.BI \-t " timeout" +.PD 0 +.TP +.BI \-\-timeout " timeout" +Make connections time out after the given number of seconds. With a value +of 0, parallel-rsync will not timeout any connections. + +.TP +.BI \-o " outdir" +.PD 0 +.TP +.BI \-\-outdir " outdir" +Save standard output to files in the given directory. Filenames are of the +form +.RI [ user @] host [: port ][. num ] +where the user and port are only included for hosts that explicitly +specify them. The number is a counter that is incremented each time for hosts +that are specified more than once. + +.TP +.BI \-e " errdir" +.PD 0 +.TP +.BI \-\-errdir " errdir" +Save standard error to files in the given directory. Filenames are of the +same form as with the +.B \-o +option. + +.TP +.BI \-x " args" +.PD 0 +.TP +.BI \-\-extra-args " args" +Passes extra rsync command-line arguments (see the +.BR rsync (1) +man page for more information about rsync arguments). +This option may be specified multiple times. +The arguments are processed to split on whitespace, protect text within +quotes, and escape with backslashes. +To pass arguments without such processing, use the +.B \-X +option instead. + +.TP +.BI \-X " arg" +.PD 0 +.TP +.BI \-\-extra-arg " arg" +Passes a single rsync command-line argument (see the +.BR rsync (1) +man page for more information about rsync arguments). Unlike the +.B \-x +option, no processing is performed on the argument, including word splitting. +To pass multiple command-line arguments, use the option once for each +argument. + +.TP +.BI \-O " options" +.PD 0 +.TP +.BI \-\-options " options" +SSH options in the format used in the SSH configuration file (see the +.BR ssh_config (5) +man page for more information). This option may be specified multiple +times. + +.TP +.B \-A +.PD 0 +.TP +.B \-\-askpass +Prompt for a password and pass it to ssh. The password may be used for +either to unlock a key or for password authentication. +The password is transferred in a fairly secure manner (e.g., it will not show +up in argument lists). However, be aware that a root user on your system +could potentially intercept the password. + +.TP +.B \-v +.PD 0 +.TP +.B \-\-verbose +Include error messages from rsync with the +.B \-i +and +.B \e +options. + +.TP +.B \-r +.PD 0 +.TP +.B \-\-recursive +Recursively copy directories. + +.TP +.B \-a +.PD 0 +.TP +.B \-\-archive +Use rsync archive mode (rsync's \-a option). + +.TP +.B \-z +.PD 0 +.TP +.B \-\-compress +Use rsync compression. + +.TP +.BI \-S " args" +.PD 0 +.TP +.BI \-\-ssh-args " args" +Passes extra SSH command-line arguments (see the +.BR ssh (1) +man page for more information about SSH arguments). +The given value is appended to the ssh command (rsync's \-e option) without +any processing. + + +.\" .SH EXAMPLES + +.\" .PP +.\" Connect to host1 and host2, and print "hello, world" from each: +.\" .RS +.\" pssh -i -H "host1 host2" echo "hello, world" +.\" .RE + + +.SH TIPS + +.\" .PP +.\" If you have a set of hosts that you connect to frequently with specific +.\" options, it may be helpful to create an alias such as: +.\" .RS +.\" alias pssh_servers="pssh -h /path/to/server_list.txt -l root -A" +.\" .RE + +.PP +The ssh_config file can include an arbitrary number of Host sections. Each +host entry specifies ssh options which apply only to the given host. Host +definitions can even behave like aliases if the HostName option is included. +This ssh feature, in combination with pssh host files, provides a tremendous +amount of flexibility. + + +.SH EXIT STATUS + +.PP +The exit status codes from parallel-rsync are as follows: + +.TP +.B 0 +Success + +.TP +.B 1 +Miscellaneous error + +.TP +.B 2 +Syntax or usage error + +.TP +.B 3 +At least one process was killed by a signal or timed out. + +.TP +.B 4 +All processes completed, but at least one rsync process reported an error +(exit status other than 0). + + +.SH AUTHORS +.PP +Written by +Brent N. Chun and +Andrew McNabb . + +http://code.google.com/p/parallel-ssh/ + + +.SH SEE ALSO +.BR rsync (1), +.BR ssh (1), +.BR ssh_config(5), +.BR parallel-ssh (1), +.BR parallel-rsync (1), +.BR parallel-slurp (1), +.BR parallel-nuke (1), --- pssh-2.3.1.orig/debian/parallel-scp.1 +++ pssh-2.3.1/debian/parallel-scp.1 @@ -0,0 +1,271 @@ +.\" Man page for parallel-scp. See "man 7 man" and "man man-pages" for formatting info. +.TH parallel-scp 1 "January 24, 2012" + +.SH NAME +parallel-scp \(em parallel process kill program + + +.SH SYNOPSIS +.B parallel-scp +.RB [ \-vAr ] +.RB [ \-h +.IR hosts_file ] +.RB [ \-H +.RI [ user @] host [: port ]] +.RB [ \-l +.IR user ] +.RB [ \-p +.IR par ] +.RB [ \-o +.IR outdir ] +.RB [ \-e +.IR errdir ] +.RB [ \-t +.IR timeout ] +.RB [ \-O +.IR options ] +.RB [ \-x +.IR args ] +.RB [ \-X +.IR arg ] +.I local +.I remote + + +.SH DESCRIPTION +.PP +.B parallel-scp +is a program for copying files in parallel to a number of hosts. It provides +features such as passing a password to scp, saving output to files, and timing +out. + + +.SH OPTIONS + +.TP +.BI \-h " host_file" +.PD 0 +.TP +.BI \-\-hosts " host_file" +Read hosts from the given +.IR host_file . +Lines in the host file are of the form +.RI [ user @] host [: port ] +and can include blank lines and comments (lines beginning with "#"). +If multiple host files are given (the +.B \-h +option is used more than once), then parallel-scp behaves as though these files +were concatenated together. +If a host is specified multiple times, then parallel-scp will connect the +given number of times. + +.TP +.B \-H +.RI [ user @] host [: port ] +.PD 0 +.TP +.B \-\-host +.RI [ user @] host [: port ] +.PD 0 +.TP +.B \-H +.RI \(dq[ user @] host [: port ] +[ +.RI [ user @] host [: port +] ... ]\(dq +.PD 0 +.TP +.B \-\-host +.RI \(dq[ user @] host [: port ] +[ +.RI [ user @] host [: port +] ... ]\(dq +.PD 0 +.IP +Add the given host strings to the list of hosts. This option may be given +multiple times, and may be used in conjunction with the +.B \-h +option. + +.TP +.BI \-l " user" +.PD 0 +.TP +.BI \-\-user " user" +Use the given username as the default for any host entries that don't +specifically specify a user. + +.TP +.BI \-p " parallelism" +.PD 0 +.TP +.BI \-\-par " parallelism" +Use the given number as the maximum number of concurrent connections. + +.TP +.BI \-t " timeout" +.PD 0 +.TP +.BI \-\-timeout " timeout" +Make connections time out after the given number of seconds. With a value +of 0, parallel-scp will not timeout any connections. + +.TP +.BI \-o " outdir" +.PD 0 +.TP +.BI \-\-outdir " outdir" +Save standard output to files in the given directory. Filenames are of the +form +.RI [ user @] host [: port ][. num ] +where the user and port are only included for hosts that explicitly +specify them. The number is a counter that is incremented each time for hosts +that are specified more than once. + +.TP +.BI \-e " errdir" +.PD 0 +.TP +.BI \-\-errdir " errdir" +Save standard error to files in the given directory. Filenames are of the +same form as with the +.B \-o +option. + +.TP +.BI \-x " args" +.PD 0 +.TP +.BI \-\-extra-args " args" +Passes extra SSH command-line arguments (see the +.BR ssh (1) +man page for more information about SSH arguments). +This option may be specified multiple times. +The arguments are processed to split on whitespace, protect text within +quotes, and escape with backslashes. +To pass arguments without such processing, use the +.B \-X +option instead. + +.TP +.BI \-X " arg" +.PD 0 +.TP +.BI \-\-extra-arg " arg" +Passes a single SSH command-line argument (see the +.BR ssh (1) +man page for more information about SSH arguments). Unlike the +.B \-x +option, no processing is performed on the argument, including word splitting. +To pass multiple command-line arguments, use the option once for each +argument. + +.TP +.BI \-O " options" +.PD 0 +.TP +.BI \-\-options " options" +SSH options in the format used in the SSH configuration file (see the +.BR ssh_config (5) +man page for more information). This option may be specified multiple +times. + +.TP +.B \-A +.PD 0 +.TP +.B \-\-askpass +Prompt for a password and pass it to ssh. The password may be used for +either to unlock a key or for password authentication. +The password is transferred in a fairly secure manner (e.g., it will not show +up in argument lists). However, be aware that a root user on your system +could potentially intercept the password. + +.TP +.B \-v +.PD 0 +.TP +.B \-\-verbose +Include error messages from ssh with the +.B \-i +and +.B \e +options. + +.TP +.B \-r +.PD 0 +.TP +.B \-\-recursive +Recursively copy directories. + + +.\" .SH EXAMPLES + +.\" .PP +.\" Connect to host1 and host2, and print "hello, world" from each: +.\" .RS +.\" pssh -i -H "host1 host2" echo "hello, world" +.\" .RE + + +.SH TIPS + +.\" .PP +.\" If you have a set of hosts that you connect to frequently with specific +.\" options, it may be helpful to create an alias such as: +.\" .RS +.\" alias pssh_servers="pssh -h /path/to/server_list.txt -l root -A" +.\" .RE + +.PP +The ssh_config file can include an arbitrary number of Host sections. Each +host entry specifies ssh options which apply only to the given host. Host +definitions can even behave like aliases if the HostName option is included. +This ssh feature, in combination with pssh host files, provides a tremendous +amount of flexibility. + + +.SH EXIT STATUS + +.PP +The exit status codes from parallel-scp are as follows: + +.TP +.B 0 +Success + +.TP +.B 1 +Miscellaneous error + +.TP +.B 2 +Syntax or usage error + +.TP +.B 3 +At least one process was killed by a signal or timed out. + +.TP +.B 4 +All processes completed, but at least one scp process reported an error +(exit status other than 0). + + +.SH AUTHORS +.PP +Written by +Brent N. Chun and +Andrew McNabb . + +http://code.google.com/p/parallel-ssh/ + + +.SH SEE ALSO +.BR ssh (1), +.BR ssh_config(5), +.BR parallel-ssh (1), +.BR parallel-rsync (1), +.BR parallel-slurp (1), +.BR parallel-nuke (1), --- pssh-2.3.1.orig/debian/parallel-slurp.1 +++ pssh-2.3.1/debian/parallel-slurp.1 @@ -0,0 +1,280 @@ +.\" Man page for parallel-slurp. See "man 7 man" and "man man-pages" for formatting info. +.TH parallel-slurp 1 "January 24, 2012" + +.SH NAME +parallel-slurp \(em parallel process kill program + + +.SH SYNOPSIS +.B parallel-slurp +.RB [ \-vAr ] +.RB [ \-h +.IR hosts_file ] +.RB [ \-H +.RI [ user @] host [: port ]] +.RB [ \-l +.IR user ] +.RB [ \-p +.IR par ] +.RB [ \-o +.IR outdir ] +.RB [ \-e +.IR errdir ] +.RB [ \-t +.IR timeout ] +.RB [ \-O +.IR options ] +.RB [ \-x +.IR args ] +.RB [ \-X +.IR arg ] +.RB [ \-L +.IR localdir ] +.I remote +.I local + + +.SH DESCRIPTION +.PP +.B parallel-slurp +is a program for copying files in parallel from a number of hosts. It +provides features such as passing a password to scp, saving output to files, +and timing out. + + +.SH OPTIONS + +.TP +.BI \-h " host_file" +.PD 0 +.TP +.BI \-\-hosts " host_file" +Read hosts from the given +.IR host_file . +Lines in the host file are of the form +.RI [ user @] host [: port ] +and can include blank lines and comments (lines beginning with "#"). +If multiple host files are given (the +.B \-h +option is used more than once), then parallel-slurp behaves as though these files +were concatenated together. +If a host is specified multiple times, then parallel-slurp will connect the +given number of times. + +.TP +.B \-H +.RI [ user @] host [: port ] +.PD 0 +.TP +.B \-\-host +.RI [ user @] host [: port ] +.PD 0 +.TP +.B \-H +.RI \(dq[ user @] host [: port ] +[ +.RI [ user @] host [: port +] ... ]\(dq +.PD 0 +.TP +.B \-\-host +.RI \(dq[ user @] host [: port ] +[ +.RI [ user @] host [: port +] ... ]\(dq +.PD 0 +.IP +Add the given host strings to the list of hosts. This option may be given +multiple times, and may be used in conjunction with the +.B \-h +option. + +.TP +.BI \-l " user" +.PD 0 +.TP +.BI \-\-user " user" +Use the given username as the default for any host entries that don't +specifically specify a user. + +.TP +.BI \-p " parallelism" +.PD 0 +.TP +.BI \-\-par " parallelism" +Use the given number as the maximum number of concurrent connections. + +.TP +.BI \-t " timeout" +.PD 0 +.TP +.BI \-\-timeout " timeout" +Make connections time out after the given number of seconds. With a value +of 0, parallel-slurp will not timeout any connections. + +.TP +.BI \-o " outdir" +.PD 0 +.TP +.BI \-\-outdir " outdir" +Save standard output to files in the given directory. Filenames are of the +form +.RI [ user @] host [: port ][. num ] +where the user and port are only included for hosts that explicitly +specify them. The number is a counter that is incremented each time for hosts +that are specified more than once. + +.TP +.BI \-e " errdir" +.PD 0 +.TP +.BI \-\-errdir " errdir" +Save standard error to files in the given directory. Filenames are of the +same form as with the +.B \-o +option. + +.TP +.BI \-x " args" +.PD 0 +.TP +.BI \-\-extra-args " args" +Passes extra SSH command-line arguments (see the +.BR ssh (1) +man page for more information about SSH arguments). +This option may be specified multiple times. +The arguments are processed to split on whitespace, protect text within +quotes, and escape with backslashes. +To pass arguments without such processing, use the +.B \-X +option instead. + +.TP +.BI \-X " arg" +.PD 0 +.TP +.BI \-\-extra-arg " arg" +Passes a single SSH command-line argument (see the +.BR ssh (1) +man page for more information about SSH arguments). Unlike the +.B \-x +option, no processing is performed on the argument, including word splitting. +To pass multiple command-line arguments, use the option once for each +argument. + +.TP +.BI \-O " options" +.PD 0 +.TP +.BI \-\-options " options" +SSH options in the format used in the SSH configuration file (see the +.BR ssh_config (5) +man page for more information). This option may be specified multiple +times. + +.TP +.B \-A +.PD 0 +.TP +.B \-\-askpass +Prompt for a password and pass it to ssh. The password may be used for +either to unlock a key or for password authentication. +The password is transferred in a fairly secure manner (e.g., it will not show +up in argument lists). However, be aware that a root user on your system +could potentially intercept the password. + +.TP +.B \-v +.PD 0 +.TP +.B \-\-verbose +Include error messages from ssh with the +.B \-i +and +.B \e +options. + +.TP +.B \-r +.PD 0 +.TP +.B \-\-recursive +Recursively copy directories. + +.TP +.BI \-L " localdir" +.PD 0 +.TP +.BI \-\-localdir " localdir" +Copy files from the remote host to the given local directory. + + +.\" .SH EXAMPLES + +.\" .PP +.\" Connect to host1 and host2, and print "hello, world" from each: +.\" .RS +.\" pssh -i -H "host1 host2" echo "hello, world" +.\" .RE + + +.SH TIPS + +.\" .PP +.\" If you have a set of hosts that you connect to frequently with specific +.\" options, it may be helpful to create an alias such as: +.\" .RS +.\" alias pssh_servers="pssh -h /path/to/server_list.txt -l root -A" +.\" .RE + +.PP +The ssh_config file can include an arbitrary number of Host sections. Each +host entry specifies ssh options which apply only to the given host. Host +definitions can even behave like aliases if the HostName option is included. +This ssh feature, in combination with pssh host files, provides a tremendous +amount of flexibility. + + +.SH EXIT STATUS + +.PP +The exit status codes from parallel-slurp are as follows: + +.TP +.B 0 +Success + +.TP +.B 1 +Miscellaneous error + +.TP +.B 2 +Syntax or usage error + +.TP +.B 3 +At least one process was killed by a signal or timed out. + +.TP +.B 4 +All processes completed, but at least one scp process reported an error +(exit status other than 0). + + +.SH AUTHORS +.PP +Written by +Brent N. Chun and +Andrew McNabb . + +http://code.google.com/p/parallel-ssh/ + + +.SH SEE ALSO +.BR ssh (1), +.BR ssh_config(5), +.BR parallel-ssh (1), +.BR parallel-scp (1), +.BR parallel-rsync (1), +.BR parallel-nuke (1), --- pssh-2.3.1.orig/debian/parallel-ssh.1 +++ pssh-2.3.1/debian/parallel-ssh.1 @@ -0,0 +1,368 @@ +.\" Man page for paralllel-ssh. See "man 7 man" and "man man-pages" for formatting info. +.TH paralllel-ssh 1 "January 24, 2012" + +.SH NAME +paralllel-ssh \(em parallel ssh program + + +.SH SYNOPSIS +.B paralllel-ssh +.RB [ \-vAiIP ] +.RB [ \-h +.IR hosts_file ] +.RB [ \-H +.RI [ user @] host [: port ]] +.RB [ \-l +.IR user ] +.RB [ \-p +.IR par ] +.RB [ \-o +.IR outdir ] +.RB [ \-e +.IR errdir ] +.RB [ \-t +.IR timeout ] +.RB [ \-O +.IR options ] +.RB [ \-x +.IR args ] +.RB [ \-X +.IR arg ] +.I command ... + +.B paralllel-ssh \-I +.RB [ \-vAiIP ] +.RB [ \-h +.IR hosts_file ] +.RB [ \-H +.RI [ user @] host [: port ]] +.RB [ \-l +.IR user ] +.RB [ \-p +.IR par ] +.RB [ \-o +.IR outdir ] +.RB [ \-e +.IR errdir ] +.RB [ \-t +.IR timeout ] +.RB [ \-O +.IR options ] +.RB [ \-x +.IR args ] +.RB [ \-X +.IR arg ] +.RI [ command +.IR ... ] + + +.SH DESCRIPTION +.PP +.B paralllel-ssh +is a program for executing ssh in parallel on a number of hosts. It provides +features such as sending input to all of the processes, passing a password +to ssh, saving output to files, and timing out. + +The PSSH_NODENUM and PSSH_HOST environment variables are sent to the remote +host. The PSSH_NODENUM variable is assigned a unique number for each ssh +connection, starting with 0 and counting up. The PSSH_HOST variable is +assigned the name of the host as specified in the hosts list. Note that sshd +drops environment variables by default, so sshd_config on the remote host must +include the line: +.RS +AcceptEnv PSSH_NODENUM PSSH_HOST +.RE + +.SH OPTIONS + +.TP +.BI \-h " host_file" +.PD 0 +.TP +.BI \-\-hosts " host_file" +Read hosts from the given +.IR host_file . +Lines in the host file are of the form +.RI [ user @] host [: port ] +and can include blank lines and comments (lines beginning with "#"). +If multiple host files are given (the +.B \-h +option is used more than once), then paralllel-ssh behaves as though these files +were concatenated together. +If a host is specified multiple times, then paralllel-ssh will connect the +given number of times. + +.TP +.B \-H +.RI [ user @] host [: port ] +.PD 0 +.TP +.B \-\-host +.RI [ user @] host [: port ] +.PD 0 +.TP +.B \-H +.RI \(dq[ user @] host [: port ] +[ +.RI [ user @] host [: port +] ... ]\(dq +.PD 0 +.TP +.B \-\-host +.RI \(dq[ user @] host [: port ] +[ +.RI [ user @] host [: port +] ... ]\(dq +.PD 0 +.IP +Add the given host strings to the list of hosts. This option may be given +multiple times, and may be used in conjunction with the +.B \-h +option. + +.TP +.BI \-l " user" +.PD 0 +.TP +.BI \-\-user " user" +Use the given username as the default for any host entries that don't +specifically specify a user. + +.TP +.BI \-p " parallelism" +.PD 0 +.TP +.BI \-\-par " parallelism" +Use the given number as the maximum number of concurrent connections. + +.TP +.BI \-t " timeout" +.PD 0 +.TP +.BI \-\-timeout " timeout" +Make connections time out after the given number of seconds. With a value +of 0, paralllel-ssh will not timeout any connections. + +.TP +.BI \-o " outdir" +.PD 0 +.TP +.BI \-\-outdir " outdir" +Save standard output to files in the given directory. Filenames are of the +form +.RI [ user @] host [: port ][. num ] +where the user and port are only included for hosts that explicitly +specify them. The number is a counter that is incremented each time for hosts +that are specified more than once. + +.TP +.BI \-e " errdir" +.PD 0 +.TP +.BI \-\-errdir " errdir" +Save standard error to files in the given directory. Filenames are of the +same form as with the +.B \-o +option. + +.TP +.BI \-x " args" +.PD 0 +.TP +.BI \-\-extra-args " args" +Passes extra SSH command-line arguments (see the +.BR ssh (1) +man page for more information about SSH arguments). +This option may be specified multiple times. +The arguments are processed to split on whitespace, protect text within +quotes, and escape with backslashes. +To pass arguments without such processing, use the +.B \-X +option instead. + +.TP +.BI \-X " arg" +.PD 0 +.TP +.BI \-\-extra-arg " arg" +Passes a single SSH command-line argument (see the +.BR ssh (1) +man page for more information about SSH arguments). Unlike the +.B \-x +option, no processing is performed on the argument, including word splitting. +To pass multiple command-line arguments, use the option once for each +argument. + +.TP +.BI \-O " options" +.PD 0 +.TP +.BI \-\-options " options" +SSH options in the format used in the SSH configuration file (see the +.BR ssh_config (5) +man page for more information). This option may be specified multiple +times. + +.TP +.B \-A +.PD 0 +.TP +.B \-\-askpass +Prompt for a password and pass it to ssh. The password may be used for +either to unlock a key or for password authentication. +The password is transferred in a fairly secure manner (e.g., it will not show +up in argument lists). However, be aware that a root user on your system +could potentially intercept the password. + +.TP +.B \-i +.PD 0 +.TP +.B \-\-inline +Display standard output and standard error as each host completes. + +.TP +.B \-\-inline\-stdout +Display standard output (but not standard error) as each host completes. + +.TP +.B \-v +.PD 0 +.TP +.B \-\-verbose +Include error messages from ssh with the +.B \-i +and +.B \e +options. + +.TP +.B \-I +.PD 0 +.TP +.B \-\-send-input +Read input and send to each ssh process. Since ssh allows a command script to +be sent on standard input, the +.B \-I +option may be used in lieu of the command argument. + +.TP +.B \-P +.PD 0 +.TP +.B \-\-print +Display output as it arrives. This option is of limited usefulness because +output from different hosts are interleaved. + + +.SH EXAMPLES + +.PP +Connect to host1 and host2, and print "hello, world" from each: +.RS +parallel-ssh -i -H "host1 host2" echo "hello, world" +.RE + +.PP +Print "hello, world" from each host specified in the file hosts.txt: +.RS +parallel-ssh -i -h hosts.txt echo "hello, world" +.RE + +.PP +Run a command as root with a prompt for the root password: +.RS +parallel-ssh -i -h hosts.txt -A -l root echo hi +.RE + +.PP +Run a long command without timing out: +.RS +parallel-ssh -i -h hosts.txt -t 0 sleep 10000 +.RE + +.PP +If the file hosts.txt has a large number of entries, say 100, then the +parallelism option may also be set to 100 to ensure that the commands are run +concurrently: +.RS +parallel-ssh -i -h hosts.txt -p 100 -t 0 sleep 10000 +.RE + +.PP +Run a command without checking or saving host keys: +.RS +parallel-ssh -i -H host1 -H host2 -x "-O StrictHostKeyChecking=no -O UserKnownHostsFile=/dev/null -O GlobalKnownHostsFile=/dev/null" echo hi +.RE + +.PP +Print the node number for each connection (this will print 0, 1, and 2): +.RS +parallel-ssh -i -H host1 -H host1 -H host2 'echo $PSSH_NODENUM' +.RE + +.SH TIPS + +.PP +If you have a set of hosts that you connect to frequently with specific +options, it may be helpful to create an alias such as: +.RS +alias pssh_servers="parallel-ssh -h /path/to/server_list.txt -l root -A" +.RE + +.PP +The ssh_config file can include an arbitrary number of Host sections. Each +host entry specifies ssh options which apply only to the given host. Host +definitions can even behave like aliases if the HostName option is included. +This ssh feature, in combination with parallel-ssh host files, provides a tremendous +amount of flexibility. + + +.SH EXIT STATUS + +.PP +The exit status codes from paralllel-ssh are as follows: + +.TP +.B 0 +Success + +.TP +.B 1 +Miscellaneous error + +.TP +.B 2 +Syntax or usage error + +.TP +.B 3 +At least one process was killed by a signal or timed out. + +.TP +.B 4 +All processes completed, but at least one ssh process reported an error +(exit status 255). + +.TP +.B 5 +There were no ssh errors, but at least one remote command had a non-zero exit +status. + + +.SH AUTHORS +.PP +Written by +Brent N. Chun and +Andrew McNabb . + +http://code.google.com/p/parallel-ssh/ + + +.SH SEE ALSO +.BR ssh (1), +.BR ssh_config(5), +.BR parallel-scp (1), +.BR parallel-rsync (1), +.BR parallel-slurp (1), +.BR parallel-nuke (1), --- pssh-2.3.1.orig/debian/postinst +++ pssh-2.3.1/debian/postinst @@ -0,0 +1,41 @@ +#!/bin/sh +# postinst script for pssh +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- pssh-2.3.1.orig/debian/prerm +++ pssh-2.3.1/debian/prerm @@ -0,0 +1,40 @@ +#!/bin/sh +# prerm script for pssh +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|deconfigure) + ;; + + failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- pssh-2.3.1.orig/debian/rules +++ pssh-2.3.1/debian/rules @@ -0,0 +1,108 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + python2 setup.py build + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/pssh. + python2 setup.py install --prefix=/usr --root=debian/pssh --no-compile + # Rename everything, because of conflicts with putty + mv debian/pssh/usr/bin/pssh debian/pssh/usr/bin/parallel-ssh + mv debian/pssh/usr/bin/pscp debian/pssh/usr/bin/parallel-scp + mv debian/pssh/usr/bin/prsync debian/pssh/usr/bin/parallel-rsync + mv debian/pssh/usr/bin/pnuke debian/pssh/usr/bin/parallel-nuke + mv debian/pssh/usr/bin/pslurp debian/pssh/usr/bin/parallel-slurp + # Move pssh-askpass to /usr/lib/pssh + mv debian/pssh/usr/bin/pssh-askpass debian/pssh/usr/lib/pssh + # Remove the upstream-supplied manpages from /usr/man + rm -rf debian/pssh/usr/man + + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime + dh_python2 +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure + +build-arch: build +build-indep: build --- pssh-2.3.1.orig/debian/watch +++ pssh-2.3.1/debian/watch @@ -0,0 +1,22 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +http://www.theether.org/pssh/ pssh-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/#PACKAGE#-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/#PACKAGE#-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for debscripts >= 2.9 +# http://sf.net/#PACKAGE#/#PACKAGE#-(.*)\.tar\.gz + +