summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2018-04-17 22:34:02 -0400
committerZero_Chaos <zerochaos@gentoo.org>2018-04-17 22:34:20 -0400
commitc60f33472cb0bc3aeecd143b354096ca3e251a0a (patch)
treedb5e7cea132b017818b7e01708d56b4b90d391bd /net-wireless
parentapp-backup/untangle-https-backup: new version 0.0.8. (diff)
downloadgentoo-c60f33472cb0bc3aeecd143b354096ca3e251a0a.tar.gz
gentoo-c60f33472cb0bc3aeecd143b354096ca3e251a0a.tar.bz2
gentoo-c60f33472cb0bc3aeecd143b354096ca3e251a0a.zip
net-wireless/kismet: updates, builds, need python love
Package-Manager: Portage-2.3.29, Repoman-2.3.9
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/kismet/kismet-9999.ebuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild
index 0cd7c6acad68..2b1292aff57d 100644
--- a/net-wireless/kismet/kismet-9999.ebuild
+++ b/net-wireless/kismet/kismet-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -25,8 +25,7 @@ HOMEPAGE="http://www.kismetwireless.net/"
LICENSE="GPL-2"
SLOT="0/${PV}"
-#IUSE="+client +pcre speech +plugin-autowep +plugin-btscan plugin-dot15d4 +plugin-ptw +plugin-spectools +plugin-syslog selinux +suid"
-IUSE="+client +pcre speech selinux +suid"
+IUSE="+pcre speech selinux +suid"
CDEPEND="
net-misc/networkmanager:=
@@ -39,9 +38,10 @@ CDEPEND="
dev-libs/libnl:3
net-libs/libpcap
)
+ dev-libs/protobuf-c:=
+ sys-libs/ncurses:=
pcre? ( dev-libs/libpcre )
suid? ( sys-libs/libcap )
- client? ( sys-libs/ncurses:0= )
!arm? ( speech? ( app-accessibility/flite ) )
"
#plugin-btscan? ( net-wireless/bluez )
@@ -58,7 +58,7 @@ RDEPEND="${CDEPEND}
src_prepare() {
sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
- conf/kismet.conf.in
+ conf/kismet_logging.conf || die
# Don't strip and set correct mangrp
sed -i -e 's| -s||g' \
@@ -70,8 +70,8 @@ src_prepare() {
src_configure() {
econf \
- $(use_enable client) \
- $(use_enable pcre)
+ $(use_enable pcre) \
+ --disable-python-tools
}
src_compile() {
@@ -159,14 +159,14 @@ src_install() {
pkg_preinst() {
if use suid; then
enewgroup kismet
- fowners root:kismet /usr/bin/kismet_capture_tools/kismet_cap_linux_bluetooth
- fowners root:kismet /usr/bin/kismet_capture_tools/kismet_cap_linux_wifi
- fowners root:kismet /usr/bin/kismet_capture_tools/kismet_cap_pcapfile
+ fowners root:kismet /usr/bin/kismet_cap_linux_bluetooth
+ fowners root:kismet /usr/bin/kismet_cap_linux_wifi
+ fowners root:kismet /usr/bin/kismet_cap_pcapfile
# Need to set the permissions after chowning.
# See chown(2)
- fperms 4550 /usr/bin/kismet_capture_tools/kismet_cap_linux_bluetooth
- fperms 4550 /usr/bin/kismet_capture_tools/kismet_cap_linux_wifi
- fperms 4550 /usr/bin/kismet_capture_tools/kismet_cap_pcapfile
+ fperms 4550 /usr/bin/kismet_cap_linux_bluetooth
+ fperms 4550 /usr/bin/kismet_cap_linux_wifi
+ fperms 4550 /usr/bin/kismet_cap_pcapfile
elog "Kismet has been installed with a setuid-root helper binary"
elog "to enable minimal-root operation. Users need to be part of"
elog "the 'kismet' group to perform captures from physical devices."