network/driftnet: Updated for version 1.3.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Brenton Earl 2020-09-16 07:44:38 +07:00 committed by Willy Sudiarto Raharjo
parent 21a5553036
commit 1c8a77bd81
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 16 additions and 5 deletions

View File

@ -7,3 +7,11 @@ Original project: http://www.ex-parrot.com/~chris/driftnet/
This is an updated version available from GitHub, which includes several This is an updated version available from GitHub, which includes several
patches for use on newer systems. 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

View File

@ -2,7 +2,7 @@
# Slackbuild build script for driftnet # Slackbuild build script for driftnet
# Copyright 2010, JK Wood <joshuakwood@gmail.com> # 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. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=driftnet PRGNAM=driftnet
VERSION=${VERSION:-1.2.0} VERSION=${VERSION:-1.3.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} 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 \ 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 | 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL CREDITS README.md Changelog TODO $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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View File

@ -1,8 +1,8 @@
PRGNAM="driftnet" PRGNAM="driftnet"
VERSION="1.2.0" VERSION="1.3.0"
HOMEPAGE="https://github.com/deiv/driftnet" HOMEPAGE="https://github.com/deiv/driftnet"
DOWNLOAD="https://github.com/deiv/driftnet/archive/v1.2.0/driftnet-1.2.0.tar.gz" DOWNLOAD="https://github.com/deiv/driftnet/archive/v1.3.0/driftnet-1.3.0.tar.gz"
MD5SUM="86fda7573a2c17ba02059e63e0f097b8" MD5SUM="60e8955771e028cab44ecd6b2800f326"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""