diff --git a/srcpkgs/wireshark/INSTALL b/srcpkgs/wireshark/INSTALL index d362d138776..9c5f29d4b09 100644 --- a/srcpkgs/wireshark/INSTALL +++ b/srcpkgs/wireshark/INSTALL @@ -1,14 +1,6 @@ case "${ACTION}" in post) chgrp wireshark usr/bin/dumpcap - /usr/sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap - cat <<_EOF -================================================================= - -You should also add your user to the 'wireshark' group to be able -to capture traffic - -================================================================== -_EOF + setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap ;; esac diff --git a/srcpkgs/wireshark/INSTALL.msg b/srcpkgs/wireshark/INSTALL.msg new file mode 100644 index 00000000000..2f040bfbe36 --- /dev/null +++ b/srcpkgs/wireshark/INSTALL.msg @@ -0,0 +1,2 @@ +You should also add your user to the 'wireshark' group to be able +to capture traffic. diff --git a/srcpkgs/wireshark/template b/srcpkgs/wireshark/template index d91dd4e53f7..8788e874de3 100644 --- a/srcpkgs/wireshark/template +++ b/srcpkgs/wireshark/template @@ -1,7 +1,7 @@ # Template file for 'wireshark' pkgname=wireshark version=1.12.0 -revision=1 +revision=2 build_style=gnu-configure configure_args=" --with-ssl \ --with-pcap \