wireshark: apply wireshark group to /usr/bin/dumpcap
This commit is contained in:
parent
a900da3283
commit
7473038c52
|
@ -1,6 +1,6 @@
|
||||||
case "${ACTION}" in
|
case "${ACTION}" in
|
||||||
post)
|
post)
|
||||||
chown wireshark usr/bin/dumpcap
|
chgrp wireshark usr/bin/dumpcap
|
||||||
/usr/sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
|
/usr/sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' usr/bin/dumpcap
|
||||||
cat <<_EOF
|
cat <<_EOF
|
||||||
=================================================================
|
=================================================================
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'wireshark'
|
# Template file for 'wireshark'
|
||||||
pkgname=wireshark
|
pkgname=wireshark
|
||||||
version=1.10.6
|
version=1.10.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args=" --with-ssl \
|
configure_args=" --with-ssl \
|
||||||
--with-pcap \
|
--with-pcap \
|
||||||
|
@ -45,6 +45,8 @@ post_install() {
|
||||||
vmkdir $_includeDir/$i
|
vmkdir $_includeDir/$i
|
||||||
vcopy "$i/*.h" $_includeDir/$i
|
vcopy "$i/*.h" $_includeDir/$i
|
||||||
done
|
done
|
||||||
|
|
||||||
|
chmod +754 $DESTDIR/usr/bin/dumpcap
|
||||||
}
|
}
|
||||||
|
|
||||||
libwireshark_package() {
|
libwireshark_package() {
|
||||||
|
|
Loading…
Reference in New Issue