summaryrefslogtreecommitdiffstats
path: root/source/n/tcpdump
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/tcpdump')
-rw-r--r--source/n/tcpdump/slack-desc2
-rwxr-xr-xsource/n/tcpdump/tcpdump.SlackBuild7
2 files changed, 4 insertions, 5 deletions
diff --git a/source/n/tcpdump/slack-desc b/source/n/tcpdump/slack-desc
index f51ed438a..5a1ddaba0 100644
--- a/source/n/tcpdump/slack-desc
+++ b/source/n/tcpdump/slack-desc
@@ -13,7 +13,7 @@ tcpdump: can use it to dump information on all the packets on a network that
tcpdump: match a boolean expression. Tcpdump uses libpcap, a system
tcpdump: independent interface for user-level packet capture.
tcpdump:
-tcpdump: Project homepage: http://www.tcpdump.org
+tcpdump: Homepage: https://www.tcpdump.org
tcpdump:
tcpdump:
tcpdump:
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