crackmapexec: bump

This commit is contained in:
blshkv 2020-04-30 22:27:05 +08:00
parent 86d8e403bf
commit 72dad3e070
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
2 changed files with 6 additions and 21 deletions

View file

@ -20,8 +20,7 @@ EGIT_OVERRIDE_COMMIT_ARTKOND_INVOKE_VNC="906c7476b9490817a6defa63e86a5b8c5269018
EGIT_SUBMODULES=('*' '-*impacket*' '-*pywerview' '-*pywinrm')
LICENSE="BSD-2"
#WIP
#KEYWORDS="~amd64"
KEYWORDS="~amd64"
IUSE=""
SLOT="0"
@ -63,16 +62,12 @@ RDEPEND="
dev-python/pywinrm[${PYTHON_USEDEP}]
dev-python/pywerview[${PYTHON_USEDEP}]
"
#soupsieve==1.8 not in use?
#QA_PREBUILT="usr/lib.*/python.*/site-packages/cme/data/mimipenguin/.*"
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
PATCHES=(
"${FILESDIR}/setup.patch"
# "${FILESDIR}/setup_include.patch"
"${FILESDIR}/invoke-vnc_python3.patch"
)
@ -82,10 +77,10 @@ python_prepare_all() {
}
python_install() {
#install data files disabled in setup.patch
rm -r cme/thirdparty/{impacket,pywinrm}
touch cme/thirdparty/keep_dir
# keepdir cme/thirdparty/
cp -r cme/{data,thirdparty} "${BUILD_DIR}"/lib/cme
# cme/thirdparty/ must be present
rm -r cme/thirdparty/*
python_export PYTHON_SITEDIR
keepdir ${PYTHON_SITEDIR}/cme/thirdparty/
distutils-r1_python_install
}

View file

@ -1,10 +0,0 @@
--- a/setup.py.orig 2018-12-10 21:11:31.753951980 +0800
+++ b/setup.py 2018-12-12 09:57:24.528955420 +0800
@@ -17,6 +17,7 @@
packages=find_packages(include=[
"cme", "cme.*"
]),
+ package_data={'': ['data/*','thirdparty/*']},
install_requires=[
'pycrypto>=2.6',
'pyasn1>=0.1.8',