From 4c50236bd7a8e0dcea9337af90aeecd79b75b369 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 16 Sep 2014 10:17:16 +0200 Subject: [PATCH] wireshark: switch to INSTALL.msg. --- srcpkgs/wireshark/INSTALL | 10 +--------- srcpkgs/wireshark/INSTALL.msg | 2 ++ srcpkgs/wireshark/template | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) create mode 100644 srcpkgs/wireshark/INSTALL.msg 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 \