--- dsh-0.25.10.orig/ChangeLog.OLD +++ dsh-0.25.10/ChangeLog.OLD @@ -0,0 +1,17 @@ +2001-05-14 Junichi Uekawa + + * dsh.1: added documentation for homedir configs. + + * dsh.c (parse_options): added support for machines config. + (read_machinelist): The machines list support. + (parse_options): Configs in homedir too. + +2001-05-13 Junichi Uekawa + + * dsh.1: Created a manpage + + * Makefile: Copied from other project. + + * dsh.c: Created / started, by + dancer@{debian.org,netfort.gr.jp,mikilab.doshisha.ac.jp} + --- dsh-0.25.10.orig/configure +++ dsh-0.25.10/configure @@ -21245,7 +21245,7 @@ fi -ALL_LINGUAS=ja +ALL_LINGUAS="de ja" MKINSTALLDIRS= if test -n "$ac_aux_dir"; then --- dsh-0.25.10.orig/configure.ac +++ dsh-0.25.10/configure.ac @@ -17,7 +17,7 @@ AM_PROG_LIBTOOL AC_C_CONST -ALL_LINGUAS=ja +ALL_LINGUAS="de ja" AM_GNU_GETTEXT([external]) AC_CHECK_FUNC(gettext,,AC_CHECK_LIB(intl,gettext,,AC_MSG_WARN([Gettext not found]))) localedir='${datadir}/locale' --- dsh-0.25.10.orig/dcp.sh +++ dsh-0.25.10/dcp.sh @@ -0,0 +1,6 @@ +#! /bin/sh +# script to distributedly copy files. + +PWD=`pwd` + +cat ${tempfile} | @bindir@/dsh "$@" -ic "test -x @libexecdir@/dcpd && ( cd ${PWD}; cat > .tmp.f ; tar xfz tmp.f; true) || @libexecdir@/dcpd ${PWD} 0" \ No newline at end of file --- dsh-0.25.10.orig/debian/README.Debian +++ dsh-0.25.10/debian/README.Debian @@ -0,0 +1,26 @@ +dsh for Debian +-------------- + +This is a "distributed shell" implementation for Debian/Beowulf project. +Something that I would have liked, and everyone else have liked, +but have not (apparently) existed in Debian. + +This program supports update-cluster. +You can manually run update-cluster-regenerate when you install this +package, to configure dsh with update-cluster configuration. +Please see the documentation for update-cluster + +This program supports netgroup, which may be provided through +the libc, through the NSS, i.e. it is possible to use NIS information +in dsh. + + +The author has a home page at + http://www.netfort.gr.jp/~dancer/ +and the primary page for dsh is at + http://www.netfort.gr.jp/~dancer/software/dsh.html + + +enjoy. + + -- Junichi Uekawa , Tue Oct 15 22:52:28 2002 --- dsh-0.25.10.orig/debian/changelog +++ dsh-0.25.10/debian/changelog @@ -0,0 +1,451 @@ +dsh (0.25.10-1.4) unstable; urgency=medium + + * Non-maintainer upload. + * Use strict mode in maintainer scripts. (Closes: #866270) + * Lintian fixes: + * Add ${misc:Depends} to the Depends line as debhelper is in use + * Add debian/source/format + * Add and integrate German program translation. Thanks to Chris Leick. + (Closes: #577157) + * Extend SEE ALSO to integrate links to alternative tools. Thanks jaalto. + (Closes: #518175) + * Add bash completion. Thanks to Jordi Funollet. (Closes: #528444) + + -- Helge Kreutzmann Fri, 14 Dec 2018 08:14:20 +0100 + +dsh (0.25.10-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * Don't ship symlink for /etc/dsh/group/all. (Closes: #788585) + + -- Ivo De Decker Sat, 08 Apr 2017 23:58:21 +0200 + +dsh (0.25.10-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Move to debhelper compat level 9. (Closes: #817439) + + -- Chris Lamb Sun, 25 Sep 2016 14:50:25 +0200 + +dsh (0.25.10-1.1) unstable; urgency=medium + + [ Aurelien Jarno ] + * Non-maintainer upload. + + [ Logan Rosen ] + * Use autotools-dev to update config.{sub,guess} for new arches (Closes: + #735633). + + -- Aurelien Jarno Sat, 04 Oct 2014 21:55:24 +0200 + +dsh (0.25.10-1) unstable; urgency=low + + * New upstream version + - output is 'setlinebuf'd for better viewing. + + -- Junichi Uekawa Fri, 14 Dec 2007 09:05:39 +0900 + +dsh (0.25.9-1) unstable; urgency=low + + * New upstream version + - add --hide-machine-names + - use po4a for manpage management. + + -- Junichi Uekawa Wed, 15 Aug 2007 09:03:39 +0900 + +dsh (0.25.8-1) unstable; urgency=low + + * New upstream version + - Bug fix: "forklimit in dsh.conf will not work correctly.", thanks to + Holger Paschke (Closes: #420528). + * add pbuilder-test. + + -- Junichi Uekawa Fri, 18 May 2007 20:18:13 +0900 + +dsh (0.25.7-1) unstable; urgency=low + + * New upstream version + * fix manual page. + * Standards-version: 3.7.2 + * dh_compat=4 + + -- Junichi Uekawa Fri, 11 Aug 2006 23:15:17 +0900 + +dsh (0.25.6-1) unstable; urgency=low + + * New upstream version + - fix build failure on solaris. + * add uscan file + + -- Junichi Uekawa Wed, 30 Mar 2005 09:41:55 +0900 + +dsh (0.25.5-1) unstable; urgency=low + + * New upstream version + - reverse iteration of machinelist is now modified to be in the + 'proper' order. (closes: #291586) + + -- Junichi Uekawa Wed, 16 Mar 2005 09:12:22 +0900 + +dsh (0.25.4-1) unstable; urgency=low + + * New upstream version + - fix compilation error on solaris. (closes: #283728) + + -- Junichi Uekawa Fri, 3 Dec 2004 08:56:27 +0900 + +dsh (0.25.3-1) unstable; urgency=low + + * New upstream version + - Rebuild with libdshconfig with versioned symbols + - support # as comments in machine files (closes: #249794) + + -- Junichi Uekawa Sun, 6 Jun 2004 17:30:05 +0900 + +dsh (0.25.2.1-1) unstable; urgency=low + + * New upstream version + * Rebuild original tar archive with fixed automake1.8 (closes: #244869) + + -- Junichi Uekawa Sun, 25 Apr 2004 11:46:05 +0900 + +dsh (0.25.2-1) unstable; urgency=low + + * New upstream version + - Update documentation about 'dsh -ci' limitations. + + -- Junichi Uekawa Tue, 20 Apr 2004 20:49:55 +0900 + +dsh (0.25.1-1) unstable; urgency=low + + * New upstream version + Fix assertion error, and document workaround; + use Ctrl-D instead of exit for now + (Closes: #228513). + + -- Junichi Uekawa Thu, 22 Jan 2004 09:16:45 +0900 + +dsh (0.25.0-1) unstable; urgency=low + + * New upstream version + - support windowing of connections. + * update package description. + + -- Junichi Uekawa Wed, 17 Sep 2003 07:11:32 +0900 + +dsh (0.24.2-1) unstable; urgency=low + + * New upstream version + - added check for the 'security hole' to see if it really exists. + * Standards-version: 3.6.1 + + -- Junichi Uekawa Tue, 26 Aug 2003 08:39:39 +0900 + +dsh (0.24.0-1) unstable; urgency=low + + * New upstream version + * Standards-version: 3.6.0 + + -- Junichi Uekawa Tue, 5 Aug 2003 05:39:04 +0900 + +dsh (0.23.12-1) unstable; urgency=low + + * New upstream version + + -- Junichi Uekawa Sat, 26 Jul 2003 12:11:33 +0900 + +dsh (0.23.11-2) unstable; urgency=low + + * Clarify description to note what kind of characteristics it has. + + -- Junichi Uekawa Sat, 19 Jul 2003 07:06:08 +0900 + +dsh (0.23.11-1) unstable; urgency=low + + * New upstream version + - portability fixes. + + -- Junichi Uekawa Thu, 12 Jun 2003 21:51:57 +0900 + +dsh (0.23.10-1) unstable; urgency=low + + * New upstream version + * fix debian/copyright a little bit. + * Standards-version 3.5.10 + * support DEB_BUILD_OPTIONS noopt and nostrip. + + -- Junichi Uekawa Sun, 8 Jun 2003 11:35:08 +0900 + +dsh (0.23.9-1) unstable; urgency=low + + * New upstream version + - improved manual build system. + - update man pages. + - exit code reflects child exit codes + * Install NEWS file. + + -- Junichi Uekawa Sat, 7 Jun 2003 02:22:56 +0900 + +dsh (0.23.7-1) unstable; urgency=low + + * New upstream version + - updated manual pages. + * updated copyright file. + + -- Junichi Uekawa Thu, 29 May 2003 23:03:45 +0900 + +dsh (0.23.6-1) unstable; urgency=low + + * New upstream version + * error-check options such as -b0 + * No longer use debian/conffiles + + -- Junichi Uekawa Fri, 24 Jan 2003 14:35:32 +0900 + +dsh (0.23.5-1) unstable; urgency=low + + * New upstream version + * Documentation update and test updates. + + -- Junichi Uekawa Wed, 27 Nov 2002 14:17:07 +0900 + +dsh (0.23.4-1) unstable; urgency=low + + * New upstream version + * Install upstream ChangeLog. + * Update standards-version to 3.5.7 + + -- Junichi Uekawa Mon, 21 Oct 2002 22:50:44 +0900 + +dsh (0.23.1-1) unstable; urgency=low + + * New upstream version + * testsuite in build system + * Check if GNU getopt extention is enabled, and work around it if it + is. (closes: #161846) + Requested by Philippe Troin + + -- Junichi Uekawa Mon, 30 Sep 2002 15:14:27 +0900 + +dsh (0.22.0-1) unstable; urgency=low + + * New upstream version + * Fix duplicate machine entry to be unified (closes: #161845) + * Allow use of "," delimiter for -m option. + + -- Junichi Uekawa Sun, 22 Sep 2002 20:31:00 +0900 + +dsh (0.21.3-1) unstable; urgency=low + + * New upstream version + * Fix bug with "-i" option, and properly terminate + when applications are terminated. + * Fix machine-list file reading, so that whitespace in the file + is ignored. + + -- Junichi Uekawa Thu, 19 Sep 2002 17:35:13 +0900 + +dsh (0.21.2-1) unstable; urgency=low + + * New upstream version + * Fix minor bug with "-i" option, which did not terminate + correctly. + + -- Junichi Uekawa Wed, 18 Sep 2002 20:37:15 +0900 + +dsh (0.21.0-1) unstable; urgency=low + + * New upstream version + * New option "-i", to duplicate input stream to all processes + implemented. + + -- Junichi Uekawa Mon, 16 Sep 2002 18:40:46 +0900 + +dsh (0.20.4-1) unstable; urgency=low + + * New upstream version + * Minor bugfix which should fix the -rssh -cn4 option to work in + an expected way. + + -- Junichi Uekawa Sat, 14 Sep 2002 13:32:22 +0900 + +dsh (0.20.3-1) unstable; urgency=low + + * New upstream version + * Add gettext support, and i18n. + + -- Junichi Uekawa Wed, 11 Sep 2002 19:26:14 +0900 + +dsh (0.20.2-1) unstable; urgency=low + + * New upstream version + * Using libdshconfig.so library in config file parsing. + * remove libdshconfig to another package, and depend on it. + * autoconfiscate + * Make the package into a non-native package. + * call configure with --mandir and --sysconfdir parameters. + * use full installed-path to invoke dsh on other machines. + + -- Junichi Uekawa Wed, 14 Aug 2002 18:45:40 +0900 + +dsh (0.0.18) unstable; urgency=low + + * updated README.Debian + * updated copyright for year 2002. + * Makefile uses $(CC) instead of hardcoding "gcc", just to be cross-build + friendly. + * Standard input is taken from /dev/null by default. (closes: #98717) + + -- Junichi Uekawa Wed, 27 Feb 2002 22:16:05 +0900 + +dsh (0.0.17) unstable; urgency=low + + * "A Package for your Christmas, my dear Emperor..." release + * dsh.1, parameter.c: adding support for specifying arbitrary machine list + specifications. the command-line "-f", or "--file" + * dsh.1: updated, with redundant tags removed. + * dsh.1, parameter.c: updated with a patch from Petter Reinholdtsen to + support netgroups in dsh group specification. (closes: 126153) + * Created file AUTHORS to give credits on who the code was written. + * Marking the upstream homepage and address on README.Debian + * Changed function indentation style to suit my new favor. + * Added top-level README documentation, which suggests reading of + debian/README.Debian + * debian/postinst: fixed string comparison, it used to say "==", but it + should have been "=" + * debian/rules: changed the method to obtain the version string for + dshversion.h. + + -- Junichi Uekawa Sun, 23 Dec 2001 14:32:21 +0900 + +dsh (0.0.16) unstable; urgency=low + + * Removing /etc/dsh{,/group} on purge. Thanks phil (closes: #113737) + + -- Junichi Uekawa Sun, 30 Sep 2001 23:38:43 +0900 + +dsh (0.0.15) unstable; urgency=low + + * The configuration parser gives a warning when dsh.conf is not + parsable, thanks to neil. (closes: #111413) + * Please note that since dsh-0.0.14, configuration file format has + changed slightly. + + -- Junichi Uekawa Sat, 8 Sep 2001 04:51:12 +0900 + +dsh (0.0.14) unstable; urgency=low + + * Configuration file handling is slightly better - now handles spaces in config files :P (planning to make it into guile or something). Handles waitshell, and showmachinenames, and verbose. Changed dsh.conf to reflect this. + * changed the method of obtaining DSH_VERSION to use dpkg-parsechangelog + + -- Junichi Uekawa Tue, 21 Aug 2001 23:16:15 +0900 + +dsh (0.0.13) unstable; urgency=low + + * Fix manpages so that - is escaped with \ (closes: #108033) + + -- Junichi Uekawa Wed, 8 Aug 2001 23:20:06 +0900 + +dsh (0.0.12) unstable; urgency=low + + * support update-cluster + + -- Junichi Uekawa Sun, 29 Jul 2001 01:36:01 +0900 + +dsh (0.0.11) unstable; urgency=low + + * cleaning up the code. + * removed -g option from gcc compilation option. + + -- Junichi Uekawa Mon, 2 Jul 2001 00:21:54 +0900 + +dsh (0.0.10) unstable; urgency=low + + * parameter.[ch]: split out files for configuration, and the main program. + * added more error checking codes. + + -- Junichi Uekawa Sat, 9 Jun 2001 00:15:24 +0900 + +dsh (0.0.9) unstable; urgency=low + + * clearing up some codes on what is const, in the hope to fix some + outstanding bugs. + * changed remaining _exit() to exit(). + * Made "topology" execution to handle "-o" parameters, so that + ssh can use forwarded auth keys with -o -A. + + -- Junichi Uekawa Sat, 26 May 2001 02:19:32 +0900 + +dsh (0.0.8) unstable; urgency=low + + * The build system now extracts version number from the changelog. (dsh + --version option will not output the correct version information). + * changed all _exit() calls to exit() + * Updated manpage dsh.1 to match the reality. + * handles stderr output for -M option. All output that are sent to + stderr on the remote machines are displayed on the stderr of the + local machine. + + -- Junichi Uekawa Thu, 24 May 2001 01:57:10 +0900 + +dsh (0.0.7) unstable; urgency=low + + * bugfix. Added a fflush before _exit, (closes: 97818) + + -- Junichi Uekawa Wed, 23 May 2001 00:12:38 +0900 + +dsh (0.0.6) unstable; urgency=low + + * update version. + * trying to fix the process bug, not being quite successful. It should + be fine now when -M option is not specified. + * Fixed a segv in config file loading. This really (closes: #97675) + + -- Junichi Uekawa Sun, 20 May 2001 02:11:49 +0900 + +dsh (0.0.5) unstable; urgency=low + + * new release + * supports "topology". A method to spawn dsh on other machines to + spawn more rsh from other machines. Trying to help a machine + out from spawning all 256 or so rsh sessions. + A topology of 2 will result in binary-tree arrangement. + A topology of 3 would be better, I'd guess. Not thoroughly tested. + + -- Junichi Uekawa Sat, 19 May 2001 02:59:42 +0900 + +dsh (0.0.4) unstable; urgency=low + + * bugfixes and updates + * Supports username@host format as a valid machine name specification. + It can be used in machines.list, and command line and + everywhere (closes: #97819). + + -- Junichi Uekawa Fri, 18 May 2001 02:50:02 +0900 + +dsh (0.0.3) unstable; urgency=low + + * bugfixes + * fixed one configuration file loading bug. hopefully (closes: #97675) + * added --show-machine-names option to make stdout to be prepended + with the hostname of the machine that the command is being executed. + (closes: #97336) + * reordered the rsh execution routine so that it looks cleaner. + + -- Junichi Uekawa Thu, 17 May 2001 02:23:35 +0900 + +dsh (0.0.2) unstable; urgency=low + + * Updates. + * --remoteshellopt added. Config files handling has been implemented. + Quite a few bugs have been removed. Linked list handling routine + has moved out of the main source. + * /etc/dsh/dsh.conf is installed, and is a conffile. + + -- Junichi Uekawa Wed, 16 May 2001 00:39:04 +0900 + +dsh (0.0.1) unstable; urgency=low + + * Initial Release. + + -- Junichi Uekawa Mon, 14 May 2001 22:53:04 +0900 --- dsh-0.25.10.orig/debian/compat +++ dsh-0.25.10/debian/compat @@ -0,0 +1 @@ +9 --- dsh-0.25.10.orig/debian/control +++ dsh-0.25.10/debian/control @@ -0,0 +1,25 @@ +Source: dsh +Section: net +Priority: optional +Maintainer: Junichi Uekawa +Build-Depends: debhelper (>= 9), libdshconfig1-dev (>= 0.20.11-1), po4a, autotools-dev +Standards-Version: 3.7.2 + +Package: dsh +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: update-cluster +Description: dancer's shell, or distributed shell + Executes specified command on a group of computers using remote shell + methods such as rsh or ssh. + . + dsh can parallelise job submission using several algorithms, such as using + fan-out method or opening as much connections as possible, or + using a window of connections at one time. + It also supports "interactive mode" for interactive maintenance of + remote hosts. + . + This tool is handy for administration of PC clusters, and multiple hosts. + . + http://www.netfort.gr.jp/~dancer/software/dsh.html + --- dsh-0.25.10.orig/debian/copyright +++ dsh-0.25.10/debian/copyright @@ -0,0 +1,20 @@ +This package was debianized by Junichi Uekawa on +Mon, 14 May 2001 22:53:04 +0900. + +It was downloaded from http://www.netfort.gr.jp/~dancer/software/dsh.html + +Upstream Authors: + Junichi Uekawa + +Copyright: + +Copyright (c) 2001, 2002, 2003, 2004, 2005 Junichi Uekawa + +Licensed under GPL version 2 or later. +Please see /usr/share/common-licenses/GPL on Debian systems. + +po/de.po is (C) 2010 Chris Leick + +debian/dsh.bash_completion is (C) 2011 Jordi Funollet +Distributed under the terms and conditions of GPL version 2 + --- dsh-0.25.10.orig/debian/dirs +++ dsh-0.25.10/debian/dirs @@ -0,0 +1,3 @@ +usr/bin +usr/sbin +etc/dsh/group --- dsh-0.25.10.orig/debian/dsh.bash_completion +++ dsh-0.25.10/debian/dsh.bash_completion @@ -0,0 +1,33 @@ +### Bash-completion for dsh. +### Copyright 2011 Jordi Funollet +### Distributed under the terms and conditions of GPL version 2 + +_dsh() { + _get_comp_words_by_ref cur prev + COMPREPLY=() + + case "${prev}" in + -m|--machine) + _known_hosts_real "${cur}" + return 0 + ;; + -f|--file) + _filedir + return 0 + ;; + -g|--group) + local groups=$(cd ~/.dsh/group/ && find *) + COMPREPLY=( $(compgen -W "${groups}" -- "${cur}") ) + return 0 + ;; + *) + ;; + esac + + opts="$(dsh --help | awk '/^-/ {print $1,$2}')" + COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) + return 0 +} + +complete -F _dsh dsh + --- dsh-0.25.10.orig/debian/dsh.updatelist +++ dsh-0.25.10/debian/dsh.updatelist @@ -0,0 +1,3 @@ +#! /bin/bash +/usr/bin/update-cluster-parseconfig hostname < "${CLUSTERXML}" > /etc/dsh/machines.list + --- dsh-0.25.10.orig/debian/machines.list +++ dsh-0.25.10/debian/machines.list @@ -0,0 +1 @@ +localhost --- dsh-0.25.10.orig/debian/pbuilder-test/01_makecheck +++ dsh-0.25.10/debian/pbuilder-test/01_makecheck @@ -0,0 +1,4 @@ +#!/bin/bash + +make check + --- dsh-0.25.10.orig/debian/postinst +++ dsh-0.25.10/debian/postinst @@ -0,0 +1,29 @@ +#! /bin/sh + +set -e + +if [ "$1" = "configure" ] && [ -z "$2" ]; then + if [ ! -e /etc/dsh/group/all ] + then + # manually create the symlink instead of shipping it + # see https://bugs.debian.org/788585 + ln -s ../machines.list /etc/dsh/group/all + fi +fi + +# see preinst +SYMLINK="/etc/dsh/group/all" +LASTVERSION="0.25.10-1.3~" + +if [ "$1" = "configure" ] && + [ -n "$2" ] && + dpkg --compare-versions -- "$2" le-nl "$LASTVERSION"; then + if [ -e ${SYMLINK}.dpkg-backup -o -h ${SYMLINK}.dpkg-backup ] && + [ ! -e "$SYMLINK" ] + then + mv -f "${SYMLINK}.dpkg-backup" "$SYMLINK" + fi +fi + +#DEBHELPER# + --- dsh-0.25.10.orig/debian/postrm +++ dsh-0.25.10/debian/postrm @@ -0,0 +1,15 @@ +#! /bin/sh + +set -e + +if [ "$1" = "purge" ]; then + rm -f /etc/dsh/group/all + # might be created in preinst on upgrade + rm -f /etc/dsh/group/all.dpkg-backup + rmdir --ignore-fail-on-non-empty /etc/dsh/group + rmdir --ignore-fail-on-non-empty /etc/dsh +fi + + +#DEBHELPER# + --- dsh-0.25.10.orig/debian/preinst +++ dsh-0.25.10/debian/preinst @@ -0,0 +1,22 @@ +#! /bin/sh + +set -e + +# Handle the upgrade from the symlink shipped in the package to the symlink +# created by the postinst +# see https://bugs.debian.org/788585 + +# this code is based on symlink_to_dir in dpkg-maintscript-helper + +# note that this also works if /etc/dsh/group/all is not a symlink +SYMLINK="/etc/dsh/group/all" +LASTVERSION="0.25.10-1.3~" + +if [ "$1" = "install" -o "$1" = "upgrade" ] && + [ -n "$2" ] && [ -h "$SYMLINK" -o -e "$SYMLINK" ] && + dpkg --compare-versions -- "$2" le-nl "$LASTVERSION"; then + mv -f "$SYMLINK" "${SYMLINK}.dpkg-backup" +fi + +#DEBHELPER# + --- dsh-0.25.10.orig/debian/rules +++ dsh-0.25.10/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g +INSTALL = install +INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 +INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 +INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 +INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +INSTALL_PROGRAM += -s +endif + + +configure: configure-stamp +configure-stamp: + dh_testdir + dh_autotools-dev_updateconfig + INSTALL_PROGRAM='${INSTALL_PROGRAM}' CFLAGS='${CFLAGS}' \ + ./configure --prefix=/usr --sysconfdir=/etc/dsh --mandir=/usr/share/man + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + $(MAKE) + $(MAKE) check + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + -$(MAKE) clean + -$(MAKE) distclean + dh_autotools-dev_restoreconfig + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/dsh. + $(MAKE) install DESTDIR=$(CURDIR)/debian/dsh + cp $(CURDIR)/debian/machines.list $(CURDIR)/debian/dsh/etc/dsh/machines.list + cp $(CURDIR)/dsh.conf $(CURDIR)/debian/dsh/etc/dsh/dsh.conf + install -d $(CURDIR)/debian/dsh/usr/lib/update-cluster + install -m 755 $(CURDIR)/debian/dsh.updatelist $(CURDIR)/debian/dsh/usr/lib/update-cluster/ + install -d $(CURDIR)/debian/dsh/usr/share/bash-completion/completions/ + install -m 644 $(CURDIR)/debian/dsh.bash_completion $(CURDIR)/debian/dsh/usr/share/bash-completion/completions/dsh + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs NEWS + dh_installexamples + dh_installmenu + dh_installman + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_shlibdeps + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- dsh-0.25.10.orig/debian/source/format +++ dsh-0.25.10/debian/source/format @@ -0,0 +1 @@ +1.0 --- dsh-0.25.10.orig/debian/watch +++ dsh-0.25.10/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://www.netfort.gr.jp/~dancer/software/downloads dsh-([\d+\.]+).tar.gz --- dsh-0.25.10.orig/drshd.c +++ dsh-0.25.10/drshd.c @@ -0,0 +1,61 @@ +/* + * DSH / dancer's shell or the distributed shell + * Copyright (C) 2003 Junichi Uekawa + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * Dancer's almost Remote Shell Daemon. + * + * Will receive connection from stdin, and try to invoke shell. + */ + +#include + + +int +process_incoming_text() +{ +} + +int +process_outgoing_text() +{ +} + + +int +fork_processes_for_action() +{ +} + +/** + * Accept an incoming connectiobn + */ +int +accept_input(int fd/** File descriptor of the incoming connection */) +{ +} + +int +parse_commandline() +{ + +} + +int +main() +{ + +} --- dsh-0.25.10.orig/dsh.1 +++ dsh-0.25.10/dsh.1 @@ -206,5 +206,9 @@ .BR "rsh" "(1), " .BR "ssh" "(1), " .BR "remsh" "(1), " -.BR "dsh.conf" "(5) " +.BR "dsh.conf" "(5), " +.BR "cssh" "(1), " +.BR "dish" "(1), " +.BR "pssh" "(1), " +.BR "taktuk" "(1) " --- dsh-0.25.10.orig/dsh.1.ja.po +++ dsh-0.25.10/dsh.1.ja.po @@ -0,0 +1,552 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2007-08-15 08:57+0900\n" +"PO-Revision-Date: 2007-08-15 08:57+0900\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=euc-jp\n" +"Content-Transfer-Encoding: ENCODING\n" + +# type: TH +#: dsh.1:1 +#, no-wrap +msgid "dsh" +msgstr "dsh" + +# type: TH +#: dsh.1:1 +#, no-wrap +msgid "2007 Aug 15" +msgstr "2007 Aug 15" + +# type: TH +#: dsh.1:1 +#, no-wrap +msgid "Debian-Beowulf/Dancer" +msgstr "Debian-Beowulf/Dancer" + +# type: TH +#: dsh.1:1 +#, no-wrap +msgid "Dancer Tools reference" +msgstr "Dancer ¥Ä¡¼¥ë¥ê¥Õ¥¡¥ì¥ó¥¹" + +# type: SH +#: dsh.1:2 +#, no-wrap +msgid "NAME" +msgstr "̾Á°" + +# type: Plain text +#: dsh.1:4 +msgid "dsh - Distributed shell, or dancer's shell" +msgstr "dsh - ʬ»¶¥·¥§¥ë¡¥¤â¤·¤¯¤Ï¥À¥ó¥µ¡¼¤Î¥·¥§¥ë" + +# type: SH +#: dsh.1:4 +#, no-wrap +msgid "SYNOPSIS" +msgstr "½ñ¼°" + +# type: Plain text +#: dsh.1:7 +msgid "" +"BIB< | -a | -g >IB<] [-r " +">IB<] [-c | -w | -i | -F >IB< ] -- " +">I" +msgstr "" +"BI<¥Þ¥·¥ó̾>B< | -a | -g >I<¥°¥ë¡¼¥×̾>B<] [-r >I<¥ê¥â¡¼¥È¥·¥§¥ë̾" +">B<] [-c | -w | -i | -F >IB< ] -- >I<¥³¥Þ¥ó¥É¥é¥¤¥ó>" + +# type: SH +#: dsh.1:7 +#, no-wrap +msgid "DESCRIPTION" +msgstr "ÀâÌÀ" + +# type: Plain text +#: dsh.1:13 +msgid "" +"B executes command remotely on several different machines at the same " +"time. An utility to effectively do a B in bourne shell." +msgstr "" +"B ¤ÏÊ£¿ô¤Î¥Þ¥·¥ó¤ÇƱ»þ¤Ë¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤¿¤á¤Î¥æ¡¼¥Æ¥£¥ê¥Æ¥£¡¼¤Ç¤¹¡¥ " +"¤³¤Î¥æ¡¼¥Æ¥£¥ê¥Æ¥£¡¼¤ÏBourne¥·¥§¥ë¤Çɽ¸½¤¹¤ë¤È B ¤ÈƱÅù¤Î»ö¤¬¤Ç¤­¤Þ¤¹¡¥" + +# type: SH +#: dsh.1:14 +#, no-wrap +msgid "OPTIONS" +msgstr "¥ª¥×¥·¥ç¥ó" + +# type: Plain text +#: dsh.1:16 +msgid "The options available are as follows." +msgstr "ÍøÍѲÄǽ¤Ê¥ª¥×¥·¥ç¥ó¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹" + +# type: TP +#: dsh.1:16 +#, no-wrap +msgid "B<--verbose | -v>" +msgstr "B<--verbose | -v>" + +# type: Plain text +#: dsh.1:19 +msgid "Give verbose output of the execution process." +msgstr "¾éĹ¤Ê½ÐÎϤò½Ð¤·¤Þ¤¹¡¥" + +# type: TP +#: dsh.1:20 +#, no-wrap +msgid "B<--quiet | -q>" +msgstr "B<--quiet | -q>" + +# type: Plain text +#: dsh.1:23 +msgid "Makes output quieter." +msgstr "½ÐÎϤòÀŤ«¤Ë¤·¤Þ¤¹¡¥" + +# type: TP +#: dsh.1:24 +#, no-wrap +msgid "B<--machine | -m >I<[machinename[,machinename]*]>" +msgstr "B<--machine | -m >I<[¥Þ¥·¥ó̾[,¥Þ¥·¥ó̾]*]>" + +# type: Plain text +#: dsh.1:35 +msgid "" +"Adds I to the list of machines that the command is exeuted. " +"The syntax of I allows I where remote " +"shell is invoked with the option to make it of I" +msgstr "" +"I<¥Þ¥·¥ó̾> ¤ò¥³¥Þ¥ó¥É¤¬¼Â¹Ô¤µ¤ì¤ë¥Þ¥·¥ó¤Î°ìÍ÷¤ËÄɲä·¤Þ¤¹¡¥ I<¥Þ¥·¥ó̾> ¤Î·Á" +"¼°¤Ï I<¥æ¡¼¥¶Ì¾@¥Þ¥·¥ó̾> ¤È¤¤¤¦·Á¤ò¤È¤ê¤Þ¤¹¡¥¤³¤Î·Á¼°¤òÍøÍѤ¹¤ë¤È I<¥æ¡¼¥¶Ì¾" +"> ¤Ç¥ê¥â¡¼¥È¥Û¥¹¥È¤Ë¥í¥°¥¤¥ó¤Ç¤­¤Þ¤¹¡¥" + +# type: Plain text +#: dsh.1:40 +msgid "" +"From version 0.21.4, it is possible to specify in the format of " +"I so that " +"multiple hosts can be specified with comma-delimited values." +msgstr "" +"¥Ð¡¼¥¸¥ç¥ó 0.21.4 ¤«¤é I<¥æ¡¼¥¶Ì¾@¥Þ¥·¥ó̾,¥æ¡¼¥¶Ì¾@¥Þ¥·¥ó̾,¥æ¡¼¥¶Ì¾@¥Þ¥·¥ó" +"̾> ¤Î·Á¼°¤ÇÊ£¿ô¤Î¥Û¥¹¥È¤ò¥³¥ó¥Þ¶èÀÚ¤ê¤Ç»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤·" +"¤¿¡¥" + +# type: TP +#: dsh.1:41 +#, no-wrap +msgid "B<--all | -a >" +msgstr "B<--all | -a >" + +# type: Plain text +#: dsh.1:46 +msgid "" +"Add all machines found in B to the list of machines " +"that the specified command is executed." +msgstr "" +"Add all machines found in B ¤Ë¤¢¤ëÁ´¥Û¥¹¥È¤ò»ØÄꤷ¤¿" +"¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¥Û¥¹¥È¤Î°ìÍ÷¤ËÄɲä·¤Þ¤¹¡¥" + +# type: TP +#: dsh.1:47 +#, no-wrap +msgid "B<--group >IB< | -g >I" +msgstr "B<--group >IB< | -g >I" + +# type: Plain text +#: dsh.1:52 +msgid "" +"Add all machines found in BI to the list of " +"machines that the specified command is executed." +msgstr "" +"BI<¥°¥ë¡¼¥×̾> ¤Ë¤¢¤ëÁ´¥Û¥¹¥È¤ò»ØÄꤷ¤¿¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¥Û" +"¥¹¥È¤Î°ìÍ÷¤ËÄɲä·¤Þ¤¹¡¥" + +# type: Plain text +#: dsh.1:57 +msgid "" +"If groupname is on the form B<@netgroup> then the machines in the given " +"netgroup is used to specify the list of machines to execute on." +msgstr "" +"¥°¥ë¡¼¥×̾¤¬ B<@¥Í¥Ã¥È¥°¥ë¡¼¥×> ¤Î·Á¼°¤Ç»ØÄꤵ¤ì¤Æ¤¤¤ë¤Î¤Ê¤é¡¤»ØÄꤵ¤ì¤¿¥Í¥Ã" +"¥È¥°¥ë¡¼¥×¤ò ¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤¿¤á¤Î¥Û¥¹¥È¤Î°ìÍ÷¤ËÄɲä·¤Þ¤¹¡¥" + +# type: TP +#: dsh.1:58 +#, no-wrap +msgid "B<--file >IB< | -f >I" +msgstr "B<--file >I<¥Þ¥·¥ó¥Õ¥¡¥¤¥ë>B< | -f >I<¥Þ¥·¥ó¥Õ¥¡¥¤¥ë>" + +# type: Plain text +#: dsh.1:62 +msgid "" +"Add all machines found in the specified file to the list of machines that " +"the specified command is executed." +msgstr "" +"»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤Ë¤¢¤ëÁ´¥Û¥¹¥È¤ò»ØÄꤷ¤¿¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¥Û¥¹¥È¤Î°ìÍ÷¤ËÄɲÃ" +"¤·¤Þ¤¹¡¥" + +# type: Plain text +#: dsh.1:68 +msgid "" +"The file should list one machine specification per line (with the same " +"syntax as the I argument). Lines starting with \"#\" are " +"ignored." +msgstr "" +"¥Õ¥¡¥¤¥ë¤ÎÃæ¤Ç¤Ï°ì¹Ô¤Ë°ìÂæ¤Å¤Ä¥Þ¥·¥ó¤ò»ØÄꤷ¤Þ¤¹¡Ê I ¤ÈƱ¤¸½ñ¼°" +"¤Ç»ØÄꤷ¤Þ¤¹¡Ë¡£ \"#\"¤Ç³«»Ï¤¹¤ë¹Ô¤Ï̵»ë¤µ¤ì¤Þ¤¹¡£" + +# type: Plain text +#: dsh.1:73 +msgid "" +"From version 0.21.4, Specifying the same machine several times using any of " +"the machine specification options will result in multiple invocations merged " +"into one." +msgstr "" +"¥Ð¡¼¥¸¥ç¥ó 0.21.4 ¤«¤éƱ¤¸¥Þ¥·¥ó¤òÊ£¿ô²ó»ØÄꤹ¤ë¤È¡¤ °ì¤Ä¤Î¼Â¹Ô¤Ë¥Þ¡¼¥¸¤µ¤ì¤ë" +"¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡¥" + +# type: TP +#: dsh.1:74 +#, no-wrap +msgid "B<--remoteshell >IB<| -r >I" +msgstr "B<--remoteshell >I<¥·¥§¥ë̾ >B<| -r >I<¥·¥§¥ë̾ >" + +# type: Plain text +#: dsh.1:80 +msgid "" +"Execute remote shell I as the remote shell. Usually any of \"rsh" +"\", \"remsh\" or \"ssh\" are available" +msgstr "" +"I<¥·¥§¥ë̾> ¤È¤¤¤¦¥ê¥â¡¼¥È¥·¥§¥ë¤òÍøÍѤ¹¤ë¡¥ Ä̾ï \"rsh\" ¤ä \"remsh\" ¤ä " +"\"ssh\" ¤¬ÍøÍѲÄǽ¤Ç¤¹¡¥" + +# type: TP +#: dsh.1:81 +#, no-wrap +msgid "B<--remoteshellopt >IB<| -o >I" +msgstr "B<--remoteshellopt >I<¥ê¥â¡¼¥È¥·¥§¥ë¥ª¥×¥·¥ç¥ó >B<| -o >I<¥ê¥â¡¼¥È¥·¥§¥ë¥ª¥×¥·¥ç¥ó >" + +# type: Plain text +#: dsh.1:86 +msgid "" +"Add one option I to the list of options passed on to the remote " +"shell." +msgstr "" +"I<¥ê¥â¡¼¥È¥·¥§¥ë¥ª¥×¥·¥ç¥ó> ¤ò¥ê¥â¡¼¥È¥·¥§¥ë¤ËÍ¿¤¨¤ë¥ª¥×¥·¥ç¥ó¤Î¥ê¥¹¥È¤ËÄɲÃ" +"¤¹¤ë¡¥" + +# type: TP +#: dsh.1:87 +#, no-wrap +msgid "B<--help | -h >" +msgstr "B<--help | -h >" + +# type: Plain text +#: dsh.1:90 +msgid "Output help message and exits." +msgstr "¥Ø¥ë¥×¥á¥Ã¥»¡¼¥¸¤ò½ÐÎϤ·¤Æ½ªÎ»¤¹¤ë¡¥" + +# type: TP +#: dsh.1:91 +#, no-wrap +msgid "B<--wait-shell | -w >" +msgstr "B<--wait-shell | -w >" + +# type: Plain text +#: dsh.1:95 +msgid "" +"Executes on each machine and waits for the execution finishing before moving " +"on to the next machine." +msgstr "³Æ¥Þ¥·¥ó¤Ç¼Â¹Ô¤·¡¤¼Â¹Ô¤·½ª¤Ã¤Æ¤«¤é¼¡¤Î¥Þ¥·¥ó¤Ç¼Â¹Ô¤¹¤ë¡¥" + +# type: TP +#: dsh.1:96 +#, no-wrap +msgid "B<--concurrent-shell | -c >" +msgstr "B<--concurrent-shell | -c >" + +# type: Plain text +#: dsh.1:99 +msgid "Executes shell concurrently." +msgstr "¥·¥§¥ë¤òÊÂÎó¤Ë¼Â¹Ô¤¹¤ë¡¥" + +# type: TP +#: dsh.1:100 +#, no-wrap +msgid "B<--show-machine-names | -M >" +msgstr "B<--show-machine-names | -M >" + +# type: Plain text +#: dsh.1:106 +msgid "" +"Prepends machine names on the standard output. Useful to be used in " +"conjunction with the B<--concurrent-shell> option so that the output is " +"slightly more parsable." +msgstr "" +"¥Þ¥·¥ó̾¤òɸ½à½ÐÎϤνÐÎϤËÄɲ乤롥 B<--concurrent-shell> ¥ª¥×¥·¥ç¥ó¤ÈƱ»þ¤Ë" +"»È¤¦¤È½ÐÎϤ¬Â¿¾¯¤Ï¸«¤ä¤¹¤¯¤Ê¤ë¡¥" + +# type: TP +#: dsh.1:107 +#, no-wrap +msgid "B<--hide-machine-names | -H >" +msgstr "B<--hide-machine-names | -H >" + +# type: Plain text +#: dsh.1:110 +msgid "Do not prepend machine names on the standard output." +msgstr "¥Þ¥·¥ó̾¤òɸ½à½ÐÎϤνÐÎϤËÄɲ䷤ʤ¤¡¥" + +# type: TP +#: dsh.1:111 +#, no-wrap +msgid "B<--duplicate-input | -i >" +msgstr "B<--duplicate-input | -i >" + +# type: Plain text +#: dsh.1:117 +msgid "" +"Duplicates the input to dsh process to individual process that are remotely " +"invoked. Needs to have B<--concurrent-shell> set." +msgstr "" +"dsh¥×¥í¥»¥¹¤ÎÆþÎϤò³Æ¥ê¥â¡¼¥È¥×¥í¥»¥¹¤ËʬÇÛ¤¹¤ë¡¥ B<--concurrent-shell> ¥ª¥×" +"¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¤¤¤ëɬÍפ¬¤¢¤ë¡¥" + +# type: Plain text +#: dsh.1:121 +msgid "" +"Due to limitations in current implementation, it is only useful for running " +"shell. Terminate the shell session with ctrl-D." +msgstr "" +"¸½ºß¤Î¼ÂÁõ¤ÎÀ©¸Â¤Ë¤è¤ê¡¤¥·¥§¥ë¤ò¼Â¹Ô¤¹¤ë°Ê³°¤ÎÍÑÅӤˤÏÌõ¤ËΩ¤¿¤Ê¤¤¡¥ ¥·¥§¥ë¤Î" +"¥»¥Ã¥·¥ç¥ó¤ò½ªÎ»¤¹¤ë¤Ë¤Ï¡¤Ctrl¡¼D¤ò²¡¤¹¤³¤È¡¥" + +# type: TP +#: dsh.1:122 +#, no-wrap +msgid "B<--bufsize | -b [>IB<]>" +msgstr "B<--bufsize | -b [>I<¥Ð¥Ã¥Õ¥¡¥µ¥¤¥º(¥Ð¥¤¥È)>B<]>" + +# type: Plain text +#: dsh.1:127 +msgid "" +"Sets the buffer size used in replicating input for B<--duplicate-input> " +"option." +msgstr "" +"B<--duplicate-input> ¤ÎÆþÎϤòÊ£À½¤¹¤ëºÝ¤ËÍøÍѤ¹¤ë¥Ð¥Ã¥Õ¥¡¥µ¥¤¥º¤ò»ØÄꤹ¤ë¡¥" + +# type: TP +#: dsh.1:128 +#, no-wrap +msgid "B<--version | -V >" +msgstr "B<--version | -V >" + +# type: Plain text +#: dsh.1:131 +msgid "Outputs version information and exits." +msgstr "¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤ò½ÐÎϤ·¤Æ½ªÎ»¤¹¤ë¡¥" + +# type: TP +#: dsh.1:132 +#, no-wrap +msgid "B<--num-topology | -N >" +msgstr "B<--num-topology | -N >" + +# type: Plain text +#: dsh.1:138 +msgid "" +"Changes the current topology from 1. 1 is the default behavior of spawning " +"the shell from one node to every node. Changing the number to a value " +"greater than 2 would result in dsh being spawned on other machines as well." +msgstr "" +"¥È¥Ý¥í¥¸¤ò1¤«¤éÊѹ¹¤¹¤ë¡¥ 1¤¬¥Ç¥Õ¥©¥ë¥È¤Î1¥Î¡¼¥É¤«¤éÁ´¥Î¡¼¥É¤Ë¥·¥§¥ë¤ò¼Â¹Ô¤¹" +"¤ë¥¹¥¿¥¤¥ë¤Ç¤¹¡¥ 2°Ê¾å¤ÎÃͤ˻ØÄꤹ¤ë¤È¡¤dsh¤¬Â¾¤Î¥Þ¥·¥ó¤Ç¤â¼Â¹Ô¤µ¤ì¤ë¤è¤¦¤Ë¤Ê" +"¤ê¤Þ¤¹¡¥" + +# type: TP +#: dsh.1:139 +#, no-wrap +msgid "B<--forklimit | -F >I" +msgstr "B<--forklimit | -F >I" + +# type: Plain text +#: dsh.1:150 +msgid "" +"Similar to B<-c> with a limit on the number of simultaneous connections. " +"dsh will wait before creating new connection if the limit is reached. " +"Useful when the number of nodes to be accessed is going somewhere above 200, " +"and using B<-N> option is not possible." +msgstr "" +"B<-c> ¤ÈƱÍͤθú²Ì¤ò»ý¤Ä¡¥ ¤³¤Î¥ª¥×¥·¥ç¥ó¤ÏƱ»þÀܳ¤Î¿ô¤ËÀ©¸Â¤òÀߤ±¤ë¡¥ ¸Â³¦" +"¤ò±Û¤¨¤¿¾ì¹ç¡¤¿·¤·¤¤Àܳ¤òºîÀ®¤¹¤ëÁ°¤Ë¾¤ÎÀܳ¤¬½ªÎ»¤¹¤ë¤Î¤òÂԤġ¥ Ʊ»þ¤Ë¥¢¥¯" +"¥»¥¹¤¹¤ë¥Û¥¹¥È¤Î¿ô¤¬200¤ò±Û¤¨¤Æ¤ª¤ê¡¤ B<-N> ¥ª¥×¥·¥ç¥ó¤òÍøÍѤ¹¤ë¤³¤È¤¬¹¥¤Þ¤·" +"¤¯¤Ê¤¤´Ä¶­¤Î¾ì¹ç¤ËÍøÍѤ¹¤ë¡¥" + +# type: SH +#: dsh.1:151 +#, no-wrap +msgid "EXIT STATUS" +msgstr "½ªÎ»¥³¡¼¥É" + +# type: Plain text +#: dsh.1:154 +msgid "" +"The first non-zero exit code of child processes is returned, or zero if none " +"returned non-zero exit code." +msgstr "" +"ºÇ½é¤Î¥¼¥í°Ê³°¤Î½ªÎ»¥³¡¼¥É¤òÊÖ¤·¤¿»Ò¥×¥í¥»¥¹¤Î½ªÎ»¥³¡¼¥É¤òÊÖ¤·¤Þ¤¹¡¥ ¤â¤·Á´¤Æ" +"¤Î¥×¥í¥»¥¹¤¬¥¼¥í¤ò½ªÎ»¥³¡¼¥É¤È¤·¤ÆÊÖ¤·¤¿¤Î¤Ê¤é¡¤0¤òÊÖ¤·¤Þ¤¹¡¥" + +# type: Plain text +#: dsh.1:157 +msgid "" +"1 if error is found in command-line specifications. 2 if signal is received " +"from child processes." +msgstr "¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤Î¼ºÇÔ¤¬¤¢¤Ã¤¿¾ì¹ç¤Ï¡¤EXIT_FAILURE¤òÊÖ¤·¤Þ¤¹¡¥" + +# type: SH +#: dsh.1:159 +#, no-wrap +msgid "EXAMPLES" +msgstr "Îã" + +# type: TP +#: dsh.1:160 +#, no-wrap +msgid "B" +msgstr "B" + +# type: Plain text +#: dsh.1:163 +msgid "Shows list of users logged in on all workstations." +msgstr "Á´¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó¤Ë¥í¥°¥¤¥ó¤·¤Æ¤¤¤ë¥æ¡¼¥¶¤Î°ìÍ÷¤òɽ¼¨¤·¤Þ¤¹¡¥" + +# type: TP +#: dsh.1:164 +#, no-wrap +msgid "B" +msgstr "B" + +# type: Plain text +#: dsh.1:169 +msgid "" +"Shows list of users logged in on all workstations, and use ssh command to " +"connect. (It should be of note that when using ssh, ssh-agent is handy.)" +msgstr "" +"ssh¤òÍøÍѤ·¤Æ¡¤Á´¥ï¡¼¥¯¥¹¥Æ¡¼¥·¥ç¥ó¤Ë¥í¥°¥¤¥ó¤·¤Æ¤¤¤ë¥æ¡¼¥¶¤Î°ìÍ÷¤òɽ¼¨¤·¤Þ" +"¤¹¡¥ (ssh¤òÍøÍѤ¹¤ë¤È¤­¤Ë¤Ï¡¤ssh-agent¤òÍøÍѤ¹¤ë¤Î¤¬Îɤ¤¤Ç¤·¤ç¤¦¡¥)" + +# type: TP +#: dsh.1:170 +#, no-wrap +msgid "B" +msgstr "B" + +# type: Plain text +#: dsh.1:173 +msgid "Shows the load average of machines node1 and node2." +msgstr "node1¤Ènode2¤ÎÉé²ÙÊ¿¶Ñ¤òɽ¼¨¤·¤Þ¤¹¡¥" + +# type: SH +#: dsh.1:174 +#, no-wrap +msgid "FILES" +msgstr "¥Õ¥¡¥¤¥ë" + +# type: TP +#: dsh.1:175 +#, no-wrap +msgid "B<@sysconfdir@/machines.list | $(HOME)/.dsh/machines.list>" +msgstr "B<@sysconfdir@/machines.list | $(HOME)/.dsh/machines.list>" + +# type: Plain text +#: dsh.1:180 +msgid "" +"List of machine names to be used for when B<-a> command-line option is " +"specified." +msgstr "B<-a> ¥³¥Þ¥ó¥É¥é¥¤¥ó¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¤È¤­¤ËÍøÍѤ¹¤ë¥Þ¥·¥ó¤Î°ìÍ÷¡¥" + +# type: TP +#: dsh.1:181 +#, no-wrap +msgid "B<@sysconfdir@/group/>IB< | $(HOME)/.dsh/group/>I" +msgstr "B<@sysconfdir@/group/>IB< | $(HOME)/.dsh/group/>I" + +# type: Plain text +#: dsh.1:186 +msgid "" +"List of machine names to be used for when B<-g >I command-line " +"option is specified." +msgstr "B<-g >I<¥°¥ë¡¼¥×̾> ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¤È¤­¤ËÍøÍѤ¹¤ë¥Þ¥·¥ó¤Î°ìÍ÷" + +# type: TP +#: dsh.1:187 +#, no-wrap +msgid "B<@sysconfdir@/dsh.conf | $(HOME)/.dsh/dsh.conf >" +msgstr "B<@sysconfdir@/dsh.conf | $(HOME)/.dsh/dsh.conf >" + +# type: Plain text +#: dsh.1:190 +msgid "Configuration file containing the day-to-day default." +msgstr "ËèÆü»È¤¦¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤Î½ñ¤¤¤Æ¤¢¤ë¥Õ¥¡¥¤¥ë¡¥" + +# type: SH +#: dsh.1:191 +#, no-wrap +msgid "BUGS" +msgstr "¥Ð¥°" + +# type: Plain text +#: dsh.1:195 +msgid "There should be a B for copying files to remote systems." +msgstr "¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼¤¹¤ë¤¿¤á¤Î B ¥×¥í¥°¥é¥à¤¬¤¢¤ë¤Ù¤­¤À¤í¤¦¡¥" + +# type: Plain text +#: dsh.1:198 +msgid "" +"Configuration files should really be able to do something more than it does " +"now." +msgstr "ÀßÄê¥Õ¥¡¥¤¥ë¤â¤â¤Ã¤È½ÀÆð¤Ë¤Ê¤ë¤Ù¤­¤À¡¥" + +# type: SH +#: dsh.1:199 +#, no-wrap +msgid "AUTHOR" +msgstr "Ãø¼Ô" + +# type: Plain text +#: dsh.1:201 +msgid "Junichi Uekawa (dancer@debian.org)" +msgstr "¾åÀî½ã°ì (dancer@debian.org)" + +# type: Plain text +#: dsh.1:204 +msgid "" +"Upstream page is available at B" +msgstr "" +"¥Û¡¼¥à¥Ú¡¼¥¸¤Ï B ¤Ë¤¢¤ê¤Þ" +"¤¹¡¥" + +# type: SH +#: dsh.1:205 +#, no-wrap +msgid "SEE ALSO" +msgstr "´ØÏ¢¹àÌÜ" + +# type: Plain text +#: dsh.1:210 +msgid "B(1), B(1), B(1), B(5)" +msgstr "B(1), B(1), B(1), B(5)" --- dsh-0.25.10.orig/po/de.po +++ dsh-0.25.10/po/de.po @@ -0,0 +1,380 @@ +# German translation. +# Copyright (C) 2001, 2002, 2003, 2004, 2005 Junichi Uekawa. +# This file is distributed under the same license as the dsh package. +# Chris Leick , 2010. +# +msgid "" +msgstr "" +"Project-Id-Version: dsh 0.25.10-1\n" +"Report-Msgid-Bugs-To: Junichi Uekawa \n" +"POT-Creation-Date: 2007-12-14 09:02+0900\n" +"PO-Revision-Date: 2010-04-10 12:11+0100\n" +"Last-Translator: Chris Leick \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + + +#: dsh.c:130 +#, c-format +msgid "%s: Could not open descriptor [%i] or [%i]\n" +msgstr "%s: Deskriptor [%i] oder [%i] konnte nicht geöffnet werden\n" + +#: dsh.c:159 +#, c-format +msgid "%s: cannot create pipe\n" +msgstr "%s: Pipe kann nicht erstellt werden\n" + +#: dsh.c:175 +#, c-format +msgid "%s: Cannot spawn process\n" +msgstr "%s: Prozess kann nicht gestartet werden\n" + +#: dsh.c:185 +msgid "Failed playing with pipe" +msgstr "Spielen mit Pipe fehlgeschlagen" + +#: dsh.c:214 +#, c-format +msgid "%s: Failed on constructing a pipe and forking\n" +msgstr "" +"%s: Einrichten einer Pipe und Start eines Folgeprozesses sind " +"fehlgeschlagen\n" + +#: dsh.c:220 +#, c-format +msgid "%s: Failed executing %s with llexec call\n" +msgstr "%s: %s mit »llexec«-Aufruf auszuführen ist fehlgeschlagen\n" + +#: dsh.c:320 +#, c-format +msgid "DUMPing parameters passed to llexec\n" +msgstr "AUSGEGEBENE Parameter werden an »llexec« übergeben\n" + +#: dsh.c:329 +#, c-format +msgid "%s: Failed to execute remote shell command %s\n" +msgstr "%s: Die Ausführung des fernen Shell-Befehls %s ist fehlgeschlagen\n" + +#: dsh.c:335 +#, c-format +msgid "" +"%s: Unexpected error occurred, do_execute_with_optional_pipe failed, and " +"returned an error code that is not -1\n" +msgstr "" +"%s: Unerwarteter Fehler aufgetreten, »do_execute_with_optional_pipe« " +"fehlgeschlagen und es wurde ein Fehlercode zurückgegeben, der nicht -1 ist\n" + +#: dsh.c:342 +#, c-format +msgid "%s: fork failed, in execute_rsh_single\n" +msgstr "%s: Verzweigen fehlgeschlagen in »execute_rsh_single«\n" + +#: dsh.c:364 +msgid "... Waiting for process to end with waitpid" +msgstr "... Es wird auf den Prozess gewartet, um mit »waitpid« zu beenden" + +#: dsh.c:438 dsh.c:448 dsh.c:647 parameter.c:443 parameter.c:465 +#: parameter.c:471 +#, c-format +msgid "%s: asprintf failed\n" +msgstr "%s: »asprintf« fehlgeschlagen\n" + +#: dsh.c:520 +#, c-format +msgid "%s: Process terminated (before write).\n" +msgstr "%s: Prozess beendet (vor dem Schreiben)\n" + +#: dsh.c:539 +#, c-format +msgid "%s: fork failed trying to dupilcate input\n" +msgstr "%s: Verzweigen beim Versuch, Eingabe zu duplizieren, fehlgeschlagen \n" + +#: dsh.c:548 +#, c-format +msgid "%s: forked off input forking process\n" +msgstr "%s: Verzweigt aus Eingabeverzweigungsprozess\n" + +#: dsh.c:580 +#, c-format +msgid "--- Executing on %s \n" +msgstr "--- Ausführung auf %s \n" + +#: dsh.c:584 +#, c-format +msgid "%s: execute_rsh failed, rsh invocation failure.\n" +msgstr "%s: »execute_rsh« fehlgeschlagen, Scheitern des Rsh-Aufrufs\n" + +#: dsh.c:609 +#, c-format +msgid "%s: Child process %i exited with signal %i\n" +msgstr "%s: Kindprozess %i endete mit Signal %i\n" + +#: dsh.c:623 +#, c-format +msgid "--- Terminated running\n" +msgstr "--- Ausführung beendet\n" + +#: parameter.c:60 +#, c-format +msgid "%s: failed to allocate memory of %i bytes\n" +msgstr "%s: Reservieren von %i Byte Speicher fehlgeschlagen\n" + +#: parameter.c:143 +#, c-format +msgid "%s: Unknown netgroup %s.\n" +msgstr "%s: Unbekannte Netzgruppe %s.\n" + +#: parameter.c:150 +msgid "This platform does not support NIS database routines" +msgstr "Diese Plattform unterstützt keine NIS-Datenbankroutinen" + +#: parameter.c:181 +#, c-format +msgid "%s: File %s nor %s could not be opened for read\n" +msgstr "%s: Weder Datei %s noch %s konnte zum Lesen geöffnet werden\n" + +#: parameter.c:185 +#, c-format +msgid "%s: File %s could not be opened for read\n" +msgstr "%s: Datei %s konnte nicht zum Lesen geöffnet werden\n" + +#: parameter.c:198 +#, c-format +msgid "" +"Distributed Shell / Dancer's shell version %s \n" +"Copyright 2001-2005 Junichi Uekawa, \n" +"distributed under the terms and conditions of GPL version 2\n" +"\n" +msgstr "" +"Distributed Shell / Dancers Shell Version %s \n" +"Copyright 2001-2005 Junichi Uekawa, \n" +"verteilt unter den Bestimmungen und Bedingungen der GPL-Version 2\n" +"\n" + +#: parameter.c:213 +#, c-format +msgid "" +"-v --verbose Verbose output\n" +"-q --quiet Quiet\n" +"-M --show-machine-names Prepend the host name on output\n" +"-H --hide-machine-names Do not prepend host name on output\n" +"-i --duplicate-input Duplicate input given to dsh\n" +"-b --bufsize Change buffer size used in input duplication\n" +"-m --machine [machinename] Execute on machine\n" +"-n --num-topology How to divide the machines\n" +"-a --all Execute on all machines\n" +"-g --group [groupname] Execute on group member\n" +"-f --file [file] Use the file as list of machines\n" +"-r --remoteshell [shellname] Execute using shell (rsh/ssh)\n" +"-o --remoteshellopt [option] Option to give to shell \n" +"-h --help Give out this message\n" +"-w --wait-shell Sequentially execute shell\n" +"-c --concurrent-shell Execute shell concurrently\n" +"-F --forklimit [fork limit] Concurrent with limit on number\n" +"-V --version Give out version information\n" +"\n" +msgstr "" +"-v --verbose Detaillierte Ausgabe\n" +"-q --quiet Still\n" +"-M --show-machine-names Der Ausgabe den Rechnernamen voranstellen\n" +"-H --hide-machine-names Der Ausgabe den Rechnernamen nicht\n" +" voranstellen\n" +"-i --duplicate-input An Dsh übergebene Eingabe nicht duplizieren\n" +"-b --bufsize In Eingabe-Duplizierung verwendete\n" +" Puffergröße ändern\n" +"-m --machine [machinename] Auf Maschine ausführen\n" +"-n --num-topology Wie die Maschinen aufgeteilt werden\n" +"-a --all Auf allen Maschinen ausführen\n" +"-g --group [groupname] Auf einem Gruppenmitglied ausführen\n" +"-f --file [file] Die Datei als Liste der Maschinen benutzen\n" +"-r --remoteshell [shellname] Ausführen unter Benutzung der Shell (Rsh/Ssh)\n" +"-o --remoteshellopt [option] Option to give to shell \n" +"-h --help Diese Nachricht ausführen\n" +"-w --wait-shell Sequentielle Shell-Ausführung\n" +"-c --concurrent-shell Gleichzeitige Shell-Ausführung\n" +"-F --forklimit [fork limit] Gleichzeitig mit Begrenzung der Nummer\n" +"-V --version Versionsinformationen ausgeben\n" +"\n" + +#: parameter.c:248 +#, c-format +msgid "Loading config file %s\n" +msgstr "Konfigurationsdatei %s wird geladen\n" + +#: parameter.c:257 +#, c-format +msgid " Parameter %s is %s\n" +msgstr " Parameter %s ist %s\n" + +#: parameter.c:260 parameter.c:535 +#, c-format +msgid "Using %s as the remote shell\n" +msgstr "%s wird als ferne Shell benutzt\n" + +#: parameter.c:265 parameter.c:539 +#, c-format +msgid "Adding [%s] to shell options\n" +msgstr "[%s] wird zu Shell-Optionen hinzugefügt\n" + +#: parameter.c:271 +#, c-format +msgid "Setting wait-shell to [%i]\n" +msgstr "»wait-shell« wird auf [%i] gesetzt\n" + +#: parameter.c:276 +#, c-format +msgid "Setting pipe option to [%i]\n" +msgstr "»pipe«-Option wird auf [%i] gesetzt\n" + +#: parameter.c:284 +#, c-format +msgid "Setting fork limit to [%i] and wait_shell to [%i]\n" +msgstr "»wfork limit« wird auf [%i] und »wait_shell« auf [%i] gesetzt\n" + +#: parameter.c:290 +#, c-format +msgid "Setting verbose to [%i]\n" +msgstr "»verbose« wird auf [%i] gesetzt\n" + +#: parameter.c:295 +#, c-format +msgid "%s: unparsed configuration file line %s found in %s\n" +msgstr "%s: Nicht ausgewertete Konfigurationsdateizeile %s in %s gefunden\n" + +#: parameter.c:353 +#, c-format +msgid "" +"%s: Input duplication and concurrent shell need to be specified together\n" +msgstr "" +"%s: Eingabe-Duplizierung und gleichzeitige Shell müssen zusammen angegeben " +"werden\n" + +#: parameter.c:359 +msgid "Cannot specify fork limit of less than 0\n" +msgstr "" +"Eine Verzweigungsbegrenzung, die kleiner als 0 ist, kann nicht angegeben " +"werden\n" + +#: parameter.c:365 +#, c-format +msgid "" +"%s: Input duplication and concurrent shell without fork limit need to be " +"specified together\n" +msgstr "" +"%s: Eingabe-Duplizierung und gleichzeitige Shell ohne Verzweigungsbegrenzung " +"müssen zusammen angegeben werden\n" + +#: parameter.c:371 +#, c-format +msgid "%s: fork limit and wait shell cannot be specified at the same time\n" +msgstr "" +"%s: Verzweigungsbegrenzung und Warte-Shell können nicht gleichzeitig " +"angegeben werden\n" + +#: parameter.c:438 +#, c-format +msgid "Adding all machines to the list\n" +msgstr "Alle Maschinen zur Liste hinzufügen\n" + +#: parameter.c:456 +#, c-format +msgid "Adding netgroup %s to the list\n" +msgstr "Netzgruppe %s zur Liste hinzufügen\n" + +#: parameter.c:462 +#, c-format +msgid "Adding group %s to the list\n" +msgstr "Gruppe %s zur Liste hinzufügen\n" + +#: parameter.c:481 +#, c-format +msgid "Adding file %s to the list\n" +msgstr "Datei %s zur Liste hinzufügen\n" + +#: parameter.c:487 +#, c-format +msgid "Setting forklimit to %i and wait_shell to %i\n" +msgstr "»forklimit« wird auf [%i] und »wait_shell« auf [%i] gesetzt\n" + +#: parameter.c:490 +#, c-format +msgid "Verbose flag on\n" +msgstr "Detailgrad-Markierung an\n" + +#: parameter.c:494 +#, c-format +msgid "Verbose flag off\n" +msgstr "Detailgrad-Markierung aus\n" + +#: parameter.c:498 +#, c-format +msgid "Show machine names on output\n" +msgstr "Maschinennamen in der Ausgabe anzeigen\n" + +#: parameter.c:502 +#, c-format +msgid "Dont show machine names on output\n" +msgstr "Maschinennamen in der Ausgabe nicht anzeigen\n" + +#: parameter.c:506 +#, c-format +msgid "Duplicate input to all processes\n" +msgstr "Eingabe zu allen Prozessen duplizieren\n" + +#: parameter.c:510 +#, c-format +msgid "Buffer size used for dupliation\n" +msgstr "Für Duplizierung verwendete Puffergröße\n" + +#: parameter.c:514 +#, c-format +msgid "Buffer size needs to be greater than 1\n" +msgstr "Puffergröße muss größer als 1 sein\n" + +#: parameter.c:519 +#, c-format +msgid "Adding machine %s to list\n" +msgstr "Maschine %s zur Liste hinzufügen\n" + +#: parameter.c:523 +#, c-format +msgid "Topology number set to %s\n" +msgstr "Netzstrukturnummer auf %s gesetzt\n" + +#: parameter.c:543 +#, c-format +msgid "Wait for shell to finish executing\n" +msgstr "Zum Beenden der Ausführung auf die Shell warten\n" + +#: parameter.c:547 +#, c-format +msgid "Do not wait for shell to finish\n" +msgstr "Zum Beenden nicht auf die Shell warten\n" + +#: parameter.c:554 +#, c-format +msgid "Unkown option -%c.\n" +msgstr "Unbekannte Option -%c.\n" + +#: parameter.c:556 +#, c-format +msgid "Unkown option character 0x%x.\n" +msgstr "Unbekanntes Optionszeichen 0x%x.\n" + +#: parameter.c:560 +#, c-format +msgid "Unhandled option\n" +msgstr "Nicht behandelte Option\n" + +#: parameter.c:567 +#, c-format +msgid "%s: no machine specified\n" +msgstr "%s: Keine Maschine angegeben\n" + +#: linkedlist.c:60 +#, c-format +msgid "Out of memory in lladd\n" +msgstr "Speicherplatz in »lladd« nicht ausreichend\n" --- dsh-0.25.10.orig/po/insert-header.sin +++ dsh-0.25.10/po/insert-header.sin @@ -0,0 +1,23 @@ +# Sed script that inserts the file called HEADER before the header entry. +# +# At each occurrence of a line starting with "msgid ", we execute the following +# commands. At the first occurrence, insert the file. At the following +# occurrences, do nothing. The distinction between the first and the following +# occurrences is achieved by looking at the hold space. +/^msgid /{ +x +# Test if the hold space is empty. +s/m/m/ +ta +# Yes it was empty. First occurrence. Read the file. +r HEADER +# Output the file's contents by reading the next line. But don't lose the +# current line while doing this. +g +N +bb +:a +# The hold space was nonempty. Following occurrences. Do nothing. +x +:b +}