diff options
Diffstat (limited to 'source/n/pssh')
-rwxr-xr-x | source/n/pssh/pssh.SlackBuild | 16 | ||||
-rw-r--r-- | source/n/pssh/slack-desc | 4 |
2 files changed, 15 insertions, 5 deletions
diff --git a/source/n/pssh/pssh.SlackBuild b/source/n/pssh/pssh.SlackBuild index 8bb3dcbe..25c19ae3 100755 --- a/source/n/pssh/pssh.SlackBuild +++ b/source/n/pssh/pssh.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,20 @@ # required: package "python" version 2.2 or higher installed -VERSION=1.3.1 -ARCH=${ARCH:-x86_64} # Note that the package will be created as 'noarch' ! +VERSION=2.1.1 BUILD=1 +# Note that the package will be created as 'noarch' ! +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac +fi + PREFIX=/usr if [ "$ARCH" = "x86_64" ]; then diff --git a/source/n/pssh/slack-desc b/source/n/pssh/slack-desc index 42d25006..8b69ec68 100644 --- a/source/n/pssh/slack-desc +++ b/source/n/pssh/slack-desc @@ -14,6 +14,6 @@ pssh: of large number of machines, using parallel ssh sessions. Included pssh: are parallel versions of ssh, scp, and rsync, as well as a parallel pssh: kill command. pssh: -pssh: Pssh has been written by Brent N. Chun, and requires the python -pssh: package installed. +pssh: Pssh has been written by Brent Chun <bnc at theether.org>, and is +pssh: currently maintained by Andrew McNabb <amcnabb at mcnabbs.org>. pssh: |