summaryrefslogtreecommitdiff
path: root/network/arp-scan
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:35:37 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:35:37 +0200
commit516db23a7e5cef1de99baf052990b1e98520949d (patch)
tree3dda4ae61ef9748e64f02d21c8d31c145ac1a54d /network/arp-scan
parent64c392ac4ce9180f35c353c1207603dced221510 (diff)
downloadslackbuilds-516db23a7e5cef1de99baf052990b1e98520949d.tar.gz
network/arp-scan: Updated for version 1.7
Diffstat (limited to 'network/arp-scan')
-rw-r--r--network/arp-scan/arp-scan.SlackBuild8
-rw-r--r--network/arp-scan/arp-scan.info3
-rw-r--r--network/arp-scan/slack-desc12
3 files changed, 14 insertions, 9 deletions
diff --git a/network/arp-scan/arp-scan.SlackBuild b/network/arp-scan/arp-scan.SlackBuild
index 66f4fb964b..f276029991 100644
--- a/network/arp-scan/arp-scan.SlackBuild
+++ b/network/arp-scan/arp-scan.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for arp-scan
-# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -59,6 +62,7 @@ find . \
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-static \
--build=$ARCH-slackware-linux
@@ -83,4 +87,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/arp-scan/arp-scan.info b/network/arp-scan/arp-scan.info
index 8d0ee6499e..af369a5023 100644
--- a/network/arp-scan/arp-scan.info
+++ b/network/arp-scan/arp-scan.info
@@ -2,8 +2,9 @@ PRGNAM="arp-scan"
VERSION="1.7"
HOMEPAGE="http://www.nta-monitor.com/tools/arp-scan/"
DOWNLOAD="http://www.nta-monitor.com/tools/arp-scan/download/arp-scan-1.7.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="a9927dba2b1dbdfd1c3b3bb09615fc14"
+MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="Michiel"
-
diff --git a/network/arp-scan/slack-desc b/network/arp-scan/slack-desc
index 651ed60b82..c75043c4ad 100644
--- a/network/arp-scan/slack-desc
+++ b/network/arp-scan/slack-desc
@@ -10,10 +10,10 @@ arp-scan: arp-scan (ARP scanning and fingerprinting tool)
arp-scan:
arp-scan: Please read the man pages arp-scan(1), arp-fingerprint(1) and
arp-scan: get-oui(1) before using this tool.
-arp-scan:
+arp-scan:
arp-scan: Homepage: http://www.nta-monitor.com/tools/arp-scan/
-arp-scan:
-arp-scan:
-arp-scan:
-arp-scan:
-arp-scan:
+arp-scan:
+arp-scan:
+arp-scan:
+arp-scan:
+arp-scan: