commit:     aa818cc5a350514f7ff8fc60b8ca84878fdf3743
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri May 18 23:16:02 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri May 18 23:16:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa818cc5

net-analyzer/wireshark: Drop USE=caps, set wireshark group (bug #654774).

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 .../{wireshark-2.6.0-r1.ebuild => wireshark-2.6.0-r2.ebuild}       | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/wireshark/wireshark-2.6.0-r1.ebuild 
b/net-analyzer/wireshark/wireshark-2.6.0-r2.ebuild
similarity index 97%
rename from net-analyzer/wireshark/wireshark-2.6.0-r1.ebuild
rename to net-analyzer/wireshark/wireshark-2.6.0-r2.ebuild
index 23ffa310a9e..b2bdb6d5cf7 100644
--- a/net-analyzer/wireshark/wireshark-2.6.0-r1.ebuild
+++ b/net-analyzer/wireshark/wireshark-2.6.0-r2.ebuild
@@ -12,7 +12,7 @@ LICENSE="GPL-2"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc64 ~x86"
 IUSE="
-       adns androiddump bcg729 +capinfos +caps +captype ciscodump +dftest doc
+       adns androiddump bcg729 +capinfos +captype ciscodump +dftest doc
        +dumpcap +editcap gtk kerberos libxml2 lua lz4 maxminddb +mergecap 
+netlink
        nghttp2 +pcap portaudio +qt5 +randpkt +randpktdump +reordercap sbc 
selinux
        +sharkd smi snappy spandsp sshdump ssl +text2pcap tfshark +tshark 
+udpdump
@@ -27,7 +27,7 @@ CDEPEND="
        netlink? ( dev-libs/libnl:3 )
        adns? ( >=net-dns/c-ares-1.5 )
        bcg729? ( media-libs/bcg729 )
-       caps? ( sys-libs/libcap )
+       filecaps? ( sys-libs/libcap )
        gtk? (
                x11-libs/gdk-pixbuf
                x11-libs/gtk+:3
@@ -147,7 +147,7 @@ src_configure() {
                -DBUILD_wireshark_gtk=$(usex gtk)
                -DDISABLE_WERROR=yes
                -DENABLE_BCG729=$(usex bcg729)
-               -DENABLE_CAP=$(usex caps)
+               -DENABLE_CAP=no
                -DENABLE_CARES=$(usex adns)
                -DENABLE_GNUTLS=$(usex ssl)
                -DENABLE_KERBEROS=$(usex kerberos)
@@ -229,6 +229,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