diff options
Diffstat (limited to 'net-wireless/kismet/kismet-2008.05.1.ebuild')
-rw-r--r-- | net-wireless/kismet/kismet-2008.05.1.ebuild | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/net-wireless/kismet/kismet-2008.05.1.ebuild b/net-wireless/kismet/kismet-2008.05.1.ebuild deleted file mode 100644 index af74bf5e521e..000000000000 --- a/net-wireless/kismet/kismet-2008.05.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2008.05.1.ebuild,v 1.5 2009/08/09 15:09:23 ssuominen Exp $ - -inherit toolchain-funcs linux-info eutils - -MY_P=${P/\./-} -MY_P=${MY_P/./-R} -S=${WORKDIR}/${MY_P} - -DESCRIPTION="IEEE 802.11 wireless LAN sniffer" -HOMEPAGE="http://www.kismetwireless.net/" -SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="dbus ncurses" - -DEPEND="${RDEPEND}" -RDEPEND="net-wireless/wireless-tools - net-libs/libpcap - ncurses? ( sys-libs/ncurses ) - dbus? ( sys-apps/dbus )" - -src_unpack() { - unpack ${A} - cd "${S}" - - sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \ - conf/kismet.conf.in - - # Don't strip and set correct mangrp - sed -i -e 's| -s||g' \ - -e 's|@mangrp@|root|g' Makefile.in - - epatch "${FILESDIR}"/gcc-4.3.patch - epatch "${FILESDIR}"/${P}-glibc-2.10.patch -} - -src_compile() { - # the configure script only honors '--disable-foo' - local myconf="--disable-gpsmap" - - if ! use ncurses; then - myconf="${myconf} --disable-curses --disable-panel" - fi - if ! use dbus; then - myconf="${myconf} --disable-dbus" - fi - - econf ${myconf} \ - --with-linuxheaders="${KV_DIR}" || die "econf failed" - - emake dep || die "emake dep failed" - emake || die "emake failed" -} - -src_install () { - emake DESTDIR="${D}" install || die "emake install failed" - - dodoc CHANGELOG README TODO docs/* - - newinitd "${FILESDIR}"/${PN}.initd kismet - newconfd "${FILESDIR}"/${PN}.confd kismet -} |