crackmapexec: 5.1.1 bump without keywords, upstream broke it

This commit is contained in:
blshkv 2020-09-22 10:14:45 +08:00
parent 2c9fff99b0
commit 68706fe0cb
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 69 additions and 3 deletions

View file

@ -3,6 +3,7 @@
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_7 )
inherit distutils-r1 git-r3

View file

@ -0,0 +1,67 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_7 )
inherit distutils-r1 git-r3
DESCRIPTION="A swiss army knife for pentesting Windows/Active Directory environments"
HOMEPAGE="https://github.com/byt3bl33d3r/CrackMapExec/releases"
EGIT_REPO_URI="https://github.com/byt3bl33d3r/CrackMapExec.git"
EGIT_COMMIT="f66fa440688493d3f0fce6680699ec91533d5d7b"
#https://github.com/byt3bl33d3r/CrackMapExec/issues/354
#EGIT_OVERRIDE_COMMIT_ARTKOND_INVOKE_VNC="906c7476b9490817a6defa63e86a5b8c52690182"
#do not checkout existing modules
EGIT_SUBMODULES=('*' '-*pywerview' )
LICENSE="BSD-2"
#https://github.com/byt3bl33d3r/CrackMapExec/issues/415
#KEYWORDS="~amd64 ~x86"
IUSE=""
SLOT="0"
RDEPEND="
dev-python/gevent[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/requests-ntlm[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/lsassy[${PYTHON_USEDEP}]
dev-python/termcolor[${PYTHON_USEDEP}]
dev-python/msgpack[${PYTHON_USEDEP}]
dev-python/neo4j[${PYTHON_USEDEP}]
dev-python/pylnk3[${PYTHON_USEDEP}]
dev-python/pypsrp[${PYTHON_USEDEP}]
dev-python/paramiko[${PYTHON_USEDEP}]
dev-python/impacket[${PYTHON_USEDEP}]
dev-python/xmltodict[${PYTHON_USEDEP}]
dev-python/terminaltables[${PYTHON_USEDEP}]
dev-python/pywerview[${PYTHON_USEDEP}]
"
QA_FLAGS_IGNORED="usr/lib.*/python.*/site-packages/cme/data/mimipenguin/.*"
QA_PRESTRIPPED="usr/lib.*/python.*/site-packages/cme/data/mimipenguin/.*"
#invoke: https://github.com/byt3bl33d3r/CrackMapExec/issues/317
#thirdparty: https://github.com/byt3bl33d3r/CrackMapExec/issues/361
PATCHES=(
"${FILESDIR}/invoke-vnc_python3.patch"
"${FILESDIR}/remove_thirdparty.patch"
)
python_prepare_all() {
sed -i -e '/bs4/d' setup.py || die
distutils-r1_python_prepare_all
}
src_install() {
distutils-r1_src_install
insinto /etc/revdep-rebuild
doins "${FILESDIR}"/50${PN}
}

View file

@ -290,13 +290,12 @@ dev-python/python-iptools
dev-python/interfax
~dev-python/inflection-0.3.1
#by theHarvester
#required by theHarvester
dev-python/shodan
dev-python/grequests
dev-python/plotly
dev-python/aiomultiprocess
dev-python/aiosqlite
dev-python/pyee
~dev-python/click-plugins-1.0.3
~dev-python/censys-0.0.8
@ -307,7 +306,6 @@ dev-python/pyee
~dev-python/texttable-1.6.2
=dev-python/pycares-3.1*
#=app-forensics/spiderfoot-2.12.0
# required by app-forensics/spiderfoot
~dev-python/adblockparser-0.7