kismet: portage upgrade taught me that I'm a moron, added EAPI line and removed

older builds
This commit is contained in:
Zero_Chaos 2010-11-29 22:24:56 +00:00
parent 4fab5a2141
commit 52f0beab4d
6 changed files with 4 additions and 377 deletions

View file

@ -2,10 +2,6 @@ AUX fix-menu-crash-2010.01.1.patch 2420 RMD160 076a088463f6c5358198c5aa6b07b0ca2
AUX kismet-pentoo.patch 490 RMD160 374c3be715e6b5741f3232d50ed1194783f9ca11 SHA1 3ae5ae1c6e392a710ee85dfec801c098c4a4129d SHA256 a38b0124e6d07bac442cf7fc62feba2fbd540f2d0cb93daba82238bf124bf63c
AUX kismet.confd 403 RMD160 cf6cad4dc844ccf9c807edfb5adec2351c0cd249 SHA1 50ce39c8989ddf214f72b3ac14f2a989d6121d15 SHA256 d2f5bb606e4dac45c8de27843ab460b9dac02e83979e52e1b8b3ca3af841adeb
AUX kismet.initd 742 RMD160 f91c46a9a3d1cac2610659e65a1a3538af4f2772 SHA1 54aa3d489e2fade47cca11a036cb1237dab7786a SHA256 b4420c22264ff3604bf956b65bca5b564cbb70676c3f48d5e444f3aa6687a624
DIST kismet-2010-01-R1.tar.gz 887325 RMD160 fb77368ccf702971bb877d83d5c7e819daeecbb3 SHA1 4ac00edd8607196dffc450535487104edef76c1d SHA256 9d1d1eae686d546e2fb8d6b4b3dcc106b7de5bd2bf4cf36d123b74625a8ed880
DIST kismet-2010-07-R1.tar.gz 896466 RMD160 d913b6dec4fd86f48afe08c98915af987b7a510b SHA1 8cd224a805905f330ef51d4dfdb2507e27b462ef SHA256 b1bae7a97e7a904bf620f285aa0d62ebc1fd3b54b671fbca125405036f949e80
EBUILD kismet-2010.01.1-r1.ebuild 3741 RMD160 1a0234ebb2088d5c5d96c9bda2ae6238bafd2b84 SHA1 494cd425a5c406b68b887097bc8828078d971822 SHA256 63e1b872d5a71fe82b256c0ad561177cb67025f80d966fbd6c087de118529b2d
EBUILD kismet-2010.01.1-r2.ebuild 3867 RMD160 7a61d36f2a01ff472e21a0c21471389c7ea4aba6 SHA1 a73755ec40d9fee4af4ff6d1fdd7b734fe16be70 SHA256 f3f3753844887e8f3f478410ec7f7998582aa24c8155f2a409ebf0e66afa5651
EBUILD kismet-2010.01.1.ebuild 2883 RMD160 f467e46de8e49788a7b44dc22f97ce3840ff0507 SHA1 e9a6b30c151c0a0f49edf483d85a37ecf5e7042f SHA256 29d12405f8c942d05cbeca9a0d72d5330969ce7331239747d5d90ce418ac0735
EBUILD kismet-2010.07.1.ebuild 3749 RMD160 8b7203c10cce05c41ba5f78e3b12f24ee73fdc56 SHA1 b59e31e8d9874ac61bfa42362367c312810efca1 SHA256 2f7ffe64652ca081abf238bd3c815f261c4ca5f89f92fb3eb2912be457b40000
EBUILD kismet-9999.ebuild 3218 RMD160 3c60daf507fde0a131d0761c5c3078c4ae32f022 SHA1 345d32497d1db60acf15db2947f8f6360c43da53 SHA256 049b76d32000f31492ba792b7263524b0cdcc15fb6078cb1252701943c811cae
EBUILD kismet-2010.07.1.ebuild 3755 RMD160 c93be1a6569f67a3196b81ce796d6e80d22c254f SHA1 9fb8429589d13807f1fdf8c0f5d3d97c0ce1c194 SHA256 92bdc110ab214dc0286e25042c7f2d0d09c20ffb4d4ae4b459ccf1cf7ec52d7e
EBUILD kismet-9999.ebuild 3224 RMD160 6bf73e5f8d56ab986f4af74e3e11d5fe9f4865a5 SHA1 b6d1b4d67dbbaa4ec36c67c071d1093f62ba0d4a SHA256 ae9b3faa1a4bb5e4aea95c84fe19c2e635e3310444d73c44979d4192a61a88db

