summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2020-09-16 07:44:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-16 07:44:38 +0700
commit1c8a77bd8188f03c55240a6a3e314d2a5965a8e2 (patch)
treea7ee69f6b881b0ea47835410ab5ab161dcb8c3cb
parent21a5553036070b1348f256589ef6f0874e28f927 (diff)
downloadslackbuilds-1c8a77bd8188f03c55240a6a3e314d2a5965a8e2.tar.gz
network/driftnet: Updated for version 1.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/driftnet/README8
-rw-r--r--network/driftnet/driftnet.SlackBuild7
-rw-r--r--network/driftnet/driftnet.info6
3 files changed, 16 insertions, 5 deletions
diff --git a/network/driftnet/README b/network/driftnet/README
index 03ebbda903..3774915a48 100644
--- a/network/driftnet/README
+++ b/network/driftnet/README
@@ -7,3 +7,11 @@ Original project: http://www.ex-parrot.com/~chris/driftnet/
This is an updated version available from GitHub, which includes several
patches for use on newer systems.
+
+HTTP websockets display
+-----------------------
+
+Disabled by default.
+
+This feature requires libwebsockets as a dependency and remove this
+build flag: --disable-http-display
diff --git a/network/driftnet/driftnet.SlackBuild b/network/driftnet/driftnet.SlackBuild
index d9999b0e3b..7b75ac248f 100644
--- a/network/driftnet/driftnet.SlackBuild
+++ b/network/driftnet/driftnet.SlackBuild
@@ -2,7 +2,7 @@
# Slackbuild build script for driftnet
# Copyright 2010, JK Wood <joshuakwood@gmail.com>
-# Copyright 2017-2018 Brenton Earl <brent@exitstatuosne.com>
+# Copyright 2017-2018, 2020 Brenton Earl <brent@exitstatuosne.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=driftnet
-VERSION=${VERSION:-1.2.0}
+VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -87,6 +87,9 @@ make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL CREDITS README.md Changelog TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/driftnet/driftnet.info b/network/driftnet/driftnet.info
index 0a4f69fa15..a7d40d2e0e 100644
--- a/network/driftnet/driftnet.info
+++ b/network/driftnet/driftnet.info
@@ -1,8 +1,8 @@
PRGNAM="driftnet"
-VERSION="1.2.0"
+VERSION="1.3.0"
HOMEPAGE="https://github.com/deiv/driftnet"
-DOWNLOAD="https://github.com/deiv/driftnet/archive/v1.2.0/driftnet-1.2.0.tar.gz"
-MD5SUM="86fda7573a2c17ba02059e63e0f097b8"
+DOWNLOAD="https://github.com/deiv/driftnet/archive/v1.3.0/driftnet-1.3.0.tar.gz"
+MD5SUM="60e8955771e028cab44ecd6b2800f326"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""