mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-21 14:21:02 +02:00
sniffair: update, unbundle
This commit is contained in:
parent
baa0494dbe
commit
e44bd6e414
2 changed files with 61 additions and 1 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST SniffAir-1.1.tar.gz 273734 SHA256 9dc711048ab11867ccf797d3bc013a7a57c8c92b353af6faa4b3e5ed8bb2aeb1 SHA512 9c9efe8f062a04642333132cf3d70d28f2478534e258a9130529e94c214ec9ad135a61e296cfaaa60ed90c508f95494db7eb5967993fa932dc2dfa0e5b745838 WHIRLPOOL a1cf53cd0228f17900558a0edbafd88fb2958b4cbf470f5d106bbed1a0ed605b464844e0ffef236a871b54dbe8916205571a4b895a777502489ab378c9bd3586
|
||||
DIST SniffAir-1.1.tar.gz 273734 BLAKE2B c92480b041d6580d9e8775df7afdef53aa98ab1459d428a00365d3b8094efcbc7f3e02400a4bbdcf64a071ec0f372da0ba4177f16c2da0d2d1e3e3b0ae003bef SHA512 9c9efe8f062a04642333132cf3d70d28f2478534e258a9130529e94c214ec9ad135a61e296cfaaa60ed90c508f95494db7eb5967993fa932dc2dfa0e5b745838
|
||||
DIST SniffAir-3.0.tar.gz 300010 BLAKE2B c5fd9dcf60426cf650f4098e8b29881d7054d4d1c1367625abec8da0e5bb674dcb3bcb31e9d73bc72f43098ef6b46fc43b85790f907ba69221e813f7c86e0939 SHA512 e78cf3ce34f9a350d6af4cd52aeddb52250606f2ec4226bfadc7696d97c5a599b4aa662e596161a005af8ca427e37be022c275c697ca93211cb3976cfd6d356b
|
||||
|
|
|
|||
59
net-wireless/sniffair/sniffair-3.0.ebuild
Normal file
59
net-wireless/sniffair/sniffair-3.0.ebuild
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
inherit eutils python-single-r1 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"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
net-wireless/hostapd[wpe]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/prettytable[${PYTHON_USEDEP}]
|
||||
dev-python/tabulate[${PYTHON_USEDEP}]
|
||||
net-analyzer/scapy[${PYTHON_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"
|
||||
}
|
||||
Loading…
Reference in a new issue