fern-wifi-cracker: bump, drop old, qa

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-09-05 16:49:52 -04:00
parent a337ac3606
commit fc4d6cce9f
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 4 additions and 103 deletions

View file

@ -1,2 +1 @@
DIST fern-wifi-cracker-3.1.tar.gz 1604777 BLAKE2B 39da7292a63ae9aebd0c6d370e0025b171a329dae2202f310fe89f563371982666bc4167ba54ddae10d205fafd328fba9ea21cbad97d93a3456e528fdb93cb15 SHA512 4be5cbc0b3b41c7ccc9f907092a5341f88eeb4a7d39301e148cb73477d6cfb5abe0f18aca48854e37e1a4a41b616b8f32c5b2ab88a60c4392bc1bfd1caea3947
DIST fern-wifi-cracker-3.3.tar.gz 1604593 BLAKE2B bae46be2a4cfd017154b57dafbb27d045e311c77266fe843a28d17e6b545ff20fb1aae3b781e7f351471c84994d10271b1ea7063a929899322099a671c7dc15d SHA512 4e23afa136ba76c492d9fe33a67bc3cf47908afc135acf57c38c2909358c94014a1e20bf4bff3ad8495f152739d89c6ca6b1a8121754bccf36bcb0dc7ea46280
DIST fern-wifi-cracker-3.4.tar.gz 1604444 BLAKE2B 4bbcbabe657c44a0f4ea668785e9020bb396a7a1b4ce4780b59fe1e50b0d3e7593bcbe9d1462fff766498cc40278daca472dab5a2cf9649f3624450a925ed94e SHA512 3fed81d1017f6045b4ece628d1ac057d39b0916adac1d9259347270d41f095328e8dc78c1d44bd1b724b3c731fadc2f1736f2d71ebea1d2baaad49839b42a1cd

View file

@ -1,90 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE="sqlite"
inherit eutils desktop python-single-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="${PYTHON_DEPS}"
RDEPEND="${DEPEND}
$(python_gen_cond_dep '
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
>=net-analyzer/scapy-2.4.3[${PYTHON_USEDEP}]
')
net-analyzer/macchanger
net-wireless/aircrack-ng
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-single-r1_pkg_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 \
"${EPYTHON} /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
}

View file

@ -1,12 +1,12 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE="sqlite"
inherit eutils desktop python-single-r1 xdg-utils
inherit desktop python-single-r1 wrapper xdg-utils
DESCRIPTION="Wireless tool for WEP/WPA cracking and WPS keys recovery"
HOMEPAGE="https://github.com/savio-code/fern-wifi-cracker"
@ -36,14 +36,6 @@ pkg_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