commit:     a43ab9ed5658c436dc795cbcae1534851b7e207d
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 15 14:03:09 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Dec 15 14:04:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a43ab9ed

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 <AT> gentoo.org>

 .../wireshark/{wireshark-2.9.0.ebuild => wireshark-2.9.0-r1.ebuild}      | 1 +
 net-analyzer/wireshark/wireshark-99999999.ebuild                         | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-analyzer/wireshark/wireshark-2.9.0.ebuild 
b/net-analyzer/wireshark/wireshark-2.9.0-r1.ebuild
similarity index 99%
rename from net-analyzer/wireshark/wireshark-2.9.0.ebuild
rename to net-analyzer/wireshark/wireshark-2.9.0-r1.ebuild
index e060d7fd222..d3a4760a059 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 9cb0fa9e074..c6adaa7403d 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 \

Reply via email to