This commit is contained in:
Anton Bolshakov 2022-04-16 16:04:05 +08:00
parent 8061416361
commit 519fd08ad2
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 41 additions and 0 deletions

View file

@ -1 +1,2 @@
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

@ -0,0 +1,40 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
DESCRIPTION="WLAN tools for bruteforcing 802.11 WPA/WPA2 keys"
HOMEPAGE="http://www.willhackforsushi.com/?page_id=50"
HASH_COMMIT="0a274975040960d85cd68550facf801fc3a9d7df"
SRC_URI="https://github.com/joswr1ght/cowpatty/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="dev-libs/openssl:*
net-libs/libpcap"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}-${HASH_COMMIT}"
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
}