diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2005-06-22 21:36:34 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2005-06-22 21:36:34 +0000 |
commit | bb5c9dc8b042e780eb68c943ac4d446971e3bf60 (patch) | |
tree | 772e604cc1a5a4776ca2dbadde48b71cacbf6c69 /net-wireless | |
parent | Version bump, new ebuild by stefanie <amerei@gmail.com> in bug 88900. (diff) | |
download | historical-bb5c9dc8b042e780eb68c943ac4d446971e3bf60.tar.gz historical-bb5c9dc8b042e780eb68c943ac4d446971e3bf60.tar.bz2 historical-bb5c9dc8b042e780eb68c943ac4d446971e3bf60.zip |
Version bump.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/kismet/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/kismet/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/kismet/files/digest-kismet-2005.06.1 | 2 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet-2005.06.1-conf.d | 14 | ||||
-rw-r--r-- | net-wireless/kismet/files/kismet-2005.06.1-init.d | 27 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2005.06.1.ebuild | 87 |
6 files changed, 142 insertions, 2 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index eeab7dcf0805..9dcf01de948c 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/kismet # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.64 2005/06/14 15:17:14 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.65 2005/06/22 21:36:34 brix Exp $ + +*kismet-2005.06.1 (22 Jun 2005) + + 22 Jun 2005; <brix@gentoo.org> +files/kismet-2005.06.1-conf.d, + +files/kismet-2005.06.1-init.d, +kismet-2005.06.1.ebuild: + Version bump. *kismet-2005.04.1-r2 (14 Jun 2005) diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest index 63005f20f2dc..a2c75335cd45 100644 --- a/net-wireless/kismet/Manifest +++ b/net-wireless/kismet/Manifest @@ -1,10 +1,14 @@ +MD5 6fd602e6d3204c209405fded11d9fb4c kismet-2005.06.1.ebuild 2181 MD5 d2345e6d3624c5358b70df6442f4a774 kismet-2005.04.1-r2.ebuild 2171 MD5 09e59b9e7dabbe17bb86bdcffb37fc4c kismet-2005.04.1.ebuild 1820 MD5 6d0c1d708b4064fb795112ecb1ff2368 kismet-2005.04.1-r1.ebuild 2063 -MD5 bf319b96cd74f601ad2989bf1ca713fb ChangeLog 9856 +MD5 8f39a73431fc1379c2bd0941df76adc4 ChangeLog 10031 MD5 ffabe8240a5956794f085602c98e8598 metadata.xml 348 MD5 b9db2fb07ec892c2d70eaa84614e4a32 files/digest-kismet-2005.04.1-r1 139 MD5 b9db2fb07ec892c2d70eaa84614e4a32 files/digest-kismet-2005.04.1-r2 139 +MD5 136578e56b93462a1404e3c9700872e0 files/kismet-2005.06.1-conf.d 567 +MD5 75abb48280ca612929c095bb3818e657 files/kismet-2005.06.1-init.d 750 MD5 1d4ef399dadbbdaefd1dd27172065ff7 files/digest-kismet-2005.04.1 139 +MD5 5ec050510008e2bf7c67aa1e1d24a300 files/digest-kismet-2005.06.1 139 MD5 cf5f0c66c55e2cf0ab7e7e5d6adb4926 files/kismet-2005.04.1-conf.d 567 MD5 9e1fd0520b69bf5d6c72b898a6270c50 files/kismet-2005.04.1-init.d 750 diff --git a/net-wireless/kismet/files/digest-kismet-2005.06.1 b/net-wireless/kismet/files/digest-kismet-2005.06.1 new file mode 100644 index 000000000000..c03430682b80 --- /dev/null +++ b/net-wireless/kismet/files/digest-kismet-2005.06.1 @@ -0,0 +1,2 @@ +MD5 253ed1e6c2c53e35864385965ef596f6 kismet-2005-06-R1.tar.gz 976422 +MD5 03aa7fe2cbef9aa0654637cdc60e0458 ethereal-0.10.11.tar.bz2 5964016 diff --git a/net-wireless/kismet/files/kismet-2005.06.1-conf.d b/net-wireless/kismet/files/kismet-2005.06.1-conf.d new file mode 100644 index 000000000000..a61edb8669d1 --- /dev/null +++ b/net-wireless/kismet/files/kismet-2005.06.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.06.1-conf.d,v 1.1 2005/06/22 21:36:34 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.06.1-init.d b/net-wireless/kismet/files/kismet-2005.06.1-init.d new file mode 100644 index 000000000000..91c46e5901f0 --- /dev/null +++ b/net-wireless/kismet/files/kismet-2005.06.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.06.1-init.d,v 1.1 2005/06/22 21:36:34 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.06.1.ebuild b/net-wireless/kismet/kismet-2005.06.1.ebuild new file mode 100644 index 000000000000..583f73f803fe --- /dev/null +++ b/net-wireless/kismet/kismet-2005.06.1.ebuild @@ -0,0 +1,87 @@ +# 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.06.1.ebuild,v 1.1 2005/06/22 21:36:34 brix Exp $ + +inherit linux-info + +MY_P=${P/\./-} +MY_P=${MY_P/./-R} +S=${WORKDIR}/${MY_P} + +ETHEREAL_VERSION="0.10.11" + +DESCRIPTION="IEEE 802.11 wireless LAN sniffer" +HOMEPAGE="http://www.kismetwireless.net" +SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz + ethereal? ( http://www.ethereal.com/distribution/ethereal-${ETHEREAL_VERSION}.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="ethereal gps gtk2 ncurses" + +DEPEND=">=sys-devel/autoconf-2.58 + sys-apps/sed" +RDEPEND="net-wireless/wireless-tools + ncurses? ( sys-libs/ncurses ) + ethereal? ( >=net-analyzer/ethereal-${ETHEREAL_VERSION} + sys-libs/zlib + gtk2? ( =dev-libs/glib-1.2* ) + !gtk2? ( >=dev-libs/glib-2.0.4 ) ) + gps? ( app-misc/gpsdrive + >=dev-libs/expat-1.95.4 + dev-libs/gmp + >=media-gfx/imagemagick-6.0 + dev-perl/libwww-perl )" + +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 + # Note: gps support is automatically enabled based on the + # libs in RDEPEND - 2005-06-R1 doesn't honor the --disable-gps flag + config="${config} --disable-gps" + fi + + if use ethereal; then + cd ${WORKDIR}/ethereal-${ETHEREAL_VERSION}/wiretap + + econf \ + $(use_enable gtk2) \ + --disable-usr-local \ + || die "wiretap econf failed" + emake || die "wiretap emake failed" + + config="${config} --with-ethereal=${WORKDIR}/ethereal-${ETHEREAL_VERSION}" + cd ${S} + fi + + econf \ + ${config} \ + --with-linuxheaders=${KV_DIR}/include \ + || 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 +} |