From aaf7239ca9710dcaa3d68dc4837d89a18fb84c9d Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Tue, 18 Dec 2018 16:40:07 -0500 Subject: net-wireless/wepattack: update jtr deps Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Rick Farina --- net-wireless/wepattack/wepattack-0.1.3-r3.ebuild | 56 ------------------------ net-wireless/wepattack/wepattack-0.1.3-r4.ebuild | 56 ++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 net-wireless/wepattack/wepattack-0.1.3-r3.ebuild create mode 100644 net-wireless/wepattack/wepattack-0.1.3-r4.ebuild (limited to 'net-wireless') diff --git a/net-wireless/wepattack/wepattack-0.1.3-r3.ebuild b/net-wireless/wepattack/wepattack-0.1.3-r3.ebuild deleted file mode 100644 index a10ba9a107d9..000000000000 --- a/net-wireless/wepattack/wepattack-0.1.3-r3.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils 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" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="john" - -DEPEND=" - dev-libs/openssl - net-libs/libpcap - sys-libs/zlib -" - -RDEPEND="${DEPEND} - john? ( app-crypt/johntheripper )" - -S="${WORKDIR}/${MY_P}" - -src_prepare() { - epatch "${FILESDIR}"/${P}-filter-mac-address.patch - epatch "${FILESDIR}"/${P}-missed-string.h-warnings-fix.patch - chmod +x src/wlan - sed -i \ - -e "/^CFLAGS=/s:=:=${CFLAGS} :" \ - -e 's:-fno-for-scope::g' \ - -e "/^CC=/s:gcc:$(tc-getCC):" \ - -e "/^LD=/s:gcc:$(tc-getCC):" \ - -e 's:log.o\\:log.o \\:' \ - src/Makefile || die - sed -i \ - -e "s/wordfile:/-wordlist=/" \ - run/wepattack_word || die -} - -src_compile() { - emake -C src -} - -src_install() { - dobin src/wepattack - if use john; then - dosbin run/wepattack_{inc,word} - insinto /etc - doins "${FILESDIR}"/wepattack.conf - fi - dodoc README -} diff --git a/net-wireless/wepattack/wepattack-0.1.3-r4.ebuild b/net-wireless/wepattack/wepattack-0.1.3-r4.ebuild new file mode 100644 index 000000000000..cc200b2888b8 --- /dev/null +++ b/net-wireless/wepattack/wepattack-0.1.3-r4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils 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" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="john" + +DEPEND=" + dev-libs/openssl:* + net-libs/libpcap + sys-libs/zlib +" + +RDEPEND="${DEPEND} +john? ( || ( app-crypt/johntheripper app-crypt/johntheripper-jumbo ) )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-filter-mac-address.patch + epatch "${FILESDIR}"/${P}-missed-string.h-warnings-fix.patch + chmod +x src/wlan + sed -i \ + -e "/^CFLAGS=/s:=:=${CFLAGS} :" \ + -e 's:-fno-for-scope::g' \ + -e "/^CC=/s:gcc:$(tc-getCC):" \ + -e "/^LD=/s:gcc:$(tc-getCC):" \ + -e 's:log.o\\:log.o \\:' \ + src/Makefile || die + sed -i \ + -e "s/wordfile:/-wordlist=/" \ + run/wepattack_word || die +} + +src_compile() { + emake -C src +} + +src_install() { + dobin src/wepattack + if use john; then + dosbin run/wepattack_{inc,word} + insinto /etc + doins "${FILESDIR}"/wepattack.conf + fi + dodoc README +} -- cgit v1.2.3-65-gdbad