aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2024-02-15 14:38:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2024-02-19 16:41:58 +0000
commitc331293b5c5e4b1c2b521ce4b9e0059d7fdd4546 (patch)
treeb9c5e07dd39900d9bd9d7d02acec9d050fa9afdb
parent09ba446fd03a4b538f5cedf047f5e90d3ee94a00 (diff)
community/wireshark: upgrade to 4.2.3
fix package() function
-rw-r--r--community/wireshark/APKBUILD12
1 files changed, 4 insertions, 8 deletions
diff --git a/community/wireshark/APKBUILD b/community/wireshark/APKBUILD
index 95787d0056e..e481a6fb117 100644
--- a/community/wireshark/APKBUILD
+++ b/community/wireshark/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wireshark
# check if these are stable first.
-pkgver=4.0.12
+pkgver=4.2.3
pkgrel=0
pkgdesc="Network protocol analyzer"
url="https://www.wireshark.org/"
@@ -42,6 +42,7 @@ makedepends="
qt6-qtsvg-dev
qt6-qttools-dev
samurai
+ speexdsp-dev
zlib-dev
zstd-dev
"
@@ -307,18 +308,13 @@ check() {
package() {
DESTDIR="$pkgdir" cmake --install build
-
+ DESTDIR="$pkgdir" cmake --install build --component Development
# Allow users in the wireshark group to capture packages
# See: https://wiki.wireshark.org/CaptureSetup/CapturePrivileges#Limiting_capture_permission_to_only_one_group
chmod 0750 "$pkgdir"/usr/bin/dumpcap
chown root:wireshark "$pkgdir"/usr/bin/dumpcap
setcap cap_net_raw,cap_net_admin+eip "$pkgdir"/usr/bin/dumpcap
- # Move cmake files to the right location
- mkdir -p "$pkgdir"/usr/lib/cmake/wireshark
- mv "$pkgdir"/usr/lib/wireshark/cmake/*.cmake \
- "$pkgdir"/usr/lib/cmake/wireshark/
- rmdir "$pkgdir"/usr/lib/wireshark/cmake
}
common() {
@@ -350,5 +346,5 @@ tshark() {
}
sha512sums="
-01a2723a39e3887e90b61369533f05ff082867eacc778c49f4d79bb5c0d14ea9b58f113f31cd368d48e55de183a15ca4b07e5fa5fccada2d57548f0c486e2790 wireshark-4.0.12.tar.xz
+c62b3a14dd7e0526c340aa3f19d12e1f1a21f0ab3b343bbcb6236327304b35f7fdbebf538f9895aadcd351933e6a8dc739632b67e6ba16a0547805de6fa04987 wireshark-4.2.3.tar.xz
"