wireshark: switch to INSTALL.msg.
This commit is contained in:
parent
d7f46ab18f
commit
4c50236bd7
3 changed files with 4 additions and 10 deletions
|
@ -1,14 +1,6 @@
|
|||
case "${ACTION}" in
|
||||
post)
|
||||
chgrp wireshark usr/bin/dumpcap
|
||||
/usr/sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
|
||||
cat <<_EOF
|
||||
=================================================================
|
||||
|
||||
You should also add your user to the 'wireshark' group to be able
|
||||
to capture traffic
|
||||
|
||||
==================================================================
|
||||
_EOF
|
||||
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
|
||||
;;
|
||||
esac
|
||||
|
|
2
srcpkgs/wireshark/INSTALL.msg
Normal file
2
srcpkgs/wireshark/INSTALL.msg
Normal file
|
@ -0,0 +1,2 @@
|
|||
You should also add your user to the 'wireshark' group to be able
|
||||
to capture traffic.
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'wireshark'
|
||||
pkgname=wireshark
|
||||
version=1.12.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args=" --with-ssl \
|
||||
--with-pcap \
|
||||
|
|
Loading…
Reference in a new issue