diff options
Diffstat (limited to 'network')
-rw-r--r-- | network/dnstop/dnstop.SlackBuild | 15 | ||||
-rw-r--r-- | network/dnstop/dnstop.info | 8 |
2 files changed, 14 insertions, 9 deletions
diff --git a/network/dnstop/dnstop.SlackBuild b/network/dnstop/dnstop.SlackBuild index 810bd970a4b38..77d8074b17e35 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 fb4ced3410ac5..628a1c41cf02b 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" |