This commit is contained in:
blshkv 2019-04-21 20:45:01 +08:00
parent 5e4ef2f3f5
commit 336986e447
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 45 additions and 1 deletions

View file

@ -1 +1,2 @@
DIST eaphammer-0.5.0_beta.tar.gz 2262206 BLAKE2B 23dcac801f84e0f22f5ab99a621072d5f89b33953d01be5d7d20cced90db77b4c1eb45fb04e42d1c03b85c8ad628619f517b233c632408107b2e874f14785634 SHA512 9c8ea06ae734e26cd819db8d75f9be3cd1f0b88fa0f0bca20de6a6cba7d5617703049257c1ab6c172d96113fc90fc47e22809189aae1e6db56b5f98181f526ea
DIST eaphammer-0.7.0_beta.tar.gz 2156363 BLAKE2B 18d4a292d3b12ac2d6d588a2cdc03955e41e901665c0b9c152bb06e83ba35a67b6e485d04a3bf705d99f4a94cd3aa634b4a0264c9dbb80726569c1ddb847556f SHA512 84f0067abdfc89e77991e19052a7cd96db92fd13421f8c73b2563b68fff45cea26e4ba2ae654824545c6acbb3cbca4240f3ad1f1046a1900c364844d9e8c20a5

View file

@ -14,7 +14,7 @@ SRC_URI="https://github.com/s0lst1c3/eaphammer/archive/v0.5.0-beta.tar.gz -> ${P
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
#KEYWORDS="~amd64 ~x86"
IUSE="systemd"
DEPEND=""

View file

@ -0,0 +1,43 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit python-utils-r1
MY_PV=${PV/_beta/-beta}
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
DESCRIPTION="Targeted evil twin attacks against WPA2-Enterprise networks"
HOMEPAGE="https://github.com/s0lst1c3/eaphammer"
SRC_URI="https://github.com/s0lst1c3/eaphammer/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
#KEYWORDS="~amd64 ~x86"
IUSE="systemd"
DEPEND=""
RDEPEND="${DEPEND}
dev-python/tqdm
net-dns/dnsmasq
net-libs/libnfnetlink
dev-libs/libnl:3
net-wireless/hostapd[wpe]
net-analyzer/dsniff
virtual/httpd-basic
"
S="${WORKDIR}/${PN}-${MY_PV}"
src_prepare() {
if use !systemd; then
sed -i "s|use_systemd = True|use_systemd = False|" settings/core/eaphammer.ini || die 'sed failed'
fi
sed -i s/network-manager/NetworkManager/ settings/core/eaphammer.ini || die 'sed failed'
eapply_user
}
#FIXME
#src_install
#https://github.com/s0lst1c3/eaphammer/issues/73