summaryrefslogtreecommitdiff
path: root/network/dnstop
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-05-12 17:43:10 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:43:10 +0200
commit84202d6a21fdad97480e0b097eb7528d556e46ce (patch)
treefaf895441309475cd6e81cde35208b9f568f71d0 /network/dnstop
parentb8acdcfadf3c3292de14e656f069bb7f2232aba0 (diff)
downloadslackbuilds-84202d6a21fdad97480e0b097eb7528d556e46ce.tar.gz
network/dnstop: Updated for version 20080502
Diffstat (limited to 'network/dnstop')
-rw-r--r--network/dnstop/dnstop.SlackBuild15
-rw-r--r--network/dnstop/dnstop.info8
2 files changed, 14 insertions, 9 deletions
diff --git a/network/dnstop/dnstop.SlackBuild b/network/dnstop/dnstop.SlackBuild
index 810bd970a4..77d8074b17 100644
--- a/network/dnstop/dnstop.SlackBuild
+++ b/network/dnstop/dnstop.SlackBuild
@@ -1,10 +1,15 @@
#!/bin/sh
# Slackware build script for dnstop
+
# Written by Menno Duursma <druiloor@zonnet.nl>
+# This program is free software. It comes without any warranty.
+# Granted WTFPL, Version 2, as published by Sam Hocevar. See
+# http://sam.zoy.org/wtfpl/COPYING for more details.
+
PRGNAM=dnstop
-VERSION=20080502
+VERSION=20090128
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -17,6 +22,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e # Exit on most errors
@@ -44,10 +51,8 @@ CFLAGS="$SLKCFLAGS -DUSE_PPP=1" \
make
make install
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
diff --git a/network/dnstop/dnstop.info b/network/dnstop/dnstop.info
index fb4ced3410..628a1c41cf 100644
--- a/network/dnstop/dnstop.info
+++ b/network/dnstop/dnstop.info
@@ -1,8 +1,8 @@
PRGNAM="dnstop"
VERSION="20080502"
HOMEPAGE="http://dns.measurement-factory.com/tools/dnstop/"
-DOWNLOAD="http://dns.measurement-factory.com/tools/dnstop/src/dnstop-20080502.tar.gz"
-MD5SUM="67f24e8fe47a6b8387b863d19224f20c"
-MAINTAINER="Menno E. Duursma"
+DOWNLOAD="http://dns.measurement-factory.com/tools/dnstop/src/dnstop-20090128.tar.gz"
+MD5SUM="827a0d2020b157b925411dd30b6feff3"
+MAINTAINER="Menno Duursma"
EMAIL="druiloor@zonnet.nl"
-APPROVED="Erik Hanson" \ No newline at end of file
+APPROVED="dsomero"