network/wireshark: Updated for version 4.2.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2023-11-18 00:34:53 +07:00
parent 84ae32b32a
commit c1aedb987b
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 7 additions and 6 deletions

View file

@ -19,7 +19,7 @@ If you use a filesystem that supports posix capabilities, an easy way
to start wireshark as a normal user, while still providing it with to start wireshark as a normal user, while still providing it with
all of the access permissions it requires, is by issuing the following all of the access permissions it requires, is by issuing the following
command as root: command as root:
# setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap # setcap cap_net_raw,cap_net_admin=ep /usr/bin/dumpcap
One may also test if things are ok running this command as a normal One may also test if things are ok running this command as a normal
user: user:

View file

@ -32,7 +32,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wireshark PRGNAM=wireshark
VERSION=${VERSION:-4.0.10} VERSION=${VERSION:-4.2.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -106,6 +106,7 @@ cd build
-DCMAKE_INSTALL_MANDIR=/usr/man \ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DUSE_qt6=OFF \
-DCMAKE_BUILD_TYPE=Release .. -DCMAKE_BUILD_TYPE=Release ..
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
@ -136,7 +137,7 @@ cp resources/freedesktop/org.wireshark.Wireshark.metainfo.xml $PKG/usr/share/met
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS* COPYING ChangeLog INSTALL NEWS README* doc/READM* \ cp -a AUTHORS* COPYING ChangeLog NEWS README* doc/READM* \
$PKG/usr/doc/$PRGNAM-$VERSION $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="wireshark" PRGNAM="wireshark"
VERSION="4.0.10" VERSION="4.2.0"
HOMEPAGE="https://www.wireshark.org/" HOMEPAGE="https://www.wireshark.org/"
DOWNLOAD="https://2.na.dl.wireshark.org/src/wireshark-4.0.10.tar.xz" DOWNLOAD="https://2.na.dl.wireshark.org/src/wireshark-4.2.0.tar.xz"
MD5SUM="29d710e0cf96e26005bd13b9d1cd9384" MD5SUM="37658796acb4e7a04a84fa8c5393c9a1"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="lua" REQUIRES="lua"