<pre style='margin:0'>
ghosthound pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c17993addb0c2428d89f821254f951ea4a193a20">https://github.com/macports/macports-ports/commit/c17993addb0c2428d89f821254f951ea4a193a20</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c17993a net/wireshark-chmodbpf: change to make /dev/bpf* read-only for group (not read-write) as Wireshark only needs read access. Tweak language in text emitted after install and bump revision to pick up the above /dev/bpf* change.
</span>c17993a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c17993addb0c2428d89f821254f951ea4a193a20
</span>Author: Eric Hall <ricci@macports.org>
AuthorDate: Tue May 28 12:23:13 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> net/wireshark-chmodbpf:
</span><span style='display:block; white-space:pre;color:#404040;'> change to make /dev/bpf* read-only for group (not read-write) as Wireshark only needs read access.
</span><span style='display:block; white-space:pre;color:#404040;'> Tweak language in text emitted after install and bump revision to pick up the above /dev/bpf* change.
</span>---
net/wireshark-chmodbpf/Portfile | 9 +++++----
net/wireshark-chmodbpf/files/patch-wireshark-chmodbpf.diff | 2 +-
2 files changed, 6 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/wireshark-chmodbpf/Portfile b/net/wireshark-chmodbpf/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f2d357e..444962b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/wireshark-chmodbpf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/wireshark-chmodbpf/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span>
name wireshark-chmodbpf
version 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> platforms darwin macosx
categories net
license {GPL-2 GPL-3}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -44,11 +45,11 @@ startupitem.executable ${prefix}/sbin/${name}
</span> startupitem.pidfile none
notes "
<span style='display:block; white-space:pre;background:#ffe0e0;'>- To fully complete your installation and use Wireshare
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- with capture devices, like network interfaces, please run:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ To fully complete your installation and use Wireshark
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ to capture from devices (like network interfaces) please run:
</span>
sudo dseditgroup -q -o edit -a \[USER\] -t user ${bpf_group}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- and change \[USER\] with the user that need access
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- to the hardware. Then reboot.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and change \[USER\] to the user that needs access to the devices.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ A reboot should not be required for this to take effect.
</span> "
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/wireshark-chmodbpf/files/patch-wireshark-chmodbpf.diff b/net/wireshark-chmodbpf/files/patch-wireshark-chmodbpf.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 9e6b962..12cd9e9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/wireshark-chmodbpf/files/patch-wireshark-chmodbpf.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/wireshark-chmodbpf/files/patch-wireshark-chmodbpf.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,4 +43,4 @@ index 0000000..8564790
</span> +done
+
+chgrp @BPF_GROUP@ /dev/bpf*
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+chmod g+rw /dev/bpf*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++chmod g+r /dev/bpf*
</span></pre><pre style='margin:0'>
</pre>