mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
Merge pull request #271 from fkmclane/sniffair
sniffair: add version 1.1
This commit is contained in:
commit
3dd3d06402
2 changed files with 51 additions and 0 deletions
1
net-wireless/sniffair/Manifest
Normal file
1
net-wireless/sniffair/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST SniffAir-1.1.tar.gz 273734 SHA256 9dc711048ab11867ccf797d3bc013a7a57c8c92b353af6faa4b3e5ed8bb2aeb1 SHA512 9c9efe8f062a04642333132cf3d70d28f2478534e258a9130529e94c214ec9ad135a61e296cfaaa60ed90c508f95494db7eb5967993fa932dc2dfa0e5b745838 WHIRLPOOL a1cf53cd0228f17900558a0edbafd88fb2958b4cbf470f5d106bbed1a0ed605b464844e0ffef236a871b54dbe8916205571a4b895a777502489ab378c9bd3586
|
||||
50
net-wireless/sniffair/sniffair-1.1.ebuild
Normal file
50
net-wireless/sniffair/sniffair-1.1.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Copyright 1999-2017 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}]
|
||||
dev-python/tabulate[${PYTHON_USEDEP}]
|
||||
net-analyzer/scapy[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
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}"
|
||||
}
|
||||
Loading…
Reference in a new issue