diff options
Diffstat (limited to 'source/n/netkit-rsh')
-rwxr-xr-x | source/n/netkit-rsh/netkit-rsh.SlackBuild | 11 | ||||
-rw-r--r-- | source/n/netkit-rsh/slack-desc | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/source/n/netkit-rsh/netkit-rsh.SlackBuild b/source/n/netkit-rsh/netkit-rsh.SlackBuild index 009775f30..ee1e8ce54 100755 --- a/source/n/netkit-rsh/netkit-rsh.SlackBuild +++ b/source/n/netkit-rsh/netkit-rsh.SlackBuild @@ -22,9 +22,18 @@ VERSION=0.17 -ARCH=${ARCH:-x86_64} BUILD=${BUILD:-1} +# 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 + CWD=$(pwd) TMP=${TMP:-/tmp} PKG=$TMP/package-netkit-rsh diff --git a/source/n/netkit-rsh/slack-desc b/source/n/netkit-rsh/slack-desc index 8c05f4812..8b5b7dc28 100644 --- a/source/n/netkit-rsh/slack-desc +++ b/source/n/netkit-rsh/slack-desc @@ -6,7 +6,7 @@ # customary to leave one space after the ':'. |-----handy-ruler------------------------------------------------------| -netkit-rsh: netket-rsh (the BSD rsh/rcp/rlogin clients and daemon) +netkit-rsh: netkit-rsh (the BSD rsh/rcp/rlogin clients and daemon) netkit-rsh: netkit-rsh: The old BSD rsh suite. Note that none of these programs provide netkit-rsh: encryption or strong authentication of network connections. As such, |