diff options
author | Peter Wu | 2016-11-08 18:27:30 +0100 |
---|---|---|
committer | Peter Wu | 2016-11-08 18:27:30 +0100 |
commit | f1b5dd4fe20cf4a74c851376d0e8c5a46646c6da (patch) | |
tree | 8fecf60e545b5be03c694ae1f277501ff2e7c348 /PKGBUILD | |
parent | 9905e288cd17fe4e0284be95848ff0b6648bc316 (diff) | |
download | aur-f1b5dd4fe20cf4a74c851376d0e8c5a46646c6da.tar.gz |
Fix capabilities
Ensure that dumpcap is built with capabilities (currently implicitly
pulled in via systemd).
Prevent the world from having capabilities and add DAC privilege for
usbmon support.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,7 @@ depends=( 'c-ares' 'geoip' 'glib2' + 'libcap' 'libpcap' 'lua52' @@ -74,6 +75,10 @@ build() { package() { cd "$srcdir/wireshark/build" DESTDIR="${pkgdir}" ninja install + + # GID for wireshark is 150 + chgrp 150 "${pkgdir}/usr/bin/dumpcap" + chmod 754 "${pkgdir}/usr/bin/dumpcap" } # vim:set ts=2 sw=2: |