summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-05 23:33:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-05 23:33:07 +0700
commit4f4c4e5a1963c34d651c1060943d25c4e56d3ded (patch)
tree1537526046104848aba284bf1802c9ffbca39656
parent81cd1f845b53dd8933d35ce2a97fbbfe88f15aec (diff)
downloadslackbuilds-4f4c4e5a1963c34d651c1060943d25c4e56d3ded.tar.gz
network/wireshark: Updated for version 4.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/wireshark/wireshark.SlackBuild13
-rw-r--r--network/wireshark/wireshark.info6
2 files changed, 8 insertions, 11 deletions
diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild
index ca44090a74..038d2e241f 100644
--- a/network/wireshark/wireshark.SlackBuild
+++ b/network/wireshark/wireshark.SlackBuild
@@ -32,7 +32,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wireshark
-VERSION=${VERSION:-3.6.8}
+VERSION=${VERSION:-4.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -45,9 +45,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -121,19 +118,19 @@ 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/include/$PRGNAM/{epan/{crypt,dfilter,dissectors,ftypes,wmem},wiretap,wsutil}
-install -m644 ws_diag_control.h ws_symbol_export.h $PKG/usr/include/$PRGNAM
+install -m644 include/ws_diag_control.h include/ws_symbol_export.h $PKG/usr/include/$PRGNAM
for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes; do
install -m644 $d/*.h $PKG/usr/include/$PRGNAM/$d
done
mkdir -p $PKG/usr/share/applications
-cp org.wireshark.Wireshark.desktop $PKG/usr/share/applications
+cp resources/freedesktop/org.wireshark.Wireshark.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/mime/packages
-cp org.wireshark.Wireshark-mime.xml $PKG/usr/share/mime/packages
+cp resources/freedesktop/org.wireshark.Wireshark-mime.xml $PKG/usr/share/mime/packages
mkdir -p $PKG/usr/share/metainfo
-cp org.wireshark.Wireshark.metainfo.xml $PKG/usr/share/metainfo
+cp resources/freedesktop/org.wireshark.Wireshark.metainfo.xml $PKG/usr/share/metainfo
# Remove any .la files
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
diff --git a/network/wireshark/wireshark.info b/network/wireshark/wireshark.info
index be220f1bd9..2a8e38681d 100644
--- a/network/wireshark/wireshark.info
+++ b/network/wireshark/wireshark.info
@@ -1,8 +1,8 @@
PRGNAM="wireshark"
-VERSION="3.6.8"
+VERSION="4.0.0"
HOMEPAGE="https://www.wireshark.org/"
-DOWNLOAD="https://1.as.dl.wireshark.org/src/wireshark-3.6.8.tar.xz"
-MD5SUM="d612af33d202892b48878607adfc6e24"
+DOWNLOAD="https://1.as.dl.wireshark.org/src/wireshark-4.0.0.tar.xz"
+MD5SUM="809bb7780c6d945e5eef39415cb5b099"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua"