cowpatty: minor cleanup/qa

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-02-22 11:10:50 -05:00
parent d33ecc2895
commit 01b3abb473
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
3 changed files with 3 additions and 47 deletions

View file

@ -1,2 +1 @@
DIST cowpatty-4.8.tar.gz 97449 BLAKE2B 39117923a7b70be1165e1befc998525a9fe1ce2e6cfd7df97146d18d90a4cf2f6087e89b316bc8072ff1a0dd25d4eea9abf747a2daea96038d18ab5da601b32c SHA512 a0a6ef859e0d1a5d753377b8eac50ef46ded7c1ddae50795bdc1170a5c8b572a3ae397ac9bcb9341863a69f0d2dc3e24d9727873baa10c3ee730d8dc6a8d0683
DIST cowpatty-4.8_p20181130.tar.gz 98733 BLAKE2B cd03c9c1076c095fa6dd68a883e028fd2d2c82cfeaa859729941c4666105e4387ce0f0073968ad0e4747493acfada0e9fb89c5685bfe71f76dc0e3c9fe4d4af0 SHA512 7b6e842e02994976bbe33a51182c4557bfd5f77354cd1df009719aa00aa9817541b8beca8d611d20251dc651216480f09f9e1a3ef1e7f4c17a028b1a2cf913b5

View file

@ -1,36 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils
DESCRIPTION="WLAN tools for bruteforcing 802.11 WPA/WPA2 keys"
HOMEPAGE="http://www.willhackforsushi.com/?page_id=50"
SRC_URI="https://github.com/joswr1ght/cowpatty/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-libs/openssl:*
net-libs/libpcap"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i 's|clang|gcc|' Makefile || die
sed -i "s#-O2#${CFLAGS} ${LDFLAGS}#" Makefile || die
sed -i 's#-pipe -Wall##' Makefile || die
eapply_user
}
src_compile() {
#makefile cannot handle higher than -j10
emake -j1
}
src_install() {
dobin cowpatty genpmk || die "dobin failed"
dodoc AUTHORS CHANGELOG FAQ INSTALL README TODO dict *.dump
}

View file

@ -1,9 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2023 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils
EAPI=8
DESCRIPTION="WLAN tools for bruteforcing 802.11 WPA/WPA2 keys"
HOMEPAGE="http://www.willhackforsushi.com/?page_id=50"
@ -16,7 +14,7 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-libs/openssl:*
DEPEND="dev-libs/openssl:=
net-libs/libpcap"
RDEPEND="${DEPEND}"
@ -29,11 +27,6 @@ src_prepare() {
eapply_user
}
#src_compile() {
# #makefile cannot handle higher than -j10
# emake -j1
#}
src_install() {
dobin cowpatty genpmk || die "dobin failed"
dodoc AUTHORS CHANGELOG FAQ INSTALL README TODO dict *.dump