<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4e4ff37b8b13d8e1f7aad59855e4a6761e3300d3">https://github.com/macports/macports-ports/commit/4e4ff37b8b13d8e1f7aad59855e4a6761e3300d3</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 4e4ff37 wireshark-chmodbpf: fix group creation if installed from binary
</span>4e4ff37 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4e4ff37b8b13d8e1f7aad59855e4a6761e3300d3
</span>Author: Davide Gerhard <rainbow@irh.it>
AuthorDate: Sat Jun 1 09:45:17 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> wireshark-chmodbpf: fix group creation if installed from binary
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> fix group creation if installed from the binary package
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/58537
</span>---
net/wireshark-chmodbpf/Portfile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
<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 444962b..dc06fea 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,7 +4,7 @@ PortSystem 1.0
</span>
name wireshark-chmodbpf
version 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> platforms darwin macosx
categories net
license {GPL-2 GPL-3}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,6 +37,12 @@ destroot {
</span> xinstall -m 0755 -o root -g wheel ${worksrcpath}/sbin/${name} ${destroot}${prefix}/sbin/${name}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# fix group creation if installed from the binary package
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-install {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create the group to access capture devices
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ addgroup ${bpf_group}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # create startup that run ${name} script
startupitem.create yes
startupitem.name wireshark.ChmodBPF
</pre><pre style='margin:0'>
</pre>