diff options
author | Ben de Groot <yngwin@gentoo.org> | 2010-03-14 13:19:08 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2010-03-14 13:19:08 +0000 |
commit | cb2de1db50782a7a2dd2d410588332463d0ab7fd (patch) | |
tree | d0269ce0f903df8f1d68e5228ce84f2f32274453 /net-wireless | |
parent | Version bump. Stop using capistrano-launcher now that the old slot is gone. (diff) | |
download | historical-cb2de1db50782a7a2dd2d410588332463d0ab7fd.tar.gz historical-cb2de1db50782a7a2dd2d410588332463d0ab7fd.tar.bz2 historical-cb2de1db50782a7a2dd2d410588332463d0ab7fd.zip |
Version bump with ebuild from Davide Pesavento (bug #273825)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/kismet/ChangeLog | 23 | ||||
-rw-r--r-- | net-wireless/kismet/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-2010.01.1.ebuild | 92 | ||||
-rw-r--r-- | net-wireless/kismet/metadata.xml | 13 |
4 files changed, 122 insertions, 12 deletions
diff --git a/net-wireless/kismet/ChangeLog b/net-wireless/kismet/ChangeLog index 32efef4b80d4..be38a25a3632 100644 --- a/net-wireless/kismet/ChangeLog +++ b/net-wireless/kismet/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/kismet -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.106 2009/08/09 15:09:23 ssuominen Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/ChangeLog,v 1.107 2010/03/14 13:19:08 yngwin Exp $ + +*kismet-2010.01.1 (14 Mar 2010) + + 14 Mar 2010; Ben de Groot <yngwin@gentoo.org> +kismet-2010.01.1.ebuild: + Version bump. Ebuild as provided by Davide Pesavento in bug 273825. 09 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> kismet-2008.05.1.ebuild, +files/kismet-2008.05.1-glibc-2.10.patch: @@ -407,13 +412,13 @@ Sed fix and added inits to 2.8.1.ebuild 3 Feb 2003; Jared Hudson <jhhudso@gentoo.org> : Version bump. - + *kismet-2.8.0b-r1 (29 Jan 2003) 29 Jan 2003; Jared Hudson <jhhudso@gentoo.org> : Added ethereal use flag, and made ethereal download/compile optional based on that use flag. Bug # 14565 - + *kismet-2.8.0b (30 Dec 2002) 30 Dec 2002; Martin Holzer <mholzer@gentoo.org> kismet-2.8.0b.ebuild ChangeLog files/digest-kismet-2.8.0b : @@ -431,22 +436,22 @@ *kismet-2.6.2-r1 (20 Dec 2002) - 23 Dec 2002; Christian Birchinger <joker@gentoo.org> : + 23 Dec 2002; Christian Birchinger <joker@gentoo.org> : Removed sparc64 keyword. 20 Dec 2002; Jared Hudson <jhhudso@gentoo.org> : Bug ID #12459. Credit goes to Nate Lynch <ntl@swt.edu>. Added dependency on >=net-libs/libpcap-0.7.1-r1. - - + + 19 Dev 2002; Dean Bailey <alron@gentoo.org> : removed sparc64 keyword *kismet-2.6.2 (16 Dec 2002) 16 Dec 2002; Jared Hudson <jhhudso@gentoo.org> : Bug ids #9349, 10643, 11018. ebuild submitted by Alberto Ornaghi <alor@blackhats.it> - + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords - + 31 Oct 2002; Hannes Mehnert <hannes@gentoo.org>: moved to net-wireless diff --git a/net-wireless/kismet/Manifest b/net-wireless/kismet/Manifest index 2900e619ed70..2975b449310e 100644 --- a/net-wireless/kismet/Manifest +++ b/net-wireless/kismet/Manifest @@ -7,7 +7,9 @@ AUX kismet.confd 403 RMD160 cf6cad4dc844ccf9c807edfb5adec2351c0cd249 SHA1 50ce39 AUX kismet.initd 742 RMD160 f91c46a9a3d1cac2610659e65a1a3538af4f2772 SHA1 54aa3d489e2fade47cca11a036cb1237dab7786a SHA256 b4420c22264ff3604bf956b65bca5b564cbb70676c3f48d5e444f3aa6687a624 DIST kismet-2007-10-R1.tar.gz 646452 RMD160 7cb62a3fd964c9ee7e4ec6bef050558c806ab495 SHA1 a1c682797ad6842b53f9e0f038254aa8326e0fb4 SHA256 023e7f47039c1ad8615052e464f76a3cd496a423449b931036d127c56d58b2b9 DIST kismet-2008-05-R1.tar.gz 655362 RMD160 5613207b45f85fa72d146009434df984f721ccdc SHA1 8355aeb0374a39549dfdc0c73160125eadd7c6e2 SHA256 a298d44f8a6ec977021cd492a720987ded81b5c4baf5f68b36f1282a23c9f7d3 +DIST kismet-2010-01-R1.tar.gz 887325 RMD160 fb77368ccf702971bb877d83d5c7e819daeecbb3 SHA1 4ac00edd8607196dffc450535487104edef76c1d SHA256 9d1d1eae686d546e2fb8d6b4b3dcc106b7de5bd2bf4cf36d123b74625a8ed880 EBUILD kismet-2007.10.1.ebuild 1419 RMD160 404a8e7728914df6ef7068f27defd4e5ec43f2b0 SHA1 8e24517a45032a0e751236c56d0c0b84924afc20 SHA256 03091b90c603852024258b63035840f3d1eb6f94772b07d76b24d153e32385c2 EBUILD kismet-2008.05.1.ebuild 1574 RMD160 544efe108a3cde2c2da659b465d53e55149e23fb SHA1 78a0209330c2649cda6da1ace1f900dc7c1afe76 SHA256 61a51e9f1631fb853b0ee6ef4c63367b11b55c27d09ac8d252bd4607add9d3f0 -MISC ChangeLog 16528 RMD160 87fd0cfee2433a201ad4cf1271d9dc383d8c0b0a SHA1 3fc95e7a07787bdc743f1c9594965b854d671283 SHA256 373416de1d367f9fe7fc02bf159228d3843c2df24dc2025e56335a13dec2fdd6 -MISC metadata.xml 160 RMD160 8521c3bd3ae0fb2bfddce5edb33fd31e223747e1 SHA1 194b7194f38673fe427e5893a42cd4c1506ce846 SHA256 b13062a43e40469b137e1206494a44b45755ea69511b64e5373cb1ce30bbb160 +EBUILD kismet-2010.01.1.ebuild 2369 RMD160 32f1518358c52fc4d8d02209fccf69db96d59a75 SHA1 4f1321a506232b639dc4ab1d37e4ad3be950a53f SHA256 92cb09f7882f67ebc8b4ef122743480fee22b813010b4cbb3b063c9f9e8afa8b +MISC ChangeLog 16692 RMD160 1599de5fdeca2ae19e0510748122fa656c398a3b SHA1 30934bebc1ab18931ff4d525fea738e2db387e2a SHA256 e13d035e449dc338dcc469b80ba46ad785111a002213e1f8a9eaac3aeef0c4c8 +MISC metadata.xml 552 RMD160 ac5820ee19b694374876b887aff5e5e7be8b7f73 SHA1 8d57a7573e227c255dee709384d082d534ee13a0 SHA256 e87bf6a1e6df8ede45193d4a2aabf3e9da854fd03a03aa90e328981238ebebab diff --git a/net-wireless/kismet/kismet-2010.01.1.ebuild b/net-wireless/kismet/kismet-2010.01.1.ebuild new file mode 100644 index 000000000000..1623c5f57893 --- /dev/null +++ b/net-wireless/kismet/kismet-2010.01.1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2010.01.1.ebuild,v 1.1 2010/03/14 13:19:08 yngwin Exp $ + +EAPI="2" + +inherit eutils + +MY_P=${P/\./-} +MY_P=${MY_P/./-R} + +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" + +# plugins have unresolved QA issues +#KISMET_PLUGINS="autowep btscan ptw spectools" +IUSE="+client kernel_linux +pcre +pcap +suid" # ${KISMET_PLUGINS}" + +RDEPEND="client? ( sys-libs/ncurses ) + kernel_linux? ( dev-libs/libnl + sys-libs/libcap ) + pcap? ( net-libs/libpcap ) + pcre? ( dev-libs/libpcre )" +# btscan? ( net-wireless/bluez ) +# ptw? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -i -e 's:# *logprefix=.*:logprefix=/tmp:' conf/kismet.conf.in \ + || die "failed to change logprefix" +} + +src_configure() { + econf --with-suidgroup=kismet \ + $(use_enable client) \ + $(use_enable kernel_linux linuxwext) \ + $(use_enable pcre) \ + $(use_enable pcap) +} + +src_compile() { + emake || die "emake failed" + +# for plugin in ${KISMET_PLUGINS}; do +# if use ${plugin}; then +# emake -C plugin-${plugin} KIS_SRC_DIR="${S}" \ +# || die "emake in plugin-${plugin} failed" +# fi +# done +} + +src_install() { + emake DESTDIR="${D}" commoninstall || die "emake install failed" + +# for plugin in ${KISMET_PLUGINS}; do +# if use ${plugin}; then +# emake -C plugin-${plugin} KIS_SRC_DIR="${S}" DESTDIR="${D}" install \ +# || die "emake install in plugin-${plugin} failed" +# fi +# done + + dodoc README RELEASENOTES.txt docs/{DEVEL.client,README.newcore} || die + + insinto /etc + doins conf/kismet{,_drone}.conf || die + + newinitd "${FILESDIR}"/${PN}.initd kismet || die + newconfd "${FILESDIR}"/${PN}.confd kismet || die + + if use suid; then + dobin kismet_capture || die + fperms 4550 /usr/bin/kismet_capture || die + fi +} + +pkg_preinst() { + if use suid; then + enewgroup kismet + fowners root:kismet /usr/bin/kismet_capture || die + elog "Kismet has been installed with a setuid-root helper binary" + elog "to enable minimal-root operation. Users need to be part of" + elog "the 'kismet' group to perform captures from physical devices." + fi +} diff --git a/net-wireless/kismet/metadata.xml b/net-wireless/kismet/metadata.xml index bfaf333f3c65..0f220e806d7c 100644 --- a/net-wireless/kismet/metadata.xml +++ b/net-wireless/kismet/metadata.xml @@ -1,5 +1,16 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>mobile</herd> + <herd>mobile</herd> + <use> + <flag name="client">Build the ncurses-based user interface</flag> + <flag name="pcap"> + Enable packet capturing support using <pkg>net-libs/libpcap</pkg> + </flag> + <flag name="suid"> + Install a setuid root helper binary with limited functionality; + this allows running kismet as a normal user, significantly + reducing security risks + </flag> + </use> </pkgmetadata> |