# 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.90 2007/01/14 19:40:09 phreak Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.91 2007/01/20 13:04:26 phreak Exp $
+
+*kismet-2007.01.1b (20 Jan 2007)
+
+ 20 Jan 2007; Christian Heim <phreak@gentoo.org>
+ +files/kismet-2007.01.1b-Makefile.in.patch,
+ +files/kismet-2007.01.1b-conf.d, +files/kismet-2007.01.1b-init.d,
+ +kismet-2007.01.1b.ebuild:
+ Version bump (thanks to ChazeFroy <chazefroy at gmail.com> in #162394 for
+ reporting it).
14 Jan 2007; Christian Heim <phreak@gentoo.org> kismet-2006.04.1.ebuild:
Fixing the --with-linuxheaders line, to actually get the include dir right.
MD5 823c5af31d9f5099f246c010c59ac062 files/kismet-2006.04.1-init.d 750
RMD160 ecf426992dab4e2dcf447d07a3ccf22a3e9024de files/kismet-2006.04.1-init.d 750
SHA256 6d5765d53b6ed5bd24f82a4555bb787ef1a1034af26ec99488808ae126209451 files/kismet-2006.04.1-init.d 750
+AUX kismet-2007.01.1b-Makefile.in.patch 2736 RMD160 c9d4932a3f0ab48beda9996d9b2f2401103132b7 SHA1 30b2220bdb17f8716997de64a7c154cd25f6d436 SHA256 04360ab6ec851427395ae9a37d38f6ba005c7070ac73cc543a75581277121244
+MD5 db08e805079e7b4b09471c9d29125632 files/kismet-2007.01.1b-Makefile.in.patch 2736
+RMD160 c9d4932a3f0ab48beda9996d9b2f2401103132b7 files/kismet-2007.01.1b-Makefile.in.patch 2736
+SHA256 04360ab6ec851427395ae9a37d38f6ba005c7070ac73cc543a75581277121244 files/kismet-2007.01.1b-Makefile.in.patch 2736
+AUX kismet-2007.01.1b-conf.d 403 RMD160 cf6cad4dc844ccf9c807edfb5adec2351c0cd249 SHA1 50ce39c8989ddf214f72b3ac14f2a989d6121d15 SHA256 d2f5bb606e4dac45c8de27843ab460b9dac02e83979e52e1b8b3ca3af841adeb
+MD5 b7686d6a17cc808123e939b5d6c9a746 files/kismet-2007.01.1b-conf.d 403
+RMD160 cf6cad4dc844ccf9c807edfb5adec2351c0cd249 files/kismet-2007.01.1b-conf.d 403
+SHA256 d2f5bb606e4dac45c8de27843ab460b9dac02e83979e52e1b8b3ca3af841adeb files/kismet-2007.01.1b-conf.d 403
+AUX kismet-2007.01.1b-init.d 753 RMD160 423c56cbb12400a60ee4fd93abc67438bc1173d9 SHA1 475e6528bcc5d2a9a77a58bc38fb6cadf98ad116 SHA256 dcf19082c780198d8f146dd6039b5ccc0da3908ba3e3288a8cff4bc101e0c665
+MD5 9adb2ccee4ff64673b03833f452d60e3 files/kismet-2007.01.1b-init.d 753
+RMD160 423c56cbb12400a60ee4fd93abc67438bc1173d9 files/kismet-2007.01.1b-init.d 753
+SHA256 dcf19082c780198d8f146dd6039b5ccc0da3908ba3e3288a8cff4bc101e0c665 files/kismet-2007.01.1b-init.d 753
DIST kismet-2006-04-R1.tar.gz 1005068 RMD160 b709256198820d5ac650ce40dea637716427a8b7 SHA1 e48ce08e96328bfdac98152df6b5759c27ed9169 SHA256 eb8a1c688b07adede53c362355e639d8ac29d30536d69eaee97235d14e6d7e76
+DIST kismet-2007-01-R1b.tar.gz 625585 RMD160 1f066bd2669e571ffe62789b82a28bbdece2a479 SHA1 d09256e744ec0ca924f80863feaba8e548d4b4bf SHA256 1b998b34e2e9377f5ac7704295d64507234fe7656e49d384f8bf95604e97e05b
EBUILD kismet-2006.04.1.ebuild 1486 RMD160 21730d5181a1330486d5eb39fb93644c1bd4e5ed SHA1 9b86611b4451d4385a21727c1febd1601c36c561 SHA256 e03dc1107ab5a801db295bb590fcff876360a091b13374fa6969853f478a46e0
MD5 d2de140d9f2e796be63f53111cd9e9bc kismet-2006.04.1.ebuild 1486
RMD160 21730d5181a1330486d5eb39fb93644c1bd4e5ed kismet-2006.04.1.ebuild 1486
SHA256 e03dc1107ab5a801db295bb590fcff876360a091b13374fa6969853f478a46e0 kismet-2006.04.1.ebuild 1486
-MISC ChangeLog 13983 RMD160 2a609f80ec8d9da547275c1ccfe4cc55f35a6448 SHA1 d4c9a5b82b9d7b3b4ed07b4b0b39b570179bda16 SHA256 6c6f6111ada4ea7c2ef15f4b458cdc99e9bc055696f613ce50fc3a742ae25f2d
-MD5 5b6b5b3b3b34e1b04b4ccbe1dceaf345 ChangeLog 13983
-RMD160 2a609f80ec8d9da547275c1ccfe4cc55f35a6448 ChangeLog 13983
-SHA256 6c6f6111ada4ea7c2ef15f4b458cdc99e9bc055696f613ce50fc3a742ae25f2d ChangeLog 13983
+EBUILD kismet-2007.01.1b.ebuild 1345 RMD160 2a48d9057762cbab431cfbedc0fa988de433a21a SHA1 cf06fb3eabdf2ed89f6664180e034c44c29f0154 SHA256 f4eee420b656d7dbc4297318b9661bb2841b16376f025d91f21bb87c725a617d
+MD5 05d52fcd768875e2c9dbf6f2e6b43778 kismet-2007.01.1b.ebuild 1345
+RMD160 2a48d9057762cbab431cfbedc0fa988de433a21a kismet-2007.01.1b.ebuild 1345
+SHA256 f4eee420b656d7dbc4297318b9661bb2841b16376f025d91f21bb87c725a617d kismet-2007.01.1b.ebuild 1345
+MISC ChangeLog 14304 RMD160 d7caba29d847fafca0107bcf45066ea32e86dc70 SHA1 2a97f7f77315f23c82256934477e8a337376a5cc SHA256 cfaee64e5ca66339434512e020610e8806faf5ea30526fe42b159a7bdf0fed1e
+MD5 a76ced4897dcd000659f268731ac4c69 ChangeLog 14304
+RMD160 d7caba29d847fafca0107bcf45066ea32e86dc70 ChangeLog 14304
+SHA256 cfaee64e5ca66339434512e020610e8806faf5ea30526fe42b159a7bdf0fed1e ChangeLog 14304
MISC metadata.xml 349 RMD160 b6d40f078f683b143bed49eab3e8db252fe516ce SHA1 8eceba09926f2fbf9ba5df48276f869062f2cdb2 SHA256 996e64df7c9c75db9e65410c63e527e8cab1c0f735332e19e3bd70a7919d98cf
MD5 911572c9177fe0a69ec4463a1fc24d3f metadata.xml 349
RMD160 b6d40f078f683b143bed49eab3e8db252fe516ce metadata.xml 349
MD5 ea4e7da010136b175d610430c566193e files/digest-kismet-2006.04.1 256
RMD160 2989115159f382409805f9bb2bcde81bf60f2405 files/digest-kismet-2006.04.1 256
SHA256 00e2a0182c5116c3b37b085c9bc59ad7f1a74ff367f7800369359703d2571a38 files/digest-kismet-2006.04.1 256
+MD5 8958c8bf0077d3867102688207126077 files/digest-kismet-2007.01.1b 256
+RMD160 25925bc8fafbeae0cfa8cb8ec5180c8ff581aaf4 files/digest-kismet-2007.01.1b 256
+SHA256 43faf272b7440e686011340d87099dba0069cc246e760e023223714a1526e2ed files/digest-kismet-2007.01.1b 256
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFqpUnyuNVb5qfaOYRAvOrAJ957cX6r87ud6ZJF5wbhvKITq5VkQCcC4j2
-US6lvjuBwNxJqXWLjaERjmk=
-=zhGq
+iD8DBQFFshMwyuNVb5qfaOYRAmZJAKCe0xsvnlYboSgLt4rdzAz7JM3U0ACfclbQ
+UsnY6WJxZNEniSn2P32GJuI=
+=6g0a
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 a1dcea71f0c3f881ef72f5bca2db7b39 kismet-2007-01-R1b.tar.gz 625585
+RMD160 1f066bd2669e571ffe62789b82a28bbdece2a479 kismet-2007-01-R1b.tar.gz 625585
+SHA256 1b998b34e2e9377f5ac7704295d64507234fe7656e49d384f8bf95604e97e05b kismet-2007-01-R1b.tar.gz 625585
--- /dev/null
+Index: kismet-2007-01-R1b/Makefile.in
+===================================================================
+--- kismet-2007-01-R1b.orig/Makefile.in
++++ kismet-2007-01-R1b/Makefile.in
+@@ -5,7 +5,7 @@ VERSION_MINOR = 01
+ VERSION_TINY = R1
+
+ INSTGRP ?= "@instgrp@"
+-MANGRP ?= "@mangrp@"
++MANGRP ?= "root"
+ INSTUSR ?= "root"
+
+ ZAURUS = @zaurus@
+@@ -128,23 +128,23 @@ checkuiconfig:
+ 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 scripts/kismet $(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
+@@ -159,8 +159,8 @@ commoninstall:
+ 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; \
--- /dev/null
+# /etc/conf.d/kismet - configuration file for /etc/init.d/kismet
+
+# Kismet configuration is done in /etc/kismet.conf
+
+# To use the kismet init script, you must have "logtemplate" set to a location
+# that is writable by the user assigned by "suiduser".
+# e.g.
+# suiduser=foo
+# logtemplate=%h/kismet_log/%n-%d-%i.%l
+
+# Options to pass to kismet_server, see `kismet_server --help`
+KISMET_SERVER_OPTIONS=""
--- /dev/null
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/files/kismet-2007.01.1b-init.d,v 1.1 2007/01/20 13:04:26 phreak Exp $
+
+checkconfig() {
+ if [ ! -e /etc/kismet.conf ]; then
+ eerror "Configuration file /etc/kismet.conf not found"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+
+ ebegin "Starting kismet server"
+ start-stop-daemon --start --quiet --pidfile /var/run/kismet_server.pid \
+ --background --make-pidfile --exec /usr/bin/kismet_server \
+ -- ${KISMET_SERVER_OPTIONS}
+ eend ${?}
+}
+
+stop() {
+ ebegin "Stopping kismet server"
+ start-stop-daemon --stop --quiet --pidfile /var/run/kismet_server.pid
+ eend ${?}
+}
--- /dev/null
+# 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.01.1b.ebuild,v 1.1 2007/01/20 13:04:26 phreak 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
+}
+
+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
+}