diff options
author | Dawid Węgliński <cla@gentoo.org> | 2007-11-25 07:15:53 +0000 |
---|---|---|
committer | Dawid Węgliński <cla@gentoo.org> | 2007-11-25 07:15:53 +0000 |
commit | 379fe9ab948983eab308de2f4399c9dbbb0e17c3 (patch) | |
tree | cfb22bfa4d3a6791daf4fa618c297be521f79371 /net-wireless | |
parent | Remove src_compile() since it only does econf and emake without arguments (diff) | |
download | gentoo-2-379fe9ab948983eab308de2f4399c9dbbb0e17c3.tar.gz gentoo-2-379fe9ab948983eab308de2f4399c9dbbb0e17c3.tar.bz2 gentoo-2-379fe9ab948983eab308de2f4399c9dbbb0e17c3.zip |
Version bump, fix bug #195077; thanks for Jukka Ruohonen for patch
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/kismet/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2007.10.1 | 3 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet-2007.10.1-Makefile.in.patch | 55 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2007.10.1.ebuild | 59 |
4 files changed, 125 insertions, 1 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index 98da5f584946..002346c7c6aa 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/kismet # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.96 2007/11/04 10:36:13 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.97 2007/11/25 07:15:52 cla Exp $ + +*kismet-2007.10.1 (25 Nov 2007) + + 25 Nov 2007; Dawid Węgliński <cla@gentoo.org> + +files/kismet-2007.10.1-Makefile.in.patch, +kismet-2007.10.1.ebuild: + Version bump, fixing bug #195077; thanks to Jukka Ruohonen <drear@iki.fi> + for patch 04 Nov 2007; Christian Heim <phreak@gentoo.org> metadata.xml: Removing myself as the maintainer. diff --git a/net-wireless/kismet/files/digest-kismet-2007.10.1 b/net-wireless/kismet/files/digest-kismet-2007.10.1 new file mode 100644 index 000000000000..9d55b201ea3b --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2007.10.1 @@ -0,0 +1,3 @@ +MD5 2100c667e69db0cde35fa2d06c8516e2 kismet-2007-10-R1.tar.gz 646452 +RMD160 7cb62a3fd964c9ee7e4ec6bef050558c806ab495 kismet-2007-10-R1.tar.gz 646452 +SHA256 023e7f47039c1ad8615052e464f76a3cd496a423449b931036d127c56d58b2b9 kismet-2007-10-R1.tar.gz 646452 diff --git a/net-wireless/kismet/files/kismet-2007.10.1-Makefile.in.patch b/net-wireless/kismet/files/kismet-2007.10.1-Makefile.in.patch new file mode 100644 index 000000000000..bcea97e03db8 --- /dev/null +++ b/net-wireless/kismet/files/kismet-2007.10.1-Makefile.in.patch @@ -0,0 +1,55 @@ +diff -ur kismet-2007-10-R1/Makefile.in kismet-2007-10-R1.new/Makefile.in +--- kismet-2007-10-R1/Makefile.in 2007-10-06 23:53:38.000000000 +0300 ++++ kismet-2007-10-R1.new/Makefile.in 2007-11-15 09:45:04.000000000 +0200 +@@ -5,7 +5,7 @@ + VERSION_TINY = R1 + + INSTGRP ?= "@instgrp@" +-MANGRP ?= "@mangrp@" ++MANGRP ?= "root" + INSTUSR ?= "root" + + ZAURUS = @zaurus@ +@@ -138,23 +138,23 @@ + fi + + binuserinstall: +- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(PS) $(BIN)/$(PS); +- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(DRONE) $(BIN)/$(DRONE); ++ install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(PS) $(BIN)/$(PS); ++ install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(DRONE) $(BIN)/$(DRONE); + + binsuidinstall: +- install -o $(INSTUSR) -g $(INSTGRP) -s -m 4755 $(PS) $(BIN)/$(PS); +- install -o $(INSTUSR) -g $(INSTGRP) -s -m 4755 $(DRONE) $(BIN)/$(DRONE); ++ install -o $(INSTUSR) -g $(INSTGRP) -m 4755 $(PS) $(BIN)/$(PS); ++ install -o $(INSTUSR) -g $(INSTGRP) -m 4755 $(DRONE) $(BIN)/$(DRONE); + + commoninstall: + mkdir -p $(ETC) + mkdir -p $(BIN) + + install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(WRAP) $(BIN)/kismet +- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(NC) $(BIN)/$(NC) +- # install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(HOPPER) $(BIN)/$(HOPPER) ++ install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(NC) $(BIN)/$(NC) ++ # install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(HOPPER) $(BIN)/$(HOPPER) + @if test "$(ZAURUS)" = "yes"; then \ +- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(BUZZER) $(BIN)/buzzme; \ +- echo install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(BUZZER) $(BIN)/buzzme; \ ++ install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(BUZZER) $(BIN)/buzzme; \ ++ echo install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(BUZZER) $(BIN)/buzzme; \ + fi + #install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/kismet_monitor $(BIN)/kismet_monitor + #install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/kismet_unmonitor $(BIN)/kismet_unmonitor +@@ -169,8 +169,8 @@ + install -o $(INSTUSR) -g $(MANGRP) -m 644 man/kismet_drone.conf.5 $(MAN)/man5/kismet_drone.conf.5 + + @if test "$(GPSLBUILD)" = "$(GPSL)"; then \ +- install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(GPSL) $(BIN)/$(GPSL); \ +- echo install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(GPSL) $(BIN)/$(GPSL); \ ++ install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(GPSL) $(BIN)/$(GPSL); \ ++ echo install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(GPSL) $(BIN)/$(GPSL); \ + install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/gpsmap-helper-earthamaps $(BIN)/gpsmap-helper-earthamaps; \ + echo install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/gpsmap-helper-earthamaps $(BIN)/gpsmap-helper-earthamaps; \ + install -o $(INSTUSR) -g $(MANGRP) -m 644 man/gpsmap.1 $(MAN)/man1/gpsmap.1; \ diff --git a/net-wireless/kismet/kismet-2007.10.1.ebuild b/net-wireless/kismet/kismet-2007.10.1.ebuild new file mode 100644 index 000000000000..b1bb962e59bc --- /dev/null +++ b/net-wireless/kismet/kismet-2007.10.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2007.10.1.ebuild,v 1.1 2007/11/25 07:15:52 cla 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="ncurses" + +DEPEND="${RDEPEND}" +RDEPEND="net-wireless/wireless-tools + net-libs/libpcap + ncurses? ( sys-libs/ncurses )" + +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}"/${P}-Makefile.in.patch + + sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \ + "${S}"/conf/kismet.conf.in + + # Remove -s from install options + sed -i -e 's| -s||g' "${S}"/Makefile.in +} + +src_compile() { + # the configure script only honors '--disable-foo' + local myconf="--disable-gpsmap" + + if ! use ncurses; then + myconf="${myconf} --disable-curses --disable-panel" + 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}"/${P}-init.d kismet + newconfd "${FILESDIR}"/${P}-conf.d kismet +} |