wireshark: apply wireshark group to /usr/bin/dumpcap

This commit is contained in:
Enno Boland 2014-04-01 16:51:02 +02:00
parent a900da3283
commit 7473038c52
2 changed files with 4 additions and 2 deletions

View File

@ -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
=================================================================

View File

@ -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() {