sniffair: remove, unmaintained, uninstallable

This commit is contained in:
Rick Farina (Zero_Chaos) 2021-01-31 22:25:15 -05:00
parent 5b3762b401
commit 7f9d74b45b
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 0 additions and 74 deletions

View file

@ -1 +0,0 @@
DIST SniffAir-3.0.tar.gz 300010 BLAKE2B c5fd9dcf60426cf650f4098e8b29881d7054d4d1c1367625abec8da0e5bb674dcb3bcb31e9d73bc72f43098ef6b46fc43b85790f907ba69221e813f7c86e0939 SHA512 e78cf3ce34f9a350d6af4cd52aeddb52250606f2ec4226bfadc7696d97c5a599b4aa662e596161a005af8ca427e37be022c275c697ca93211cb3976cfd6d356b

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
</pkgmetadata>

View file

@ -1,65 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
DISTUTILS_SINGLE_IMPL=1
inherit eutils distutils-r1
DESCRIPTION="SniffAir framework for wireless pentesting"
HOMEPAGE="https://github.com/Tylous/SniffAir"
MY_PN="SniffAir"
MY_P="${MY_PN}-${PV}"
SRC_URI="https://github.com/Tylous/${MY_PN}/archive/V${PV}.tar.gz -> ${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
# dev-python/tabulate and dev-python/pandas — py3 only
#KEYWORDS="~amd64 ~x86"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
net-wireless/hostapd[wpe]
$(python_gen_cond_dep '
dev-python/pandas[${PYTHON_MULTI_USEDEP}]
dev-python/prettytable[${PYTHON_MULTI_USEDEP}]
dev-python/tabulate[${PYTHON_MULTI_USEDEP}]
net-analyzer/scapy[${PYTHON_MULTI_USEDEP}]
')
app-crypt/hashcat-utils
"
S="${WORKDIR}/${MY_P}"
src_prepare() {
rm -r module/Auto_EAP/lib/build || die
default
}
src_compile() {
pushd module/Auto_EAP/lib
distutils-r1_src_compile
popd
}
src_install() {
pushd module/Auto_EAP/lib
distutils-r1_src_install
popd
# install the rest of the files
dodir /usr/share/${PN}/
cp -R * "${ED}"/usr/share/${PN}/
python_fix_shebang "${ED}"/usr/share/${PN}
make_wrapper "${PN}" /usr/share/"${PN}"/SniffAir.py /usr/share/"${PN}"
#unbundle hashcat-utils
rm "${ED}/usr/share/${PN}/module/Handshaker/cap2hccapx.bin" || die
ln -s /usr/bin/cap2hccapx "${ED}/usr/share/${PN}/module/Handshaker/cap2hccapx.bin"
python_optimize "${ED}/usr/share/${PN}"
}