diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-05 19:07:00 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-11-06 21:32:50 +0100 |
commit | 6a547859a96f9825adeca6f98bde052405562bb7 (patch) | |
tree | 430f8df70ca22b39fbe477864c0856f1422f7035 /net-wireless | |
parent | dev-python/pybind11: drop 2.7.1, 2.8.0 (diff) | |
download | gentoo-6a547859a96f9825adeca6f98bde052405562bb7.tar.gz gentoo-6a547859a96f9825adeca6f98bde052405562bb7.tar.bz2 gentoo-6a547859a96f9825adeca6f98bde052405562bb7.zip |
net-wireless/wepattack: Port to EAPI 8
Closes: https://bugs.gentoo.org/819255
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/wepattack/wepattack-0.1.3-r5.ebuild | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/net-wireless/wepattack/wepattack-0.1.3-r5.ebuild b/net-wireless/wepattack/wepattack-0.1.3-r5.ebuild index 60effbb9d41b..fd0ca3a478cb 100644 --- a/net-wireless/wepattack/wepattack-0.1.3-r5.ebuild +++ b/net-wireless/wepattack/wepattack-0.1.3-r5.ebuild @@ -1,14 +1,15 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -inherit epatch toolchain-funcs +inherit toolchain-funcs MY_P="WepAttack-${PV}" DESCRIPTION="WLAN tool for breaking 802.11 WEP keys" HOMEPAGE="http://wepattack.sourceforge.net/" SRC_URI="mirror://sourceforge/wepattack/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="GPL-2" SLOT="0" @@ -22,14 +23,21 @@ DEPEND=" " RDEPEND="${DEPEND} -john? ( || ( app-crypt/johntheripper app-crypt/johntheripper-jumbo ) )" + john? ( || ( + app-crypt/johntheripper + app-crypt/johntheripper-jumbo + ) + )" -S="${WORKDIR}/${MY_P}" +PATCHES=( + "${FILESDIR}"/${P}-filter-mac-address.patch + "${FILESDIR}"/${P}-missed-string.h-warnings-fix.patch +) src_prepare() { - epatch "${FILESDIR}"/${P}-filter-mac-address.patch - epatch "${FILESDIR}"/${P}-missed-string.h-warnings-fix.patch - chmod +x src/wlan + default + + chmod +x src/wlan || die sed -i \ -e "/^CFLAGS=/s:=:=${CFLAGS} :" \ -e 's:-fno-for-scope::g' \ |