diff options
Diffstat (limited to 'network/arping/arping.SlackBuild')
-rw-r--r-- | network/arping/arping.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/network/arping/arping.SlackBuild b/network/arping/arping.SlackBuild index 2f212d53a0089..245a3b2cbc29e 100644 --- a/network/arping/arping.SlackBuild +++ b/network/arping/arping.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for arping # Copyright 2010 Nilton Moura, Rio de Janeiro, RJ, Brasil +# Copyright 2020 Michael Edie, Tampa, FL, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=arping -VERSION=${VERSION:-2.13} +VERSION=${VERSION:-2.20} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -69,7 +70,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# We are renameing the installed files arping2 to aviod conflicts with +# We are renaming the installed files arping2 to aviod conflicts with # Slackware's iputils arping so lets fix the manpages and scan script. sed \ -e "s|\(arping\)|\12|g" \ |