From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2B642138334 for ; Thu, 19 Dec 2019 16:18:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58A72E091B; Thu, 19 Dec 2019 16:18:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE1C5E091B for ; Thu, 19 Dec 2019 16:18:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4CDA134DA35 for ; Thu, 19 Dec 2019 16:18:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5C148A8 for ; Thu, 19 Dec 2019 16:18:15 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1576772291.00a53abc26b46c478ad775760d2c5a87e540e749.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/kismet/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/kismet/kismet-9999.ebuild net-wireless/kismet/metadata.xml X-VCS-Directories: net-wireless/kismet/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: 00a53abc26b46c478ad775760d2c5a87e540e749 X-VCS-Branch: master Date: Thu, 19 Dec 2019 16:18:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4f59faab-fcfc-4c8a-9996-3778692c2179 X-Archives-Hash: 993335809c1bc4dead992f5601195181 commit: 00a53abc26b46c478ad775760d2c5a87e540e749 Author: Rick Farina gentoo org> AuthorDate: Thu Dec 19 16:17:49 2019 +0000 Commit: Rick Farina gentoo org> CommitDate: Thu Dec 19 16:18:11 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a53abc net-wireless/kismet: live updates Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Rick Farina gentoo.org> net-wireless/kismet/kismet-9999.ebuild | 16 ++++++++++------ net-wireless/kismet/metadata.xml | 3 +++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild index 01ac8b25a82..3438a10b65c 100644 --- a/net-wireless/kismet/kismet-9999.ebuild +++ b/net-wireless/kismet/kismet-9999.ebuild @@ -33,8 +33,8 @@ HOMEPAGE="https://www.kismetwireless.net" LICENSE="GPL-2" SLOT="0/${PV}" -IUSE="lm-sensors mousejack networkmanager +pcre selinux +suid" -REQUIRED_USE=${PYTHON_REQUIRED_USE} +IUSE="libusb lm-sensors networkmanager +pcre rtlsdr selinux +suid ubertooth" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" CDEPEND=" ${PYTHON_DEPS} @@ -48,7 +48,7 @@ CDEPEND=" dev-libs/libnl:3 net-libs/libpcap ) - mousejack? ( virtual/libusb:1 ) + libusb? ( virtual/libusb:1 ) dev-libs/protobuf-c:= dev-libs/protobuf:= dev-python/protobuf-python[${PYTHON_USEDEP}] @@ -56,6 +56,7 @@ CDEPEND=" lm-sensors? ( sys-apps/lm-sensors ) pcre? ( dev-libs/libpcre ) suid? ( sys-libs/libcap ) + ubertooth? ( net-wireless/ubertooth:= ) " DEPEND="${CDEPEND} @@ -66,6 +67,8 @@ RDEPEND="${CDEPEND} dev-python/pyserial[${PYTHON_USEDEP}] selinux? ( sec-policy/selinux-kismet ) " +PDEPEND="rtlsdr? ( dev-python/numpy[${PYTHON_USEDEP}] + net-wireless/rtl-sdr )" src_prepare() { sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \ @@ -88,10 +91,11 @@ src_prepare() { src_configure() { econf \ + $(use_enable libusb libusb) \ $(use_enable pcre) \ $(use_enable lm-sensors lmsensors) \ - $(use_enable mousejack libusb) \ $(use_enable networkmanager libnm) \ + $(use_enable ubertooth) \ --sysconfdir=/etc/kismet \ --disable-optimization } @@ -133,9 +137,9 @@ pkg_preinst() { migrate_config() { einfo "Kismet Configuration files are now read from /etc/kismet/" - if [ -n "$(ls ${EROOT}/etc/kismet_*.conf)" ]; then + ewarn "Please keep user specific settings in /etc/kismet/kismet_site.conf" + if [ -n "$(ls ${EROOT}/etc/kismet_*.conf 2> /dev/null)" ]; then ewarn "Files at /etc/kismet_*.conf will not be read and should be removed" - ewarn "Please keep user specific settings in /etc/kismet/kismet_site.conf" fi if [ -f "${EROOT}/etc/kismet_site.conf" ] && [ ! -f "${EROOT}/etc/kismet/kismet_site.conf" ]; then mv /etc/kismet_site.conf /etc/kismet/kismet_site.conf || die "Failed to migrate kismet_site.conf to new location" diff --git a/net-wireless/kismet/metadata.xml b/net-wireless/kismet/metadata.xml index e5158f5c107..db93b745df7 100644 --- a/net-wireless/kismet/metadata.xml +++ b/net-wireless/kismet/metadata.xml @@ -7,6 +7,7 @@ Build the ncurses-based user interface + Support libusb based capture sources such as mousejack, cc2540(ble), and nrf51822(ble) Install a setuid root helper binary with limited functionality; this allows running kismet as a normal user, significantly @@ -21,6 +22,8 @@ Build the ptw plugin Build the spectools plugin. This uses net-wireless/spectools Build the syslog plugin. + Enable rtlsdr based kismet capture sources Build extras which are written in ruby, example plugins and the like. + Enable capture source for ubertooth to sniff bluetooth low energy