summaryrefslogtreecommitdiffstats
path: root/source/n/tcpdump/tcpdump.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/tcpdump/tcpdump.SlackBuild')
-rwxr-xr-xsource/n/tcpdump/tcpdump.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/n/tcpdump/tcpdump.SlackBuild b/source/n/tcpdump/tcpdump.SlackBuild
index a3f941586..f02e725f3 100755
--- a/source/n/tcpdump/tcpdump.SlackBuild
+++ b/source/n/tcpdump/tcpdump.SlackBuild
@@ -23,8 +23,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=tcpdump
-VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -64,7 +64,7 @@ rm -rf tcpdump-$VERSION
# To (try to) avoid weird errors, take an axe to this:
rm -rf $TMP/libpcap-?.?.?
-tar xvf $CWD/tcpdump-$VERSION.tar.xz || exit 1
+tar xvf $CWD/tcpdump-$VERSION.tar.?z || exit 1
cd tcpdump-$VERSION || exit 1
find . -type d -name CVS -depth -exec rm -rf {} \+
chown -R root:root .
@@ -79,7 +79,6 @@ find . \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--docdir=/usr/doc/tcpdump-$VERSION \
- --enable-ipv6 \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1