wireshark: apply wireshark group to /usr/bin/dumpcap
This commit is contained in:
parent
a900da3283
commit
7473038c52
|
@ -1,6 +1,6 @@
|
|||
case "${ACTION}" in
|
||||
post)
|
||||
chown wireshark usr/bin/dumpcap
|
||||
chgrp wireshark usr/bin/dumpcap
|
||||
/usr/sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
|
||||
cat <<_EOF
|
||||
=================================================================
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'wireshark'
|
||||
pkgname=wireshark
|
||||
version=1.10.6
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args=" --with-ssl \
|
||||
--with-pcap \
|
||||
|
@ -45,6 +45,8 @@ post_install() {
|
|||
vmkdir $_includeDir/$i
|
||||
vcopy "$i/*.h" $_includeDir/$i
|
||||
done
|
||||
|
||||
chmod +754 $DESTDIR/usr/bin/dumpcap
|
||||
}
|
||||
|
||||
libwireshark_package() {
|
||||
|
|
Loading…
Reference in New Issue