Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 211607 Details for
Bug 273825
net-wireless/kismet-2011.03.2 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch v. 2008.05.1
kismet-2009.11.1.ebuild.patch (text/plain), 3.73 KB, created by
dacook
on 2009-11-30 18:05:30 UTC
(
hide
)
Description:
patch v. 2008.05.1
Filename:
MIME Type:
Creator:
dacook
Created:
2009-11-30 18:05:30 UTC
Size:
3.73 KB
patch
obsolete
>diff --git a/usr/portage/net-wireless/kismet/kismet-2008.05.1.ebuild b/net-wireless/kismet/kismet-2009.11.1.ebuild >index af74bf5..6d13bc5 100644 >--- a/usr/portage/net-wireless/kismet/kismet-2008.05.1.ebuild >+++ b/net-wireless/kismet/kismet-2009.11.1.ebuild >@@ -1,12 +1,13 @@ > # Copyright 1999-2009 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/net-wireless/kismet/kismet-2008.05.1.ebuild,v 1.5 2009/08/09 15:09:23 ssuominen Exp $ >+# $Header: $ > >-inherit toolchain-funcs linux-info eutils >+EAPI="2" >+ >+inherit 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/" >@@ -14,53 +15,78 @@ SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz" > > LICENSE="GPL-2" > SLOT="0" >-KEYWORDS="amd64 ppc x86" >-IUSE="dbus ncurses" >- >-DEPEND="${RDEPEND}" >-RDEPEND="net-wireless/wireless-tools >- net-libs/libpcap >- ncurses? ( sys-libs/ncurses ) >- dbus? ( sys-apps/dbus )" >- >-src_unpack() { >- unpack ${A} >- cd "${S}" >+KEYWORDS="~amd64 ~ppc ~x86" >+ >+KISMET_PLUGINS="autowep ptw spectools" >+IUSE="+client kernel_linux +pcre +pcap +suid ${KISMET_PLUGINS}" >+ >+RDEPEND="pcap? ( net-libs/libpcap ) >+ client? ( sys-libs/ncurses ) >+ kernel_linux? ( >+ dev-libs/libnl >+ sys-libs/libcap >+ ) >+ pcre? ( dev-libs/libpcre ) >+ 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" >+} > >- sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \ >- conf/kismet.conf.in >+src_configure() { >+ econf --with-suidgroup=kismet \ >+ $(use_enable client) \ >+ $(use_enable kernel_linux linuxwext) \ >+ $(use_enable pcre) \ >+ $(use_enable pcap) >+} > >- # Don't strip and set correct mangrp >- sed -i -e 's| -s||g' \ >- -e 's|@mangrp@|root|g' Makefile.in >+src_compile() { >+ emake || die "emake failed" > >- epatch "${FILESDIR}"/gcc-4.3.patch >- epatch "${FILESDIR}"/${P}-glibc-2.10.patch >+ 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_compile() { >- # the configure script only honors '--disable-foo' >- local myconf="--disable-gpsmap" >+src_install() { >+ emake DESTDIR="${D}" commoninstall || die "emake install failed" > >- if ! use ncurses; then >- myconf="${myconf} --disable-curses --disable-panel" >- fi >- if ! use dbus; then >- myconf="${myconf} --disable-dbus" >- fi >+ 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 > >- econf ${myconf} \ >- --with-linuxheaders="${KV_DIR}" || die "econf failed" >+ dodoc README docs/{DEVEL.client,README.newcore} || die > >- emake dep || die "emake dep failed" >- emake || die "emake failed" >-} >+ insinto /etc >+ doins conf/kismet{,_drone}.conf || die > >-src_install () { >- emake DESTDIR="${D}" install || die "emake install failed" >+ newinitd "${FILESDIR}"/${PN}.initd kismet || die >+ newconfd "${FILESDIR}"/${PN}.confd kismet || die > >- dodoc CHANGELOG README TODO docs/* >+ if use suid; then >+ dobin kismet_capture || die >+ fperms 4550 /usr/bin/kismet_capture || die >+ fi >+} > >- newinitd "${FILESDIR}"/${PN}.initd kismet >- newconfd "${FILESDIR}"/${PN}.confd kismet >+pkg_preinst() { >+ if use suid; then >+ enewgroup kismet >+ fowners root:kismet /usr/bin/kismet_capture >+ 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 > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273825
:
195247
|
195757
|
195758
|
195760
|
202934
|
202985
|
211607
|
218165
|
219323