initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#!/bin/sh
post_install() {
post_upgrade
cat 1>&2 <<EOF
*
* If you want to run wireshark as an unprivileged user
* then you must add that user to the group "wireshark".
*
* # passwd -a <user> wireshark
*
EOF
}
post_upgrade() {
setcap cap_net_raw,cap_net_admin,cap_dac_override+eip usr/bin/dumpcap
if ! (grep -q wireshark /etc/group); then
groupadd --gid 150 wireshark >/dev/null 2>&1;
fi
}
pre_remove() {
groupdel wireshark > /dev/null 2>&1
}