summaryrefslogtreecommitdiff
path: root/network/dnstop
diff options
context:
space:
mode:
Diffstat (limited to 'network/dnstop')
-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 4465add979..abdee42844 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 77d8074b17..e5abfa0e4b 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 628a1c41cf..5a9d9377d6 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"