aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/wireshark/APKBUILD2
-rw-r--r--community/wireshark/wireshark.post-install8
2 files changed, 9 insertions, 1 deletions
diff --git a/community/wireshark/APKBUILD b/community/wireshark/APKBUILD
index 65347889fa..21e0f52137 100644
--- a/community/wireshark/APKBUILD
+++ b/community/wireshark/APKBUILD
@@ -16,7 +16,7 @@ makedepends="bash bison c-ares-dev cmake flex glib glib-dev gnutls-dev
checkdepends="py3-pytest py3-pytest-xdist"
subpackages="$pkgname-dev $pkgname-doc $pkgname-common tshark"
pkggroups="wireshark"
-install="$pkgname.pre-install $pkgname.pre-upgrade"
+install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-install"
# Use mirror in the meantime
# source="https://www.wireshark.org/download/src/wireshark-$pkgver.tar.xz
source="https://1.as.dl.wireshark.org/src/wireshark-$pkgver.tar.xz
diff --git a/community/wireshark/wireshark.post-install b/community/wireshark/wireshark.post-install
new file mode 100644
index 0000000000..e9bae68d09
--- /dev/null
+++ b/community/wireshark/wireshark.post-install
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cat 1>&2 <<EOF
+*
+* If you want to run wireshark as an unprivileged user
+* then you must add that user to the group "wireshark".
+*
+EOF