diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-04-14 11:33:38 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-04-14 11:33:38 +0000 |
commit | a235d2ac43a2c7eadcd28aca299492cabeaf2f8e (patch) | |
tree | 8c684921ad0e1f9e99aed5bcbf39f90ebdf54b5d /net-wireless/kismet | |
parent | Don't provide zlib useflag as it's an hard-dependency, bug #129928. (diff) | |
download | historical-a235d2ac43a2c7eadcd28aca299492cabeaf2f8e.tar.gz historical-a235d2ac43a2c7eadcd28aca299492cabeaf2f8e.tar.bz2 historical-a235d2ac43a2c7eadcd28aca299492cabeaf2f8e.zip |
Version bump, bug #129894.
Package-Manager: portage-2.0.54
Diffstat (limited to 'net-wireless/kismet')
-rw-r--r-- | net-wireless/kismet/ChangeLog | 9 | ||||
-rw-r--r-- | net-wireless/kismet/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2006.04.1 | 1 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet-2006.04.1-conf.d | 12 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet-2006.04.1-init.d | 27 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2006.04.1.ebuild | 67 |
6 files changed, 120 insertions, 2 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index 0d3c6d29349d..b59d814e82d0 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/kismet # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.78 2006/03/24 16:16:10 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.79 2006/04/14 11:33:38 brix Exp $ + +*kismet-2006.04.1 (14 Apr 2006) + + 14 Apr 2006; Henrik Brix Andersen <brix@gentoo.org> + +files/kismet-2006.04.1-conf.d, +files/kismet-2006.04.1-init.d, + +kismet-2006.04.1.ebuild: + Version bump, bug #129894. *kismet-2005.08.1-r1 (24 Mar 2006) diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest index ee67f7a3b57d..ffc8fa329a96 100644 --- a/net-wireless/kismet/Manifest +++ b/net-wireless/kismet/Manifest @@ -1,9 +1,13 @@ -MD5 15010c8007075b172e8b9d6b54f78451 ChangeLog 12274 +MD5 7f54f8ac9672c3874208dbd40c196e39 ChangeLog 12485 MD5 a37073d03154a42c6903c670058b0d0a files/digest-kismet-2005.08.1 69 MD5 a37073d03154a42c6903c670058b0d0a files/digest-kismet-2005.08.1-r1 69 +MD5 889bb7eab63089c4df933ecfd6b3689f files/digest-kismet-2006.04.1 70 MD5 18f99f911134593c2ca023d3950cd833 files/kismet-2005.08.1-acx100.patch 872 MD5 f4077a584ee7e14cd3c49a5a051a92a1 files/kismet-2005.08.1-conf.d 567 MD5 7a04c3f78688454bd8b1609ce820c08d files/kismet-2005.08.1-init.d 750 +MD5 b7686d6a17cc808123e939b5d6c9a746 files/kismet-2006.04.1-conf.d 403 +MD5 823c5af31d9f5099f246c010c59ac062 files/kismet-2006.04.1-init.d 750 MD5 7122b80d44f4c6fdf7050d45bb4e2831 kismet-2005.08.1-r1.ebuild 1618 MD5 2432957f297922877997a8bdee4421c5 kismet-2005.08.1.ebuild 1561 +MD5 83f8d230bbd56e2f99afeb4fc086364e kismet-2006.04.1.ebuild 1561 MD5 ffabe8240a5956794f085602c98e8598 metadata.xml 348 diff --git a/net-wireless/kismet/files/digest-kismet-2006.04.1 b/net-wireless/kismet/files/digest-kismet-2006.04.1 new file mode 100644 index 000000000000..df85f4f63604 --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2006.04.1 @@ -0,0 +1 @@ +MD5 8ec2de513f2911df1b7edfcba5ad1c26 kismet-2006-04-R1.tar.gz 1005068 diff --git a/net-wireless/kismet/files/kismet-2006.04.1-conf.d b/net-wireless/kismet/files/kismet-2006.04.1-conf.d new file mode 100644 index 000000000000..d203513c7143 --- /dev/null +++ b/net-wireless/kismet/files/kismet-2006.04.1-conf.d @@ -0,0 +1,12 @@ +# /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="" diff --git a/net-wireless/kismet/files/kismet-2006.04.1-init.d b/net-wireless/kismet/files/kismet-2006.04.1-init.d new file mode 100644 index 000000000000..3505444a4f18 --- /dev/null +++ b/net-wireless/kismet/files/kismet-2006.04.1-init.d @@ -0,0 +1,27 @@ +#!/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-2006.04.1-init.d,v 1.1 2006/04/14 11:33:38 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-2006.04.1.ebuild b/net-wireless/kismet/kismet-2006.04.1.ebuild new file mode 100644 index 000000000000..2b1ed2f8f03e --- /dev/null +++ b/net-wireless/kismet/kismet-2006.04.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2006.04.1.ebuild,v 1.1 2006/04/14 11:33:38 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 +} |