summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-12-15 15:03:09 +0100
committerJeroen Roovers <jer@gentoo.org>2018-12-15 15:04:56 +0100
commita43ab9ed5658c436dc795cbcae1534851b7e207d (patch)
tree2e9eba4d8abb9d2f616da1670027274ed4a5f779 /net-analyzer
parentdev-libs/libverto: fix quotes (diff)
downloadgentoo-a43ab9ed5658c436dc795cbcae1534851b7e207d.tar.gz
gentoo-a43ab9ed5658c436dc795cbcae1534851b7e207d.tar.bz2
gentoo-a43ab9ed5658c436dc795cbcae1534851b7e207d.zip
net-analyzer/wireshark: Fix /usr/bin/dumpcap ownership
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Fixes: https://bugs.gentoo.org/673188 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/wireshark/wireshark-2.9.0-r1.ebuild (renamed from net-analyzer/wireshark/wireshark-2.9.0.ebuild)1
-rw-r--r--net-analyzer/wireshark/wireshark-99999999.ebuild1
2 files changed, 2 insertions, 0 deletions
diff --git a/net-analyzer/wireshark/wireshark-2.9.0.ebuild b/net-analyzer/wireshark/wireshark-2.9.0-r1.ebuild
index e060d7fd222c..d3a4760a0592 100644
--- a/net-analyzer/wireshark/wireshark-2.9.0.ebuild
+++ b/net-analyzer/wireshark/wireshark-2.9.0-r1.ebuild
@@ -221,6 +221,7 @@ pkg_postinst() {
# Add group for users allowed to sniff.
enewgroup wireshark
+ chgrp wireshark "${EROOT}"/usr/bin/dumpcap
if use dumpcap && use pcap; then
fcaps -o 0 -g wireshark -m 4710 -M 0710 \
diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-99999999.ebuild
index 9cb0fa9e0747..c6adaa7403d0 100644
--- a/net-analyzer/wireshark/wireshark-99999999.ebuild
+++ b/net-analyzer/wireshark/wireshark-99999999.ebuild
@@ -220,6 +220,7 @@ pkg_postinst() {
# Add group for users allowed to sniff.
enewgroup wireshark
+ chgrp wireshark "${EROOT}"/usr/bin/dumpcap
if use dumpcap && use pcap; then
fcaps -o 0 -g wireshark -m 4710 -M 0710 \