aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-05-13 00:36:13 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:36:13 +0200
commitee4727e4f695ed7c49626d740fff17d68abfea3a (patch)
treef35879bbb4322efab422ba7f852fbb889acf6ae0 /network
parent99d411267fc5eddb246ce8e33fee8e63909b3f2e (diff)
network/dnstop: Updated for version 20080502
Diffstat (limited to 'network')
-rw-r--r--network/dnstop/README10
-rw-r--r--network/dnstop/dnstop.SlackBuild6
-rw-r--r--network/dnstop/dnstop.info2
3 files changed, 13 insertions, 5 deletions
diff --git a/network/dnstop/README b/network/dnstop/README
index 4465add979b92..abdee4284493d 100644
--- a/network/dnstop/README
+++ b/network/dnstop/README
@@ -1,4 +1,5 @@
-dnstop is a libpcap application (ala tcpdump) that displays various tables of DNS traffic on your network. Currently dnstop displays tables of:
+dnstop is a libpcap application (ala tcpdump) that displays various tables
+of DNS traffic on your network. Currently dnstop displays tables of:
* Source IP addresses
* Destination IP addresses
@@ -12,15 +13,16 @@ dnstop is a libpcap application (ala tcpdump) that displays various tables of D
dnstop supports both IPv4 and IPv6 addresses.
-To help find especially undesirable DNS queries, dnstop provides a number of filters. The filters tell dnstop to display only the following types of queries:
+To help find especially undesirable DNS queries, dnstop provides a number of
+filters. The filters tell dnstop to display only the following types of queries:
* For unknown/invalid TLDs
* A queries where the query name is already an IP address
* PTR queries for RFC1918 address space
-dnstop can either read packets from the live capture device, or from a tcpdump savefile.
+dnstop can either read packets from the live capture device, or from a tcpdump
+savefile.
--
Unless modified, this script compiles with PPP frame support.
-Homepage: http://dns.measurement-factory.com/tools/dnstop/
diff --git a/network/dnstop/dnstop.SlackBuild b/network/dnstop/dnstop.SlackBuild
index 77d8074b17e35..e5abfa0e4b4b6 100644
--- a/network/dnstop/dnstop.SlackBuild
+++ b/network/dnstop/dnstop.SlackBuild
@@ -13,6 +13,7 @@ VERSION=20090128
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -20,10 +21,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 # Exit on most errors
@@ -67,4 +71,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/dnstop/dnstop.info b/network/dnstop/dnstop.info
index 628a1c41cf02b..5a9d9377d69be 100644
--- a/network/dnstop/dnstop.info
+++ b/network/dnstop/dnstop.info
@@ -2,7 +2,9 @@ PRGNAM="dnstop"
VERSION="20080502"
HOMEPAGE="http://dns.measurement-factory.com/tools/dnstop/"
DOWNLOAD="http://dns.measurement-factory.com/tools/dnstop/src/dnstop-20090128.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="827a0d2020b157b925411dd30b6feff3"
+MD5SUM_x86_64=""
MAINTAINER="Menno Duursma"
EMAIL="druiloor@zonnet.nl"
APPROVED="dsomero"