View | Details | Raw Unified | Return to bug 195435
Collapse All | Expand All

(-)net/wireshark/Makefile (+2 lines)
Lines 161-166 Link Here
161
CONFIGURE_ARGS+=--with-krb5=no
161
CONFIGURE_ARGS+=--with-krb5=no
162
.endif
162
.endif
163
163
164
PKGMESSAGE=	${FILESDIR}/pkg-message
165
164
post-patch:
166
post-patch:
165
	@${REINPLACE_CMD} -e 's|llua|llua-${LUA_VER}|g ; \
167
	@${REINPLACE_CMD} -e 's|llua|llua-${LUA_VER}|g ; \
166
		s|-Wl,--as-needed|| ' \
168
		s|-Wl,--as-needed|| ' \
(-)net/wireshark/files/pkg-message (+17 lines)
Line 0 Link Here
1
===============================================================================
2
3
In order for wireshark be able to capture packets when used by unprivileged
4
user, /dev/bpf should be in network group and have read-write permissions.
5
For example:
6
7
# chgrp network /dev/bpf*
8
# chmod g+r /dev/bpf*
9
# chmod g+w /dev/bpf*
10
11
In order for this to persist across reboots, add the following to
12
/etc/devfs.conf:
13
14
own  bpf* root:network
15
perm bpf* 0660
16
17
===============================================================================
(-)net/wireshark/pkg-plist (+4 lines)
Lines 1-7 Link Here
1
%%CAPINFOS%%
1
%%CAPINFOS%%
2
%%CAPTYPE%%
2
%%CAPTYPE%%
3
%%DFTEST%%
3
%%DFTEST%%
4
@group network
5
@mode 2555
4
bin/dumpcap
6
bin/dumpcap
7
@mode
8
@group
5
%%EDITCAP%%
9
%%EDITCAP%%
6
%%WIRESHARK%%
10
%%WIRESHARK%%
7
%%MERGECAP%%
11
%%MERGECAP%%

Return to bug 195435