Merge pull request #2301 from CMB/sharkypoo

wireshark: restrict capturing to root and members of the wireshark group.
This commit is contained in:
Juan RP 2015-08-19 18:29:21 +02:00
commit 875443d079
2 changed files with 2 additions and 1 deletions

View File

@ -2,5 +2,6 @@ case "${ACTION}" in
post) post)
chgrp wireshark usr/bin/dumpcap chgrp wireshark usr/bin/dumpcap
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
chmod 770 usr/bin/dumpcap
;; ;;
esac esac

View File

@ -1,7 +1,7 @@
# Template file for 'wireshark' # Template file for 'wireshark'
pkgname=wireshark pkgname=wireshark
version=1.12.7 version=1.12.7
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-ssl --with-pcap --with-libcap --with-zlib --with-lua configure_args="--with-ssl --with-pcap --with-libcap --with-zlib --with-lua
--with-krb5 --with-gtk3=yes --without-portaudio CC_FOR_BUILD=cc" --with-krb5 --with-gtk3=yes --without-portaudio CC_FOR_BUILD=cc"