summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-08-16 13:16:16 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-08-16 13:16:16 +0000
commit84454a96a96b4082ee58b2c214896f418eca678d (patch)
tree1b3972210e6da25a2a43baf38fb915b4b8a3ed4c /net-wireless/kismet
parentInitial import, closes bug #97663 (diff)
downloadgentoo-2-84454a96a96b4082ee58b2c214896f418eca678d.tar.gz
gentoo-2-84454a96a96b4082ee58b2c214896f418eca678d.tar.bz2
gentoo-2-84454a96a96b4082ee58b2c214896f418eca678d.zip
Version bump. Please note that ethereal wiretap support has been removed in this release.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-wireless/kismet')
-rw-r--r--net-wireless/kismet/ChangeLog10
-rw-r--r--net-wireless/kismet/Manifest6
-rw-r--r--net-wireless/kismet/files/digest-kismet-2005.08.11
-rw-r--r--net-wireless/kismet/files/kismet-2005.08.1-conf.d14
-rw-r--r--net-wireless/kismet/files/kismet-2005.08.1-init.d27
-rw-r--r--net-wireless/kismet/kismet-2005.08.1.ebuild67
6 files changed, 123 insertions, 2 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog
index d0f559e53837..9bd8227e59ae 100644
--- a/net-wireless/kismet/ChangeLog
+++ b/net-wireless/kismet/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-wireless/kismet
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.73 2005/08/12 01:39:21 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.74 2005/08/16 13:16:16 brix Exp $
+
+*kismet-2005.08.1 (16 Aug 2005)
+
+ 16 Aug 2005; Henrik Brix Andersen <brix@gentoo.org>
+ +files/kismet-2005.08.1-conf.d, +files/kismet-2005.08.1-init.d,
+ +kismet-2005.08.1.ebuild:
+ Version bump. Please note that ethereal wiretap support has been removed in
+ this release.
*kismet-2005.07.1a (25 Jul 2005)
diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest
index 7d5e741fe462..2903814211e0 100644
--- a/net-wireless/kismet/Manifest
+++ b/net-wireless/kismet/Manifest
@@ -2,8 +2,9 @@ MD5 b93866ab20af22bf064b7b8cf53b143a kismet-2005.06.1.ebuild 2193
MD5 1a724b8518c1ef1e2bfedd98568f0dea kismet-2005.07.1a.ebuild 2068
MD5 1fd6934829c71c69f4cd48b41fae5eb2 kismet-2005.04.1-r2.ebuild 2188
MD5 4de897f3b903b56fde0327a4828964b0 kismet-2005.07.1.ebuild 2067
+MD5 b6b0c4ea9f5aee3cd902e5ce10fef66a kismet-2005.08.1.ebuild 1457
MD5 adc3585b8fc3f26b0f1c9edcacbdad9b kismet-2005.04.1.ebuild 1845
-MD5 72daebe2d5c86f9101fc965e935cf51b ChangeLog 11058
+MD5 7a1bfae1ac8b6bbc730f2257cd753ebb ChangeLog 11334
MD5 ffabe8240a5956794f085602c98e8598 metadata.xml 348
MD5 b9db2fb07ec892c2d70eaa84614e4a32 files/digest-kismet-2005.04.1-r2 139
MD5 136578e56b93462a1404e3c9700872e0 files/kismet-2005.06.1-conf.d 567
@@ -15,6 +16,9 @@ MD5 b8f72da15e3ce56a633c90ac82994070 files/kismet-2005.07.1-init.d 750
MD5 1d4ef399dadbbdaefd1dd27172065ff7 files/digest-kismet-2005.04.1 139
MD5 5ec050510008e2bf7c67aa1e1d24a300 files/digest-kismet-2005.06.1 139
MD5 61e19378bf5ffc1df5bab6f02a637b22 files/digest-kismet-2005.07.1 139
+MD5 a37073d03154a42c6903c670058b0d0a files/digest-kismet-2005.08.1 69
+MD5 4c7f3762c0aa9bd093029fdc17680e9e files/kismet-2005.08.1-conf.d 458
MD5 cf5f0c66c55e2cf0ab7e7e5d6adb4926 files/kismet-2005.04.1-conf.d 567
+MD5 7f41d9c37da0c9331527aa020e5cb46a files/kismet-2005.08.1-init.d 641
MD5 9e1fd0520b69bf5d6c72b898a6270c50 files/kismet-2005.04.1-init.d 750
MD5 2b6389bd0ff4a9ce0b7d174de457a988 files/digest-kismet-2005.07.1a 140
diff --git a/net-wireless/kismet/files/digest-kismet-2005.08.1 b/net-wireless/kismet/files/digest-kismet-2005.08.1
new file mode 100644
index 000000000000..86dedc03e4ae
--- /dev/null
+++ b/net-wireless/kismet/files/digest-kismet-2005.08.1
@@ -0,0 +1 @@
+MD5 17edb7688e04dd28028d5268a77d0ce7 kismet-2005-08-R1.tar.gz 986388
diff --git a/net-wireless/kismet/files/kismet-2005.08.1-conf.d b/net-wireless/kismet/files/kismet-2005.08.1-conf.d
new file mode 100644
index 000000000000..7752f0f07f76
--- /dev/null
+++ b/net-wireless/kismet/files/kismet-2005.08.1-conf.d
@@ -0,0 +1,14 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/files/kismet-2005.08.1-conf.d,v 1.1 2005/08/16 13:16:16 brix Exp $
+
+# 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=""
diff --git a/net-wireless/kismet/files/kismet-2005.08.1-init.d b/net-wireless/kismet/files/kismet-2005.08.1-init.d
new file mode 100644
index 000000000000..d2d43f74263a
--- /dev/null
+++ b/net-wireless/kismet/files/kismet-2005.08.1-init.d
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/files/kismet-2005.08.1-init.d,v 1.1 2005/08/16 13:16:16 brix 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 ${?}
+}
diff --git a/net-wireless/kismet/kismet-2005.08.1.ebuild b/net-wireless/kismet/kismet-2005.08.1.ebuild
new file mode 100644
index 000000000000..65050c504473
--- /dev/null
+++ b/net-wireless/kismet/kismet-2005.08.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2005.08.1.ebuild,v 1.1 2005/08/16 13:16:16 brix Exp $
+
+inherit linux-info
+
+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="gps ncurses"
+
+RDEPEND="net-wireless/wireless-tools
+ ncurses? ( sys-libs/ncurses )
+ gps? ( app-misc/gpsdrive
+ >=dev-libs/expat-1.95.4
+ dev-libs/gmp
+ >=media-gfx/imagemagick-6.0
+ dev-perl/libwww-perl )"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.58
+ sys-apps/sed"
+
+src_unpack() {
+ unpack ${A}
+
+ sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
+ ${S}/conf/kismet.conf.in
+}
+
+src_compile() {
+ # the configure script only honors '--disable-foo'
+ local config=""
+
+ if ! use ncurses; then
+ config="${config} --disable-curses --disable-panel"
+ fi
+
+ if ! use gps; then
+ config="${config} --disable-gpsmap"
+ fi
+
+ econf \
+ ${config} \
+ --with-linuxheaders=${KV_DIR}/include \
+ || die "econf failed"
+
+ einfo "You may safely ignore the warning about the missing .depend file"
+ 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
+}