mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
kismet: update to 2019.07.R2.
This commit is contained in:
parent
4f10a03404
commit
be96026b76
3 changed files with 33 additions and 12 deletions
|
@ -1,7 +1,10 @@
|
||||||
case "${ACTION}" in
|
case "${ACTION}" in
|
||||||
post)
|
post)
|
||||||
chown root:kismet usr/bin/kismet_capture
|
|
||||||
chmod 0750 usr/bin/kismet_capture
|
chown root:kismet usr/bin/kismet_cap_linux_wifi usr/bin/kismet_cap_linux_bluetooth usr/bin/kismet_cap_nrf_mousejack
|
||||||
setcap cap_net_raw,cap_net_admin=eip usr/bin/kismet_capture
|
chmod 0750 usr/bin/kismet_cap_linux_wifi usr/bin/kismet_cap_linux_bluetooth usr/bin/kismet_cap_nrf_mousejack
|
||||||
|
setcap cap_net_raw,cap_net_admin=eip usr/bin/kismet_cap_linux_wifi
|
||||||
|
setcap cap_net_raw,cap_net_admin=eip usr/bin/kismet_cap_linux_bluetooth
|
||||||
|
setcap cap_net_raw,cap_net_admin=eip usr/bin/kismet_cap_nrf_mousejack
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
18
srcpkgs/kismet/patches/musl-strerror_r.patch
Normal file
18
srcpkgs/kismet/patches/musl-strerror_r.patch
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
--- util.cc.orig
|
||||||
|
+++ util.cc
|
||||||
|
@@ -917,13 +917,8 @@
|
||||||
|
|
||||||
|
d_errstr[0] = '\0';
|
||||||
|
|
||||||
|
- STRERROR_R_T r;
|
||||||
|
- r = strerror_r(errnum, d_errstr, 1024);
|
||||||
|
-
|
||||||
|
- if (strlen(r) == 0)
|
||||||
|
- rs = fmt::format("Unknown error: {}", errnum);
|
||||||
|
- else
|
||||||
|
- rs = std::string(d_errstr, 1024);
|
||||||
|
+ strerror_r(errnum, d_errstr, 1024);
|
||||||
|
+ rs = std::string(d_errstr, 1024);
|
||||||
|
|
||||||
|
delete[] d_errstr;
|
||||||
|
return rs;
|
|
@ -1,21 +1,21 @@
|
||||||
# Template file for 'kismet'
|
# Template file for 'kismet'
|
||||||
pkgname=kismet
|
pkgname=kismet
|
||||||
version=2019.04.R1
|
version=2019.07.R2
|
||||||
revision=1
|
revision=1
|
||||||
_realver="${version//./-}"
|
_realver="${version//./-}"
|
||||||
wrksrc="${pkgname}-${_realver}"
|
wrksrc="${pkgname}-${_realver}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-python-tools"
|
configure_args="--disable-python-tools"
|
||||||
conf_files="/etc/*.conf"
|
conf_files="/etc/*.conf"
|
||||||
system_groups="kismet"
|
hostmakedepends="pkg-config protobuf protobuf-c-devel protobuf-devel"
|
||||||
hostmakedepends="pkg-config protobuf protobuf-c"
|
makedepends="libbluetooth-devel libcap-devel libmicrohttpd-devel libpcap-devel
|
||||||
makedepends="libusb-devel libnl3-devel libpcap-devel libmicrohttpd-devel
|
libusb-devel ncurses-devel pcre-devel protobuf-c-devel protobuf-devel
|
||||||
protobuf-devel protobuf-c-devel pcre-devel libbluetooth-devel libcap-devel
|
sqlite-devel"
|
||||||
sqlite-devel ncurses-devel libsensors-devel NetworkManager-devel"
|
|
||||||
depends="libcap-progs"
|
depends="libcap-progs"
|
||||||
short_desc="Wireless network detector, sniffer, and intrusion detection system"
|
short_desc="Wireless network detector, sniffer, and intrusion detection system"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="GPL-2"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://www.kismetwireless.net/"
|
homepage="http://www.kismetwireless.net/"
|
||||||
distfiles="http://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.xz"
|
distfiles="http://www.kismetwireless.net/code/${pkgname}-${_realver}.tar.xz"
|
||||||
checksum=60575e3473abc2a60c583a10b3e386c547f54e720140ab9de6130de5590a7790
|
checksum=dcc370344a437d5a89ea77d799dab5e369e3dd1da37c1afa30b79982f13df900
|
||||||
|
system_groups="kismet"
|
||||||
|
|
Loading…
Add table
Reference in a new issue