diff options
author | Zero_Chaos <zerochaos@gentoo.org> | 2017-01-17 16:36:01 -0500 |
---|---|---|
committer | Zero_Chaos <zerochaos@gentoo.org> | 2017-01-17 16:37:04 -0500 |
commit | d2f4750400db95ab3811e429fabc4511f4a2e2b4 (patch) | |
tree | d76a641df43bd6770e5710a6b17d1956eefa5294 /net-wireless | |
parent | dev-perl/GraphViz: Remove old (diff) | |
download | gentoo-d2f4750400db95ab3811e429fabc4511f4a2e2b4.tar.gz gentoo-d2f4750400db95ab3811e429fabc4511f4a2e2b4.tar.bz2 gentoo-d2f4750400db95ab3811e429fabc4511f4a2e2b4.zip |
net-wireless/kismet: update live ebuild for new development
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/kismet/kismet-9999.ebuild | 114 |
1 files changed, 59 insertions, 55 deletions
diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild index 18490cf7071b..0b778cade2e4 100644 --- a/net-wireless/kismet/kismet-9999.ebuild +++ b/net-wireless/kismet/kismet-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -25,9 +25,12 @@ 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 +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 + net-libs/libmicrohttpd kernel_linux? ( sys-libs/libcap dev-libs/libnl:3 net-libs/libpcap @@ -36,10 +39,10 @@ CDEPEND="net-wireless/wireless-tools suid? ( sys-libs/libcap ) client? ( sys-libs/ncurses:0= ) !arm? ( speech? ( app-accessibility/flite ) ) - plugin-btscan? ( net-wireless/bluez ) - plugin-dot15d4? ( virtual/libusb:0 ) - plugin-spectools? ( net-wireless/spectools ) -" + " + #plugin-btscan? ( net-wireless/bluez ) + #plugin-dot15d4? ( virtual/libusb:0 ) + #plugin-spectools? ( net-wireless/spectools ) DEPEND="${CDEPEND} virtual/pkgconfig @@ -71,57 +74,57 @@ src_configure() { src_compile() { emake - if use plugin-autowep; then - cd "${S}"/restricted-plugin-autowep - KIS_SRC_DIR="${S}" emake - fi - if use plugin-btscan; then - cd "${S}"/plugin-btscan - KIS_SRC_DIR="${S}" emake - fi - if use plugin-dot15d4; then - cd "${S}"/plugin-dot15d4 - KIS_SRC_DIR="${S}" emake - fi - if use plugin-ptw; then - cd "${S}"/restricted-plugin-ptw - KIS_SRC_DIR="${S}" emake - fi - if use plugin-spectools; then - cd "${S}"/plugin-spectools - KIS_SRC_DIR="${S}" emake - fi - if use plugin-syslog; then - cd "${S}"/plugin-syslog - KIS_SRC_DIR="${S}" emake - fi + #if use plugin-autowep; then + # cd "${S}"/restricted-plugin-autowep + # KIS_SRC_DIR="${S}" emake + #fi + #if use plugin-btscan; then + # cd "${S}"/plugin-btscan + # KIS_SRC_DIR="${S}" emake + #fi + #if use plugin-dot15d4; then + # cd "${S}"/plugin-dot15d4 + # KIS_SRC_DIR="${S}" emake + #fi + #if use plugin-ptw; then + # cd "${S}"/restricted-plugin-ptw + # KIS_SRC_DIR="${S}" emake + #fi + #if use plugin-spectools; then + # cd "${S}"/plugin-spectools + # KIS_SRC_DIR="${S}" emake + #fi + #if use plugin-syslog; then + # cd "${S}"/plugin-syslog + # KIS_SRC_DIR="${S}" emake + #fi } src_install() { - if use plugin-autowep; then - cd "${S}"/restricted-plugin-autowep - KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - fi - if use plugin-btscan; then - cd "${S}"/plugin-btscan - KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - fi - if use plugin-dot15d4; then - cd "${S}"/plugin-dot15d4 - KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - fi - if use plugin-ptw; then - cd "${S}"/restricted-plugin-ptw - KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - fi - if use plugin-spectools; then - cd "${S}"/plugin-spectools - KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - fi - if use plugin-syslog; then - cd "${S}"/plugin-syslog - KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install - fi + #if use plugin-autowep; then + # cd "${S}"/restricted-plugin-autowep + # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install + #fi + #if use plugin-btscan; then + # cd "${S}"/plugin-btscan + # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install + #fi + #if use plugin-dot15d4; then + # cd "${S}"/plugin-dot15d4 + # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install + #fi + #if use plugin-ptw; then + # cd "${S}"/restricted-plugin-ptw + # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install + #fi + #if use plugin-spectools; then + # cd "${S}"/plugin-spectools + # KIS_SRC_DIR="${S}" emake DESTDIR="${ED}" LIBDIR="$(get_libdir)" install + #fi + #if use plugin-syslog; then + # 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 @@ -139,7 +142,8 @@ src_install() { doins Makefile.inc #todo write a plugin finder that tells you what needs to be rebuilt when kismet is updated, etc - dodoc CHANGELOG RELEASENOTES.txt README* docs/DEVEL.client docs/README.newcore + #dodoc CHANGELOG RELEASENOTES.txt README* docs/DEVEL.client docs/README.newcore + dodoc CHANGELOG README* newinitd "${FILESDIR}"/${PN}.initd kismet newconfd "${FILESDIR}"/${PN}.confd kismet |