From 7473038c52e5a250cb5cc05ab56ad5642a875eb7 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 1 Apr 2014 16:51:02 +0200 Subject: [PATCH] wireshark: apply wireshark group to /usr/bin/dumpcap --- srcpkgs/wireshark/INSTALL | 2 +- srcpkgs/wireshark/template | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/wireshark/INSTALL b/srcpkgs/wireshark/INSTALL index 2dc46f548f..d362d13877 100644 --- a/srcpkgs/wireshark/INSTALL +++ b/srcpkgs/wireshark/INSTALL @@ -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 ================================================================= diff --git a/srcpkgs/wireshark/template b/srcpkgs/wireshark/template index 3bc1269947..62269e4344 100644 --- a/srcpkgs/wireshark/template +++ b/srcpkgs/wireshark/template @@ -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() {