summarylogtreecommitdiffstats
path: root/wireshark.install
diff options
context:
space:
mode:
authorJonathan Waldrep2024-02-05 21:51:10 -0500
committerJonathan Waldrep2024-02-05 21:53:49 -0500
commit9dc12d1df6bbb9612594fc0bf4be1058a674c0a4 (patch)
tree49fa7e09811dc0ca8148cd8a25fd2b1c475f5aaa /wireshark.install
downloadaur-9dc12d1df6bbb9612594fc0bf4be1058a674c0a4.tar.gz
Fork from official package
Diffstat (limited to 'wireshark.install')
-rw-r--r--wireshark.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/wireshark.install b/wireshark.install
new file mode 100644
index 000000000000..6eabd1bc9fa6
--- /dev/null
+++ b/wireshark.install
@@ -0,0 +1,8 @@
+post_install() {
+ post_upgrade
+ echo "NOTE: To run wireshark as normal user you have to add yourself into wireshark group"
+}
+
+post_upgrade() {
+ setcap cap_net_raw,cap_net_admin,cap_dac_override+eip usr/bin/dumpcap
+}