aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-12-19 23:45:48 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2020-01-01 12:40:09 +0100
commit370ac10df752b00c9773ea114ae80b8c6d4b9976 (patch)
tree751dca04d839b768711a5e0dec2b1b857e4d52ea
parent25292898fde6d5aa8791d9411b904c3a3b408c06 (diff)
community/wireshark: document wireshark group
This was done similar to community/qemu.
-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 65347889fa7..21e0f521371 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 00000000000..e9bae68d092
--- /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