aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-05 07:45:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-07 19:09:13 +0700
commitab117450079b66e9e459b7faf7b8b00207887e07 (patch)
tree4b4f73290ddc69a56492c28f3902e15b86d5e37d
parent9f1888ab797323abd620c360c6e5537ae53ba012 (diff)
network/wireshark: Updated for version 2.2.1.
Install headers as well. Otherwise libvirt will fail to build if wireshark is present. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/wireshark/wireshark.SlackBuild10
-rw-r--r--network/wireshark/wireshark.info6
2 files changed, 11 insertions, 5 deletions
diff --git a/network/wireshark/wireshark.SlackBuild b/network/wireshark/wireshark.SlackBuild
index 294ad1ca9ce42..cc1cd7174084d 100644
--- a/network/wireshark/wireshark.SlackBuild
+++ b/network/wireshark/wireshark.SlackBuild
@@ -28,7 +28,7 @@
# Modified by Mario Preksavec <mario@slackware.hr>
PRGNAM=wireshark
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -96,12 +96,18 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs 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
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 config.h register.h ws_diag_control.h ws_symbol_export.h $PKG/usr/include/$PRGNAM
+ for d in epan epan/crypt epan/dfilter epan/dissectors epan/ftypes epan/wmem wiretap wsutil; do
+ install -m644 $d/*.h $PKG/usr/include/$PRGNAM/$d
+ done
+
mkdir -p $PKG/usr/share/applications
cp $PRGNAM.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/share/icons/{hi,lo}color/{16x16,32x32,48x48}/apps
diff --git a/network/wireshark/wireshark.info b/network/wireshark/wireshark.info
index 42633932e521a..5c68f83a3e0f6 100644
--- a/network/wireshark/wireshark.info
+++ b/network/wireshark/wireshark.info
@@ -1,8 +1,8 @@
PRGNAM="wireshark"
-VERSION="2.2.0"
+VERSION="2.2.1"
HOMEPAGE="https://www.wireshark.org/"
-DOWNLOAD="http://wiresharkdownloads.riverbed.com/wireshark/src/all-versions/wireshark-2.2.0.tar.bz2"
-MD5SUM="c7de0997f74934f25b456846cf75cb81"
+DOWNLOAD="http://wiresharkdownloads.riverbed.com/wireshark/src/all-versions/wireshark-2.2.1.tar.bz2"
+MD5SUM="49a1023a69ac108ca089d750eee50e37"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5 lua GeoIP"