View file

@ -1,131 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit toolchain-funcs linux-info 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/"
SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="+ncurses +pcre speech +plugin-autowep +plugin-btscan +plugin-ptw +plugin-spectools +suid"
RDEPEND="net-wireless/wireless-tools
kernel_linux? ( sys-libs/libcap
>=dev-libs/libnl-1.1 )
net-libs/libpcap
pcre? ( dev-libs/libpcre )
suid? ( sys-libs/libcap )
ncurses? ( sys-libs/ncurses )
speech? ( app-accessibility/flite )
plugin-btscan? ( net-wireless/bluez )
plugin-spectools? ( net-wireless/spectools )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
cd "${S}"
epatch "${FILESDIR}"/kismet-pentoo.patch
sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
conf/kismet.conf.in
# Don't strip and set correct mangrp
sed -i -e 's| -s||g' \
-e 's|@mangrp@|root|g' Makefile.in
# the configure script only honors '--disable-foo'
# local myconf="--disable-gpsmap"
if ! use ncurses; then
myconf="${myconf} --disable-curses --disable-panel"
fi
if ! use pcre; then
myconf="${myconf} --disable-pcre"
fi
econf ${myconf} \
--with-linuxheaders="${KV_DIR}" || die "econf failed"
emake dep || die "emake dep failed"
emake || die "emake failed"
if use plugin-autowep; then
cd "${S}"/plugin-autowep
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
if use plugin-btscan; then
cd "${S}"/plugin-btscan
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
if use plugin-ptw; then
cd "${S}"/plugin-ptw
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
if use plugin-spectools; then
cd "${S}"/plugin-spectools
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
}
src_install () {
if use plugin-autowep; then
cd "${S}"/plugin-autowep
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
if use plugin-btscan; then
cd "${S}"/plugin-btscan
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
if use plugin-ptw; then
cd "${S}"/plugin-ptw
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
if use plugin-spectools; then
cd "${S}"/plugin-spectools
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
cd "${S}"
emake DESTDIR="${D}" commoninstall || die "emake install failed"
##dragorn would prefer I set fire to my head than do this, but it works
# install headers for external plugins
insinto /usr/include/kismet
doins *.h || die "Header installation failed"
#write a plugin finder that tells you what needs to be rebuilt when kismet is updated, etc
dodoc CHANGELOG RELEASENOTES.txt README* docs/* || die
newinitd "${FILESDIR}"/${PN}.initd kismet
newconfd "${FILESDIR}"/${PN}.confd kismet
insinto /etc
doins conf/kismet{,_drone}.conf || die
if use suid; then
dobin kismet_capture || die
fi
}
pkg_preinst() {
if use suid; then
enewgroup kismet
fowners root:kismet /usr/bin/kismet_capture || die
# Need to set the permissions after chowning.
# See chown(2)
fperms 4550 /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
}

View file

@ -1,133 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit toolchain-funcs linux-info 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/"
SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="+ncurses +pcre speech +plugin-autowep +plugin-btscan +plugin-ptw +plugin-spectools +suid"
RDEPEND="net-wireless/wireless-tools
kernel_linux? ( sys-libs/libcap
>=dev-libs/libnl-1.1 )
net-libs/libpcap
pcre? ( dev-libs/libpcre )
suid? ( sys-libs/libcap )
ncurses? ( sys-libs/ncurses )
speech? ( app-accessibility/flite )
plugin-btscan? ( net-wireless/bluez )
plugin-spectools? ( net-wireless/spectools )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
cd "${S}"
epatch "${FILESDIR}"/kismet-pentoo.patch
#stolen from svn for bugfix until release (remove on version increment)
epatch "${FILESDIR}"/fix-menu-crash-2010.01.1.patch
sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
conf/kismet.conf.in
# Don't strip and set correct mangrp
sed -i -e 's| -s||g' \
-e 's|@mangrp@|root|g' Makefile.in
# the configure script only honors '--disable-foo'
# local myconf="--disable-gpsmap"
if ! use ncurses; then
myconf="${myconf} --disable-curses --disable-panel"
fi
if ! use pcre; then
myconf="${myconf} --disable-pcre"
fi
econf ${myconf} \
--with-linuxheaders="${KV_DIR}" || die "econf failed"
emake dep || die "emake dep failed"
emake || die "emake failed"
if use plugin-autowep; then
cd "${S}"/plugin-autowep
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
if use plugin-btscan; then
cd "${S}"/plugin-btscan
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
if use plugin-ptw; then
cd "${S}"/plugin-ptw
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
if use plugin-spectools; then
cd "${S}"/plugin-spectools
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
}
src_install () {
if use plugin-autowep; then
cd "${S}"/plugin-autowep
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
if use plugin-btscan; then
cd "${S}"/plugin-btscan
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
if use plugin-ptw; then
cd "${S}"/plugin-ptw
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
if use plugin-spectools; then
cd "${S}"/plugin-spectools
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
cd "${S}"
emake DESTDIR="${D}" commoninstall || die "emake install failed"
##dragorn would prefer I set fire to my head than do this, but it works
# install headers for external plugins
insinto /usr/include/kismet
doins *.h || die "Header installation failed"
#write a plugin finder that tells you what needs to be rebuilt when kismet is updated, etc
dodoc CHANGELOG RELEASENOTES.txt README* docs/* || die
newinitd "${FILESDIR}"/${PN}.initd kismet
newconfd "${FILESDIR}"/${PN}.confd kismet
insinto /etc
doins conf/kismet{,_drone}.conf || die
if use suid; then
dobin kismet_capture || die
fi
}
pkg_preinst() {
if use suid; then
enewgroup kismet
fowners root:kismet /usr/bin/kismet_capture || die
# Need to set the permissions after chowning.
# See chown(2)
fperms 4550 /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
}

View file

@ -1,105 +0,0 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit toolchain-funcs linux-info 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/"
SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="+ncurses +pcre speech +plugin-autowep +plugin-btscan +plugin-ptw +plugin-spectools"
DEPEND="${RDEPEND}"
RDEPEND="net-wireless/wireless-tools
net-libs/libpcap
>=dev-libs/libnl-1.1
ncurses? ( sys-libs/ncurses )
speech? ( app-accessibility/flite )
plugin-btscan? ( net-wireless/bluez )
plugin-spectools? ( net-wireless/spectools )"
src_compile() {
cd "${S}"
epatch "${FILESDIR}"/kismet-pentoo.patch
sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
conf/kismet.conf.in
# Don't strip and set correct mangrp
sed -i -e 's| -s||g' \
-e 's|@mangrp@|root|g' Makefile.in
# the configure script only honors '--disable-foo'
# local myconf="--disable-gpsmap"
if ! use ncurses; then
myconf="${myconf} --disable-curses --disable-panel"
fi
if ! use pcre; then
myconf="${myconf} --disable-pcre"
fi
econf ${myconf} \
--with-linuxheaders="${KV_DIR}" || die "econf failed"
emake dep || die "emake dep failed"
emake || die "emake failed"
if use plugin-autowep; then
cd "${S}"/plugin-autowep
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
if use plugin-btscan; then
cd "${S}"/plugin-btscan
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
if use plugin-ptw; then
cd "${S}"/plugin-ptw
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
if use plugin-spectools; then
cd "${S}"/plugin-spectools
KIS_SRC_DIR="${S}" emake || die "emake failed"
fi
}
src_install () {
if use plugin-autowep; then
cd "${S}"/plugin-autowep
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
if use plugin-btscan; then
cd "${S}"/plugin-btscan
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
if use plugin-ptw; then
cd "${S}"/plugin-ptw
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
if use plugin-spectools; then
cd "${S}"/plugin-spectools
KIS_SRC_DIR="${S}" emake DESTDIR="${D}" install || die "emake install failed"
fi
cd "${S}"
emake DESTDIR="${D}" install || die "emake install failed"
##dragorn would prefer I set fire to my head than do this, but it works
# install headers for external plugins
insinto /usr/include/kismet
doins *.h || die "Header installation failed"
#write a plugin finder that tells you what needs to be rebuilt when kismet is updated, etc
dodoc CHANGELOG README* docs/*
newinitd "${FILESDIR}"/${PN}.initd kismet
newconfd "${FILESDIR}"/${PN}.confd kismet
}

View file

@ -3,7 +3,7 @@
# $Header: $
inherit toolchain-funcs linux-info eutils
EAPI=2
MY_P=${P/\./-}
MY_P=${MY_P/./-R}
S=${WORKDIR}/${MY_P}

View file

@ -3,7 +3,7 @@
# $Header: $
inherit toolchain-funcs linux-info eutils subversion
EAPI=2
MY_P=${P/\./-}
MY_P=${MY_P/./-R}
S=${WORKDIR}/${MY_P}