From 4f4c4e5a1963c34d651c1060943d25c4e56d3ded Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 5 Oct 2022 23:33:07 +0700 Subject: network/wireshark: Updated for version 4.0.0. Signed-off-by: Willy Sudiarto Raharjo --- network/wireshark/wireshark.SlackBuild | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'network/wireshark/wireshark.SlackBuild') 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 -- cgit v1.2.3