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 F183A1396D1 for ; Fri, 6 Oct 2017 02:09:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F0FAE0E94; Fri, 6 Oct 2017 02:09:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0B5CBE0E94 for ; Fri, 6 Oct 2017 02:09:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 628CB3417E9 for ; Fri, 6 Oct 2017 02:09:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F15AC909B for ; Fri, 6 Oct 2017 02:09:06 +0000 (UTC) From: "Richard 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, "Richard Farina" Message-ID: <1507255714.836701e94baf1637008f2859c8add7195d8037ce.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 X-VCS-Directories: net-wireless/kismet/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Richard Farina X-VCS-Revision: 836701e94baf1637008f2859c8add7195d8037ce X-VCS-Branch: master Date: Fri, 6 Oct 2017 02:09:06 +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-Archives-Salt: 035d8340-2fb2-4ab0-a4c5-3f2003cbf699 X-Archives-Hash: 72695ef217bd97afba873637c20d3c87 commit: 836701e94baf1637008f2859c8add7195d8037ce Author: Zero_Chaos gentoo org> AuthorDate: Fri Oct 6 02:05:03 2017 +0000 Commit: Richard Farina gentoo org> CommitDate: Fri Oct 6 02:08:34 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=836701e9 net-wireless/kismet: minimally acceptable changeset for tracking git Package-Manager: Portage-2.3.11, Repoman-2.3.3 net-wireless/kismet/kismet-9999.ebuild | 47 +++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild index 053596e62c2..aaa08799fb9 100644 --- a/net-wireless/kismet/kismet-9999.ebuild +++ b/net-wireless/kismet/kismet-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit autotools eutils multilib user @@ -12,7 +12,7 @@ S=${WORKDIR}/${MY_P} if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://www.kismetwireless.net/${PN}.git" SRC_URI="" - inherit git-2 + inherit git-r3 KEYWORDS="" else SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.xz" @@ -24,11 +24,15 @@ 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 +ruby selinux +suid" -IUSE="+client +pcre speech +ruby selinux +suid" - -CDEPEND="net-wireless/wireless-tools - dev-libs/msgpack +#IUSE="+client +pcre speech +plugin-autowep +plugin-btscan plugin-dot15d4 +plugin-ptw +plugin-spectools +plugin-syslog selinux +suid" +IUSE="+client +pcre speech selinux +suid" + +CDEPEND=" + net-misc/networkmanager:= + dev-libs/glib:= + dev-libs/elfutils:= + sys-libs/zlib:= + dev-db/sqlite:= net-libs/libmicrohttpd kernel_linux? ( sys-libs/libcap dev-libs/libnl:3 @@ -48,7 +52,6 @@ DEPEND="${CDEPEND} " RDEPEND="${CDEPEND} - ruby? ( dev-lang/ruby:* ) selinux? ( sec-policy/selinux-kismet ) " @@ -60,7 +63,7 @@ src_prepare() { sed -i -e 's| -s||g' \ -e 's|@mangrp@|root|g' Makefile.in - epatch_user + eapply_user eautoreconf } @@ -124,13 +127,14 @@ src_install() { # cd "${S}"/plugin-syslog # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install #fi - if use ruby; then - cd "${S}"/ruby - dobin *.rb - fi + #if use ruby; then + # cd "${S}"/ruby + # dobin *.rb + #fi cd "${S}" emake DESTDIR="${D}" commoninstall + emake DESTDIR="${D}" forceconfigs ##dragorn would prefer I set fire to my head than do this, but it works ##all external kismet plugins (read: kismet-ubertooth) must be rebuilt when kismet is @@ -146,21 +150,22 @@ src_install() { newinitd "${FILESDIR}"/${PN}.initd kismet newconfd "${FILESDIR}"/${PN}.confd kismet - insinto /etc - doins conf/kismet{,_drone}.conf - - if use suid; then - dobin kismet_capture - fi + #if use suid; then + # dobin kismet_capture + #fi } pkg_preinst() { if use suid; then enewgroup kismet - fowners root:kismet /usr/bin/kismet_capture + 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 # Need to set the permissions after chowning. # See chown(2) - fperms 4550 /usr/bin/kismet_capture + 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 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."