mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 04:30:56 +02:00
fern-wifi-cracker: drop 2.9 (py2)
This commit is contained in:
parent
28805b5c65
commit
4bfa510885
3 changed files with 1 additions and 90 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST fern-wifi-cracker-2.9.tar.gz 739349 BLAKE2B 1e3eef80b9a58778eaf7499e4d0eb7aa1a132a7e3ede4610d3fe1d533615267b633d28ddb21864ff287f0a0b4cdc5aecac83896c2d384bb8d0c2f6132ede7ac2 SHA512 25cae2c29186cbb0a0aa81cfc624b261ce86240ae5cd6c220e89a3a5cad43b4da35e4c981c93ee25443bea9afd6fb6422c25553de85bfa44bbf7a798f5fe6bb6
|
||||
DIST fern-wifi-cracker-3.0.tar.gz 739360 BLAKE2B dc5b5131276ed6defb6eb332ccd3b249d0234d712f0658fead4c41da7d93a2813e59ac8ffbd85ec95ce3160ee67271d9be2c8c92b46b41e00c0956f6c8fffd4a SHA512 e104b9aed517ffd158c83bda24f2496cbb33eeb4b54adfe0963a7d176cadacd374b495fd3f2d936d4e32f28c96831957ddbd264f8bfe9d9a8e181f139ef4e98a
|
||||
|
|
|
|||
|
|
@ -1,88 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit eutils desktop python-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="Wireless tool for WEP/WPA cracking and WPS keys recovery"
|
||||
HOMEPAGE="https://github.com/savio-code/fern-wifi-cracker"
|
||||
SRC_URI="https://github.com/savio-code/fern-wifi-cracker/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dict policykit"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
|
||||
net-analyzer/macchanger
|
||||
net-wireless/aircrack-ng
|
||||
net-analyzer/scapy
|
||||
dict? ( sys-apps/cracklib-words )
|
||||
|| ( net-wireless/reaver-wps-fork-t6x net-wireless/reaver )
|
||||
policykit? ( sys-auth/polkit )"
|
||||
|
||||
S="${WORKDIR}/${P}/Fern-Wifi-Cracker"
|
||||
|
||||
pkg_setup() {
|
||||
python_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# disable updates
|
||||
sed \
|
||||
-e "s|self.connect(self.update_button|#self.connect(self.update_button|" \
|
||||
-i core/fern.py || die
|
||||
sed \
|
||||
-e "s|thread.start_new_thread(self.update_initializtion_check|#thread.start_new_thread(self.update_initializtion_check|" \
|
||||
-i core/fern.py || die
|
||||
|
||||
python_fix_shebang "${S}"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/fern-wifi-cracker"
|
||||
doins -r *
|
||||
python_optimize "${ED%/}/usr/share/fern-wifi-cracker"
|
||||
|
||||
dosym "../fern-wifi-cracker/resources/icon.png" "/usr/share/pixmaps/${PN}.png"
|
||||
|
||||
make_wrapper $PN \
|
||||
"python2 /usr/share/fern-wifi-cracker/execute.py"
|
||||
|
||||
if use policykit; then
|
||||
insinto "/usr/share/polkit-1/actions/"
|
||||
doins "${FILESDIR}"/com.fern-pro.pkexec.fern-wifi-cracker.policy
|
||||
|
||||
make_desktop_entry \
|
||||
"pkexec /usr/bin/${PN}" \
|
||||
"Fern Wifi Cracker" \
|
||||
"${PN}" \
|
||||
"System;Security;X-Pentoo;X-Penetration;X-Wireless;"
|
||||
else
|
||||
make_desktop_entry \
|
||||
"$PN" \
|
||||
"Fern Wifi Cracker" \
|
||||
"$PN" \
|
||||
"System;Security;X-Pentoo;X-Penetration;X-Wireless;"
|
||||
fi
|
||||
|
||||
dodoc ../README.md
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
=net-wireless/airsnort-0.2.7e **
|
||||
=net-wireless/hostapd-2.0 **
|
||||
=net-wireless/cowpatty-4.6-r4 **
|
||||
~net-wireless/fern-wifi-cracker-2.2 **
|
||||
~net-wireless/fern-wifi-cracker-3.0 **
|
||||
=dev-python/gnuplot-py-1.8 **
|
||||
=net-wireless/mdk-3.6 **
|
||||
=dev-python/pyx-0.12.1-r1 **
|
||||
|
|
|
|||
Loading…
Reference in a new issue