aboutsummaryrefslogtreecommitdiffstats
path: root/community/wireshark/wireshark-common.post-install
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-01-01 15:02:06 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2020-01-01 16:33:56 +0100
commit1f6aefc41b1a12d505bdea22f58d437145a8f0e7 (patch)
treea826eac2dfb64f1b70e43bbac1222156a1be85b3 /community/wireshark/wireshark-common.post-install
parentf2f3fbcad97266ad64b896f7eec936a8437d70af (diff)
downloadaports-1f6aefc41b1a12d505bdea22f58d437145a8f0e7.tar.bz2
aports-1f6aefc41b1a12d505bdea22f58d437145a8f0e7.tar.xz
community/wireshark: move install scripts to -common subpackage
The dumpcap binary is owned by the wireshark group. Unfortunately, this binary is shipped by wireshark-common not wireshark itself. As such, the post-install scripts creating and advertising this group must also be part of the subpackage.
Diffstat (limited to 'community/wireshark/wireshark-common.post-install')
-rw-r--r--community/wireshark/wireshark-common.post-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/community/wireshark/wireshark-common.post-install b/community/wireshark/wireshark-common.post-install
new file mode 100644
index 0000000000..e9bae68d09
--- /dev/null
+++ b/community/wireshark/wireshark-common.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